Skip to content

EMNLP papers

Search EMNLP papers by title, author, or track. Open a paper’s abstract to read more.

Explore the EMNLP analysis

Search results

581–600 of 1,055

  • EMNLP · Findings

    Diverse Thinking: Breaking Oppositions in Debates to Foster Synergized Reasoning via Multi-Agent Collaboration

    Zhaokang Huang, Yiming Xu, Tao Wang, Yu Yang, Tianyong Hao

    Abstract

    Large Language Models (LLMs) frequently face limitations, such as judgment biases and cognitive deadlocks, in complex reasoning due to “Degradation of Thought” in self-reflection. While Multi-Agent Debate (MAD) approaches attempt to address this issue, their inherently adversarial nature suppresses diverse perspectives by overemphasizing antagonism, which results in the loss of partially valid reasoning. In this paper, we propose Multi-Agent Diverse Thinking (MADT), a novel cognitive framework that redefines multi-agent collaboration by shifting from adversarial confrontation toward constructive synergy. To break the oppositional deadlock found in traditional debates, MADT decomposes the thinking process into fine-grained modules: an Affirmative Thinker to preserve rational components, a Critical Thinker to rectify errors, and a Growth-Minded Thinker to provide optimization suggestions. These agents jointly foster a synergistic environment where specialized roles protect valid logic while iteratively refining flaws. Meanwhile, a Leader agent coordinates the collaborations and synthesizes the feedback from multiple thinkers to produce the final result. Extensive experiments on Common Machine Translation and Counter-Intuitive Arithmetic Reasoning tasks show that MADT consistently outperforms Self-Reflection and MAD baselines, validating the superior ability to enhance complex logical and reasoning performance in LLMs.

    Abstract source
  • EMNLP · Findings

    MEMMARK: State-Evolution Attribution Watermarking for Agent Long-Term Memory Systems

    Haobo Zhang, Xutao Mao, Guangyuan Dong, Ziwei Li, Xuanbo Su, Kaijie Chen, Jing Yang, Zheng Lin

    Abstract

    Memory-backed agents need provenance that can survive leaked or migrated snapshots, where logs, visible outputs, and trusted metadata may be absent. We propose MEMMARK, a state-evolution attribution watermark that embeds an owner-controlled signal into latent memory-write decisions. At each internal LLM call, MEMMARK samples among admissible candidates using keyed, distribution-preserving selection, and records cryptographic commitments with signed session anchors and reveal evidence. This makes attribution depend on reproducible backend behavior rather than mutable provenance fields. Across A-Mem and Graphiti on LOCOMO, with three LLM backbones, MEMMARK preserves memory utility: Overall F1 retains 99.6 percent of the unwatermarked baseline, while BLEU-1 changes by +0.2 percent. It also provides usable carrier capacity, with 1.16, 1.14, and 1.26 bits of mean entropy for update-target, link-target, and semantic-realization decisions. In the snapshot-only R3 setting, MEMMARK recovers the full 40-bit payload from final snapshots, while wrong-key verification remains near chance. Under nine memory-lifecycle attacks, verification distinguishes tampering, evidence deletion, and partial payload recovery. These results show that robust snapshot-only attribution is feasible for long-term agent memory without surviving traces, trusted metadata, or utility degradation.

    Abstract source
  • EMNLP · Findings

    HGP: An on-device personalized agent memory via hybrid graph storage

    Ran Zhou, Xueming Han, Jiaheng Liu, Yuyao Zhang, Fanyu Meng, Junlan Feng, Yuxiang Ren

    Abstract

    LLM-based agents face challenges in personalized interactive tasks due to heterogeneous, multi-typed, and implicitly constrained long-term traces. Existing memory mechanisms struggle with accurate routing and retrieval, especially on-device where personalization is critical. Most methods use single-vector representations, blurring type distinctions and relational structure. We propose HGP, a hybrid graph memory framework. HGP employs a lightweight self-enhancement classifier for personalized memory routing and constructs episodic, semantic, and procedural memories as graphs. It also extracts working memory as a state trajectory to capture current state and implicit constraints, ensuring reliable decision- making. The classifier reduces large-model calls, enabling on-device deployment, while graph storage enables accurate retrieval and incremental user profile refinement. Experiments on two benchmarks show that on PAL-Set solution selection, HGP achieves an S-score of 35.58, nearly 7 points above the strongest baseline.

    Abstract source
  • EMNLP · Findings

    0xClaw: Autonomous Open-ended Agents with Phase-aware Budget Allocation and Temporal Pressure

    Yu Zhou, Xinyuan Dou, Yudong Cao, Junhao Song

    Abstract

    Large language model agents handle structured coding tasks well, but open-ended projects are harder. A hackathon gives an agent an open goal, a hard deadline and several artifacts to deliver. The agent has to decide how to split its budget across phases and when to stop widening scope. Most agents do neither. 0xClaw is a multi-agent framework that splits a hackathon run into seven phases. Each phase hands a typed artifact to the next. The Budget Router is a small fine-tuned Qwen3.5-2B model. It reads the workspace state and predicts a per-phase control token for token budget, time, reasoning effort and repair rounds. The Deadline Framer turns each token, together with the cumulative execution log, into a plain deadline instruction given to the agent at the start of each phase. Our study covers 20 hackathon tasks, 10 baselines and more than 200 agent runs. 0xClaw matches Claude Code at the best pass@1 (1.00) and exceeds ARIS (0.95), the two strongest baselines. Against Claude Code, it achieves comparable quality and pass@1 while using 59% fewer tokens. The trade-off is wall-clock time, about 2.5 times that of ARIS.

    Abstract source
  • EMNLP · Findings

    Facts Without Rules: Boundary Metadata Collapse in Multi-Agent LLM Handoffs

    Yian Wang, Agam Goyal, Eshwar Chandrasekharan, Hari Sundaram

    Abstract

    Multi-agent LLM systems often coordinate by compressing an upstream interaction into a handoff artifact that downstream agents treat as shared state. We show that this handoff step is a structural source of privacy leakage: summaries preferentially preserve operational facts while weakening the boundary metadata that governs how those facts may be used—a failure mode we call summary collapse. On a controlled multi-agent coordination testbed we measure marker survival with a human-validated judge (\kappa = 0.74), where \sigma_b = 1 means every boundary marker survives verbatim and \sigma_b = 0 means all are lost. Boundary-marker and operational-fact survival are nearly uncorrelated at the handoff level on both GPT-5-mini and DeepSeek-R1-32B (Pearson r near zero): uncompressed free-text handoffs preserve boundaries at \sigma_b \approx 0.80, whereas a 25-word budget drops \sigma_b to {\approx}0.57 while operational-fact survival stays near ceiling. Controlled downstream tests reveal that protection depends on boundary explicitness: vague languages leak in 73% of GPT and 50% of DeepSeek cases, while explicit constraints reduce leakage to under 15% across all three tested models. A no-handoff single-agent control further shows the failure is not reducible to multi-agent topology as direct full-marker access still leaks more often than the operationalized handoff. Prompt-only mitigation and exact-string redaction only partially address the problem, while a gold-derived audience allowlist nearly eliminates leakage across models, showing that correctly identifying audience boundaries is the key factor.

    Abstract source
  • EMNLP · Findings

    RCR-Router:Role-Conditioned Context Routing for Resource-Efficient Multi-Agent LLM Systems

    Jun Liu, Pu Zhao, Zhenglun Kong, Wenbin Zhang, Fan Yang, Peiyan Dong, Changdi Yang, Wuzhe Fan, Tianqin Li, Hao Tang, Geng Yuan, Wei Niu, Joannah Nanjekye, Xue Lin, Dong Huang, Yanzhi Wang

    Abstract

    Large language model (LLM) agents are increasingly organized into multi-agent systems for complex reasoning and decision-making tasks. However, scaling such systems can substantially increase inference cost, especially when multiple agents repeatedly process overlapping or role-irrelevant context. Many existing multi-agent frameworks focus on orchestration and role specialization, but still rely on full-context sharing or static context routing, leading to redundant token consumption, increased runtime, and inefficient memory utilization. We present Role-Conditioned Context Routing (RCR), an execution-time layer that allocates role-relevant shared-memory items to agents under token budgets. Given a structured shared memory and a set of role-specialized agents, RCR selectively routes task-relevant memory items to each agent according to its role, optional task-stage metadata, and token budget. RCR integrates role-conditioned relevance scoring, token-budgeted memory selection, and iterative memory updates to reduce redundant context exposure during multi-agent execution. Experiments on multi-hop QA, embodied reasoning (ALFWorld), and web-based decision-making (WebShop) show that RCR reduces token usage by 35% on average and runtime by 38% on average relative to Full-Context, while maintaining or improving task performance.

    Abstract source
  • EMNLP · Findings

    Two Heads are Better Than One: Test-time Scaling of Multi-agent Collaborative Reasoning

    Can Jin, Hongwu Peng, Qixin Zhang, Yang Zhou, Yujin Tang, Tong Che, Dimitris N. Metaxas

    Abstract

    Test-Time Scaling has emerged as a powerful method to extend the reasoning capabilities of Large Language Models. However, single-agent TTS faces significant scalability bottlenecks, as excessively long reasoning traces lead to increased inference costs and stability issues caused by context management failures. To address these limitations, we propose leveraging Multi-Agent Systems as a structural upgrade to standard TTS. By decomposing monolithic reasoning chains into distinct, manageable contexts across multiple agents, MAS offers a more robust framework for scaling reasoning. We validate this approach by introducing M500, a dataset comprising 500 high-quality multi-agent, multi-turn collaborative reasoning traces generated via DeepSeek-R1. Through Supervised Fine-Tuning on M500, we enable open-source models to internalize collaborative reasoning patterns and show improved TTS performance in MAS. Furthermore, we propose an adaptive scaling strategy incorporating a “CEO” agent to dynamically guide the reasoning process and optimize collaboration depth. Extensive experiments within the AgentVerse framework demonstrate that our fine-tuned models, Qwen2.5-32B-MAS and Phi4-14B-MAS, significantly outperform their base counterparts.

    Abstract source
  • EMNLP · Findings

    A Skill-augmented Agentic Framework and Benchmark for Multi-Video Understanding

    Yue Zhang, Liqiang Jing, Jia Li, Yapeng Tian, Xinya Du, Yunhui Guo, Vibhav Giridhar Gogate

    Abstract

    Multimodal Large Language Models have achieved strong performance in single-video understanding, yet their ability to reason across multiple videos remains limited. Existing approaches typically concatenate multiple videos into a single input and perform direct inference, which introduces training–inference mismatch, information loss from frame compression, and a lack of explicit cross-video coordination. Meanwhile, current multi-video benchmarks primarily emphasize event-level comparison, leaving identity-level matching, fine-grained discrimination, and structured multi-step reasoning underexplored. To address these gaps, we introduce MVX-Bench, a Multi-Video Cross-Dimension Benchmark that reformulates 11 classical computer vision tasks into a unified multi-video question-answering framework, comprising 1,442 questions over 4,255 videos from diverse real-world datasets. We further propose SAMA, a Skill-Augmented Agentic Framework for Multi-Video Understanding, which integrates visual tools, task-specific skills, and a conflict-aware verification mechanism to support iterative and structured reasoning. Experiments show that SAMA improves substantially over its visual perception backbone and achieves the best average accuracy on MVX-Bench. Ablations confirm the benefits of skill-guided orchestration and conflict-aware verification.

    Abstract source
  • EMNLP · Findings

    TRAJDEBUG: Tracing Error Lifecycle to Identify Critical Failures in Long-Horizon Agent Trajectories

    Yunjia Qi, Zehua Yin, Xintong Shi, Hao Peng, Songyuanyi Lu, Yixian Liu, Richeng Xuan, Lliu Yuhong, Zhichao Hu, Xiaozhi Wang, Lei Hou, Bin Xu, Juanzi Li

    Abstract

    LLM-based agentic systems have shown remarkable capabilities in complex domains, while suffering from cascading errors and difficulty in debugging. Critical error detection aims to locate the earliest error step in a failed trajectory that is responsible for the final failure. However, progress faces two main challenges. First, long trajectories make it difficult to identify individual errors, since the evidence for judging a step may be scattered across distant instructions, observations, and prior context. Second, failed trajectories often contain multiple local errors with different downstream effects, only some of which remain responsible for the final failure. In this work, we propose TrajDebug, an error-lifecycle tracing framework that addresses long-trajectory error discovery with multi-granularity history compression and evidence-based error identification, and supports critical attribution by tracing each error’s resolution status and terminal impact. We further construct TrajErrBench, a benchmark of 486 manually annotated failed trajectories from and SWE-Bench Pro, covering realistic tool-use and coding scenarios. Experiments across diverse agent benchmarks show that TrajDebug achieves the best overall performance over existing baselines, and application studies further demonstrate that its diagnoses provide actionable feedback for improving downstream agent success. We will release the codes and data to facilitate further research.

    Abstract source
  • EMNLP · Findings

    DDCG: Decoupled Dual-Critic Guidance for Embodied Agents

    Shaojin Ma, Min Zhang, Hongyao Tang, Ruitao Wang, Jianye Hao, Yan Zheng

    Abstract

    Large Language Models (LLMs) have enabled embodied agents to perform high-level planning, yet grounding language-based plans into the physical world remains challenging. While feedback-based closed-loop planning is the dominant paradigm, existing methods typically rely on a single scalar feedback signal, which conflates physically infeasible actions that violate hard constraints with strategically sub-optimal but valid choices. We identify this structural limitation as Signal Confounding, which leads to ambiguous feedback and unreliable plan correction. To address this issue, we propose Decoupled Dual-Critic Guidance (DDCG), a framework that explicitly disentangles feedback into two complementary signals: a Feasibility Critic (C_F) that enforces physical and logical executability constraints, and a Quality Critic (C_Q) that evaluates the strategic value of feasible actions. This decoupled guidance enables precise error attribution during planning without requiring parameter updates to the LLM planner. We provide a theoretical interpretation of DDCG as critic-regularized planning with hard feasibility constraints. Experiments on two embodied planning benchmarks, VirtualHome and ScienceWorld, show that DDCG consistently improves plan executability and task success, particularly in long-horizon settings, highlighting the importance of structured feedback for reliable LLM-based planning.

    Abstract source
  • EMNLP · Findings

    ClawBench: Can AI Agents Complete Everyday Online Tasks?

    Yuxuan Zhang, Yubo Wang, Yipeng Zhu, Penghui Du, Junwen Miao, Xuan Lu, Zhuofeng Li, Xingwei Qu, Zhengkang Guo, Yuanzhe Shen, Dingjie Song, Han Zhou, Tuney Zheng, Xian Wu, Hao Yu, Songcheng Cai, Yi Lu, Yunzhuo Hao, Minyi Lei, Liang Chen, Kai Zou, Huifeng Yin, Wendong XU, Dongfu Jiang, Ping Nie, Jiaheng Liu, Wenhu Chen, Kelsey R Allen

    Abstract

    AI agents may assist with emails and documents, but can they reliably complete everyday online workflows on real websites? Everyday online tasks offer a realistic yet unsolved testbed for evaluating next-generation AI agents. To this end, we introduce ClawBench, an evaluation framework comprising 153 everyday online tasks common in daily life and work, spanning 144 platforms across 15 categories, from completing purchases and booking appointments to submitting job applications. These tasks require capabilities beyond existing benchmarks, such as obtaining relevant information from user-provided documents, navigating multi-step workflows across diverse platforms, and write-heavy operations like filling in many detailed forms correctly. Unlike existing benchmarks that evaluate agents in offline sandboxes with static pages, ClawBench operates on production websites, preserving the full complexity, dynamic nature, and interaction challenges of real-world web environments. An interception layer captures and blocks the final submission request, ensuring safe evaluation without real-world side effects. Our evaluations of 8 frontier models show that both proprietary and open-source models complete only a small portion of these tasks. For example, Claude Sonnet 4.6 achieves only 33.3%, which exposes gaps in current AI agents. Progress on ClawBench brings us closer to AI agents that can function as general-purpose assistants.

    Abstract source
  • EMNLP · Findings

    ST-Lite: Training-Free KV Cache Compression with Spatio-Trajectory Guidance for Long-Horizon GUI Agents

    Bowen Zhou, Zhou Xu, Wanli Li, Jingyu Xiao, Pingan Gan, Haoqian Wang

    Abstract

    Training-free KV cache compression is essential for deploying vision-language GUI agents under memory and latency constraints, yet existing methods are designed for generic language workloads and ignore the distinctive structure of GUI interaction traces. We characterize three GUI-specific workload properties — high inter-frame visual redundancy, extremely small UI-element spatial footprints, and near-uniform cross-layer attention sparsity — that cause existing schemes to retain as few as 39% of oracle-important KV pairs at the standard 20% budget. To address this, we propose **ST-Lite**, a training-free compression scheme whose three components each target one property: Trajectory-aware Semantic Gating (TSG) filters redundant historical frames, Component-centric Spatial Saliency (CSS) preserves fine-grained element boundaries, and a flat per-layer budget avoids hierarchical misallocation. Across seven GUI benchmarks and two backbones in the deployment-relevant β ∈ [10%, 40%] window, **ST-Lite** consistently outperforms all existing compression baselines — matching or exceeding Full Cache task accuracy on the primary backbone at the 20% budget — while delivering up to 2.35× decoding speedup at fivefold compression. Code: https://github.com/94wen94/ST-Lite

    Abstract source
  • EMNLP · Findings

    Speculate While You Reason: Teaching Agents to Predict Their Next Tool Call via Joint Agent–Speculator RL

    Jiabao Ji, Yujian Liu, Li An, Rohit Jain, Gungor Polatkan, Siyu Zhu, Shiyu Chang

    Abstract

    Large language model agents often spend substantial wall-clock time waiting for tool call results. Tool-call speculation can hide this latency by predicting and pre-executing an agent’s next tool call if the prediction matches the agent’s eventual tool call, but existing speculators are typically separate draft models or cached traces that are poorly aligned with the deployed agent’s own behavior. We identify this speculator–agent gap and show that the target agent itself is a strong next-call speculator. This points to a simpler design: unifying the agent and speculator within the same model. In this paper, we introduce the self-speculating agent, a single model that both solves tasks in agent mode and predicts its next tool call from partial trajectories in speculator mode, fully reusing prefix KV cache. To enable this dual-mode agent without degrading performance, we propose a joint agent-speculator reinforcement learning method, which derives speculation targets from the agent’s own rollouts and alternates agent and speculator updates. Across agentic search QA and conversational tool-use agentic tasks, our method improves average next tool-call Hit@1 from 44.1 to 61.2 for Qwen3-4B and from 48.9 to 66.3 for Qwen3.5-4B, while preserving agent task success.

    Abstract source
  • EMNLP · Findings

    SkillRubricsRL: Evolving Skill-Grounded Agents with Rubric-Guided Reinforcement Learning

    Zihe Huang, Jianfei Pan, YiFan Zhang, Tao Chen, Jinghao Lin, Kai Ruan, Xiucheng Xu, Jian Yao, Yijun He, Haihua Yang

    Abstract

    Long-horizon LLM agents increasingly rely on retrieved procedural skills as external memory. However, existing skill-augmented RL frameworks typically supervise a bundle of retrieved skills only with trajectory-level outcome rewards, leaving two key questions unanswered: whether each skill was executed and whether it helped task completion. We formulate this as a per-skill credit assignment problem. To address it, we propose SkillRubricsRL, which pairs each skill with an applicability-aware trajectory-level rubric and derives two complementary signals: a fulfillment signal for training correct skill execution and a counterfactual utility signal for retrieval and skill-bank evolution. Across ALFWorld and WebShop, SkillRubricsR achieves 97.7% ALFWorld success, 84.4% WebShop success, and a WebShop score of 92.7, improving over the strongest prior multi-skill baseline by 2.8, 2.1, and 1.6 percentage points, respectively, while increasing skill execution rate by over 50 percentage points. Code is available at https://github.com/gminiheimdallr-a11y/SkillRubricsRL.

    Abstract source
  • EMNLP · Findings

    Seeing Before Agreeing: Aligning Multi-Agent Consensus with Visual Evidence

    Yuhan Wang, Shuochen Chang, Yalin Feng, Dongsheng Ma, Yuanzi Li, Zhengren Wang, Yinglong Yang, Yufei Chen, Yikang Wang, Shaoxu Sun, Wentao Zhang

    Abstract

    Vision-language models (VLMs) have achieved strong performance on visual question answering (VQA). To mitigate individual hallucinations and blind spots, aggregating diverse perspectives via multi-agent collaboration has emerged as a promising paradigm. While this approach has shown great success in textual QA, its potential in the multimodal domain remains under-explored. Existing multi-agent VQA methods predominantly adapt text-centric protocols, focusing on textual discussions while ignoring the alignment of visual information. In this work, we reveal a key insight: answer-level agreement is insufficient for reliable multi-agent VQA; *aligned visual evidence*—shared support from the image regions agents rely on—is essential for trustworthy consensus. To leverage this insight, we propose **EAGLE** (**E**vidence-**A**ligned **G**rounded mu**L**ti-agent r**E**asoning), a training-free evidence-centered framework for coordinating multiple VLM agents. **EAGLE** explicitly exposes each agent’s grounding regions as visual evidence, enables mutual verification over the evidence, and uses evidence consistency to guide final decision-making. Experiments on six VQA benchmarks show that **EAGLE** achieves best average performance across domains while remaining lightweight, interpretable, and practical for deployment.

    Abstract source
  • EMNLP · Findings

    SVR-MAD: A Bayesian-Inspired Framework for Posterior-Guided Multi-Agent Debate

    Weifan Jiang, Rana Shahout, Minghao Li, Zhenting Qi, Yilun Du, Michael Mitzenmacher, Minlan Yu

    Abstract

    Multi-Agent Debate (MAD) improves LLM-agent accuracy but suffers from rapid context growth, limiting scalability in larger multi-agent settings. Existing methods prune low-utility communications using prior signals, such as token-level log-likelihoods or LLM self-reported confidence. However, these signals become unreliable under hallucination, degrading the accuracy of MAD methods that rely on them. We propose SVR-MAD, a Bayesian-inspired MAD framework that treats pre-debate signals as priors and debate outcomes as posterior-style evidence for estimating agent correctness. SVR-MAD uses this evidence to incrementally construct the communication graph, prioritizing agents whose answers survive peer challenges. Experiments across multiple LLMs and benchmarks show that SVR-MAD reduces token cost by up to 61% while matching or improving accuracy relative to the most accurate competing MAD baseline.

    Abstract source
  • EMNLP · Findings

    HarnessBridge: Learnable Bidirectional Controller for LLM Agent Harness

    Xiaoxuan Wang, Haixin Wang, Alexander K Taylor, Jason Cong, Yizhou Sun, Wei Wang

    Abstract

    Large language models are increasingly deployed as agents for long-horizon tasks, yet their performance is shaped not only by model capability and environment design, but also by the harness that mediates agent–environment interaction. Existing harnesses are largely manually engineered, making them difficult to scale as trajectories grow longer and interactions become more complex. In this work, we ask whether harness engineering can be formulated as an end-to-end learnable generation problem. We introduce HarnessBridge, a lightweight learnable harness policy that parameterizes the agent–environment interface as a bidirectional projection. HarnessBridge learns two bidirectional projections: observation projection, which distills raw trajectories into compact, decision-relevant states, and action projection, which converts proposed actions into executable transitions or trajectory-grounded rejections. We train HarnessBridge on a harness supervision dataset via unified instruction tuning. On Terminal-Bench 2.0 and SWE-bench Verified, HarnessBridge matches or surpasses strong specialized harnesses while substantially reducing token usage and trajectory length, and generalizes from smaller generators to larger commercial models. Our code is released at: https://anonymous.4open.science/r/HarnessBridge-6CDC.

    Abstract source
  • EMNLP · Findings

    SWE-Edit: Rethinking Code Editing for Efficient SWE-Agent

    Yikai Zhang, Jiaxin Pei, Kenan Li, Qirui Jin, Maoquan Wang, Jin Pan, Yu Kang, Shengyu Fu, Elsie Nallipogu, Junjie Hu, Yufan Huang, Zijian Jin

    Abstract

    Large language model agents have made strong progress on software engineering, yet current systems suffer from a context coupling problem: the standard code editing interface conflates code inspection, modification planning, and edit execution within a single context window, forcing agents to interleave exploratory viewing with strictly formatted edit generation. Irrelevant context accumulates and edit reliability degrades. We propose SWE-Edit, which decomposes the editing interface into two specialized subagents: a Viewer that extracts task-relevant code on demand, and an Editor that executes modifications from high-level natural language plans—letting the main agent focus on reasoning while delegating context-intensive operations to clean context windows. We further show that effective edit-format selection can be trained into a small model rather than requiring frontier-scale capacity: GRPO training on Qwen3-8B improves edit success by 12.5 pp and brings an 8B open-source editor to parity with GPT-5-nano on downstream SWE-Bench resolve rate, with the learned adaptive find-replace/whole-file-rewrite policy contributing primarily on the cost axis (-11.8\% agent cost). To enable rapid editor iteration, we release PR-Edit, a lightweight editor-level evaluation that rank-orders the editor models we test consistently with their downstream SWE-Bench resolve rate. We release our code at https://github.com/microsoft/SWE-Edit.

    Abstract source
  • EMNLP · Findings

    Your Harness is Not Secure: Benchmarking Real-world Threat of Command Line Interface Agent

    Weidi Luo, Qiming Zhang, Tianyu Lu, Xiaogeng Liu, Bin Hu, Chiu Hung Chun, Siyuan Ma, Yizhe Zhang, Xusheng Xiao, Yinzhi Cao, Zhen Xiang, Chaowei Xiao

    Abstract

    Command-line interface (CLI) agents powered by large language models (LLMs) can interpret natural-language requests, plan multi-step tasks, execute shell commands, and modify files and system state. As these agents are increasingly used for operating-system (OS) workflows, it is important to evaluate whether they can be misused to carry out security-relevant operations. Existing benchmarks often lack an attacker-knowledge model grounded in tactics, techniques, and procedures (TTPs), provide limited coverage of end-to-end kill chains, rely on simplified single-host environments, or use LLM-as-a-judge for success evaluation. We introduce ADVCLI, an MITRE ATT CK-aligned benchmark for evaluating OS-level misuse risks of CLI agents in a controlled multi-host sandbox. ADVCLI contains 140 tasks: 40 direct malicious requests, 74 TTP-based tasks, and 26 end-to-end kill chains. Each task is paired with deterministic hard-coded verification protocols that check whether the requested OS-level effect is realized. We evaluate seven CLI Agents and products built on nine foundation models, including ReAct, OpenClaw, OpenAI Agent SDK, Claude Code, Gemini CLI, Cursor CLI, and Cursor IDE. Results show that current CLI frequently proceed beyond refusal and can complete a non-negligible fraction of malicious OS-level tasks, especially when requests include TTP-style attacker knowledge. ADVCLI provides a reproducible testbed for evaluating these risks and for developing stronger safety mechanisms for tool-using CLI agents in the future.

    Abstract source
  • EMNLP · Findings

    SSE-Bio: A Structured Self-Evolving Agent with Agentic Retrieval Policy for Multi-Hop Biomedical Reasoning

    Zhaohan Meng, Zaiqiao Meng, Siwei Liu, Hao Xu, Ke Yuan, Iadh Ounis

    Abstract

    Biomedical multi-hop question answering (QA) requires models to connect evidence across intermediate entities such as diseases, drugs, proteins, and phenotypes. Existing agents typically rely on static retrieval workflows or coarse-grained prompt rewriting, which can lead to instruction drift when reasoning procedures need to be updated. We propose **SSE-Bio**, a structured self-evolving agent with an agentic retrieval policy for multi-hop biomedical reasoning. Instead of globally rewriting agent instructions, SSE-Bio maintains a structured state, selectively retrieves knowledge triplets and prior templates through a trainable proxy policy, and improves its reasoning memory through fine-grained template editing. To optimise retrieval decisions, we introduce a proxy-training strategy based on group relative policy optimization, where the proxy is improved through decision-contrastive groups over alternative retrieval choices. Experiments on three biomedical multi-hop QA benchmarks show that SSE-Bio consistently outperforms existing baselines, achieving an improvement of 6.56 absolute points over the strongest self-evolving baseline on BioHopR.

    Abstract source