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

81–100 of 200

  • EMNLP · Demos

    Schematize: An Agentic System for Generating and Refining Information-Extraction Schemas for Legal Research

    Albert Sawczyn, Jakub Binkowski, Kamil Tagowski, Lukasz Augustyniak, Berenika Kaczmarek-Templin, Tomasz Jan Kajdanowicz

    Abstract

    Empirical legal research often relies on turning research questions into structured data extracted from large collections of rulings and judgments. Designing the extraction schema and then extracting the data remain a manual, expertise-heavy bottleneck. We present schematize, an open-source multi-agent system that interactively turns a researcher’s problem statement into a validated extraction schema that can later be used for autonomous extraction. Schematize couples (i) a clarification dialogue that elicits implicit expert intent, (ii) iterative schema generation, (iii) data-grounded refinement that tests the schema against documents, and (iv) chat-based post-editing. We evaluated the system with human legal professional, introducing our novel methodology, and schematize achieves top performance in most of tested configurations. While the system is designed to be domain-agnostic and applicable to any document collection, we tailor and evaluate it on legal research problems. We release schematize as a pip-installable Python package with full documentation.

    Abstract source
  • EMNLP · Industry

    Knsight: Self-Evolving Agentic System for Production Cloud Root Cause Analysis

    Bo Lv, Hongge He, Xueqi Wang

    Abstract

    Cloud incident response increasingly relies on LLM agents that translate heterogeneous telemetry and natural-language alerts into operator-facing diagnoses. However, in production RCA workflows, LLM agents commonly serialize these structured signals into text, losing the temporal and topological structure that is critical for diagnosis. We present Knsight, an industry-deployed RCA agent that converts operational telemetry into chart-image canvases and uses a frozen multimodal LLM to reason directly over visual evidence. Knsight introduces Vision Recursive-of-Thought (V-RoT), an iterative diagnose-review-refine loop in which a Reviewer module inspects each canvas and decides whether to refine, zoom in, or stop. To adapt across recurring production failures, Knsight further converts Reviewer feedback into a shared, alias-substituted skill library used at inference time. Offline, on the OpenRCA benchmark, Knsight improves aggregate Correct by 7.0 points over the strongest text-only baseline and reduces timeouts from 117 to 11. Online, in a 90-day deployment across 1,284 production incidents, Knsight increases top-1 acceptance from 38.9% to 71.4% and reduces time-to-acknowledge and time-to-resolve by 59% and 32%, respectively.

    Abstract source
  • EMNLP · Industry

    TSAssistant: A Human-in-the-Loop Agentic Framework for Automated Target Safety Assessment

    Xiaochen Zheng, Zhiwen Jiang, David Tokar, Yexiang Cheng, Alvaro Serra, Melanie Guerard, Klas Hatje, Tatyana Doktorova

    Abstract

    Target Safety Assessment (TSA) requires systematic integration of genetic, transcriptomic, target homology, pharmacological, and clinical data to evaluate potential safety liabilities of therapeutic targets. This process is labour-intensive and expert-dependent, posing challenges in scalability and reproducibility. We present TSAssistant, a human-in-the-loop multi-agent framework that decomposes TSA report generation into a workflow of specialised subagents, each responsible for a single report section. Each subagent retrieves evidence from curated biomedical sources through standardised tool interfaces and produces individually citable, evidence-grounded sections, with behaviour shaped by a hierarchical instruction architecture that separates coordination logic from domain expertise and user intent. To complement these soft constraints, programmatic execution hooks and persistent memory stores enforce hard constraints across the workflow, while an interactive refinement loop allows experts to review and revise individual sections with full conversational context preserved across iterations.

    Abstract source
  • EMNLP · Industry

    Interactor: Agentic RL oriented Iterative Creation for Ad Description Generation in Sponsored Search

    Penghui Wei, Jiayu wu, Chao Ye, Zhi Guo, Shuanglong li, Liu Lin

    Abstract

    This paper focuses on automatically generating informative ad descriptions in sponsored search. Unlike ad titles which are usually optimized to attract user click feedbacks, ad descriptions have a longer text span and possess the potential of incorporating world knowledge to address user search intents while presenting the fine-grained selling points of the ads. We propose Interactor, a multi-turn iterative creation framework optimized with agentic RL for ad description generation. The generation model acts as a policy that interacts with a customized environment consisting of multiple generative reward models. Given initial generations by the policy, the customized GenRMs evaluate qualities including knowledge capacity and landing page consistency, providing both binary signals and detailed feedbacks. The policy then iteratively refines the descriptions based on such feedbacks to ensure continuous improvement. Experiments show that it significantly outperforms state-of-the-art ad text generation approaches in generating knowledge-rich and faithful ad descriptions. Since late May 2026, it has been deployed online in a leading search ads system, where the framework serves over 140k advertisers, contributing to both ad revenue and user experience.

    Abstract source
  • EMNLP · Industry

    Fidelity Is Not Enough: Dispatch-Level Instrumentation for Agentic Datasheet Extraction

    Qing Ye, Meng-Hsuan Lin

    Abstract

    One model passed our fidelity check without ever opening the datasheet. We found it while qualifying models for an internal extraction service: a structured-output constraint had silently disabled tool use, and the model answered anyway, with fabricated source text. Only the per-tool trace exposed it. Fidelity—whether an extracted value matches the source—is the standard measure for agentic document extraction, and it scores that run a success. We therefore log every tool call in an agentic benchmark of 25 hand-curated claims over three components, with 12 more on a fourth, 37 in all. From that dispatch record we build two instruments: a rule-based failure- attribution classifier, and a silent-failure detector whose two rules check only which tools were called, never the extracted value. The detector raises no flag on 207 clean fidelity-passing extractions across three model families, and recovers all 50 planted faults that withhold exactly the tools its rules check. The two results are not symmetric: the first bounds the false-positive rate, the second is recall by construction, and detection power against runs that call their tools and still answer wrongly is unmeasured. A second, independent oracle, a causal chamber that tests whether the datasheet’s claims hold under physical measurement, is intentionally partial: it confirms only what the apparatus can exercise, a verifiable envelope of 2 of those 37 claims, and we give a taxonomy of why the rest are not physically gradable. Under a controlled perturbation, fidelity passes throughout while the chamber verdict flips exactly at the measurement uncertainty. Across three deployed model stacks (one destabilised by its serving stack, not by any capability gap) the tool layer buys portability and observability rather than accuracy, and earns its premium only once a document outgrows the context window. We distil the lessons into a checklist of cheap dispatch-level signals.

    Abstract source
  • EMNLP · Industry

    Configurable Clinical Information Extraction with Agentic RAG: What Works, What Breaks, and Why

    Osman Alperen Çinar-Koraş, Marie Bauer, Sameh Khattab, Merlin Engelke, Moon Kim, Stephan Settelmeier, Shigeyasu Sugawara, Fabian Freisleben, Felix Nensa, Jens Kleesiek

    Abstract

    Patient contexts span hundreds of heterogeneous documents and thousands of structured data points, yet the document-level metadata that AI systems need for retrieval and triage is absent or incomplete. Standard retrieval-augmented generation fails on this data, mishandling temporal reasoning, cross-document dependencies, and missing metadata. We report on the deployment of ACIE (Agentic Clinical Information Extraction) at University Medicine Essen: an on-premise agentic RAG pipeline that reasons over complete patient contexts and grounds every answer in source passages for clinician verification. We quantify the metadata gap, trace the architectural decisions it shaped, and evaluate extraction alongside an independent retrospective lymphoma registry study, in which nuclear-medicine physicians verify every extracted value against its cited sources. Across 7,326 clinician judgments on this lymphoma-registry workflow, 96.5% of extractions were accepted, with per-type acceptance ranging from 80% to 99%.

    Abstract source
  • EMNLP · Industry

    ACE: A Self-Correcting Agentic Canvas Editor for Multi-Slide Presentation Automation

    JooYoung Jang, Taegyeong Lee, Jihyeon Park, Nojun Kwak

    Abstract

    Commercial design platforms increasingly edit documents through large language model (LLM) agents, but two practical problems block reliable deployment: legacy document formats expose only flat, absolutely positioned elements, so agents must recompute coordinates and routinely break layouts; and design has no unique ground truth, so diff-against-reference metrics penalize valid-but-different outputs. We present ACE, an agentic canvas editor over a hierarchical scene-graph with a presentation-specialized action space (98 tools), paired with CARE, a content-aware router that feeds the agent only the relevant slice of each deck (avg. \sim 89\% input-token reduction), and a self-correction loop driven by a ground-truth-free instruction-following (IF) judge whose natural-language critique is fed back as the next-turn instruction. On a multi-slide benchmark and with a fixed backbone, a scene-graph editor in a single turn already matches a same-backbone agentic HTML pipeline that iterates internally; adding self-correction lifts ACE clearly above it on quality (IF 4.45 vs. 4.09; VQ 4.02 vs. 3.89) while remaining 1.75\times faster and \sim 44\% cheaper. Self-correction contributes +0.41 IF / +0.27 VQ, and 66% of cases halt after one pass, keeping it cheap.

    Abstract source
  • EMNLP · Industry

    Deploying Programmatic Tool Calling for Large-Scale Agentic Systems

    Nhan Nguyen, Hadi Habibzadeh, Ahmad Magdy Eid

    Abstract

    Production tool calling for agentic systems must satisfy four operational requirements: bounded per-invocation cost, predictable latency, adaptability to evolving tool catalogs, and the ability to catch errors before execution. The ReAct paradigm keeps the large language model (LLM) in the loop, but at production scale, re-processing intermediate results inflates cost and latency and degrades answer quality. Programmatic tool calling (PTC) offers an alternative; the LLM generates a single script that resolves dependencies and extracts relevant fields in one inference pass. PTC is a harder generation task, however, because the LLM must produce code that handles complex, variable responses without observing intermediate results, and existing remedies each fail at least one of the four requirements. We describe a production deployment of PTC serving 26,528 invocations, paired with a three-layer abstract syntax tree (AST)-based validator that rejects invalid scripts before execution and requires no training data, preserving adaptability to evolving tool catalogs. This reduced average input tokens by 77%, latency by 21%, and increased the answered-query rate by 5.6 percentage points across 19 production agents.

    Abstract source
  • EMNLP · Industry

    AuDQ: Auditable Data Quality through Agentic Rule Discovery

    Jacopo Biggiogera, Nicolas Colombo, Krati Saxena, Bhaskarjit Sarmah, Stefano Pasquali

    Abstract

    High-stakes tabular pipelines rely on scattered, static quality checks that are hard to evolve and audit against policy intent. Regulated domains particularly suffer as the LLM-era automation raises expectations for traceability and accountability. We propose a vision for an ontology-grounded, repository-native data quality layer in which rules are first-class artifacts: versioned, provenance-linked to governance texts, and re-playable through immutable execution traces. As a first step toward validating this vision, we present a concrete implementation of its agentic rule-discovery core with two rule acquisition modes (Full-Agentic and Guided) and a human-in-the-loop (HITL) review interface. We define an evaluation framework and run experiments addressing whether our fully autonomous, divide-and-conquer agentic rule discovery produces rules of the same quality and diversity as those specified by a human expert, reporting preliminary results on two real world industry datasets in the finance and retail domains.

    Abstract source
  • EMNLP · Industry

    Business Compromise Detection with Agentic AI and LLM-driven Knowledge Discovery

    Diego Palma, Kyu Bin Kim, Zhen Han, Allbright Dsouza, Zhiyuan Liu

    Abstract

    The detection of compromised business ad accounts is a critical challenge in digital advertising, as attackers exploit hijacked accounts to launch fraudulent campaigns. Large Language Model (LLM) agents show promise for integrity violations, but we find that they cause business friction through hallucinated mistakes on hard cases. Through a deployment study we observe that an autonomous LLM agent is a strong, recall-heavy signal extractor but an unreliable final arbiter for ambiguous compromise decisions, conceding substantial precision. We therefore pair the agent with a knowledge-based decision stage: the agent investigates an account and emits a structured, interpretable signal vector, and a neuro-symbolic stage makes the decision in three layers, symbolic rules discovered automatically with an Inductive Logic Programming (FOIL-IE) algorithm, a Naïve Bayes layer that calibrates those rules, and a data-tuned contradiction layer. We evaluate on a large oversampled general population (compromise oversampled, used because hard-case labels are scarce) and a realistic, low-prevalence production sample with subject-matter-expert (SME) labels, benchmarking against tree-ensemble baselines under identical conditions. The knowledge stage restores much of the precision lost by the agent (up to doubling it). On realistic low-prevalence data the full three-layer stage exceeds human expert reviewers and tree-ensemble baselines, with each layer contributing; its rules encode domain priors and generalize from few labels where ensembles overfit, while remaining interpretable and auditable.

    Abstract source
  • EMNLP · Industry

    REPO2ROCM: An Agentic System for Reproducing Research Code on AMD ROCm GPUs

    Gaurav Sarkar, Umang Pandey, Pratik Prabhanjan Brahma, Zicheng Liu, Emad Barsoum

    Abstract

    Machine learning practitioners routinely rely on public code repositories accompanying research papers, libraries, and open-source projects to evaluate, baseline, or build upon prior work. Yet getting such repositories to run and reproduce results often involves non-trivial effort, and is especially challenging when the target software and hardware stack differs from the one the original code was developed on. A prominent instance is running repositories originally built for CUDA-enabled hardware on AMD GPUs supporting the ROCm software stack. Here, successful installation alone is not a sufficient signal: a range of subtler issues may cause the code to either fail outright or silently fall back to inefficient execution. We present Repo2ROCm, an agentic system that migrates CUDA-centric ML repositories to ROCm in an automated manner. Repo2ROCm reconstructs a ROCm-compatible environment, adapts hardware-specific assumptions, executes a real workload, and confirms GPU-backed execution emitting auditable artifacts at every step (environment specs, source patches, execution logs, and verification evidence). We evaluate on ResearchBench, 60 repositories belonging to recent papers from top AI conferences. While only 18/60 run out of the box, Repo2ROCm reaches verified functional reproduction for 59/60 (3.3× improvement). Against popular general-purpose coding agents on a curated ten-repository diagnostic set (with all agents using the same Claude Sonnet 4 backbone), Repo2ROCm achieves the highest Portability Fidelity Score (PFS), a measure of how faithfully a run preserves the accelerator-critical execution path, real workload, and verified environment, scoring 77.3 vs. 61.4 (Claude Code), 58.7 (Mini-SWE-Agent), and 40.3 (Cursor Agent).

    Abstract source
  • EMNLP · Industry

    ForensicBench: Evaluating Agentic LLMs on Journal-Entry Fraud Detection

    Guy Stéphane Waffo Dzuyo, Gaël Guibon, Christophe Cerisara, Luis Belmar Letelier

    Abstract

    Accounting fraud costs organizations billions annually, yet auditors rarely confront it as a single suspicious posting. Instead, they investigate coordinated *fraud schemes* such as fictitious vendor payments, ghost-employee payroll, and inflated revenues that span many journal entries, each individually routine, and only become visible when understood against the underlying accounting process. Existing AI systems either score isolated entries as anomalies or mine company-level disclosures; none evaluate whether a large language model (LLM) agent can query a live ledger, recover coordinated fraud patterns, and assign the correct scheme type. We release **ForensicBench**: the first benchmark for evaluating agentic LLMs on *scheme-level* journal-entry fraud detection. The dataset, **Forensic Ledger**, extends DataSynth with five injected fraud scheme types and scheme-level labels linking journal entries to coordinated instances. We evaluate twelve open-weight models under a single reference agent scaffold on a public leaderboard: among them, the best reaches only 34.7% Entry-F1, and Type-F1 is up to 13 points lower. We publicly release the dataset, evaluation harness, and a reference agentic baseline

    Abstract source
  • EMNLP · Industry

    From Monolithic Blending to Agentic Orchestration: Dynamic Response for Conversational Assistants at Scale

    Cen Zhao, Peng Wang, Chuan Shi, Yufeng Zhang, Ying Lyu, Wanmeng Ren, Robert Xue, Claire Cheng, Yashar Mehdad

    Abstract

    Conversational assistants can blend retrieval, action selection, escalation, and wording in one model path, or separate those roles. We report a production migration of a conversational assistant for customer support at a large accommodation marketplace (millions of conversations per month, 11 languages, 10-second P90). Dynamic Response (DR) replaces a single Qwen3-235B-A22B blended responder with a bounded ReAct orchestrator over typed tools plus a smaller generator that writes from a backend-validated context contract. Because the migration also changed prompts, alignment, and serving, we attribute each effect to its cause and claim as architecture effects only those measured on identical replayed turns: typed entity selection moves the reservation selector to a precision-first operating point (precision 8.3% to 89.1% at recall 75.2% to 67.3%), and typed action IDs with a membership check remove observed structured-action hallucination (2.14% to 0.0%). A low-ramp A/B test reproduces the replay escalation reductions: hard-escalation responses fall 5.60% to 3.08% and soft-escalation responses 9.56% to 2.49% while production handoff volume holds roughly steady, and self-solve is directional (+5.1 points, 95% CI [-2, +12]). Serving optimizations cut orchestrator P90 from 3.87s to 2.24s on a GPU footprint reduced by roughly one-third, and self-hosting reduces estimated annual model-serving cost by more than an order of magnitude.

    Abstract source
  • EMNLP · Industry

    Frustratingly Easy Agentic RAG via Portable Skills: A Case Study in Customer Support

    Istok Bako, Bonan Min, Qihong Shao, Claire Cheng, Yashar Mehdad

    Abstract

    Enterprise workflow automation typically requires retrieving a complete and accurate set of relevant information from large operational document corpora (SOPs, policy documents) given a specific scenario or request. In customer support (CS), for example, human specialists must determine the correct sequence of resolution steps for each case, a task that demands precise grounding in policy documentation. Meeting this bar in production typically requires complex document chunking, indexing, and retrieval pipelines, often layered with learned re-rankers, query rewriters, and bespoke agentic RAG infrastructure.We present a simpler alternative: a portable skill consisting of a natural-language instruction, lightweight tools (a retrieval API, format-checking scripts), and a corpus enriched with an LLM-generated navigation layer, which is a structured "Wikipedia-style" index over the underlying documents. This agentic RAG approach is straightforward to implement (1-2 engineer days), portable across capable agentic harnesses (e.g., Claude Code), and performs strongly on the challenging task of CS resolution workflow generation, achieving 99.2% procedural equivalence to human-approved ground truth and 83.3% evidence sufficiency. Our analysis yields a concrete deployment insight: a skill-based agentic RAG implementation over a corpus augmented with a lightweight navigation layer can substitute for complex RAG infrastructure, shifting the primary maintenance burden from model artifacts to text and data curation.

    Abstract source
  • EMNLP · Industry

    Eluna: An Agentic LLM System for Automating Warehouse Operations with Reasoning and Task Execution

    Ning Liu, P Aditya Sreekar, Kalle Kujanpää, Zhaoxuan Zhu, Kaiwen Liu, Chuanneng Sun, Jorge Marchena Menendez, Matthew J Bales, Tianyu Yang, Shahnawaz Alam, Rose Yu, Baoyuan Liu, Kristina Lisa Klinkner, Shervin Malmasi

    Abstract

    Warehouse operations are governed by Standard Operating Procedures (SOPs) that encode complex, multi-system decision logic, which must be executed reliably under strict time constraints, yet LLM agents lack mechanisms to enforce procedural compliance and degrade under the context overload full SOP specifications introduce. We present Eluna, a production-deployed agentic system for reliable SOP execution. Eluna is a graph-guided, multi-agent framework that encodes SOPs as directed acyclic graphs with progressive disclosure and delegates independent tasks to parallel sub-agents, each with persistent code execution and live data access. To meet production latency and accuracy needs, we use asymmetric episodic distillation where a strong teacher is improved through episodic error memories, then a smaller student is fine-tuned on the corrected trajectories with memory stripped, internalizing corrections without inference-time overhead. On a 13-task benchmark and two production applications, our fine-tuned models match or exceed their teacher, beat all larger off-the-shelf baselines, and reach 94% expert agreement on the ticket processing application.

    Abstract source
  • EMNLP · Industry

    RECOVER: Robust Entity Correction via agentic Orchestration of hypothesis Variants for Evidence-based Recovery

    Abhishek Kumar, Aashraya Sachdeva

    Abstract

    Entity recognition in Automatic Speech Recognition (ASR) is challenging for rare and domain-specific terms. In domains such as finance, medicine, and air-traffic control, these errors are costly. If an entity is entirely absent from the ASR output, text-only post-correction has little signal to recover it. To address this, we introduce RECOVER, an agentic post-ASR entity-correction framework. It leverages multiple hypotheses as evidence from ASR, retrieves relevant entities, proposes Large Language Model (LLM) correction under constraints, filters them through deterministic guardrails and uses an LLM critic that judges each surviving edit and can trigger a targeted feedback round to recover an entity the first pass missed. The hypotheses are used by one of several strategies, namely 1-Best, Entity-Aware Select, Recognizer Output Voting Error Reduction (ROVER) Ensemble, LLM-Select and Adaptive Routing. Evaluated across five diverse datasets over a Whisper-large-v3 baseline, it achieves up to 49% relative reduction in entity-phrase word error rate (E-WER) and increases entity recall by up to 14 percentage points while preserving the overall word error rate (WER), with LLM-Select the strongest strategy.

    Abstract source
  • EMNLP · Industry

    Iterate Until Retrieved: Factual Nugget Optimization for Discoverable Continual Corrections in Agentic RAG

    Moshe Hazoom, Gal Patel, Alon Talmor, Tom Hope

    Abstract

    Agentic retrieval-augmented generation (RAG) systems in business-to-business settings may often receive free-form response feedback. Rather than generic feedback signals such as style, preference, or overall response quality, we focus on actionable factual corrections. We identify these instances and convert them into compact knowledge-base entries, which we call factual nuggets. We introduce Iterative Nugget Optimization (INO), an index-time optimization method that uses the production agentic RAG as a test harness: it creates an initial nugget, probes it with the triggering query and paraphrases, reflects over failed retrieval and answer traces, and revises the nugget until it is discoverable. We evaluate INO with two production B2B knowledge-assistance agents across multiple companies that use our system: a product support agent that answers questions over company-specific knowledge bases, and a support ticket agent that assists support engineers. INO consistently improves results over baselines in terms of discoverability and usage of factual corrections, in automated and human evaluations. A controlled experiment in production shows that the nuggets improve user satisfaction with responses.

    Abstract source
  • EMNLP · Industry

    Do Agents Help? Agentic Document Information Extraction with Enterprise Database Grounding

    Zhijie Zhang, Hongxin Shao, Mattis Lennart Geiger, Tao Bai, Daniel Dahlmeier

    Abstract

    In enterprise applications, document information extraction (IE) does not operate in isolation: extracted information must match the systems of record (SoR) for the process to work. While reliable IE demands entity extraction, SoR grounding, and iterative refinement, existing methods rely on single-pass inference. To address this gap, we propose a SoR-grounded agentic pipeline and evaluate four agentic paradigms (Agentic Workflow, ReAct, Plan-Execute-Critic, and Dynamic Agent Collaboration) on real-world enterprise data. We focus on the goods receipt and invoice settlement processes as representative use cases, where delivery notes and invoices must be matched and verified against purchase order SoR. Our results show that agentic approaches generally match or exceed non-agentic baselines, with simpler paradigms matching or outperforming complex alternatives. Paired with systematic error analysis, this work provides actionable guidance for deploying agentic document AI at enterprise scale.

    Abstract source
  • EMNLP · Industry

    GraphBit: A Graph-based Agentic Framework for Non-Linear Agent Orchestration

    Yeahia Sarker, Md Rahmat Ullah, Musa Molla, Shafiq Joty

    Abstract

    Agentic LLM frameworks that rely on prompted orchestration, where the model itself determines workflow transitions, often suffer from hallucinated routing, infinite loops, and non-reproducible execution. We introduce GraphBit, an engine-orchestrated framework that defines workflows explicitly and deterministically as a directed acyclic graph (DAG). Unlike prompted orchestration, agents in GraphBit operate as typed functions, while a Rust-based engine governs routing, state transitions, and tool invocation, ensuring reproducibility and auditability. The engine supports parallel branch execution, conditional control flow over structured state predicates, and configurable error recovery. A three-tier memory architecture (ephemeral scratch space, structured state, and external connectors) isolates context across stages, preventing cascading context bloat that degrades reasoning in long-running pipelines. Across GAIA benchmark tasks spanning zero-tool, document-augmented, and web-enabled workflows, GraphBit shows excellent performance achieving the highest accuracy, zero orchestration errors, the lowest latency, and the highest throughput. Ablation studies demonstrate that each memory tier contributes measurably to performance with similar configuration due to architectural changes, with deterministic execution providing the greatest gains on tool-intensive tasks representative of real-world deployments.Code and data: https://github.com/InfinitiBit/graphbit

    Abstract source
  • EMNLP · Industry

    How to Speculate about Uncertainty in Agentic Coding? A Draft-Model Gate Method

    Konstantin Grotov, Valentin Malykh

    Abstract

    LLM agents deployed for software engineering fail expensively: they act confidently wrong, and bad actions are recognized only after costly execution and retry. We present Speculative Uncertainty (SU), a method that recovers a predictive failure signal for a black-box agent from its output tokens alone, with no access to logits, weights, activations, or repeated sampling. Inverting speculative decoding, a small open-weight draft model scores the agent’s already-generated trajectory in a single forward pass. From these speculative cross-likelihoods we extract phase-aware features by separating the reasoning and action spans, and calibrate them against a verifiable objective. SU produces a failure-likelihood score that any downstream policy, such as routing, human intervention, or extra test-time compute, can consume directly. To show the signal is actionable, we instantiate one such policy, a pre-execution veto gate, on software-engineering agents Qwen3-Coder-480B and closed-source Claude 3.5 Sonnet, cutting execution error rate by 6-8 percentage points and token cost by 14-19% in deployment, transferring to out-of-distribution benchmarks without retraining, and generalizing across agent models.

    Abstract source