MCP
JP

Jinjun Peng

14 papers in the library · Same-name authors told apart using DBLP

Papers

14
Stability Does Not Mirror Plasticity: A Module-Level View of Declarative and Procedural Learning in Transformers
Jinjun PengWailiang ZhaoBaishakhi RayZhou YuJufeng Yang
This work moves the study of plasticity and stability in continual learning from the whole-model level to individual transformer modules and task types, motivated by the cognitive distinction between declarative and procedural memory. In a controlled synthetic setting, the authors report a double dissociation: query-key (QK) and value-output (VO) projections are most plastic on procedural tasks, while MLPs are most plastic on declarative memorization. Stability does not mirror plasticity: when a new procedure is learned, updating QK retains over half of stored declarative memory, updating MLPs retains far less, and updating VO loses roughly four-fifths. Reset-and-recovery experiments attribute this asymmetry to different aspects of a module's functional role: plasticity tracks suitability for a task's primary computation or storage, whereas stability depends on all ways an existing capability relies on the module, including access to information stored elsewhere. Experiments on a realistic model and tasks broadly echo these dynamics.
arXivarXiv · · November 17, 2026
0
Jailbreaking Jailbreaks: A Proactive Defense for LLMs
Weiliang ZhaoDaniel Ben-LeviJinjun PengZhou YuJunfeng Yang
The proliferation of powerful large language models (LLMs) has necessitated robust safety alignment, yet these models remain vulnerable to evolving adversarial attacks, including multi-turn jailbreaks that iteratively search for successful queries. Current defenses, which are primarily reactive and static, often fail to handle these iterative attacks. In this paper, we introduce ProAct, a novel proactive defense framework designed to disrupt and mislead these iterative search jailbreak methods. Our core idea is to intentionally mislead these jailbreak methods into thinking that the model has been jailbroken with "spurious responses". These misleading responses provide false signals to the attacker’s internal optimization loop, causing the adversarial search to terminate prematurely and effectively jailbreaking the jailbreak. By conducting extensive experiments across state-of-the-art LLMs, jailbreaking frameworks, and safety benchmarks, we demonstrate that our method consistently and significantly reduces attack success rates by up to 94% without affecting utility. When combined with other defense frameworks, it further reduces the latest attack strategies’ success rate to 0%. ProAct represents an orthogonal defense strategy that serves as an additional guardrail to enhance LLM safety against the most effective jailbreaking attacks.
ACL AnthologyACL Anthology · October 2026
1
OpenSage: Self-programming Agent Generation Engine
Hongwei LiZhun WangQinrun DaiYuzhou NieJinjun PengRuitong LiuJingyang ZhangKaijie ZhuJingxuan HeLun WangYangruibo DingYueqi Chen  +2
OpenSage is the first agent development kit (ADK) that lets LLMs automatically create agents with self-generated topology and toolsets, while also providing comprehensive, structured memory support. It enables agents to build and manage their own sub-agents and toolkits, features a hierarchical graph-based memory system, and includes a specialized toolkit for software engineering. Experiments on three benchmarks with various backbone models show OpenSage outperforms existing ADKs, with ablation studies validating each design component.
arXivarXiv · · February 18, 2026
0
4
SWE-Spot: Building Small Repo-Experts with Repository-Centric Learning
Jinjun PengMagnus SaeboTianjun ZhongJunfeng YangShi-Xiong ZhangBaishakhi RaySimin ChenYangruibo Ding
The authors propose Repository-Centric Learning (RCL) to train small language models as repo-specialized experts, addressing their weak generalization to unfamiliar codebases. RCL prioritizes vertical depth in single repositories over the prevailing Task-Centric Learning (TCL) breadth, using a four-unit Repository-Centric Experience to convert static code into interactive training signals. Trained as SWE-Spot-4B, these compact models, under matching teacher and data budgets, outperform TCL consistently and match or exceed open-weight models up to 8× larger and commercial efficiency-focused models across SWE tasks on seven repositories.
arXivarXiv · · January 29, 2026
1
1
OpenSage: Self-programming Agent Generation Engine
Hongwei LiZhun WangQinrun DaiYuzhou NieJinjun PengRuitong LiuJingyang ZhangKaijie ZhuJingxuan HeLun WangYangruibo DingYueqi Chen  +2
OpenSage is the first agent development kit (ADK) that enables LLMs to automatically create agents with self-generated topology and toolsets, while providing comprehensive structured memory support. It allows agents to create and manage their own sub-agents and toolkits, features a hierarchical graph-based memory system, and includes a specialized toolkit for software engineering tasks. Experiments across three benchmarks with various backbone models show advantages over existing ADKs, with ablation studies validating each component's effectiveness.
OpenReviewOpenReview · · January 14, 2026
0
Proactive defense against LLM Jailbreak
Weiliang ZhaoJinjun PengDaniel Ben-LeviZhou YuJunfeng Yang
ProAct is a proactive defense that disrupts iterative jailbreak searches by feeding the attacker false 'spurious responses' that mimic successful jailbreaks. This causes the adversarial optimization loop to terminate prematurely. Experiments on state-of-the-art LLMs and benchmarks show the method reduces attack success rates by up to 94% without harming utility, and to 0% when combined with other defenses.
arXivarXiv · · October 6, 2025
0
15
CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoning
Monoshi Kumar RoySimin ChenBenjamin SteenhoekJinjun PengGail KaiserBaishakhi RayWei Le
We present CodeSense, the first benchmark providing fine-grained code semantic reasoning tasks derived from real-world Python, C, and Java repositories. Using execution traces from actual tests, it constructs a ground-truth dataset for tasks beyond coarse input/output prediction. Evaluations on state-of-the-art LLMs reveal a clear performance gap; while chain-of-thought and in-context learning help, fundamental semantic deficiencies limit reasoning. The accompanying execution tracing framework facilitates future benchmark construction and model post-training.
OpenReviewOpenReview · · September 19, 2025
0
Jailbreaking Jailbreaks: A Proactive Defense for LLMs
Weiliang ZhaoJinjun PengDaniel Ben-LeviZhou YuJunfeng Yang
ProAct is a proactive defense that disrupts autonomous multi-turn jailbreaking by feeding adversaries "spurious responses" that falsely signal attack success while containing no harmful content. This misleads the attacker's optimization loop into terminating prematurely, effectively jailbreaking the jailbreak. Experiments across LLMs, frameworks, and benchmarks reduce attack success rates by up to 92%, and combined with other defenses, lower the latest attacks to 0%, offering an orthogonal guardrail.
OpenReviewOpenReview · September 16, 2025
1
15
Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilers
Simin ChenJinjun PengYixin HeJunfeng YangBaishakhi Ray
This paper reveals a vulnerability in deep learning compilers: an official, unmodified compiler can silently alter a model's semantics during compilation, introducing hidden backdoors. In the adversarial setting, the authors craft benign models where triggers have no effect pre-compilation but become effective backdoors after compilation. Tested on six models, three commercial compilers, and two hardware platforms, the attack achieves 100% success on triggered inputs while preserving normal accuracy and evading state-of-the-art detectors. In the natural setting, they find 31 of the top 100 HuggingFace models contain natural triggers, demonstrating that compilers introduce risks even without adversarial manipulation.
arXivarXiv · · September 14, 2025
0
14
CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoning
Monoshi Kumar RoySimin ChenBenjamin SteenhoekJinjun PengGail KaiserBaishakhi RayWei Le
CodeSense is a benchmark and dataset for fine-grained code semantic reasoning on real-world software, unlike prior synthetic or coarse-grained benchmarks. It collects Python, C, and Java projects, executes tests to obtain execution traces, and constructs ground truth for fine-grained reasoning tasks. Evaluations show that current LLMs struggle with these tasks; while prompting helps, fundamental limitations in code semantics remain. The work also provides an execution tracing framework to support future benchmark construction and model training.
arXivarXiv · · May 31, 2025
0
21
CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generation
Jinjun PengLeyi CuiKele HuangJunfeng YangBaishakhi Ray
CWEval is a framework for evaluating LLM-generated code on both functionality and security. It uses outcome-driven test oracles and high-quality task specifications to assess each code sample simultaneously for correctness and security vulnerabilities. Evaluations show that a notable portion of functionally correct code produced by LLMs is insecure, and that previous benchmarks such as CyberSecEval and SecurityEval suffer from inaccuracies due to unclear specifications. CWEval provides a more accurate assessment of secure code generation.
arXivarXiv · · January 14, 2025
0
123
SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning
Yangruibo DingJinjun PengMarcus J. MinGail KaiserJunfeng YangBaishakhi Ray
SemCoder trains code LLMs to reason about code semantics via a novel monologue reasoning strategy. Using PyX, a corpus of executable Python samples with descriptions and tests, it teaches models to link static text with dynamic execution states by reasoning over functional descriptions, statement-level effects, and input/output behavior. The resulting 6.7B-parameter model matches or outperforms GPT-3.5-turbo on code generation and execution reasoning benchmarks and shows improved debugging and self-refinement.
OpenReviewOpenReview · May 15, 2024
0
105
Quarl: A Learning-Based Quantum Circuit Optimizer
Zikun LiJinjun PengYixuan MeiSina LinYi WuOded PadonZhihao Jia
Quarl is a reinforcement-learning-based quantum circuit optimizer that addresses the large action space and non-uniform state representation by decomposing actions into two parts and using graph neural networks for state encoding. This design, guided by the intuition that optimization is largely local, allows Quarl to significantly outperform existing optimizers on most benchmarks and even learn rotation merging, a complex non-local optimization typically implemented as a separate pass.
arXivarXiv · · July 17, 2023
0
64
NeuRI: Diversifying DNN Generation via Inductive Rule Inference
Jiawei LiuJinjun PengYuyao WangLingming Zhang
NeuRI automatically generates valid and diverse deep-learning models with hundreds of operator types for fuzzing DL systems. It first collects valid and invalid API traces, then applies inductive program synthesis to infer operator-constraint rules, and finally produces hybrid models combining symbolic and concrete operators. On TensorFlow and PyTorch, NeuRI raises branch coverage by 24% and 15% over state-of-the-art model-level fuzzers, finding 100 new bugs in four months, 81 of which were fixed or confirmed, including 9 high-priority or security vulnerabilities.
arXivarXiv · · February 4, 2023
0
43
Frequent collaborators
Baishakhi Ray (7)
Junfeng Yang (7)
Zhou Yu (4)
Yangruibo Ding (4)
Simin Chen (4)
Weiliang Zhao (3)
Daniel Ben-Levi (3)
Gail Kaiser (3)
Hongwei Li (2)
Zhun Wang (2)
Qinrun Dai (2)
Yuzhou Nie (2)