MCP
JY

Junfeng Yang

139 papers in the library

Papers

30
Do Coding Agents Understand Why Systems Crash---and Why They Don't?
Chenxi HuangHaonan WangJinghe ZhangAleksandr NogikhFranjo IvančićPetros ManiatisEugene WuKostis KaffesJunfeng YangBaishakhi Ray
This paper asks whether coding agents understand why systems crash, testing crash reasoning via source interventions: paired source trees differing by a single commit where the same input crashes only one, asking if agents predict more crashes on the crashing tree. On SysRB (934 pairs from Linux and OSS-Fuzz) with four agents, they find agents are biased toward predicting no crash, often misjudge the crash-determining code's effect, and can pass on crashing code alone by merely spotting suspicious code. Paired evaluation is thus necessary, and agents cannot yet reliably reason about execution in complex codebases.
arXivarXiv · · October 21, 2026
0
Newton-Based Methods for Bilevel Optimization Beyond Lower-Level Strong Convexity
Youran DongJunfeng YangWei YaoJin Zhang
This paper introduces two Newton-based bilevel optimization methods that bypass the lower-level strong convexity assumption, addressing cases with nonunique lower-level solutions and singular Hessians. Newton-based GALET handles singular lower-level curvature under a positive spectral-gap condition, avoiding the squared-Hessian multiplier system. Newton-based BAMM exploits a strongly convex aggregation model when the lower-level is convex and the upper-level is strongly convex in the lower-level variable. Both achieve improved complexity bounds over prior methods. The authors also propose GNBO, a generalized framework unifying these and existing Newton/quasi-Newton methods, with experiments on synthetic and real tasks.
arXivarXiv · · October 19, 2026
0
Beam Spill Structure Measurements at CEE Using the T0 Detector
Shuaike LvD. HuDayu YinHaoqian XuHerun YangHe ZhaoJiaJun QinJunfeng YangJuan RuanJie LiKe SunLei Zhao  +20
This work extends the existing CEE T0 detector, originally for event start time, to measure beam spill structure upstream of the fixed target. Using a 0.8-mm EJ-200 plastic scintillator with 16 SiPMs per end, NINO front-end and FPGA TDC, lab tests at 100 MHz matched the laser repetition rate, and June 2024 beam tests with 350-MeV/u Kr ions captured spill profiles under varied RF-KO, sextupole, and feedback settings. Plateau durations distinguished settings and yielded a more rectangular profile, demonstrating independent beam-structure monitoring during accelerator tuning.
arXivarXiv · · October 9, 2026
0
EmbodiedRSI: Active Continual Robot Learning Through Hypothesis-Guided Co-Evolution
Python SongZhixuan LiangKelsey FuMengdi WangJunfeng YangShilong Liu
EmbodiedRSI is a self-evolving agentic harness that lets a robot foundation model improve code and skills autonomously from physical interaction rather than costly post-training data. Its Fast-Slow Dual-System Architecture keeps competing code and skill hypotheses in a Hypothesis Graph; Value-of-Information Experiment Selection picks the physical experiments that best distinguish these hypotheses, and their outcomes drive Code-Skill Co-Evolution, while the Slow System's Hierarchical Memory is filtered by Reward-Grounded Memory Learning. It reaches 77.0% overall success and 71.3% on Composite-Unseen on RoboCasa365 versus 40.1% for the best baseline, 86.8% on LIBERO-Pro, and transfers zero-shot to real robots at 71.3% success.
arXivarXiv · · October 7, 2026
0
WebUIProof: Benchmarking WebUI Code Generators with UI-Agent Execution Harness
Yun-Yun TsaiYuning MaoShiqi WangJunfeng YangSinong Wang
WebUIProof is an execution-oriented benchmark for WebUI code generation that replaces static checks with structured specifications and dense, executable interaction tests for general and 3D interactive UIs. A UI-agent harness runs these tests in a headless browser via an iterative plan-act-observe loop, locating elements and verifying assertions. Evaluations on eight commercial LLMs show frequent failures on interaction requirements despite successful rendering, especially for 3D interfaces. RL training with rewards from these tests improves functional completion and cuts build failures in small models.
arXivarXiv · · October 2, 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
Efficient Branch-and-Bound Testing and Verification of zkVMs
Hideaki TakahashiSuman JanaJunfeng Yang
ZEBRA is an automated verification framework for zkVM constraints, reducing correctness to whether a constraint system admits exactly one valid execution trace for each program-input pair. To make tractable the resulting solution-counting problem, it lifts analysis from finite-field witnesses to an integer interval lattice, exploiting the structural sparsity of real-world zkVM constraints (14% average connectivity) to enable tight interval propagation with limited approximation error. A parallel branch-and-bound search then either produces a concrete counter-example or certifies the absence of violations within a bounded region. On five real-world zkVMs, ZEBRA discovered 11 zero-day bugs (6 confirmed, 3 fixed) and outperformed SMT solvers by 51.5x in speed, verifying 16.5 percentage points more instances.
arXivarXiv · · September 14, 2026
0
0
UGM: A Unified Framework and New Perspectives for Accelerated Gradient Methods in Smooth and Strongly Convex Optimization
Danqing ZhouShiqian MaJunfeng Yang
The paper proposes UGM, a unified framework for accelerated gradient methods that minimizes $L$-smooth and $\mu$-strongly convex functions. It interprets the iteration as a hybrid of the heavy-ball method and vanilla gradient descent, where conservative gradient descent stabilizes the fast heavy-ball dynamics. A Lyapunov-based convergence analysis yields enhanced algorithms that exploit inner products between gradient information and iterative variables. Experiments on quadratic optimization and logistic regression show superior performance over existing methods.
arXivarXiv · · August 27, 2026
0
0
SWO: Structured Workflow Optimization for Self-Improving AI Agent
Yun-Yun TsaiRenjie LiMing YinXuyang ZhaoDuo DingJunfeng Yang
SWO is an evaluation-driven framework for iterative agent self-improvement that supplies the meta-optimizer with structured context: structured failure evidence, an explicit editable-surface representation covering prompts, tools, workflow scaffolding, and executable code, and cross-iteration optimization memory recording prior interventions and outcomes. This structure is intended to help the optimizer diagnose failures, choose the right intervention surface, and avoid redundant or regressive updates. Across the $\tau$-bench benchmark family and VitaBench, SWO consistently improves task success over unconstrained native-agent self-optimization, gaining up to $21.0$ Pass$^1$ points and $6.7$ points respectively while cutting optimization-token usage by roughly $17.4\%$ and $27.3\%$.
OpenReviewOpenReview · August 24, 2026
0
ARQ: Agentic CodeQL Query Refinement for C/C++ Vulnerability Detection
Chunyi WangYunfei KeJunfeng YangYun-Yun TsaiPenghui Li
ARQ is an agentic framework for refining C/C++ CodeQL queries using execution-grounded evidence from synthesized programs. It compares instrumented program behavior with CodeQL's verdict and feeds validated false-negative and false-positive witnesses, including near-identical program pairs, into LLM-based query refinement and regression testing. Refining 12 official queries with GPT-5.4, Claude-Sonnet-4.6, and Gemini-3.5-flash, ARQ detected up to 119.8% more true-positive query-sample detections on Juliet v1.3 and FormAI v2 while keeping precision at or above 98.0%; it also correctly classified the reproducers of three unresolved CodeQL issues and identified two previously unreported candidate bugs in libpng and zlib.
arXivarXiv · · August 21, 2026
0
0
Development of Neutron Transmutation Doped Germanium (NTD-Ge) for Cryogenic Applications
Kangkang ZhaoMingxuan XueHaiping PengDeyong DuanYunlong ZhangYi LiJunfeng YangXintan DengHongjun ZhangHuaichang RanSicheng WenXiaolian Wang  +1
This paper reports the systematic fabrication and characterization of cryogenic thermometers based on neutron transmutation-doped germanium (NTD-Ge). High-purity 10N germanium was irradiated with thermal neutrons at different fluences at the China Advanced Research Reactor, followed by a six-month cooling period. Irradiation-induced defects and carrier concentrations were assessed using positron annihilation lifetime spectroscopy and temperature-dependent Hall measurements. Point electrodes were deposited to form functional thermometers, whose resistance, measured down to 20 mK, follows Mott's law with consistent extracted $T_0$, verifying device applicability and fabrication reliability.
arXivarXiv · · July 31, 2026
1
TRIM: Reducing AI-Generated CodeSlop via Agent Trajectory Minimization
Alex MathaiShobini IyerAleksandr NogikhPetros ManiatisFranjo IvancicJunfeng YangBaishakhi Ray
Coding agents produce verbose patches because their search trajectories accumulate speculative edits, abandoned hypotheses, and temporary changes that persist into the final code. The paper formally defines this phenomenon as CodeSlop---residual, functionally unnecessary edits in AI-generated code---and introduces TRIM (Trajectory-guided Redundancy Identification and Minimization), which reduces CodeSlop indirectly by minimizing the agent's trajectory. Empirically, TRIM cuts CodeSlop by 17.9%--32.9% across agentic scaffolds with negligible performance regression and roughly half the validation cost of Delta Debugging.
arXivarXiv · · July 20, 2026
0
0
SeD-UD: An Influence-Driven and Hierarchically-Decoupled Information Bottleneck for Multimodal Intent Recognition
Qin LiWenbo ZhangLimei LiuHan PengJunfeng YangGuanying Xu
SeD-UD introduces influence-driven input-adaptive bottleneck (IDAB) modules within a hierarchically-decoupled information bottleneck structure for multimodal intent recognition. IDAB dynamically adjusts compression dimensions and parameters based on a redundancy/noise influence factor, replacing the fixed-bottleneck limitation. The framework separately handles redundancy and noise through de-redundancy and unified denoising stages, achieving better feature purification. Experiments on benchmark datasets show it outperforms current state-of-the-art models.
CVFCVF · June 2026
0
S3^3LDBO: A Snapshot Single-Loop Algorithm for Decentralized Bilevel Optimization
Chao YinYouran DongShiqian MaBofan WangJunfeng Yang
S$^3$LDBO is a single-loop decentralized bilevel optimization algorithm that reduces per-agent computation by letting agents skip expensive derivative evaluations intermittently via a snapshot mechanism. The method is interpreted as an autonomous computation-adaptation strategy for networked AI. The paper establishes its ergodic and high-probability nonergodic iteration complexity in a deterministic setting. Experiments on hyperparameter optimization, data hyper-cleaning, and decentralized meta-learning show that S$^3$LDBO improves computational efficiency while maintaining competitive performance.
arXivarXiv · · May 29, 2026
1
0
Detecting Privilege Escalation in Polyglot Microservices via Agentic Program Analysis
Penghui LiHong Yau ChongYinzhi CaoJunfeng Yang
Neo detects privilege-escalation vulnerabilities in polyglot microservices by combining an LLM-based agent with classic program analysis. The agent dynamically generates analysis plans, adapts code-search strategies, and validates semantics, enabling scalable cross-service and cross-language code exploration. Evaluated on 25 open-source applications (6.2M lines, 7 languages), Neo found 24 zero-day vulnerabilities with 81.0% precision and 85.0% recall, outperforming existing program analysis and agentic solutions.
arXivarXiv · · May 15, 2026
1
1
kAgent: An execution-guided crash resolution agent for the Linux kernel
Alex MathaiChenxi HuangSuwei MaJihwan KimHailie MitchellAleksandr NogikhPetros ManiatisFranjo IvancicJunfeng YangBaishakhi Ray
kAgent is an execution-guided LLM agent for repairing Linux kernel crashes found by fuzzing. It first identifies bottlenecks generic agents face in complex systems, then builds a workflow mimicking kernel developers: inspect execution logs, form grounded hypotheses, synthesize patches, validate via crash reproduction, and refine iteratively. Evaluated on kBenchSyz, kAgent repairs up to 54.5% of crashes without localization and 65% with correct file hints, and generalizes to wild Syzkaller bugs.
OpenReviewOpenReview · · May 15, 2026
0
Hierarchical Multi-Fidelity Learning for Predicting Three-Dimensional Flame Wrinkling and Turbulent Burning Velocity
Saghar ZolfaghariYu XieJunfeng YangSafa Jamali
This paper introduces a hierarchical multi-fidelity neural network (MuFiNNs) that integrates sparse high-fidelity experimental data with structured low-fidelity trend models to predict three-dimensional flame wrinkling and turbulent burning velocity in premixed flames. The framework learns coupled geometric and reactive flame behavior while correcting for discrepancies that simplified models miss. Applied across varying fuels, pressures, and turbulence intensities, MuFiNNs accurately reconstructs observed behavior, interpolates to unseen conditions, and extrapolates beyond the training domain, remaining effective in noisy or experimentally inaccessible regimes.
arXivarXiv · · May 6, 2026
0
1
Outrunning LLM Cutoffs: A Live Kernel Crash Resolution Benchmark for All
Chenxi HuangAlex MathaiFeiyang YuAleksandr NogikhPetros ManiatisFranjo IvančićEugene WuKostis KaffesJunfeng YangBaishakhi Ray
Live-kBench is an evaluation framework for self-evolving benchmarks that continuously scrapes and evaluates agents on freshly discovered kernel bugs. Coupled with the agent-agnostic environment kEnv, which decouples agent workflows from heavy-weight execution, it enables fair and scalable comparison. On an inaugural dataset of 534 Linux kernel bugs, a significant performance gap is shown: agents achieve up to 25% higher equivalent patch rate on bugs fixed before the LLM knowledge cutoff. Three state-of-the-art agents resolve 74% of crashes on the first attempt, though only ~20% of generated patches closely match developer fixes.
arXivarXiv · · February 2, 2026
2
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
Outrunning LLM Cutoffs: A Live Kernel Crash Resolution Benchmark for All
Chenxi HuangAlex MathaiFeiyang YuAleksandr NogikhPetros ManiatisFranjo IvancicEugene WuKostis KaffesJunfeng YangBaishakhi Ray
The paper introduces Live-kBench, a self-evolving benchmark framework that continuously scrapes freshly discovered Linux kernel bugs to evaluate LLM-based crash-resolution agents without data contamination from knowledge cutoffs, along with kEnv, an agent-agnostic environment for kernel compilation, execution, and feedback. Using an inaugural dataset of 534 bugs, the authors show agents achieve up to 25% higher equivalent patch rates on pre-cutoff bugs, and that among three state-of-the-art agents, 74% of crashes receive plausible first-attempt patches, yet only ~20% closely match developer fixes; exposing feedback improves resolution by 29%.
OpenReviewOpenReview · · January 23, 2026
1
ZeroDiff++: Balancing Semantic Diffusion Dynamics for Robust Zero-Shot Learning
Qin LiQi LiLimei LiuJunfeng YangHan Peng
ZeroDiff++ is a three-path diffusion framework for zero-shot learning that addresses Semantic Diffusion Imbalance (SDI), a structural mismatch caused by a fixed diffusion schedule across classes of varying complexity. Besides the original ZeroDiff pathway, it adds a weak diffusion branch (W-Branch) to prevent over-denoising simple classes and a mild diffusion branch (M-Branch) with smoother noise scheduling to preserve patterns in complex classes. This balances semantic dynamics, yielding more robust visual-semantic alignment and state-of-the-art performance on standard ZSL benchmarks.
OpenReviewOpenReview · December 8, 2025
1
SeD-UD: An Influence-Driven and Hierarchically-Decoupled Information Bottleneck for Multimodal Intent Recognition
Qin LiWenbo ZhangLimei LiuHan PengJunfeng YangGuanying Xu
SeD-UD is a novel framework for multimodal intent recognition that improves the information bottleneck (IB) principle by addressing two drawbacks of conventional methods. Its influence-driven input-adaptive bottleneck (IDAB) modules adjust compression dimensions dynamically based on a redundancy/noise influence factor, selecting optimal parameters for each sample. The hierarchically-decoupled IB structure separates redundancy removal from unified denoising through IDAB modules, avoiding incomplete feature purification. Experiments on benchmark datasets show SeD-UD outperforms current state-of-the-art models.
OpenReviewOpenReview · December 8, 2025
0
On the Convergence of Constrained Gradient Method
Danqing ZhouHongmei ChenShiqian MaJunfeng Yang
This paper derives rigorous, improved convergence guarantees for the constrained gradient method (CGM), which solves convex optimization and monotone variational inequality (VI) problems with general functional constraints. Prior convergence analyses relied on overly restrictive and sometimes mutually inconsistent assumptions. Under weaker, more reasonable assumptions, the authors establish guarantees for strongly convex optimization, and for VIs under strongly and general monotone settings, with preliminary experiments confirming CGM's efficacy.
arXivarXiv · · November 21, 2025
1
0
Reasoning under Vision: Understanding Visual-Spatial Cognition in Vision-Language Models for CAPTCHA
Python SongLuke Tenyi ChangYun-Yun TsaiPenghui LiJunfeng Yang
This paper studies spatial reasoning in vision-language models (VLMs) using CAPTCHAs as a real-world benchmark. It finds that commercial VLMs perform poorly (approx. 21.9% accuracy) but that requiring step-by-step reasoning before final coordinate prediction significantly improves performance. To enable systematic study, it introduces CAPTCHA-X, a benchmark of seven CAPTCHA categories with reasoning and grounding annotations, and five reasoning-oriented metrics. A general VLM-based framework incorporating step-by-step reasoning achieves state-of-the-art accuracy of 83.9% across five high-difficulty types, highlighting reasoning as key to visual-spatial challenges.
arXivarXiv · · October 7, 2025
1
2
A Simple Adaptive Proximal Gradient Method for Nonconvex Optimization
Zilong YeShiqian MaJunfeng YangDanqing Zhou
AdaPGNC is a single-loop adaptive proximal gradient method for composite nonconvex optimization with a smooth term (Lipschitz gradient) and a convex possibly nonsmooth term. It requires no line search or bounded-iterate assumption, needing only gradient Lipschitz continuity. The method achieves the optimal $​O(ε^{-2})$ complexity for finding an $ε$-stationary point, using an adaptive step-size based on upper and lower curvature estimates and a novel Lyapunov function for convergence analysis.
arXivarXiv · · October 7, 2025
0
6
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
A primal-dual splitting algorithm with convex combination and larger step sizes for composite monotone inclusion problems
Xiaokai ChangJunfeng YangJianchao BaiJianxiong Cao
We propose a primal-dual splitting algorithm for composite monotone inclusion problems that incorporates both an extrapolation step and a convex combination step. The method is reformulated as a fixed-point iteration via an extended firmly nonexpansive operator. Under a significantly relaxed step-size condition, we prove convergence and a sublinear convergence rate. For structured convex optimization, sublinear rates in function value gap and constraint violations are established. A concrete example shows the parameter condition cannot be relaxed further. Numerical experiments on image denoising, inpainting, matrix games, and LASSO demonstrate efficiency compared to state-of-the-art methods.
arXivarXiv · · October 1, 2025
0
4
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
Reasoning Matters: Benchmarking and Advancing Spatial Reasoning in Vision-Language Models via Agentic Approaches
Jincen SongLuke Tenyi ChangYun-Yun TsaiPenghui LiJunfeng Yang
This paper shows that step-by-step reasoning is crucial for vision-language models (VLMs) to solve CAPTCHAs, which serve as real-world spatial reasoning benchmarks. Commercial VLMs (e.g., Gemini, Claude, GPT) achieve only about 21.9% accuracy; requiring explicit reasoning before outputting coordinates markedly improves accuracy. The authors introduce CAPTCHA-X, the first real-world benchmark with reasoning, spanning seven CAPTCHA categories with step-by-step action solutions and grounding annotations, plus five reasoning-oriented metrics. Their proposed agentic VLM framework reaches state-of-the-art 83.9% average accuracy across five high-difficulty types, highlighting reasoning's importance.
OpenReviewOpenReview · September 15, 2025
0
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
Authors with the same name
Junfeng Yang · 9 papers
Junfeng Yang #0002 · 51 papers
Junfeng Yang #0007 · 2 papers
Frequent collaborators
Chengzhi Mao (39)
Baishakhi Ray (23)
Kexin Pei (20)
Suman Jana (16)
Carl Vondrick (16)
Yun-Yun Tsai (13)
Shiqian Ma (10)
Aleksandr Nogikh (8)
Petros Maniatis (8)
Wei Hao (8)
Chenxi Huang (7)
Weiliang Zhao (7)