MCP
WY

Weiwei Yang

63 papers in the library

Papers

30
TypedInk: Knowing When Not To Draw
Weiwei Yang
TypedInk addresses figure generation from incomplete research records by inferring a figure type—diagram, plot, or plate—from possibly partial sources and dispatching only to a renderer that can honor that type's evidence contract, refusing dispatch when the contract cannot be met. On TypedFigBench's six gold plots (5 views, n=30), its code path inks all 12 observed gold table tokens, refuses the 12 hidden-table views rather than inventing numbers, and marks 6 intent-only views illustrative, with no execution failures; an always-draw coder instead inks 30/30 charts, recovering zero gold numbers, though vision-language raters still judged those charts submittable in 17/36 cases against 0/36 refusals. A router ablation locates the risk: an outline alone yields type accuracy 0.31 and sends every gold plot into integrity violation, while a chat-model planner reaches 0.85 accuracy but still fails integrity on 25% of outlines.
arXivarXiv · · November 9, 2026
0
ShallowDefend: Harnessing Shallow Safety Alignment for Multi-Turn Defender
Qiyao MaXiaodong LiuWeiwei YangMingqian FengChengquan GuoJialin SongCarolyn BuractaonZhe ZhaoJunshan ZhangSandeep AtluriChristopher WhiteJianfeng Gao
ShallowDefend treats the shallow safety alignment of LLMs—where a short initial token span decides a response's trajectory—as a high-leverage defense point. It introduces the Assess → Decide → Respond framework, where a defender assesses user intent, commits to an explicit parseable safety decision via reinforcement learning, then generates a reply conditioned on it. A rule-based self-verified reward avoids judges or annotation, while an LLM-as-judge variant handles graded decisions. Across two model families and fourteen benchmarks, it achieves the strongest multi-task safety while preserving utility at modest helpfulness cost.
arXivarXiv · · October 29, 2026
0
CoFiBreak: A Coarse-to-Fine Diversity Reward for Effective Multi-Turn Jailbreak
Jialin SongXiaodong LiuWeiwei YangMingqian FengChengquan GuoQiyao MaCarolyn BuractaonAnson HoWuyang ChenChristopher White
CoFiBreak is a coarse-to-fine diversity reward for Group Relative Policy Optimization (GRPO) that improves attack diversity in automated multi-turn jailbreaks while preserving strong attack success and low inference cost. The coarse reward encourages underrepresented strategies within each GRPO group, while the fine reward discourages reuse of personas, framings, and output formats after harmful-intent information is removed. Diversity rewards apply only to attacks exceeding an effectiveness threshold, and are computed only during training. Using Llama3.1-8B-Instruct as the victim, CoFiBreak discovers 1.6-2.0x more distinct successful fine-grained strategies than the strongest baseline on HarmBench, reaches 98.8% ASR@10 on AdvBench with the highest diversity (2.1x the strongest-attacking baseline), and transfers to unseen frontier LLMs, achieving 71.0% ASR@10 on Claude-Opus-4.6.
arXivarXiv · · October 29, 2026
0
Machine learning-guided real-time AC optimal transmission switching
Weimin HuangWeiwei YangBistra DilkinaKonstantina MellouIshai MenacheMarco MolinaroChris WhiteBaosen Zhang
We develop a machine learning-guided method for real-time AC optimal transmission switching, addressing the costly mixed-integer nonlinear problem. A grid-specific switching-value model, fine-tuned from a pretrained AC-OPF model, estimates generation-cost reductions for opening lines, guiding searches (Fixed-Rank, Adaptive-Rank, Swap-Enhanced) whose topologies are verified by exact solvers. On benchmarks, including a 2,000-bus Texas grid scenario, it cuts generation costs by 31.97% and nodal load payments by 94.34% within 50 seconds, showing surrogates can guide search without guaranteed feasibility.
arXivarXiv · · October 28, 2026
0
Where You Inject Matters: The Trust Region Effect in LLM Agents
Chengquan GuoXiaodong LiuWeiwei YangMingqian FengJialin SongQiyao MaCarolyn BuractaonChristopher WhiteBo LiJianfeng Gao
This paper characterizes how the placement of indirect prompt injections affects LLM-agent vulnerability. Across three agentic testbeds spanning tool use, coding, and daily workflows, the authors hold injection content fixed and find that agents implicitly trust different environmental regions to different degrees—the
arXivarXiv · · October 28, 2026
0
SEMA-Auto: Sighted and Efficient Multi-Turn Attack with Autonomy
Mingqian FengXiaodong LiuWeiwei YangChenliang XuJialin SongQiyao MaChengquan GuoCarolyn BuractaonMark RussinovichChristopher WhiteJianfeng Gao
SEMA-Auto is a multi-turn jailbreak attacker that reads each victim reply to plan the next turn and auto-terminates upon success, combining the adaptability of interactive generators with the low cost of static planners. Trained via synthetic bootstrap tuning and decision-supervised reinforcement learning, it jointly maximizes jailbreak reward and supervises each turn's decision against an absolute target. It achieves state-of-the-art attack success rates across datasets, victims, and judges with nearly the fewest turns, e.g., 76.0% ASR@1 in 3.0 turns against DeepSeek-V4-Flash on AdvBench, and 59.6% average ASR@1 on HarmBench against safety-hardened models, 13.8% over prior SOTA.
arXivarXiv · · October 26, 2026
0
From Images to Tasks: Characterizing Multimodal LLM Interactions in the Wild
Jinyi YeScott CountsGaurav VermaKate LytvynetsWeiwei Yang
Analyzing over 40,000 image-upload conversations from Microsoft Copilot, this paper characterizes real-world multimodal LLM use through a hierarchical framework of ten capabilities spanning perception, cognition, and generation. It finds that most image-upload tasks involve multiple capabilities and span broader, more diverse tasks than text-only interactions, with asymmetric coverage and reliance on cross-modal grounding. Mapping observed demand onto 253 benchmarks reveals uneven alignment: perception and fixed-answer reasoning dominate benchmarks, while common text, code, and data generation workflows remain undertested. Findings are validated on an independent ChatGPT dataset.
arXivarXiv · · September 30, 2026
0
GridSFM: A Foundation Model for Solving AC Optimal Power Flow
Luke BhanWeiwei YangMargaret CapetzBaosen Zhang
GridSFM is a $15$-million-parameter graph neural network foundation model pretrained on $54$ AC optimal power flow (AC-OPF) topologies, achieving $2.45\%$ zero-shot generation-cost error on a held-out $10{,}000$-bus case. Paired with Newton-method physics-informed fine-tuning, it adapts to unseen grids of up to $10{,}000$ buses using only $100$ solved instances, outperforming dedicated single-topology models on cost and solver iterations. The design lifts the disconnected AC-OPF feasible set via logarithmically penalized slacks into a provably contractible elastic set, ensuring well-defined solutions.
arXivarXiv · · September 24, 2026
0
PatchWrite: One Line, Not One Section -- Compile-Gated, Validity-Preserving Editing for AI-Drafted Manuscripts
Weiwei Yang
PatchWrite applies compile-gated and evidence-locked edit acceptance to AI-drafted manuscripts, committing only candidate edits that pass both a fatal-log compilation check and a registry attestation of every cited key and experimental number. On a stress test of 768 oracle jobs, PatchWrite preserved an unrelated “12-layer” line in 192/192 cases where whole-slot rewriting mutated it in every case. When the writer model proposed edits, 75% were accepted, 93.75% fixed the injected fault, and all rejections stemmed from a single grammar-supported deletion failure.
arXivarXiv · · August 24, 2026
0
Dual-Mapping Sparse Vector Coding for Phase Noise-Resilient Short-Packet Transmission
Yanfeng ZhangXi'an FanXu ZhuYujie LiuJinkai ZhengWeiwei YangWen WuTom H. LuanYong Liang Guan
The paper proposes dual-mapping sparse vector coding (DM-SVC) for short-packet transmission under phase noise (PN). Pilot symbols are mapped to multiple non-zero blocks and data symbols to isolated non-zero elements within a single sparse vector, enabling pilot-data separation through distinct sparsity patterns without explicit resource partitioning. Pilot block indices also carry extra information bits. A basis expansion model reduces PN parameters, and an iterative joint estimation and decoding algorithm is developed. Simulations show DM-SVC achieves block error rate close to perfect PN compensation with improved spectral efficiency and reduced codebook storage.
arXivarXiv · · July 8, 2026
0
0
Jailbreak susceptibility prediction and mitigation via the behavioral geometry of models
Hayden HelmXiaodong LiuWeiwei Yang
The paper formalizes a behavioral geometry over a population of generative models so that previously evaluated and defended models can be reused for efficient jailbreak-susceptibility prediction and defense transfer. Applied to 82 models from 24 providers and 100 configurations of one base model, simple geometry-based methods reach an AUPRC of 0.94 for susceptibility detection with about 98% fewer probes than full evaluation, and geometry-guided selection of the source model for transferring an optimized defense outperforms same-provider assignment (+4.1%, $p = 0.004$) at no added probe cost, with three models covering the population; results are robust to hyperparameter and judge choice.
arXivarXiv · · May 26, 2026
0
0
Agentic-imodels: Evolving agentic interpretability tools via autoresearch
Chandan SinghYan Shuo TanWeijia XuZelalem GeroWeiwei YangMichel GalleyJianfeng Gao
Agentic-imodels introduces an autoresearch loop that evolves interpretable models optimized for large language model (LLM) agents rather than humans. It develops scikit-learn-compatible regressors for tabular data, balancing predictive performance with a novel LLM-based interpretability metric measuring how well an LLM can simulate a model's behavior from its string representation. The evolved models improve both predictive accuracy and agent-facing interpretability, generalizing to new datasets and tests, and boost downstream automated data science performance on the BLADE benchmark by up to 73%.
arXivarXiv · · May 5, 2026
0
1
Building Power Grid Models from Open Data: A Complete Pipeline from OpenStreetMap to Optimal Power Flow
Andrea BrittoThiago SpinaWeiwei YangSpencer FowersBaosen ZhangChris White
The paper presents a five-stage pipeline that builds complete, OPF-solvable transmission network models from open data, requiring no proprietary information. Starting with OpenStreetMap power infrastructure, it reconstructs bus-branch topology, estimates electrical parameters via EIA-calibrated lookup tables, and allocates hourly demand using US Census population. Applying DC and AC optimal power flow with a progressive relaxation strategy, the pipeline validates on 48 US states and six multi-state regions; 42 of 48 single-state models converge at the strictest AC-OPF level at peak hour. Dispatch costs and system losses align with real wholesale-market outcomes. All 54 models are publicly released.
arXivarXiv · · May 5, 2026
0
2
Jailbreak susceptibility prediction and mitigation via the behavioral geometry of models
Hayden HelmXiaodong LiuWeiwei Yang
This paper formalizes a behavioral geometry over a population of models that, by leveraging already evaluated and defended models, enables both efficient jailbreak-susceptibility prediction and effective defense transfer, avoiding full per-configuration evaluation and optimization. Applied to 82 models from 24 providers and to 100 configurations of one base model, simple methods using this geometry reach an AUPRC of $0.94$ for susceptibility detection with about 98% fewer probes than full evaluation. Selecting the source model for defense transfer via the behavioral geometry outperforms same-provider assignment ($+4.1\%$, $p = 0.004$) at no extra probe cost, with three models sufficient to cover the population; results are robust to hyperparameter and judge choice.
OpenReviewOpenReview · · May 5, 2026
0
Statistical Estimation of Adversarial Risk in Large Language Models under Best-of-N Sampling
Mingqian FengXiaodong LiuWeiwei YangChenliang XuChristopher WhiteJianfeng Gao
The paper proposes SABER, a scaling-aware Best-of-N estimator that models sample-level jailbreak success probabilities with a Beta distribution, derives the resulting analytic scaling law at finite budgets, and builds estimators that extrapolate large-N attack success rates from small-budget measurements. Using only $n=200$ samples, its anchored estimator predicts ASR@1000 with a mean absolute error of 1.44 versus 6.58 for the naive baseline, a 78.1% reduction. The results reveal heterogeneous risk scaling profiles and show that models appearing robust under standard evaluation can undergo rapid nonlinear risk amplification under parallel adversarial pressure.
OpenReviewOpenReview · · May 4, 2026
0
MultiBreak: A Scalable and Diverse Multi-turn Jailbreak Benchmark for Evaluating LLM Safety
Jialin SongXiaodong LiuWeiwei YangWuyang ChenMingqian FengXuekai ZhuJianfeng Gao
MultiBreak is a multi-turn jailbreak benchmark containing 10,389 adversarial prompts across 2,665 harmful intents, designed to evaluate LLM safety. It is built via an active learning pipeline that iteratively fine-tunes a generator using uncertainty-based refinement to produce diverse attack candidates. MultiBreak achieves up to a 54.0 and 34.6 higher attack success rate than the second-best dataset on DeepSeek-R1-7B and GPT-4.1-mini, respectively, and reveals that categories appearing benign under single-turn attacks can become substantially more effective in multi-turn scenarios.
arXivarXiv · · May 3, 2026
0
11
Agentic-imodels: Evolving agentic interpretability tools via autoresearch
Chandan SinghYan Shuo TanWeijia XuZelalem GeroWeiwei YangMichel GalleyJianfeng Gao
Agentic-imodels is an agentic autoresearch loop that evolves data-science tools designed to be interpretable by agents rather than by humans. It builds a library of scikit-learn-compatible regressors for tabular data optimized jointly for predictive performance and a new LLM-based interpretability metric, which grades whether an LLM can answer questions about a model's behavior from its string representation alone ("simulatability"). The evolved models improve both predictive performance and interpretability, generalize to new datasets and new interpretability tests, and raise end-to-end agentic data-science performance for Copilot CLI, Claude Code, and Codex on the BLADE benchmark by up to 73%.
OpenReviewOpenReview · · May 1, 2026
0
SEMA: Simple yet Effective Learning for Multi-Turn Jailbreak Attacks
Mingqian FengXiaodong LiuWeiwei YangJialin SongXuekai ZhuChenliang XuJianfeng Gao
SEMA is a simple two-stage framework that trains a multi-turn attacker to generate adversarial prompts without relying on existing strategies or external data. First, prefilling self-tuning stabilizes training by fine-tuning on self-generated, non-refusal multi-turn prompts. Second, reinforcement learning with an intent-drift-aware reward, combining intent alignment, compliance risk, and level of detail, maintains the harmful objective across turns. In an open-loop regime without victim feedback, SEMA achieves state-of-the-art attack success rates, e.g., 80.1% ASR@1 averaged across three victim models on AdvBench, outperforming prior SOTA by 33.9%.
arXivarXiv · · February 6, 2026
0
10
Statistical Estimation of Adversarial Risk in Large Language Models under Best-of-N Sampling
Mingqian FengXiaodong LiuWeiwei YangChenliang XuChristopher WhiteJianfeng Gao
SABER models jailbreak risk under Best-of-N sampling by treating sample-level attack success as a Bernoulli trial with a Beta-distributed probability. From only 100 samples, it derives an analytic scaling law that extrapolates attack success rate at large N. The anchored estimator predicts ASR@1000 with a mean absolute error of 1.66, an 86.2% reduction from the baseline 12.04, revealing that models robust under single-shot evaluation can exhibit nonlinear risk amplification under parallel adversarial queries.
arXivarXiv · · January 30, 2026
0
4
MultiBreak: A Scalable and Diverse Multi-turn Jailbreak Benchmark for Evaluating LLM Safety
Jialin SongXiaodong LiuWeiwei YangWuyang ChenMingqian FengXuekai ZhuJianfeng Gao
We present MultiBreak, a scalable and diverse multi-turn jailbreak benchmark for evaluating LLM safety. It unifies harmful intents and uses an active learning pipeline that iteratively fine-tunes a generator, guided by uncertainty, to produce stronger adversarial prompts. MultiBreak contains 10,389 prompts across 2,665 intents, achieving up to 54.0% and 34.6% higher attack success rate than the second-best dataset on DeepSeek-R1-7B and GPT-4.1-mini. Safety evaluations show diverse categories uncover fine-grained vulnerabilities, with benign-looking single-turn categories becoming more effective in multi-turn settings.
OpenReviewOpenReview · · January 23, 2026
0
Dual-Mapping Sparse Vector Transmission for Short Packet URLLC
Yanfeng ZhangXu ZhuJinkai ZhengWeiwei YangXianhua YuHaiyong ZengYujie LiuYong Liang Guan
This paper proposes a dual-mapping sparse vector coding (DM-SVC) scheme for short-packet URLLC. It maps information bits onto sparse vectors using two complementary patterns: block sparse mapping concentrates power in few non-zero blocks for better decoding accuracy, while single-element sparse mapping prevents code length from growing rapidly with the number of bits. A two-stage decoder sequentially identifies block and single-element indexes. Simulations show DM-SVC improves block error rate and spectral efficiency over existing SVC schemes.
arXivarXiv · · January 22, 2026
0
4
Low-Complexity Sparse Superimposed Coding for Ultra Reliable Low Latency Communications
Yanfeng ZhangXi'an FanXu ZhuJinkai ZhengHui LiangWeiwei YangTom H. Luan
This paper proposes a low-complexity sparse superimposed coding (SSC) scheme for ultra-reliable low-latency communications. By designing a codebook where each codeword contains only a small number of non-zero elements, the scheme exploits sparsity to reduce encoding and decoding complexity, using the traditional multipath matching pursuit algorithm for decoding. The approach achieves a favorable trade-off between block error rate performance and computational complexity, with strong robustness across different transmission block lengths.
arXivarXiv · · January 22, 2026
0
1
Hierarchical Sparse Vector Transmission for Ultra Reliable and Low Latency Communications
Yanfeng ZhangXi'an FanJinkai ZhengXiaoye JingWeiwei YangXu Zhu
This paper proposes a hierarchical sparse vector transmission (SVT) scheme for multi-user ultra-reliable low-latency communication (URLLC). The scheme partitions transmitted bits into common and private parts: common information is conveyed by the indices of non-zero sections in a sparse vector, while each user's private information is embedded into non-zero blocks with specific block lengths. The receiver first recovers common bits from detected non-zero sections, then decodes user-specific private bits using corresponding non-zero block indices. Simulation results show the proposed scheme improves block error rate over state-of-the-art SVT schemes.
arXivarXiv · · January 19, 2026
0
0
MultiBreak: A Scalable and Diverse Multi-turn Jailbreak Benchmark for Stress-testing LLM Safety
Jialin SongXiaodong LiuWeiwei YangWuyang ChenMingqian FengXuekai ZhuJianfeng Gao
MultiBreak is a scalable, diverse multi-turn jailbreak benchmark for stress-testing LLM safety. Using an active learning pipeline that iteratively fine-tunes an attack generator with uncertainty-based refinement, it produces 7,152 multi-turn adversarial prompts spanning 1,724 harmful intents, covering the most diverse topics to date. It achieves up to 54.1% and 30.8% higher attack success rates than the second-best dataset on DeepSeek-R1-7B and GPT-4.1-mini, respectively. Findings show LLMs resist overt harms better than subtle ones but remain highly vulnerable to framing-based attacks.
OpenReviewOpenReview · September 19, 2025
0
3
SEMA: Simple yet Effective Learning for Multi-Turn Jailbreak Attacks
Mingqian FengXiaodong LiuWeiwei YangJialin SongXuekai ZhuChenliang XuJianfeng Gao
SEMA is a two-stage framework for multi-turn jailbreak attacks that trains an attacker without existing strategies or external data. Prefilling self-tuning generates usable non-refusal adversarial prompts to stabilize learning, while reinforcement learning with an intent-drift-aware reward—combining intent alignment, compliance risk, and detail—maintains the harmful objective. Its open-loop regime unifies single- and multi-turn settings, reducing exploration complexity. SEMA achieves state-of-the-art attack success rates, e.g., 80.1% ASR@1 on AdvBench, outperforming all baselines.
OpenReviewOpenReview · · September 1, 2025
0
Electro-optic frequency comb-empowered precise measurement of the dynamic frequency of a laser
Weiwei YangXingyu JiaJingyi WangXinlun CaiYang LiGuanhao Wu
The authors demonstrate an integrated lithium niobate electro-optic frequency comb with an arbitrarily tunable repetition rate and a 29.45-nm bandwidth. Using this comb, they track the absolute frequency of a frequency-modulated laser with a chirp rate up to $2\times10^{18}\,\mathrm{Hz/s}$, over three orders of magnitude beyond the prior state of the art. This enables frequency-modulated continuous-wave ranging even when the laser exhibits severe mode hops.
arXivarXiv · · August 22, 2025
0
2
Interpretable Next-token Prediction via the Generalized Induction Head
Eunji KimSriya MantenaWeiwei YangChandan SinghSungroh YoonJianfeng Gao
We propose the Generalized Induction-Head Model (GIM), an interpretable retrieval-based module for next-token prediction that emulates induction heads by combining exact n-gram matching with fuzzy matching via a neural similarity metric. Evaluated on language modeling, GIM outperforms interpretable baselines by up to 25 percentage points, narrowing the gap with black-box LLMs. In fMRI response prediction, it improves accuracy by 20% and reveals brain language selectivity. GIM bridges interpretability and performance across domains. Code is publicly available.
OpenReviewOpenReview · · May 7, 2025
0
Iterative Self-Tuning LLMs for Enhanced Jailbreaking Capabilities
Chung-En SunXiaodong LiuWeiwei YangTsui-Wei WengHao ChengAidan SanMichel GalleyJianfeng Gao
ADV-LLM is an iterative self-tuning process that crafts adversarial LLMs with enhanced jailbreak ability. It generates adversarial suffixes at significantly lower computational cost and achieves nearly 100% Attack Success Rate (ASR) on various open-source LLMs, including Llama3. Optimized solely on Llama3, it transfers to closed-source models: 99% ASR on GPT-3.5 and 49% on GPT-4. The method also generates large datasets to aid safety alignment research.
ACL AnthologyACL Anthology · · April 2025
0
NeurIPS 2023 LLM Efficiency Fine-tuning Competition
Mark SaroufimYotam Perlitz…Weiwei Yang
An analysis of the NeurIPS 2023 LLM efficiency fine-tuning competition reveals that top-performing models significantly overfit to benchmark datasets. The competition's two-stage design—open evaluation on public tasks and closed evaluation on unseen tasks—enabled assessment of generalizability. The findings highlight the limitations of current benchmark-based evaluation for generative models, and show that winning submissions used standard libraries while focusing on data curation. The competition entries and infrastructure are released to promote reproducibility.
arXivarXiv · · March 13, 2025
0
9
Interpretable Next-token Prediction via the Generalized Induction Head
Eunji KimSriya MantenaWeiwei YangChandan SinghSungroh YoonJianfeng Gao
The Generalized Induction-Head Model (GIM) is an interpretable retrieval-based module for next-token prediction that combines exact n-gram matching with fuzzy matching via a learned neural similarity metric. In language modeling, GIM improves accuracy by up to 25 percentage points over interpretable baselines, substantially closing the gap with black-box large language models. In fMRI neural response prediction, it achieves a 20% improvement and reveals insights into brain language selectivity, demonstrating interpretability without sacrificing performance across domains.
arXivarXiv · · October 31, 2024
0
4
Authors with the same name
Weiwei Yang · 22 papers
Weiwei Yang #0001 · 6 papers
Weiwei Yang #0004 · 8 papers
Weiwei Yang #0003 · 1 papers
Frequent collaborators
Jianfeng Gao (17)
Xiaodong Liu (15)
Carey E. Priebe (12)
Mingqian Feng (11)
Jialin Song (9)
Christopher White (8)
Hayden S. Helm (8)
Baosen Zhang (7)
Joshua T. Vogelstein (7)
Chenliang Xu (5)
Kate Lytvynets (5)
Chandan Singh (5)