Hugging Face Trending Papers

ReTrace: Distilling Tool-Using Agents into Planner-Free Workflows

ReTrace transforms standard operating procedures (SOPs) and logged agent runs into reusable workflows that use code, rather than an LLM, to select the next step. By extracting conditions from agent reasoning and merging them into a compact rule document, ReTrace produces executable workflows that can be compiled for various orchestration platforms. In experiments, ReTrace achieves high completion rates and significant cost and latency reductions compared to the original LLM agent, especially after repair rounds on training failures.

arXiv AI
4d ago

ReTrace: Distilling Tool-Using Agents into Planner-Free Workflows

ReTrace converts a standard operating procedure (SOP) and a handful of logged agent runs into a reusable, planner‑free workflow that uses code, not an LLM, to select the next step. By extracting the conditions behind each tool call and merging them into a compact rule document, ReTrace produces an executable workflow that can be compiled for various orchestration platforms. In tests, ReTrace achieves high completion rates (up to 93.8 %) with significantly lower cost and faster execution (1.3 s vs. 170 s) compared to the original LLM agent.

By Kaiyuan Hou, Yang Ping Kuo, Indranil Bhattacharya, Rohith Nama, Arushi Gupta, Carlos D. Castillo, Prathap Ramachandra, Xiaofan Jiang, Francesco Carbone
Hugging Face Trending Papers
Oct 27

Does Your Generalist Skill Optimizer Really Incentivize Agentic Tasks? Rethinking Skill Optimization via Bipartite Attribution

The paper introduces BiPA, a method to evaluate skill optimizers that rewrite natural‑language procedures for agents performing long‑horizon tasks. BiPA replays the optimizer’s acceptance rule on identical candidates to isolate selection effects and records each episode as a bipartite graph of turns and read text, revealing that learned skills only marginally outperform hand‑written seeds and that many gains vanish on test data. The study finds optimizers add extra input tokens and turns, and proposes four design principles for more reliable skill editing.

arXiv AI
Oct 28

Does Your Generalist Skill Optimizer Really Incentivize Agentic Tasks? Rethinking Skill Optimization via Bipartite Attribution

The paper introduces BiPA, a method for evaluating skill optimizers that rewrite natural‑language procedures for agents. By replaying the optimizer’s acceptance rule on identical candidates and recording episodes as bipartite graphs of turns and read text, BiPA isolates the effect of selection from the cost of added input tokens. Experiments on three optimizers, three benchmarks, and two models show that learned skills perform only marginally better than hand‑written seeds, and that apparent dev‑set gains often disappear on test, revealing that optimizers tend to add redundant rules that increase token usage.

By Jiawei Zhou, Bo Peng, Yuxuan Huang, Ming Zhang, Youbang Sun, Xiang Wang, Chaochao Lu
arXiv AI
Oct 2

Pay for the Fault, Not the Flow: Label-Free In-Flow Multi-Agent Workflow Optimization

The paper introduces InFlowOp, a label‑free optimization framework that assigns costs to each decision in a multi‑agent workflow, balancing agent competence against execution time. It determines task granularity and agent assignment before execution and corrects faults during execution using the same cost metric. The authors also present Braid, a benchmark for multi‑agent coordination, and show that InFlowOp outperforms single‑agent baselines by up to 11.97% across various domains.

By Xuehang Guo, Haoyu Wang, Shengyu Chen, Zach Chen, Wei Cheng, Qingyun Wang, Haifeng Chen
arXiv AI
Oct 5

VERSE: Verified Self-Evolving Optimizer for Agent Harnesses

The paper introduces VERSE, a Verified Self‑Evolving optimizer that enhances LLM agent harnesses by allowing the optimizer to test edits, replay failures, and perturb steps while tracking fixes and regressions. VERSE builds its own tools for failure analysis, verification, training audits, and workflow control, and uses this feedback to revise the harness’s prompts, skills, tools, hooks, and notes without changing model weights. In experiments across five executors and multiple languages, VERSE improves all evaluated harness optimizers, achieving higher accuracy on held‑out and out‑of‑distribution tasks compared to the strongest baselines.

By Zekai Wang, Yingqiang Ge, Zekun Wang, Hai Wang, Yuhui Xu, Joshua Frandsen, Shancong Fu, Ashia C. Wilson, Chandan K. Reddy
arXiv AI
Sep 2

REVISE: Validity-Guided Recovery for Online Revisions in Agent Workflows

The paper introduces “Revise”, a runtime system that performs validity-guided, fine-grained recovery for online revisions in structured agent workflows. When a revision arrives, Revise intersects the change with recorded data and control dependencies, propagates the impact through the partially executed DAG, stops invalid work, preserves unaffected progress, and recomputes only the affected region. Experiments on real coding‑agent traces and LangGraph/LLMCompiler applications show that Revise matches a latest‑version oracle, reduces model calls by up to 56%, and improves service‑level objective goodput under load.

By Ruoling Qi, Xuaner Wu, Penghang Liu, Jian Chen, Yirui Liu
arXiv AI
Oct 27

FlashScript: Compiling Recurring Agent Workflows into Reusable Neuro-Symbolic Programs

FlashScript compiles a successful agent run into a reusable neuro‑symbolic program (NSP) by turning actions and data transformations into code, parameterizing instance‑specific values, and relegating model‑dependent decisions to LLM calls. The resulting NSPs produce identical tool calls on every run, use roughly 70 % fewer input tokens, and run a third of the time compared to a skill‑guided agent, while maintaining correctness across 120 WorkBench analytics tasks and 108 unseen instances. The approach localizes nondeterminism, enabling separate review and testing of deterministic code and neural components.

By Sadra Sabouri, Hosein Hasanbeig, Adam Sage, Shreya Sinha, Cale Darling, Ashish Tiwari, Katie Garms, Souti Chattopadhyay, Sumit Gulwani
arXiv AI
Oct 23

PAUSE: Search-Free Steering of Coding Agents Before Their First Source-Code Edit

PAUSE is a steering framework for coding agents that intervenes once before the agent’s first source‑code edit, eliminating the need for learned monitors, checkpoint searches, or extra model calls. By having a Planner generate a repair plan from the task and pre‑edit transcript, the same agent can resume execution with this plan, preserving context and workspace. Experiments on SWE‑bench Verified and Multilingual show that PAUSE improves resolution rates by up to 16.8% online and recovers 35.4% of failed tasks offline, while reducing Executor token usage by 33‑41% compared to restarts.

By Viral Patel, Boyin Tan, Jason Xue, Youcheng Sun