MCP
CY

Chengran Yang

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

Papers

30
Modeling Noise Beyond Pauli Channels in Quantum Error Correction
Ximing WangChufan LyuChengran Yang
The paper constructs a noise model for predicting logical errors by composing a finite number of elementary physical channels, organized into six families that each carry at most three continuous parameters for fixed Pauli axes. Their compositions can capture non-Pauli noise and non-Markovian effects: the population-transfer family reproduces single-qubit amplitude damping and can bias the parity of a maximally mixed two-qubit state while leaving both single-qubit states maximally mixed. Retaining leakage occupation across circuit operations lets leakage at one location determine whether a neighboring qubit dephases later, offering a new way to incorporate these mechanisms into circuit models for future error-correction simulations.
arXivarXiv · · November 28, 2026
0
From Repositories to Training Environments: Scaling Long-Horizon Coding Agents with Environment Evolution Loop
Yang TianTianyu ZhengXiyuan YangYaxin DuChengran YangBo ZhaoJian YangBryan Dai
RepoFactory is an automated pipeline that converts real repositories into verifiable environments in which agents build complete projects from scratch from a language specification, optimized by an Environment Evolution Loop that uses timely proxy feedback to maximize a multiplicative objective combining validity, structural coupling, and implementation scope, avoiding costly rollouts. It produces 10,159 environments across 17 software domains; Qwen3.5-35B-A3B trained on them yields RepoHorizen-35B-A3B, gaining 22.6 points on NL2Repo-Bench and 8.5 points on average over five long-horizon coding and agentic benchmarks, versus 17.5 and 6.4 without environment evolution.
arXivarXiv · · November 16, 2026
0
CrossPloit: A Benchmark for Cross-Version PoC Migration in Python Web Applications
Hung Nguyen-HuuNguyen Anh TuanTing ZhangYue LiuChengran YangLwin Khin SharEng Lieh OuhDavid Lo
Affected-version ranges in vulnerability databases are often incomplete, so vulnerable releases are silently treated as safe; auditing them requires executable evidence that a proof-of-concept exploit for a listed version still triggers the same vulnerability on an earlier, unlisted one. CrossPloit introduces a benchmark of 127 such migration instances across 45 CVEs in the Python web ecosystem, each with a version-pinned container, a reference PoC, and a vulnerability-specific oracle verified by two validators. Construction confirms 149 vulnerable prior versions missing from four databases' affected-version lists, 127 requiring migration. Across 18 agent configurations the best resolves 58.3% of instances versus 8.7% for an adapted trace-guided baseline, with attack-vector shifts hardest (no configuration above 37.9%), and withholding the reference PoC and environment specification in one configuration drops the resolve rate from 50.4% to 15.0%.
arXivarXiv · · November 12, 2026
0
IQuest-Q1: Advancing Foundation Capabilities for Agentic CLI Systems
A. Jian YangAn HuangBo DanChen MuChengran YangChuan ShiFeng ChangHongxin LiHongyuan TaoJinxing ZhangJujie HeKun Wang  +165
We present IQuest-Q1, an open-source sparse Mixture-of-Experts agentic foundation model with 320B total parameters (15B activated). Its development combines three stages—pre-training with a coding-intensive curriculum, mid-training with domain and format expansion, and multi-scaffold post-training integrating SFT, domain-specialized RL, and MOPD—followed by model merging to mitigate parameter-update conflicts. The resulting model shows strong capabilities in both coding and general tasks.
arXivarXiv · · October 22, 2026
0
Teaching Code Agents to Ask Without Leaking Private Code
Wenjia JiangJieke ShiZhensu SunChengran YangShidong PanPeixin ZhangYifan JiaJames HoangXiwei XuZhenchang XingDavid LoZhou Yang
This paper proposes utility-verified abstraction (UVA), which teaches a local coding agent to consult a stronger cloud model while protecting repository privacy. UVA rewrites each question from solved repair trajectories into role-and-type descriptions of private entities, retaining only rewrites that disclose fewer private entities and preserve repair success. Across two benchmarks, the trained agent consults more often and, on repository-level issue repair, solves 37.6% of issues versus 25.3% alone, while disclosing 3.7-fold fewer private entities and 1.4-fold less verbatim code.
arXivarXiv · · October 17, 2026
0
Quantum-Enhanced Inference of Conditional Future Probabilities with Reduced Memory Cost
Jianjun ChenAkshat GuptaChengran YangAriel NeufeldJayne ThompsonThomas J. ElliottMile Gu
This paper presents quantum algorithms that reduce the systematic bias in estimating conditional future probabilities of stochastic processes while retaining a quadratic speed-up. Unlike traditional methods like amplitude estimation, which only reduce sampling error, the proposed approach lowers memory requirements, a key constraint on near-future quantum devices where quantum memory is scarce. Aiming to address both computational and memory limits, this work mitigates sampling bias and advances the practical deployment of quantum technologies for simulating increasingly complex systems, including applications like earthquake prediction and financial risk assessment.
arXivarXiv · · October 7, 2026
0
Spatiotemporal quantum advantages for rare-event sampling
Akshat GuptaJianjun ChenChengran YangMile GuCaterina DoglioniJayne ThompsonThomas J. Elliott
The authors introduce a rare-event sampling method based on quantum stochastic models, targeting low-probability, high-consequence extreme risk events. Their approach combines the memory advantages of quantum stochastic modelling with efficient quantum state preparation and quantum amplitude amplification, yielding simultaneous reductions in both spatial and temporal computational complexity compared to classical Monte Carlo-based methods.
arXivarXiv · · October 2, 2026
0
Extending Fill-In-the-Middle with Instructions for Steerable Code Completion
Zhensu SunChengran YangChao PengPengfei GaoXiaoning DuLi LiDavid Lo
Code completion models often fail when the developer’s intent is under-specified in the code context. To mitigate this, developers frequently use natural language comments to clarify objectives. However, current code completion models fail to prioritize these directives effectively since they are merely pre-trained using the Fill-In-the-Middle (FIM) objective. On the one hand, the natural language instructions, mixed with the noisy code comments, are just treated as part of the background context within the prefix. On the other hand, the pre-training datasets for the FIM objective are mostly sourced from open-source repositories, which results in a scarcity of high-intent instruction-to-code pairings that reflect the developers’ workflow in code completion. To bridge this gap, we propose Instruction-aware Fill-In-the-Middle (IFIM), a fine-tuning method that extends the FIM structure with a dedicated, structurally separated instruction section. Our evaluation shows that IFIM substantially improves adherence to developer intent, while leaving infilling performance unchanged when no instruction is given. The gains hold on an in-the-wild benchmark of 100 instructions written by real developers and across model scales from 1.5B to 7B. IFIM thus offers a backward-compatible upgrade path for existing FIM-based code completion systems at a modest training cost.
ACL AnthologyACL Anthology · October 2026
0
ModularRSI: Modular and Generalizable Recursive Harness Self-Improvement
Siwei WuJincheng RenYizhi LiHaau-Sing LiChengran YangXudong MaYuxuan ZhangWeicheng GuJian YangRiza Batista-NavarroChuanyi ZhangXianglong Liu  +3
ModularRSI is a framework for generalizable recursive harness self-improvement. It contrasts successful and failed trajectories on the same task, aggregates evidence across tasks to identify recurring behavioral deficiencies, and decomposes the harness into five independently evolvable modules (Agent Loop, Tool Use, Observation Management, Context Management, Task Completion Detection) before integration. Evolution runs on 2,000 external tasks disjoint from evaluation benchmarks. On TB2.0 and SWE-Bench Verified, the evolved harness consistently improves unseen in-domain and cross-domain tasks and transfers across foundation models.
arXivarXiv · · September 14, 2026
0
14
CyberFactory: Scaling Cyber Security Capabilities with Instances from the Wild
Jian YangHaau-Sing LiShawn GuoZixi ZhaoYibo TanJiajun WuAishan LiuZhoujun LiXianglong LiuTianyu ZhengBryan DaiChengran Yang  +1
CyberFactory is an open-source framework that converts public vulnerability artifacts like CVEs into executable task instances for proof-of-concept generation, vulnerability patching, and cybersecurity QA. It uses a reusable vulnerability-analysis skill to guide a teacher model through source inspection, domain-driven problem solving, and evidence-based validation, producing agentic trajectories with tool interaction and execution feedback. Training on these trajectories yields Aegis, a model that internalizes the skill-guided procedure without needing the skill at inference. On CyberGym, Aegis achieves 52.4% Pass@1 under a one-hour budget, improving over its Qwen 3.5 base by +22.8 points and outperforming the evaluated general-purpose backbones under the same scaffold.
arXivarXiv · · August 24, 2026
0
1
CoSA: Context-Aware Severity Assessment via Context Analysis with Large Language Models
Jinfeng JiangYikun LiChengran YangTing ZhangWen Bin LeowYide YinEng Lieh OuhLwin Khin SharDavid Lo
CoSA automates the assessment of CVSS base metrics by retrieving repository-level context. It first constructs a code property graph, then applies a two-stage pruning strategy—lightweight static pruning followed by an LLM-guided step—to extract CVSS-relevant evidence from the repository. The LLM consolidates this evidence into metric-wise summaries for a lightweight transformer predictor. On a new dataset of 6,816 labeled instances across 90 CWE types, CoSA improves accuracy by 14.4% and Macro-F1 by 15.3% over the best baseline, showing that context-aware retrieval is key to reliable severity assessment.
arXivarXiv · · August 14, 2026
0
1
Second Thought: Reasoning in Parallel as LLM Agents Act and Observe
Zhensu SunChengran YangYunbo LyuJieke ShiDavid Lo
Second Thought introduces a training-free inference framework for LLM agents under the ReAct paradigm. It identifies the idle interval while the agent acts and waits for observation as an opportunity to run parallel reasoning. Four auxiliary branches are forked at the end of each Thought phase, decoded concurrently with the main loop, and their outputs merged when the observation arrives. On three agentic benchmarks with three reasoning LLMs, Second Thought lowers turn counts in all nine settings and reduces main-thread decoding in six of them by up to 43% (roughly 20% on average), with Pass@1 unchanged in seven settings and improved by roughly 10 points in two.
arXivarXiv · · August 13, 2026
0
0
Understanding and Improving Model Editing for Secure Code Generation
Weifeng SunQuanjun ZhangYuchen ChenChengran YangGou TanDavid Lo
Model editing is studied as a model-level hardening mechanism for secure code generation. Evaluated on diverse LLMs, editing yields larger security gains than inference-time hardening on seen vulnerability types (15%–25% security ratio improvement over vanilla models, stable under prompt perturbations), though it transfers unreliably to unseen vulnerabilities and can reduce functional correctness. The authors propose SafeEdit, a post-edit refinement combining functional tuning with edit-aware regularization. Across eight LLMs, SafeEdit improves Pass@1 by 11.73–15.50 percentage points over UltraEdit while largely preserving security, and achieves relative security-ratio gains of 7.54%–12.04% over CoSec.
arXivarXiv · · August 7, 2026
0
0
AgentExecutor: Partial Code Execution via Agentic Context Generation
Junkai ChenChengran YangXing HuZhenhao LiXin XiaDavid Lo
AgentExecutor is a multi-agent framework for partial code execution. It uses LLM agents that iteratively think, act, and receive feedback to explore a richer action space, including creating resource files and resolving environment configurations. The framework has three phases: environment preparation, dynamic exploration with iterative refinement, and prefix evolution via program synthesis, with adaptive strategies like coverage-guided context pruning. On Stack Overflow and open-source datasets, it achieves up to 94% and 90% code coverage, outperforming the state-of-the-art Treefix by 19.9% and 13.8%, while reducing execution time by up to 80.3% and cost by up to 56.6%.
arXivarXiv · · August 6, 2026
0
1
Lossless Tensor Compression as Program Synthesis
Jieke ShiJunda HeWenjia JiangWeifeng SunShidong PanZhensu SunChengran YangPeixin ZhangYifan JiaZhou YangThong HoangXiwei Xu  +2
Brevis formulates lossless tensor compression as program synthesis using a typed domain-specific language (DSL) of reversible operators that capture recurring tensor structures. Given a tensor, it synthesizes a compact DSL program for bit-exact reconstruction, guided by a learned checkpoint-specific prior. On 10 public checkpoints from language, audio, and image generation models, Brevis reduces 2.13 TB to 1.41 TB (33.93% saving), outperforming general-purpose compressors (e.g., zstd, gzip) by up to 30.87% and tensor-specific compressors (ZipNN, DFloat11), while achieving 3.60 GB/s compression and 6.61 GB/s decompression.
arXivarXiv · · August 3, 2026
0
1
SecureVibeBench: Benchmarking Secure Vibe Coding of AI Agents via Reconstructing Vulnerability-Introducing Scenarios
Junkai ChenHuihui HuangYunbo LyuJunwen AnJieke ShiChengran YangTing ZhangHaoye TianYikun LiZhenhao LiXin ZhouXing Hu  +1
SecureVibeBench is a benchmark of 105 C/C++ secure coding tasks from 41 OSS-Fuzz projects, designed to evaluate code agents' ability to produce correct and secure code. Unlike prior benchmarks, it reconstructs real-world vulnerability-introducing scenarios with multi-file edits in large repositories and aligned contexts from open-source vulnerabilities. Evaluation of five agents (e.g., OpenHands) with five LLMs (e.g., Claude Sonnet 4.5) shows the best agent achieves only 23.8% correct and secure solutions, indicating current agents struggle in realistic settings.
ACL AnthologyACL Anthology · · July 2026
0
SeCuRepair: Semantics-Aligned, Curriculum-Driven, and Reasoning-Enhanced Vulnerability Repair Framework
Chengran YangTing ZhangJinfeng JiangXin ZhouHaoye TianMingzhe DuJieke ShiJunkai ChenYikun LiEng Lieh OuhLwin Khin SharDavid Lo
SeCuRepair is an RL-based automated vulnerability repair framework that addresses syntactic overfitting through three components. A semantic-aware reward optimizes for code equivalence instead of lexical mimicry. An expert-aligned reasoning mechanism grounds patch generation in structured diagnosis. A difficulty-based curriculum progressively handles multi-hunk repairs. Evaluations on repository-level splits show it outperforms state-of-the-art baselines.
ACL AnthologyACL Anthology · July 2026
0
10
Quantum enhanced rare event discovery and sampling
Naixu GuoPo-Wei HuangQisheng WangJayne ThompsonPatrick RebentrostMile GuChengran Yang
A quantum algorithm for discovering and sampling rare events—those below a probability threshold—without prior knowledge of which events are rare achieves optimal quantum scaling with the rarity threshold. It yields a quadratic speedup for heavy-tailed systems with nonvanishing tail mass and a robust polynomial speedup for stationary stochastic processes, where the exponent is determined by the process's entropy-rate structure.
arXivarXiv · · June 4, 2026
0
3
An Execution-Verified Multi-Language Benchmark for Code Semantic Reasoning
Yikun LiJinfeng JiangTing ZhangChengran YangChenxing ZhongYin YideLeow Wen BinEng Lieh OuhLwin Khin SharDavid Lo
TraceEval is the first execution-verified, multi-language benchmark for code semantic reasoning, measuring whether LLMs can recover a program's runtime call structure from source code. Unlike prior call-graph benchmarks that rely on static tools or human annotation, every positive edge in TraceEval is mechanically witnessed by validation execution. The benchmark includes 10,583 real-world programs across Python, JavaScript, and Java, with a pipeline to convert any open-source repository into new instances. The best zero-shot model, Claude-Opus-4.6, achieves 72.9% average F1, while fine-tuning Qwen2.5-Coder-32B on the training split lifts it to 71.2%.
arXivarXiv · · May 10, 2026
0
0
TraceEva: Exposing Code Semantic Reasoning Gaps in LLMs on Execution-Verified Programs
Yikun LiJinfeng JiangTing ZhangChengran YangChenxing ZhongYin YideLeow Wen BinEng Lieh OuhLwin Khin SharDavid Lo
TraceEval is introduced as, to the authors' knowledge, the first execution-verified, multi-language benchmark for code semantic reasoning: recovering a program's runtime call structure from source. Unlike prior call-graph benchmarks built on static-tool output or hand annotation, every positive edge is mechanically witnessed by validation execution, removing annotator disagreement and label noise for observed behavior. It comprises 10,583 real-world programs from over 1,600 open-source repositories in Python, JavaScript, and Java, plus a reproducible pipeline converting any open-source repository into verified instances. On the held-out test split, zero-shot Claude-Opus-4.6 reaches 72.9% average F1 across the three languages, while fine-tuning Qwen2.5-Coder on the train split yields lifts up to +55.6 F1, bringing the 32B model to 71.2%.
OpenReviewOpenReview · May 5, 2026
0
TitanCA: Lessons from Orchestrating LLM Agents to Discover 100+ CVEs
Ting ZhangYikun LiChengran YangRatnadira WidyasariYue LiuNgoc Tan BuiPhuc Thanh NguyenYan Naing TunIvana Clairine IrsanHuu Hung NguyenHuihui HuangJinfeng Jiang  +6
TitanCA, a collaboration between Singapore Management University and GovTech Singapore, orchestrates multiple LLM-powered agents into a unified pipeline for discovering zero-day vulnerabilities in open-source software. Its four-module architecture—matching, filtering, inspection, and adaptation—addresses high false-positive rates of traditional SAST tools. TitanCA has discovered 203 confirmed zero-day vulnerabilities and yielded 118 CVEs. The paper shares key lessons from building and deploying this LLM-based vulnerability discovery solution in practice.
arXivarXiv · · April 20, 2026
0
2
AgentSZZ: Teaching the LLM Agent to Play Detective with Bug-Inducing Commits
Yunbo LyuJieke ShiHong Jin KangRatnadira WidyasariJunda HeYuqing NiuChengran YangJunkai ChenZhou YangJulia LawallDavid Lo
AgentSZZ is an LLM-agent framework that replaces the fixed git-blame pipeline of traditional SZZ algorithms with a ReAct-style loop, enabling adaptive, causal tracing of bug-inducing commits. It integrates domain knowledge and task-specific tools to handle previously untraceable ghost and cross-file cases. On three datasets it outperforms state-of-the-art SZZ methods, achieving F1 gains up to 27.2% over prior LLM approaches and recall gains of 300% and 60% for cross-file and ghost commits, while a compression module reduces token usage by over 30%.
arXivarXiv · · April 3, 2026
0
6
TestDecision: Sequential Test Suite Generation via Greedy Optimization and Reinforcement Learning
Guoqing WangChengran YangXiaoxuan ZhouZeyu SunBo WangDavid LoDan Hao
TestDecision formalizes test suite generation as a Markov Decision Process and shows its objective is monotone submodular, allowing relaxation of the NP-hard global optimization into a step-wise greedy procedure. It transforms LLMs into neural greedy experts via two components: an inference framework that builds suites step-wise, and a reinforcement learning pipeline training the LLM to maximize marginal gain. On the ULT benchmark, it improves branch coverage by 38.15–52.37% and execution pass rate by 298.22–558.88% over base models, achieving comparable performance to GPT-5.2 with a 7B backbone.
arXivarXiv · · April 2, 2026
0
5
Executing as You Generate: Hiding Execution Latency in LLM Code Interpreters
Zhensu SunZhihao LinZhi ChenChengran YangMingyi ZhouLi LiDavid Lo
LLM code interpreters traditionally generate code entirely before executing it, leaving the interpreter idle during generation. This paper proposes EAGER, which hides execution latency by starting code execution while the model still generates later tokens. It formalizes a three-stage pipeline — generation, detection, execution — and derives closed-form latency bounds. EAGER uses AST-based chunking, dynamic batching with gated execution, and early error interruption. Evaluated across seven LLMs and three execution environments, EAGER reduces non-overlapped execution time by up to 99.8% and end-to-end latency by up to 37.3% on error-free runs.
arXivarXiv · · April 1, 2026
0
2
Compiling Code LLMs into Lightweight Executables
Jieke ShiJunda HeZhou YangChengran YangMykhailo KlymenkoThong HoangXiwei XuZhenchang XingDavid Lo
Ditto compiles Code LLMs into lightweight executables that run on commodity hardware. It combines product-quantization-inspired weight compression, grouping parameters into per-block codebooks via K-Means and storing weights as bit-packed indices, with an LLVM pass that replaces unoptimized GEMV operations with highly optimized BLAS calls. On Code Llama, MagicCoder, and OpenCodeInterpreter, Ditto achieves up to 10.5× faster inference, 6.4× lower memory, and 10.5× lower energy, with only 0.27% average accuracy loss in pass@1.
arXivarXiv · · March 31, 2026
2
0
Learning Quantum-Samplers for Stochastic Processes with Quantum Sequence Models
Ximing WangChengran YangChidambaram Aditya SomasundaramJayne ThompsonMile Gu
This paper introduces quantum sequence models that generate coherent superpositions of stochastic processes, where circuit complexity grows linearly with the time horizon, overcoming the exponential growth of traditional methods. The models use a recurrent quantum circuit structure, trained from observational data via a recurrent parameter-shift rule. In data-sparse regimes, they achieve orders-of-magnitude better accuracy than baseline quantum Born machines.
arXivarXiv · · March 25, 2026
0
0
Boosting LLMs for Mutation Generation
Bo WangMing DengMingda ChenChengran YangYoufang LinMark HarmanMike PapadakisJie M. Zhang
SMART enhances LLM-based mutation generation by combining retrieval-augmented generation (RAG) on a vectorized dataset of real-world Java bugs, focused code chunking, and supervised fine-tuning. Evaluated on 1,991 real bugs from Defects4J and ConDefects, SMART substantially outperforms prior LLM-based approaches (LLMut, LLMorpheus) in validity, non-duplicate rate, compilable rate, and real-bug detection rate (92.61% vs. 57.86%). It also improves downstream tasks like test-case prioritization (Ochiai coefficient from 25.61% to 38.44%) and fault localization. Small 7B-scale models using SMART match or exceed GPT-4o.
arXivarXiv · · March 25, 2026
0
3
Variational Quantum Dimension Reduction for Recurrent Quantum Models
Chufan LyuXiming WangMile GuThomas J. ElliottChengran Yang
This paper introduces a variational quantum dimension reduction framework that compresses recurrent quantum models by removing redundant memory degrees of freedom. The framework uses two parameterized circuits: a decoupling unitary $V(\theta_1)$ to isolate the essential memory subspace, and a compressed recurrent unitary $\tilde{U}(\theta_2)$ to reconstruct dynamics in the reduced space. Optimization is guided by the Quantum Fidelity Divergence Rate (QFDR), a metric quantifying long-term fidelity per time step. Applied to a cyclic random walk, the method achieves up to three orders of magnitude smaller QFDR than variational matrix product state truncation, using only trajectory samples.
arXivarXiv · · March 10, 2026
0
1
Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Model
Tianyi WuMingzhe DuYue LiuChengran YangTerry Yue ZhuoJiaheng ZhangSee-Kiong Ng
SecCoderX is an online reinforcement learning framework that aligns code LLMs to generate secure code without sacrificing functionality. It repurposes existing vulnerability detection tools to synthesize realistic insecure coding tasks for training rollouts and to train a reasoning-based vulnerability reward model for security supervision. This unified online RL loop achieves a 10% improvement in Effective Safety Rate over unaligned models, while prior methods often degrade performance by 14–54%.
arXivarXiv · · February 7, 2026
0
2
Beyond Function-Level Analysis: Context-Aware Reasoning for Inter-Procedural Vulnerability Detection
Yikun LiTing ZhangJieke ShiChengran YangJunda HeXin ZhouJinfeng JiangHuihui HuangWen Bin LeowYide YinEng Lieh OuhLwin Khin Shar  +1
CPRVul is a context-aware vulnerability detection framework that moves beyond function-level analysis by integrating inter-procedural context through two phases: first, it constructs a code property graph, uses an LLM to profile and select only high-impact contextual elements; second, it combines the target function, selected context, and vulnerability metadata to generate reasoning traces for fine-tuning LLMs. On three benchmarks (PrimeVul, TitanVul, CleanVul), CPRVul outperforms function-only baselines (e.g., 67.78% vs. 55.17% on PrimeVul), and ablations confirm that processed context alone is insufficient without structured reasoning.
arXivarXiv · · February 6, 2026
0
5
Frequent collaborators
David Lo (38)
Ting Zhang (16)
Jieke Shi (16)
Yikun Li (13)
Mile Gu (12)
Lwin Khin Shar (11)
Eng Lieh Ouh (11)
Zhensu Sun (10)
Zhou Yang (10)
Jinfeng Jiang (10)
Junkai Chen (9)
Junda He (8)