MCP
WY

Weichen Yu

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

Papers

30
Do Orthogonality Constraints Help Language-Model Training Beyond Sphere Optimization?
Kai HuLi ZhangWeichen YuMatt FredriksonHaoqi Hu
This empirical study questions whether orthogonality constraints improve decoder-only LLM pre-training beyond sphere optimization ($d=1$). Across models from 360M to 3.1B parameters trained on nearly 200B tokens, fourteen constraint variants (weight-matrix constraints, orthogonal reparameterizations, block-wise Stiefel blocks) were tested. No block size $d>1$ reliably outperforms $d=1$, which already beats tuned Muon; larger blocks underperform, and gains from symmetric positive-definite factors vanish with scale. The conclusion: row orthogonality does not help pre-training beyond sphere optimization. Reported prior gains are attributed to precision, training horizon, optimizer realization, or per-row norm control.
arXivarXiv · · October 31, 2026
1
0
Dual Exam: Controlled Evaluation of Multimodal Agents and World Models
Zhefan RaoMeng Chu…Weichen Yu
Dual Exam separately evaluates multimodal agents and world models to assess the interaction between action selection and state evolution. The agent track tests 10 configurations on 1,088 items; the world-model track covers 400 cases across eight scenarios. GPT 6 Astra leads the Agent Index at 31.3, while GPT-Image-2 leads the full-coverage WM Overall at 21.7, scores based on different tasks that are not directly comparable. Results show uneven performance and state-preservation failures, with predictive value for coupled success unestablished.
arXivarXiv · · October 22, 2026
0
0
Harmony Harness: Multi-Objective Self-Evolution of Agent Harnesses
Weichen YuLesly MiculicichBhavana Dalvi MishraJiefeng ChenShuo LiMatt FredriksonTomas PfisterLong T. Le
Harmony Harness improves self-evolving LLM agents by treating harness evolution as a multi-objective, compositional problem rather than a single-objective, monolithic one. It uses decomposition-based evolutionary search to maintain solutions across the Pareto frontier, avoiding hand-designed diversity metrics, and introduces factorized operators that separately refine general-purpose mechanisms and benchmark-specific adaptations, integrated dynamically at inference time. On SecRepoBench and BaxBench, Harmony Harness consistently outperforms strong baselines, with gains exceeding 10% on both, showing that modeling objective trade-offs and structure yields stronger, more transferable evolution.
arXivarXiv · · October 10, 2026
0
0
Steal the Patch Size: Adversarially Manipulate Vision-Language Models
Kai HuAkash BharadwajWeichen YuMatt Fredrikson
We present a black-box model-stealing attack that recovers a vision-language model's private visual patch size by exploiting a side channel: when a synthetic grid image aligns with the hidden patch grid, boundary cues vanish at tokenization, causing periodic accuracy drops. Sweeping the grid cell size reveals the patch size; padding and consistency checks further identify preprocessing resolution type. This leakage enables targeted adversarial manipulation.
arXivarXiv · · June 30, 2026
0
2
Omni-Attack: Adversarial Attacks on Open-Ended VQA in Black-Box Multimodal LLMs
Kai HuWeichen YuLi ZhangAlexander RobeyAndy ZouHaoqi HuChengming XuMatt Fredrikson
Omni-Attack is a transfer-based black-box adversarial attack on open-ended visual question answering (VQA) in multimodal LLMs. It constructs question-conditioned visual and textual targets to provide stronger optimization signals, and uses a location-aware strategy for OCR tasks. Achieving up to 71.8% targeted attack success on GPT-4.1 at epsilon=8/255, Omni-Attack reveals significant vulnerabilities in proprietary and open-source MLLMs. The work also introduces AdvRobustBench, a benchmark of 1,000 examples from existing datasets for evaluating MLLM adversarial robustness.
CVFCVF · June 2026
0
Multi-Rollout On-Policy Distillation via Peer Successes and Failures
Weichen YuXiaomin LiYizhou ZhaoXiaoze LiuRuowang ZhangHaixin WangYinyi LuoChen Henry WuGaurav MittalMatt FredriksonYu Hu
Multi-Rollout On-Policy Distillation (MOPD) improves on-policy distillation for LLMs by constructing teacher signals from the student's multiple rollouts per prompt, using both successful and failed peer attempts. This provides denser, token-level supervision beyond sparse verifier rewards. Experiments on reasoning and tool-use benchmarks show consistent gains over standard on-policy baselines, with analysis confirming that mixed success-failure contexts better align teacher scores with verifier rewards, indicating more faithful, instance-adaptive supervision.
arXivarXiv · · May 12, 2026
0
12
When the Same Coefficients Reach Different Places: Asymmetric Realizability in Transplanting Tokenizers across Large Language Models
Xiaoze LiuWeichen YuMatt FredriksonXiaoqian WangJing Gao
Training-free tokenizer transplantation synthesizes embeddings for donor-only tokens by fitting coefficients over donor shared-token embeddings and reusing them over the base's. This paper shows the reuse is geometrically asymmetric: the two anchor dictionaries are spectrally mismatched, so one coefficient vector can be low-energy in the donor yet high-salience in the base, a property every coefficient-reusing operator inherits. A planted "breaker" embedding row, inert in the donor alone, dominates the base's output after an ordinary transplant; the Gem2-2B donor realizes it in 15 recipients spanning six families and up to 120B parameters, while clean-transplant utility largely persists. Coefficient reuse is thus a structural failure mode that recipient-side behavioral validation can expose.
OpenReviewOpenReview · May 1, 2026
0
AgentArk: Distilling Multi-Agent Intelligence into a Single LLM Agent
Yinyi LuoYiqiao JinWeichen YuMengqi ZhangSrijan KumarXiaoxiao LiWeijie XuXin chenJindong Wang
AgentArk is a framework that distills multi-agent dynamics into the weights of a single LLM, converting costly explicit test-time debate into implicit model capability so that one agent retains multi-agent reasoning while staying computationally efficient. Three hierarchical distillation strategies are investigated across models, tasks, scaling, and scenarios: reasoning-enhanced fine-tuning, trajectory-based augmentation, and process-aware distillation. By shifting computation from inference to training, the distilled models preserve one-agent efficiency yet show strong reasoning and self-correction, with enhanced robustness and generalization across diverse reasoning tasks.
OpenReviewOpenReview · · April 30, 2026
0
Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systems
Xiaoze LiuRuowang ZhangWeichen YuSiheng XiongLiu HeFeijie WuHoin JungMatt FredriksonXiaoqian WangJing Gao
The Vision Wormhole enables continuous communication between frozen, heterogeneous vision-language models by repurposing their visual input interfaces. A Universal Visual Codec encodes each sender's latent rollout into a fixed-size message, maps it through a shared reference space, and decodes it into the receiver's image-token span, forming a hub-and-spoke architecture with O(N) components for N models. Each model's codec is trained independently via self-distillation on anchor texts, with shared-anchor alignment enabling reuse. Across four VLM families, six team configurations, and nine reasoning benchmarks, it improves accuracy by 6.0 percentage points over text-mediated multi-agent systems and achieves a 1.69x geometric-mean speedup in end-to-end runtime.
arXivarXiv · · February 17, 2026
0
10
AgentArk: Distilling Multi-Agent Intelligence into a Single LLM Agent
Yinyi LuoYiqiao JinWeichen YuMengqi ZhangSrijan KumarXiaoxiao LiWeijie XuXin ChenJindong Wang
AgentArk is a framework that distills multi-agent dynamics into the weights of a single LLM, turning explicit test-time debate into implicit model capability so one agent retains multi-agent-level reasoning at much lower computational cost. It studies three hierarchical distillation strategies—reasoning-enhanced fine-tuning, trajectory-based augmentation, and process-aware distillation—across various models, tasks, scaling, and scenarios. By shifting computation from inference to training, the distilled models keep the efficiency of one agent while showing strong reasoning and self-correction, with improved robustness and generalization on diverse reasoning tasks.
arXivarXiv · · February 3, 2026
0
15
SecCodePRM: A Process Reward Model for Code Security
Weichen YuRavi MangalYinyi LuoKai HuJingxuan HeCorina S. PasareanuMatt Fredrikson
SecCodePRM is a process reward model that assigns context-aware, step-level security scores along a code trajectory. It derives step-level supervision from static analyzers and expert annotations to focus on inter-procedural vulnerabilities, enabling dense, real-time feedback for prefix-level assessment during interactive coding. The model supports three applications: full-code and partial-code vulnerability detection via risk-sensitive aggregation, and secure code generation through inference-time scaling that ranks continuations by cumulative reward. Empirically, SecCodePRM outperforms prior approaches across all settings while preserving functional correctness, indicating improved security without a safety–utility tradeoff.
OpenReviewOpenReview · January 20, 2026
0
2
Steal the Patch Size: Adversarially Manipulate Vision Language Models
Kai HuAkash BharadwajWeichen YuMatt Fredrikson
This paper presents a black-box model-stealing attack that recovers private vision-tokenizer configurations of deployed vision-language models (VLMs), such as the visual patch size and preprocessing pipeline. The attack exploits a task-level side channel from ViT-style patchification: when a synthetic grid image aligns with the hidden patch grid, boundary cues vanish at tokenization, causing periodic accuracy drops. Sweeping grid cell sizes reveals the patch size, while padding and consistency checks identify whether preprocessing is dynamic- or fixed-resolution and recover the target resize resolution. The method reliably infers parameters across open-source Qwen-VL variants and proprietary models like GPT and Claude, and enables preprocessing-aware transfer attacks and targeted adversarial manipulation.
OpenReviewOpenReview · · January 12, 2026
0
PrivCode: When Code Generation Meets Differential Privacy
Zheng LiuChen GongTerry Yue ZhuoKecen LiWeichen YuMatt FredriksonTianhao Wang
NDSSNDSS · 2026
0
The Trojan in the Vocabulary: Stealthy Sabotage of LLM Composition
Xiaoze LiuWeichen YuMatt FredriksonXiaoqian WangJing Gao
The paper reveals a supply-chain vulnerability in tokenizer transplant, a step that aligns vocabularies when composing open-weight language models. The authors engineer a single breaker token that is inert in the donor model but reconstructs into a malicious feature after transplant, sabotaging the base model's generation. The attack is formalized as a dual-objective optimization, solved sparsely without training, and evades outlier detection while persisting through fine-tuning and weight merging.
arXivarXiv · · December 31, 2025
0
1
Omni-Attack: Adversarial Attacks on Open-Ended VQA in Black-Box Multimodal LLMs
Kai HuWeichen YuLi ZhangAlexander RobeyAndy ZouHaoqi HuChengming XuMatt Fredrikson
This paper introduces AdvRobustBench, a benchmark of 1,000 multimodal LLM examples spanning VQA and OCR, and proposes Omni-Attack, a transfer-based black-box attack for open-ended VQA. Omni-Attack uses question-conditioned textual and visual target construction and a location-aware OCR attack strategy. Experiments show targeted attack success rates up to 71.8% on GPT-4.1, revealing vulnerabilities in proprietary and open-source models.
OpenReviewOpenReview · December 8, 2025
0
25
Is Your Text-to-Image Model Robust to Caption Noise?
Weichen YuZiyan YangShanchuan LinQi ZhaoJianyi WangLiangke GuiMatt FredriksonLu Jiang
This paper investigates how caption hallucination in VLM-generated image captions affects text-to-image (T2I) generation. The authors build a dataset of VLM captions and empirically show that caption quality disparities persistently impact fine-tuning outputs, that VLM confidence scores reliably detect noise patterns, and that even subtle fidelity variations degrade learned representations. They propose leveraging confidence scores to mitigate caption noise and improve model robustness.
OpenReviewOpenReview · · December 8, 2025
0
PrivCode: When Code Generation Meets Differential Privacy
Zheng LiuChen GongTerry Yue ZhuoKecen LiWeichen YuMatt FredriksonTianhao Wang
PrivCode is the first differentially private (DP) synthesizer specifically designed for code datasets. Its two-stage framework first uses DP-SGD with syntactic information to generate DP-compliant synthetic code that preserves code structure, then fine-tunes a larger pre-trained LLM on this synthetic privacy-free code to mitigate the utility loss from DP. Experiments on four LLMs and benchmarks show higher-utility code generation while protecting sensitive data under varying privacy budgets.
arXivarXiv · · December 5, 2025
0
4
SafeRBench: Dissecting the Reasoning Safety of Large Language Models
Xin GaoShaohan YuZerui ChenYueming LyuWeichen YuGuanghao LiJiyao LiuJianxiong GaoJian LiangZiwei LiuChenyang Si
SafeRBench is a benchmark for evaluating the safety of Large Reasoning Models (LRMs) end-to-end, focusing on the entire Chain-of-Thought reasoning process rather than just the final answer. It introduces Risk Stratification Probing to stress-test safety boundaries, Micro-Thought Analysis to pinpoint where safety alignment breaks down, and ten fine-grained metrics to jointly measure Risk Exposure and Safety Awareness. Experiments on 19 LRMs show that enabling Thinking modes improves safety in mid-sized models but paradoxically increases actionable risks in larger models due to an always-help tendency.
arXivarXiv · · November 19, 2025
0
5
Does More Inference-Time Compute Really Help Robustness?
Tong WuChong XiangJiachen T. WangWeichen YuPrateek Mittal
This paper re-examines the robustness benefit of inference-time scaling in LLMs. Using a budget forcing strategy, open-source reasoning models like DeepSeek R1 and Qwen3 also gain robustness, but the benefit hinges on hidden intermediate reasoning. When these reasoning steps are explicitly accessible, an inverse scaling law emerges: increased inference-time computation consistently reduces robustness, a risk both theoretically motivated and empirically verified. Vulnerabilities persist even with hidden chains in tool-integrated reasoning or under extraction attacks, showing that robustness from such scaling depends heavily on adversarial settings and deployment context.
OpenReviewOpenReview · · November 3, 2025
0
A Mixture of Linear Corrections Generates Secure Code
Weichen YuRavi MangalTerry Yue ZhuoMatt FredriksonCorina S. Pasareanu
The paper asks whether LLMs' poor vulnerability detection stems from missing knowledge or ineffective prompting. Using representation engineering, the authors find LLMs internally encode precise representations distinguishing vulnerable from secure code, more accurately than standard prompting. Leveraging these, they propose an inference-time steering technique, mixture of corrections (MoC), which adjusts token-generation probabilities to guide models toward less vulnerable code while preserving functionality. On Qwen2.5-Coder-7B, MoC raises the security ratio by 8.9% and improves HumanEval pass@1 by 2.1%.
OpenReviewOpenReview · · October 29, 2025
0
GOOD: Training-Free Guided Diffusion Sampling for Out-of-Distribution Detection
Xin GaoJiyao LiuGuanghao LiYueming LyuJianxiong GaoWeichen YuNingsheng XuLiang WangCaifeng ShanZiwei LiuChenyang Si
GOOD is a training-free framework that uses an off-the-shelf in-distribution classifier to guide a diffusion sampling trajectory toward out-of-distribution (OOD) regions. It applies dual-level guidance: (1) image-level guidance, using the gradient of log partition to reduce input likelihood and drive samples to low-density pixel areas; (2) feature-level guidance, based on k-NN distance in the classifier's latent space to promote sampling in feature-sparse regions. A unified OOD score adaptively combines these discrepancies. Training with GOOD-generated samples improves OOD detection performance.
arXivarXiv · · October 20, 2025
1
11
A Mixture of Linear Corrections Generates Secure Code
Weichen YuRavi MangalTerry Yue ZhuoMatt FredriksonCorina S. Pasareanu
The paper asks whether LLMs' poor vulnerability detection stems from insufficient internal knowledge or ineffective prompting. Using representation engineering, the authors show that models encode precise internal representations distinguishing vulnerable from secure code, more accurately than standard prompting. They then develop an inference-time steering technique, a mixture of corrections (MoC), that modulates token-generation probabilities to guide models toward less vulnerable code. On Qwen2.5-Coder-7B, MoC raises security ratio by 8.9% while improving HumanEval pass@1 by 2.1%, without compromising functionality.
OpenReviewOpenReview · · September 8, 2025
0
SafeRBench: A Comprehensive Benchmark for Safety Assessment of Large Reasoning Models
Xin GaoShaohan YuZerui ChenYueming LyuWeichen YuGuanghao LiJiyao LiuJianxiong GaoJian LiangZiwei LiuChenyang Si
SafeRBench is presented as the first benchmark that assesses large reasoning model (LRM) safety end-to-end, covering inputs, intermediate reasoning, and final outputs. It incorporates risk categories and levels into input design, segments reasoning traces into semantically coherent micro-thought units for fine-grained evaluation across ten safety dimensions, and validates LLM-based evaluations against human annotations. Evaluations on 19 LRMs show the benchmark supports detailed, multidimensional safety assessment of reasoning-process risks.
OpenReviewOpenReview · September 6, 2025
0
3
Sample-aware RandAugment: Search-free Automatic Data Augmentation for Effective Image Recognition
Anqi XiaoWeichen YuHongyuan Yu
Sample-aware RandAugment (SRA) is a search-free automatic data augmentation method that dynamically adjusts augmentation policies per sample. A heuristic scoring module evaluates each training sample's complexity and applies a tailored augmentation intensity. An asymmetric strategy maximizes the scoring module's potential. On ImageNet with ResNet-50, SRA achieves 78.31% Top-1 accuracy, narrowing the gap with search-based methods while requiring no hyperparameter tuning and generalizing well to new tasks.
arXivarXiv · · August 11, 2025
0
Does More Inference-Time Compute Really Help Robustness?
Tong WuChong XiangJiachen T. WangWeichen YuChawin SitawarinVikash SehwagPrateek Mittal
This paper examines the robustness effects of inference-time compute scaling. While open-source reasoning models (e.g., DeepSeek R1, Qwen3) benefit from such scaling when intermediate reasoning steps are hidden from adversaries, the authors identify an inverse scaling law: if those steps become explicitly accessible, increased inference-time computation consistently reduces robustness. The work also discusses scenarios where hidden reasoning chains remain vulnerable (e.g., tool-integrated reasoning), concluding that robustness benefits depend heavily on the adversarial setting and deployment context.
arXivarXiv · · July 21, 2025
0
3
A Mixture of Linear Corrections Generates Secure Code
Weichen YuRavi MangalTerry ZhuoMatt FredriksonCorina S. Pasareanu
The paper shows that large language models (LLMs) internally encode representations that distinguish vulnerable from secure code more accurately than prompting. The authors develop a mixture of corrections (MoC), an inference-time steering technique that modulates token-generation probabilities based on these representations. MoC reduces vulnerabilities in generated code without harming functionality, improving the security ratio of Qwen2.5-Coder-7B by 8.9% and HumanEval pass@1 by 2.1%.
arXivarXiv · · July 13, 2025
0
5
Transferable Visual Adversarial Attacks for Proprietary Multimodal Large Language Models
Kai HuWeichen YuAlexander RobeyLi ZhangAndy ZouHaoqi HuChengming XuMatt Fredrikson
This paper proposes a transfer-based adversarial attack pipeline that evaluates and improves attack transferability against proprietary black-box Multimodal Large Language Models (MLLMs). The authors introduce new evaluation settings including open-ended Visual Question Answering and text spotting alongside image captioning. By enhancing attacks at model, loss function, and data levels, their method achieves high success rates on GPT-4o and Claude3.5, demonstrating that transfer-based visual attacks are feasible and effective even on proprietary MLLMs.
OpenReviewOpenReview · May 28, 2025
0
2
Learning Fine-Grained Alignment for Aerial Vision-Dialog Navigation
Yifei SuDong AnKehan ChenWeichen YuBaiyang NingYonggen LingYan HuangLiang Wang
This paper addresses fine-grained cross-modal alignment in Aerial Vision-Dialog Navigation (AVDN), where a drone must match language entities to visual landmarks in top-down views. The authors build FG-AVDN, a dataset with entity-landmark-level multimodal annotations produced by a semi-automatic pipeline, and propose Fine-grained Entity-Landmark Alignment (FELA), which pairs a precise semantic grid representation capturing environmental semantics and spatial structure with cross-modal auxiliary tasks for grounding, captioning, and contrastive learning. Experiments show that explicit entity-landmark alignment learning benefits AVDN, with FELA improving success rate by 3.2% and goal progress by 4.9% over prior methods.
AAAI · April 11, 2025
0
GOOD: Training-Free Guided Diffusion Sampling for Out-of-Distribution Detection
Xin GaoJiyao LiuGuanghao LiYueming LyuJianxiong GaoWeichen YuNingsheng XuLiang WangCaifeng ShanZiwei LiuChenyang Si
GOOD is a training-free framework that guides text-to-image diffusion sampling toward out-of-distribution regions using off-the-shelf in-distribution classifiers. It applies dual-level guidance: image-level guidance based on log-partition gradients pushes samples to low-density pixel areas, while feature-level guidance via $k$-NN distance in the classifier's latent space encourages sampling in feature-sparse regions. A unified OOD score adaptively combines image and feature discrepancies. Experiments show training on GOOD-generated samples notably improves OOD detection performance.
OpenReviewOpenReview · · April 9, 2025
0
LLM-based Multi-Agents System Attack via Continuous Optimization with Discrete Efficient Search
Weichen YuKai HuTianyu PangChao DuMin LinMatt Fredrikson
This paper introduces CODES, a token-level jailbreak method for LLM-based multi-agent systems. CODES combines continuous-space optimization with discrete-space search to efficiently generate self-replicating attack prompts that can be injected via a single intervention on one agent, enabling malicious content to propagate across the system. In three realistic threat scenarios—triggering offensive outputs across an entire agent cohort and bypassing multi-level safeguards—CODES proves effective, emphasizing the need for more robust safety mechanisms for multi-agent systems.
OpenReviewOpenReview · March 17, 2025
0
35
Frequent collaborators
Matt Fredrikson (23)
Kai Hu (11)
Liang Wang (7)
Hongyuan Yu (6)
Yan Huang (6)
Haoqi Hu (5)
Li Zhang (4)
Alexander Robey (4)
Andy Zou (4)
Chengming Xu (4)
Xiaoze Liu (4)
Yinyi Luo (4)