Xuezhi Cao
Author directory2026
Friend or Foe: How LLMs’ Safety Mind Gets Fooled by Intent Shift Attack
Peng Ding | Jun Kuang | Wen Sun | Zongyu Wang | Xuezhi Cao | Xunliang Cai | Jiajun Chen | Shujian Huang
Transactions of the Association for Computational Linguistics, Volume 14
Peng Ding | Jun Kuang | Wen Sun | Zongyu Wang | Xuezhi Cao | Xunliang Cai | Jiajun Chen | Shujian Huang
Transactions of the Association for Computational Linguistics, Volume 14
Large language models (LLMs) remain vulnerable to jailbreaking attacks despite their impressive capabilities. Investigating these vulnerabilities is crucial for developing robust safety mechanisms. Existing attacks primarily bypass LLM safeguards by introducing additional context or adversarial tokens, while leaving the core harmful intent intact. In this paper, we introduce ISA (Intent Shift Attack), which conceals malicious intent from LLMs through subtle edits. More specifically, we establish a taxonomy of intent transformations and leverage them to generate attacks that may be misperceived by LLMs as benign requests. Unlike prior methods relying on complex tokens or lengthy context, our approach requires only limited modifications to the original request, yielding natural, fluent, and seemingly harmless prompts. Extensive experiments on both open-source and commercial LLMs demonstrate that ISA effectively induces safety failures, achieving high attack success rates through simple linguistic transformations. More critically, fine-tuning models solely on benign data reformulated with ISA templates elevates the success rates to nearly 100%. For defense, we evaluate existing methods and demonstrate their limited effectiveness against ISA, while exploring both training-free and training-based mitigation strategies. Our findings reveal fundamental challenges in intent inference for LLM safety and underscore the need for more effective defenses. Our code and datasets are available at https://github.com/NJUNLP/ISA.
AdaR: A Framework for Equipping LLMs with Adaptive Reasoning
Zhejian Lai | Xiang Geng | Zhijun Wang | Yang Bai | Jiahuan Li | Rongxiang Weng | Jingang Wang | Xuezhi Cao | Xunliang Cai | Shujian Huang
Findings of the Association for Computational Linguistics: EMNLP 2026
Zhejian Lai | Xiang Geng | Zhijun Wang | Yang Bai | Jiahuan Li | Rongxiang Weng | Jingang Wang | Xuezhi Cao | Xunliang Cai | Shujian Huang
Findings of the Association for Computational Linguistics: EMNLP 2026
Mathematical reasoning is a primary indicator of large language models’ (LLMs) intelligence. However, existing LLMs exhibit failures in robustness and generalization. This paper attributes these deficiencies to spurious reasoning, wherein generated reasoning traces are driven by superficial correlations, leading models to blindly reproduce memorized patterns from the training data. To address this challenge, we propose the AdaR framework to equip LLMs with adaptive reasoning, wherein models establish correct correlations between query templates and reasoning processes. AdaR automatically synthesizes logically equivalent queries by varying variable values and trains models using Reinforcement Learning with Verifiable Rewards (RLVR) to penalize spurious logic while encouraging adaptive logic. To ensure data quality, we extract the problem-solving logic from the original query, generate the corresponding answer through code execution, and then apply a sanity check. Experimental results demonstrate that AdaR achieves substantial improvements in mathematical reasoning while maintaining high data efficiency. Furthermore, even advanced LLMs still exhibit deficiencies in robustness and generalization, which our work effectively mitigates.
Meeseeks-Multilingual: A Multi-Turn, Multi-Constraint Benchmark evaluating Multilingual Instruction-Following and Self-Correction
Jiaming Wang | Hefei Chen | Zhe Tang | Zehao Jin | Yanxin Zhuo | Ruicheng Liao | Jinrong Ma | Xiaoyu Li | Xuezhi Cao
Findings of the Association for Computational Linguistics: EMNLP 2026
Jiaming Wang | Hefei Chen | Zhe Tang | Zehao Jin | Yanxin Zhuo | Ruicheng Liao | Jinrong Ma | Xiaoyu Li | Xuezhi Cao
Findings of the Association for Computational Linguistics: EMNLP 2026
Large Language Models (LLMs) fail to reliably follow multi-constraint instructions across languages, and the failure rate rises when regional linguistic rules interact with general constraints. To address this challenge, we present Meeseeks-Multilingual, a multi-turn, feedback-driven benchmark that extends Meeseeks to multilingual and cross-regional evaluation. The benchmark separates general constraints (e.g., word counts, keyword rules) from regional constraints (e.g., Japanese kana requirements) so that the two failure modes can be measured independently. Meeseeks-Multilingual automatically identifies unmet constraints and provides targeted feedback to test iterative self-correction. All data are produced by trained annotators with no LLM involvement in data generation. Experiments across mainstream commercial and open-source LLMs show that even with iterative feedback, models consistently fail to meet all multilingual constraints. Aggregate model rankings stabilize by Round 5, which lets the benchmark be run at reduced cost for overall comparisons, although regional rankings settle more slowly and need more rounds. Meeseeks-Multilingual has been open-sourced on https://github.com/meituan-longcat/Meeseeks.
UniGUI-Bench: A Real-World Diagnostic Benchmark — What Capabilities Do GUI Agents Most Need?
Jiaxing Liu | Ruoqi Sun | Liya Ma | FengJiao Chen | Ziwen Wang | Xuezhi Cao
Findings of the Association for Computational Linguistics: EMNLP 2026
Jiaxing Liu | Ruoqi Sun | Liya Ma | FengJiao Chen | Ziwen Wang | Xuezhi Cao
Findings of the Association for Computational Linguistics: EMNLP 2026
GUI agents powered by Multimodal Large Language Models (MLLMs) are advancing rapidly, yet most existing benchmarks evaluate only task-level success or failure—leaving a fundamental question unanswered: what capabilities do GUI agents most need to succeed in real-world settings? We introduce UniGUI-Bench, a benchmark that jointly verifies task-level outcomes and process-level capability diagnosis. It spans 6 device platforms and 23 application scenarios with bilingual support, comprising over 10,000 evaluation items. Its core design links the two evaluation axes: each task failure can be traced to specific capability deficiencies, enabling fine-grained attribution beyond binary pass/fail. Experiments on 14 frontier models reveal three findings: (1) model rankings diverge substantially from single-platform leaderboards under broader evaluation; (2) different scenarios impose distinct capability bottlenecks identifiable through our attribution framework; (3) targeted training on diagnosed bottleneck dimensions yields consistent improvements on both UniGUI-Bench and OSWorld, providing preliminary evidence toward closing the evaluation–improvement loop. The UniGUI-Bench dataset and evaluation code are available at https://huggingface.co/datasets/AGI-Eval/UniGUI-Bench.
Asuka-Bench: Benchmarking Code Agents on Underspecified User Intent and Multi-Round Refinement
Xin Wang | Liangtai Sun | Yaoming Zhu | Shuang Zhou | Jiaxing Liu | FengJiao Chen | Lin Qiu | Xuezhi Cao | Xunliang Cai | Licheng Zhang | Zhendong Mao
Findings of the Association for Computational Linguistics: EMNLP 2026
Xin Wang | Liangtai Sun | Yaoming Zhu | Shuang Zhou | Jiaxing Liu | FengJiao Chen | Lin Qiu | Xuezhi Cao | Xunliang Cai | Licheng Zhang | Zhendong Mao
Findings of the Association for Computational Linguistics: EMNLP 2026
Existing code-generation benchmarks score a single mapping from a complete prompt to a one-shot output. However, real web development is different. Users seldom write a full spec at the start; many requirements only become clear once they look at an intermediate result and react to it. We present Asuka-Bench, a benchmark that pairs underspecified user intent with multi-round refinement, grounded in browser-rendered behavior. Each task is resolved through a closed loop: a Code Agent generates a web project, a UI Agent executes test cases on the deployed site, and a User LLM turns evaluation outcomes into natural-language feedback for the next round. The benchmark comprises 50 web tasks with 784 evaluation criteria and 2402 expected outcomes. We benchmark 8 LLMs across 2 agent frameworks. The results separate models clearly: weighted Task Pass Rate varies by 38 percentage points and models also differ substantially in their ability to repair from feedback. Asuka-Bench is also far from saturated: even the strongest model completes only 52% of projects after three rounds.
DailyReport: An Open-ended Benchmark for Evaluating Search Agents on Daily Search Tasks
Jingxuan Han | Wei Liu | Mingyang Zhu | Youpeng Wang | Ziwen Wang | Lin Qiu | Xuezhi Cao | Xunliang Cai | Zheren Fu | Licheng Zhang | Zhendong Mao
Findings of the Association for Computational Linguistics: EMNLP 2026
Jingxuan Han | Wei Liu | Mingyang Zhu | Youpeng Wang | Ziwen Wang | Lin Qiu | Xuezhi Cao | Xunliang Cai | Zheren Fu | Licheng Zhang | Zhendong Mao
Findings of the Association for Computational Linguistics: EMNLP 2026
Search Agents (SAs) typically leverage large language models (LLMs) to support complex information-seeking tasks by autonomously exploring web sources and synthesizing information into comprehensive responses. For SAs evaluation, prior benchmarks mainly focus on specialized tasks that are unlikely to arise in real-world user scenarios. Moreover, their reliance on coarse task-level rubrics often limits evaluation interpretability. To bridge this gap, we introduce DailyReport, an open-ended benchmark to evaluate SA capabilities on daily search tasks. It contains 150 open-ended tasks with 3,546 associated rubrics, capturing widely discussed and timely information demands of real-world users. Each task is decomposed into subtasks and evaluated with cascade rubrics across disentangled dimensions. Through cascade performance attribution and user-centric aggregation, we derive highly interpretable scores for each dimension, along with a user preference score. Our results on 17 agentic systems show that current systems still fall short of users’ expectations. DailyReport will be open-sourced to facilitate future research.
Meeseeks: A Feedback-Driven, Iterative Self-Correction Benchmark evaluating LLMs’ Instruction Following Capability
Jiaming Wang | Yunke Zhao | Peng Ding | Jun Kuang | Yibin Shen | Zhe Tang | Yilin Jin | ZongYu Wang | Xiaoyu Li | Xuezhi Cao
Findings of the Association for Computational Linguistics: ACL 2026
Jiaming Wang | Yunke Zhao | Peng Ding | Jun Kuang | Yibin Shen | Zhe Tang | Yilin Jin | ZongYu Wang | Xiaoyu Li | Xuezhi Cao
Findings of the Association for Computational Linguistics: ACL 2026
The capability to precisely adhere to instructions is a cornerstone for Large Language Models (LLMs) to function as dependable agents in real-world scenarios. However, confronted with complex prompts, LLMs frequently encounter difficulties in fulfilling all specified requirements within a single response. Drawing inspiration from recent advancements in Chain-of-Thought (CoT) prompting and self-correction methodologies, we introduce Meeseeks, a fully automated iterative instruction-following benchmark equipped with an integrated feedback mechanism. Meeseeks identifies erroneous components in model responses and provides corresponding feedback accurately, thereby iteratively guiding the model toward self-correction. The dataset contains over 700 curated instances annotated by 32 distinct capability tags in Chinese and English. Extensive experimental results reveal that different state-of-the-art commercial and open-source LLMs exhibit vastly disparate performance, and even after 20 turns of iterative feedback-driven self-correction, nearly all models demonstrate suboptimal performance. We conducted comprehensive analysis and uncovered numerous common issues prevalent in current state-of-the-art models, as well as several counterintuitive phenomena. Meeseeks has been open-sourced on https://github.com/ADoublLEN/Meeseeks.
SOP-Maze: Evaluating Large Language Models on Complicated Business Standard Operating Procedures
Jiaming Wang | Zhe Tang | Zehao Jin | Hefei Chen | Yilin Jin | Peng Ding | Xiaoyu Li | Xuezhi Cao
Findings of the Association for Computational Linguistics: ACL 2026
Jiaming Wang | Zhe Tang | Zehao Jin | Hefei Chen | Yilin Jin | Peng Ding | Xiaoyu Li | Xuezhi Cao
Findings of the Association for Computational Linguistics: ACL 2026
As large language models (LLMs) are widely deployed as domain-specific agents, many benchmarks have been proposed to evaluate their ability to follow instructions and make decisions in real-world scenarios. However, business scenarios often involve complex standard operating procedures (SOPs), and the evaluation of LLM capabilities in such contexts has not been fully explored. To bridge this gap, we propose SOP-Maze, a benchmark constructed from real-world business data and adapted into a collection of 397 instances and 3422 subtasks from 23 complex SOP scenarios. We further categorize SOP tasks into two broad classes: Lateral Root System (LRS), representing wide-option tasks that demand precise selection; and Heart Root System (HRS), which emphasizes deep logical reasoning with complex branches. Extensive experiments reveal that nearly all state-of-the-art models struggle with SOP-Maze. We conduct a comprehensive analysis and identify three key error categories: (i) route blindness: difficulty following procedures; (ii) conversational fragility: inability to handle real dialogue nuances; and (iii) calculation errors: mistakes in time or arithmetic reasoning under complex contexts. The systematic study explores LLM performance across SOP tasks that challenge both breadth and depth, offering new insights for improving model capabilities. We have open-sourced our work on the anonymous link: https://github.com/meituan-longcat/SOP-Maze.
Attribution-Based Analysis and Optimization of Modular Agentic Workflows
Yingxuan Yang | Bo Huang | Siyuan Qi | Chao Feng | Haoyi Hu | Yuxuan Zhu | Jinbo Hu | Haoran Zhao | Ziyi He | Xiao Liu | ZongYu Wang | Muning Wen | Lin Qiu | Xuezhi Cao | Xunliang Cai | Yong Yu | Weinan Zhang
Findings of the Association for Computational Linguistics: ACL 2026
Yingxuan Yang | Bo Huang | Siyuan Qi | Chao Feng | Haoyi Hu | Yuxuan Zhu | Jinbo Hu | Haoran Zhao | Ziyi He | Xiao Liu | ZongYu Wang | Muning Wen | Lin Qiu | Xuezhi Cao | Xunliang Cai | Yong Yu | Weinan Zhang
Findings of the Association for Computational Linguistics: ACL 2026
Agentic workflows solve complex tasks by orchestrating modular components (e.g., planning, reasoning, action, reflection) built on top of LLM backbones. A practical but underexplored question is model allocation: given a fixed workflow decomposition and a pool of candidate LLMs, which components should be upgraded (and with which models) to upgrade task performance, and how can we attribute gains to individual upgrades and their interactions?We present ShapleyFlow, a cooperative game theoretic framework that models component upgrades as players and evaluates component coalitions to compute Shapley values. This yields interaction-aware attribution and supports Shapley-guided configuration recommendation for model allocation under a fixed workflow structure.We further introduce CapaBench, a benchmark of 1,500+ tasks across seven domains (shopping, navigation, ticketing, mathematics, operating systems, robotic coordination, and automated theorem proving).Across 9 representative LLMs and all 24 upgrade coalitions in a 4-component workflow, ShapleyFlow provides (i) principled, interaction-aware attribution for modular workflows and (ii) actionable model-allocation recommendations that improve over strong single-model baselines.
AMO-Bench: Large Language Models Still Struggle in High School Math Competitions
Junlin Liu | Shengnan An | Shuang Zhou | Dan Ma | Yehao Lin | Xinxuan Lv | Xuanlin Wang | Xiaoyu Li | Ziwen Wang | Xuezhi Cao | Xunliang Cai
Findings of the Association for Computational Linguistics: ACL 2026
Junlin Liu | Shengnan An | Shuang Zhou | Dan Ma | Yehao Lin | Xinxuan Lv | Xuanlin Wang | Xiaoyu Li | Ziwen Wang | Xuezhi Cao | Xunliang Cai
Findings of the Association for Computational Linguistics: ACL 2026
We present AMO-Bench, an Advanced Mathematical reasoning benchmark with Olympiad level or even higher difficulty, comprising 50 human-crafted problems. Existing benchmarks have widely leveraged high school math competitions for evaluating mathematical reasoning capabilities of large language models (LLMs). However, many existing math competitions are becoming less effective for assessing top-tier LLMs due to performance saturation (e.g., AIME24/25). To address this, AMO-Bench introduces more rigorous challenges by ensuring all 50 problems are (1) cross-validated by experts to meet at least the International Mathematical Olympiad (IMO) difficulty standards, and (2) entirely original problems to prevent potential performance leakages from data memorization. Experimental results across 36 LLMs on AMO-Bench highlights three key findings: (1) high-level mathematical reasoning remains challenging for current LLMs, with even the best-performing model achieving only 63.1% accuracy and most LLMs scoring below 50%; (2) scaling test-time compute remains a highly effective strategy for substantially improving reasoning performances, and (3) open-source models are progressively narrowing the performance gap with proprietary models. Additionally, we conduct further analysis about reasoning efficiency, volatility, and cross-lingual robustness, providing deeper insights behind the reasoning performances.
TR-ICRL: Test-Time Rethinking for In-Context Reinforcement Learning
Wenxuan Jiang | Yuxin Zuo | Zijian Zhang | Xuecheng Wu | Zining Fan | Wenxuan Liu | Li Chen | Xiaoyu Li | Xuezhi Cao | Xiaolong Jin | Ninghao Liu
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Wenxuan Jiang | Yuxin Zuo | Zijian Zhang | Xuecheng Wu | Zining Fan | Wenxuan Liu | Li Chen | Xiaoyu Li | Xuezhi Cao | Xiaolong Jin | Ninghao Liu
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
In-Context Reinforcement Learning (ICRL) enables Large Language Models (LLMs) to learn online from external rewards directly within the context window. However, a central challenge in ICRL is reward estimation, as models typically lack access to ground-truths during inference. To address this limitation, we propose Test-Time Rethinking for In-Context Reinforcement Learning (TR-ICRL), a novel ICRL prompting framework that leverages Test-Time Scaling to generate reward-like feedback during inference. TR-ICRL operates by first retrieving the most relevant instances from an unlabeled evaluation set for a given query. During each ICRL iteration, LLM generates a set of candidate answers for every retrieved instance. Next, a pseudo-label is derived from this set through majority voting. In the end, this self-improvement context is integrated with the original query to form a comprehensive prompt, with the answer determining through a final round of majority voting. TR-ICRL is evaluated on mainstream reasoning and knowledge-intensive tasks, where it demonstrates significant performance gains. Remarkably, TR-ICRL improves Qwen2.5-7B by 21.23% on average on MedQA and even 137.59% on AIME2024. Extensive ablation studies and analyses further validate the effectiveness and robustness of our approach. Our code is available at https://github.com/pangpang-xuan/TR_ICRL.
CoreCodeBench: Decoupling Code Intelligence via Fine-Grained Repository-Level Tasks
Lingyue Fu | Hao Guan | Bolun Zhang | Haowei Yuan | Yaoming Zhu | Lin Qiu | ZongYu Wang | Xuezhi Cao | Xunliang Cai | Weiwen Liu | Weinan Zhang | Yong Yu
Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Lingyue Fu | Hao Guan | Bolun Zhang | Haowei Yuan | Yaoming Zhu | Lin Qiu | ZongYu Wang | Xuezhi Cao | Xunliang Cai | Weiwen Liu | Weinan Zhang | Yong Yu
Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
The evaluation of Large Language Models (LLMs) for software engineering has shifted towards complex, repository-level tasks. However, existing benchmarks predominantly rely on coarse-grained pass rates that treat programming proficiency as a monolithic capability, obscuring specific cognitive bottlenecks. Furthermore, the static nature of these benchmarks renders them vulnerable to data contamination and performance saturation. To address these limitations, we introduce CoreCodeBench, a configurable repository-level benchmark designed to dissect coding capabilities through atomized tasks. Leveraging our automated framework, CorePipe, we extract and transform Python repositories into a comprehensive suite of tasks that isolate distinct cognitive demands within identical code contexts. Unlike static evaluations, CoreCodeBench supports controllable difficulty scaling to prevent saturation and ensures superior data quality. It achieves a 78.55% validity yield, significantly surpassing the 31.7% retention rate of SWE-bench-Verified. Extensive experiments with state-of-the-art LLMs reveal a significant capability misalignment, evidenced by distinct ranking shifts across cognitive dimensions. This indicates that coding proficiency is non-monolithic, as strength in one aspect does not necessarily translate to others. These findings underscore the necessity of our fine-grained taxonomy in diagnosing model deficiencies and offer a sustainable, rigorous framework for evolving code intelligence. Code of CorePipe framework and data of CoreCodeBench are available in https://github.com/AGI-Eval-Official/CoreCodeBench and https://huggingface.co/collections/tubehhh/corecodebench.
2025
Instance-level Randomization: Toward More Stable LLM Evaluations
Yiyang Li | Yonghuang Wu | Ying Luo | Liangtai Sun | Zishu Qin | Lin Qiu | Xuezhi Cao | Xunliang Cai
Findings of the Association for Computational Linguistics: EMNLP 2025
Yiyang Li | Yonghuang Wu | Ying Luo | Liangtai Sun | Zishu Qin | Lin Qiu | Xuezhi Cao | Xunliang Cai
Findings of the Association for Computational Linguistics: EMNLP 2025
Evaluations of large language models (LLMs) suffer from instability, where small changes of random factors such as few-shot examples can lead to drastic fluctuations of scores and even model rankings. Moreover, different LLMs can have different preferences for a certain setting of random factors. As a result, using a fixed setting of random factors, which is often adopted as the paradigm of current evaluations, can lead to potential unfair comparisons between LLMs. To mitigate the volatility of evaluations, we first theoretically analyze the sources of variance induced by changes in random factors. Targeting these specific sources, we then propose the instance-level randomization (ILR) method to reduce variance and enhance fairness in model comparisons. Instead of using a fixed setting across the whole benchmark in a single experiment, we randomize all factors that affect evaluation scores for every single instance, run multiple experiments and report the averaged score. Theoretical analyses and empirical results demonstrate that ILR can reduce the variance and unfair comparisons caused by random factors, as well as achieve similar robustness level with less than half computational cost compared with previous methods. Codes and data are available at https://github.com/EricLee8/Instance-level-Randomization.
Why Not Act on What You Know? Unleashing Safety Potential of LLMs via Self-Aware Guard Enhancement
Peng Ding | Jun Kuang | ZongYu Wang | Xuezhi Cao | Xunliang Cai | Jiajun Chen | Shujian Huang
Findings of the Association for Computational Linguistics: ACL 2025
Peng Ding | Jun Kuang | ZongYu Wang | Xuezhi Cao | Xunliang Cai | Jiajun Chen | Shujian Huang
Findings of the Association for Computational Linguistics: ACL 2025
Large Language Models (LLMs) have shown impressive capabilities across various tasks but remain vulnerable to meticulously crafted jailbreak attacks. In this paper, we identify a critical safety gap: while LLMs are adept at detecting jailbreak prompts, they often produce unsafe responses when directly processing these inputs. Inspired by this insight, we propose SAGE(Self-Aware Guard Enhancement), a training-free defense strategy designed to align LLMs’ strong safety discrimination performance with their relatively weaker safety generation ability. SAGE consists of two core components: a Discriminative Analysis Module and a Discriminative Response Module, enhancing resilience against sophisticated jailbreak attempts through flexible safety discrimination instructions. Extensive experiments demonstrate SAGE’s effectiveness and robustness across various open-source and closed-source LLMs of different sizes and architectures, achieving an average 99% defense success rate against numerous complex and covert jailbreak methods while maintaining helpfulness on general benchmarks. We further conduct mechanistic interpretability analysis through hidden states and attention distributions, revealing the underlying mechanisms of this detection-generation discrepancy. Our work thus contributes to developing future LLMs with coherent safety awareness and generation behavior. Our code and datasets are publicly available at https://github.com/NJUNLP/SAGE.
MUSE: MCTS-Driven Red Teaming Framework for Enhanced Multi-Turn Dialogue Safety in Large Language Models
Siyu Yan | Long Zeng | Xuecheng Wu | Chengcheng Han | Kongcheng Zhang | Chong Peng | Xuezhi Cao | Xunliang Cai | Chenjuan Guo
Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing
Siyu Yan | Long Zeng | Xuecheng Wu | Chengcheng Han | Kongcheng Zhang | Chong Peng | Xuezhi Cao | Xunliang Cai | Chenjuan Guo
Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing
As large language models (LLMs) become widely adopted, ensuring their alignment with human values is crucial to prevent jailbreaks where adversaries manipulate models to produce harmful content. While most defenses target single-turn attacks, real-world usage often involves multi-turn dialogues, exposing models to attacks that exploit conversational context to bypass safety measures. We introduce MUSE, a comprehensive framework tackling multi-turn jailbreaks from both attack and defense angles. For attacks, we propose MUSE-A, a method that uses frame semantics and heuristic tree search to explore diverse semantic trajectories. For defense, we present MUSE-D, a fine-grained safety alignment approach that intervenes early in dialogues to reduce vulnerabilities. Extensive experiments on various models show that MUSE effectively identifies and mitigates multi-turn vulnerabilities. Code is available at https://anonymous.4open.science/r/MUSE-75F7.
Leveraging Dual Process Theory in Language Agent Framework for Real-time Simultaneous Human-AI Collaboration
Shao Zhang | Xihuai Wang | Wenhao Zhang | Chaoran Li | Junru Song | Tingyu Li | Lin Qiu | Xuezhi Cao | Xunliang Cai | Wen Yao | Weinan Zhang | Xinbing Wang | Ying Wen
Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Shao Zhang | Xihuai Wang | Wenhao Zhang | Chaoran Li | Junru Song | Tingyu Li | Lin Qiu | Xuezhi Cao | Xunliang Cai | Wen Yao | Weinan Zhang | Xinbing Wang | Ying Wen
Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Agents built on large language models (LLMs) have excelled in turn-by-turn human-AI collaboration but struggle with simultaneous tasks requiring real-time interaction. Latency issues and the challenge of inferring variable human strategies hinder their ability to make autonomous decisions without explicit instructions. Through experiments with current independent System 1 and System 2 methods, we validate the necessity of using Dual Process Theory (DPT) in real-time tasks. We propose DPT-Agent, a novel language agent framework that integrates System 1 and System 2 for efficient real-time simultaneous human-AI collaboration. DPT-Agent’s System 1 uses a Finite-state Machine (FSM) and code-as-policy for fast, intuitive, and controllable decision-making. DPT-Agent’s System 2 integrates Theory of Mind (ToM) and asynchronous reflection to infer human intentions and perform reasoning-based autonomous decisions. We demonstrate the effectiveness of DPT-Agent through further experiments with rule-based agents and human collaborators, showing significant improvements over mainstream LLM-based frameworks. To the best of our knowledge, DPT-Agent is the first language agent framework that achieves successful real-time simultaneous human-AI collaboration autonomously. Code of DPT-Agent can be found in https://github.com/sjtu-marl/DPT-Agent.
2024
A Wolf in Sheep’s Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily
Peng Ding | Jun Kuang | Dan Ma | Xuezhi Cao | Yunsen Xian | Jiajun Chen | Shujian Huang
Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)
Peng Ding | Jun Kuang | Dan Ma | Xuezhi Cao | Yunsen Xian | Jiajun Chen | Shujian Huang
Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)
Large Language Models (LLMs), such as ChatGPT and GPT-4, are designed to provide useful and safe responses. However, adversarial prompts known as ‘jailbreaks’ can circumvent safeguards, leading LLMs to generate potentially harmful content. Exploring jailbreak prompts can help to better reveal the weaknesses of LLMs and further steer us to secure them. Unfortunately, existing jailbreak methods either suffer from intricate manual design or require optimization on other white-box models, which compromises either generalization or efficiency. In this paper, we generalize jailbreak prompt attacks into two aspects: (1) Prompt Rewriting and (2) Scenario Nesting. Based on this, we propose ReNeLLM, an automatic framework that leverages LLMs themselves to generate effective jailbreak prompts. Extensive experiments demonstrate that ReNeLLM significantly improves the attack success rate while greatly reducing the time cost compared to existing baselines. Our study also reveals the inadequacy of current defense methods in safeguarding LLMs. Finally, we analyze the failure of LLMs defense from the perspective of prompt execution priority, and propose corresponding defense strategies. We hope that our research can catalyze both the academic community and LLMs developers towards the provision of safer and more regulated LLMs. The code is available at https://github.com/NJUNLP/ReNeLLM.
Conjoin after Decompose: Improving Few-Shot Performance of Named Entity Recognition
Chengcheng Han | Renyu Zhu | Jun Kuang | Fengjiao Chen | Xiang Li | Ming Gao | Xuezhi Cao | Yunsen Xian
Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)
Chengcheng Han | Renyu Zhu | Jun Kuang | Fengjiao Chen | Xiang Li | Ming Gao | Xuezhi Cao | Yunsen Xian
Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)
Prompt-based methods have been widely used in few-shot named entity recognition (NER). In this paper, we first conduct a preliminary experiment and observe that the key to affecting the performance of prompt-based NER models is the capability to detect entity boundaries. However, most existing models fail to boost such capability. To solve the issue, we propose a novel model, ParaBART, which consists of a BART encoder and a specially designed parabiotic decoder. Specifically, the parabiotic decoder includes two BART decoders and a conjoint module. The two decoders are responsible for entity boundary detection and entity type classification, respectively. They are connected by the conjoint module, which is used to replace unimportant tokens’ embeddings in one decoder with the average embedding of all the tokens in the other. We further present a novel boundary expansion strategy to enhance the model’s capability in entity type classification. Experimental results show that ParaBART can achieve significant performance gains over state-of-the-art competitors.
2023
Transferable and Efficient: Unifying Dynamic Multi-Domain Product Categorization
Shansan Gong | Zelin Zhou | Shuo Wang | Fengjiao Chen | Xiujie Song | Xuezhi Cao | Yunsen Xian | Kenny Zhu
Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 5: Industry Track)
Shansan Gong | Zelin Zhou | Shuo Wang | Fengjiao Chen | Xiujie Song | Xuezhi Cao | Yunsen Xian | Kenny Zhu
Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 5: Industry Track)
As e-commerce platforms develop different business lines, a special but challenging product categorization scenario emerges, where there are multiple domain-specific category taxonomies and each of them evolves dynamically over time. In order to unify the categorization process and ensure efficiency, we propose a two-stage taxonomy-agnostic framework that relies solely on calculating the semantic relatedness between product titles and category names in the vector space. To further enhance domain transferability and better exploit cross-domain data, we design two plug-in modules: a heuristic mapping scorer and a pretrained contrastive ranking module with the help of meta concepts, which represent keyword knowledge shared across domains. Comprehensive offline experiments show that our method outperforms strong baselineson three dynamic multi-domain product categorization (DMPC) tasks,and online experiments reconfirm its efficacy with a5% increase on seasonal purchase revenue. Related datasets will be released.
2020
Table Fact Verification with Structure-Aware Transformer
Hongzhi Zhang | Yingyao Wang | Sirui Wang | Xuezhi Cao | Fuzheng Zhang | Zhongyuan Wang
Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)
Hongzhi Zhang | Yingyao Wang | Sirui Wang | Xuezhi Cao | Fuzheng Zhang | Zhongyuan Wang
Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)
Verifying fact on semi-structured evidence like tables requires the ability to encode structural information and perform symbolic reasoning. Pre-trained language models trained on natural language could not be directly applied to encode tables, because simply linearizing tables into sequences will lose the cell alignment information. To better utilize pre-trained transformers for table representation, we propose a Structure-Aware Transformer (SAT), which injects the table structural information into the mask of the self-attention layer. A method to combine symbolic and linguistic reasoning is also explored for this task. Our method outperforms baseline with 4.93% on TabFact, a large scale table verification dataset.
Search
Fix author
Co-authors
- Xunliang Cai 11
- Lin Qiu 6
- Peng Ding 5
- Jun Kuang 5
- Xiaoyu Li 5
- ZongYu Wang 5
- FengJiao Chen 4
- Shujian Huang (书剑 黄) 4
- Zhe Tang 3
- Jiaming Wang 3
- Ziwen Wang 3
- Yunsen Xian 3
- Weinan Zhang 3
- Hefei Chen 2
- Jiajun Chen 2
- Chengcheng Han 2
- Yilin Jin 2
- Zehao Jin 2
- Jiaxing Liu 2
- Dan Ma 2
- Zhendong Mao 2
- Liangtai Sun 2
- Xuecheng Wu 2
- Yong Yu 2
- Licheng Zhang 2
- Shuang Zhou 2
- Yaoming Zhu 2
- Shengnan An 1
- Yang Bai 1
- Jiajun Chen 1
- Li Chen 1
- Zining Fan 1
- Chao Feng 1
- Lingyue Fu 1
- Zheren Fu 1
- Ming Gao 1
- Xiang Geng 1
- Shansan Gong 1
- Hao Guan 1
- Chenjuan Guo 1
- Jingxuan Han 1
- Ziyi He 1
- Haoyi Hu 1
- Jinbo Hu 1
- Bo Huang 1
- Wenxuan Jiang 1
- Xiaolong Jin 1
- Zhejian Lai (赖哲剑) 1
- Chaoran Li 1
- Jiahuan Li 1
- Tingyu Li 1
- Xiang Li 1
- Yiyang Li 1
- Ruicheng Liao 1
- Yehao Lin 1
- Junlin Liu 1
- Ninghao Liu 1
- Wei Liu 1
- Weiwen Liu 1
- Wenxuan Liu 1
- Xiao Liu 1
- Ying Luo 1
- Xinxuan Lv 1
- Jinrong Ma 1
- Liya Ma 1
- Chong Peng 1
- Siyuan Qi 1
- Zishu Qin 1
- Yibin Shen 1
- Junru Song 1
- Xiujie Song 1
- Ruoqi Sun 1
- Wen Sun 1
- Jingang Wang 1
- Shuo Wang 1
- Sirui Wang 1
- Xihuai Wang 1
- Xin Wang 1
- Xinbing Wang 1
- Xuanlin Wang 1
- Yingyao Wang 1
- Youpeng Wang 1
- Zhijun Wang 1
- Zhongyuan Wang 1
- Muning Wen 1
- Ying Wen 1
- Rongxiang Weng 1
- Yonghuang Wu 1
- Siyu Yan 1
- Yingxuan Yang 1
- Wen Yao 1
- Haowei Yuan 1
- Long Zeng 1
- Bolun Zhang 1
- Fuzheng Zhang 1
- Hongzhi Zhang 1
- Kongcheng Zhang 1
- Shao Zhang 1
- Wenhao Zhang 1
- Zijian Zhang 1
- Haoran Zhao 1
- Yunke Zhao 1
- Zelin Zhou 1
- Kenny Zhu 1
- Mingyang Zhu 1
- Renyu Zhu 1
- Yuxuan Zhu 1
- Yanxin Zhuo 1
- Yuxin Zuo 1