CIPO: Counterfactual Imagination Policy Optimization for Adaptive Tool Granularity Selection
Not on the map. Why?
Abstract (arXiv)
Large language model (LLM) agents solve complex tasks through multi-step interactions with external tools. These interactions often contain recurring local tool sequences. Treating such sequences as composite "Skills" can shorten tool-use trajectories and reduce repeated low-level decisions. However, when atomic tools and composite skills coexist, skill use becomes a policy problem: the agent must decide whether the current state requires atomic fine control or skill-level abstraction. In this paper, we argue that effective skill use should be studied as adaptive tool granularity selection. The most direct training signal for this problem is to compare the consequences of atomic and skill choices available from the same state. Based on this view, we propose CIPO, a Counterfactual Imagination Policy Optimization framework for adaptive tool granularity. CIPO constructs executable skills through budget-constrained mining of successful tool-use trajectories and trains granularity decisions with counterfactual branch rollouts. For each base rollout, CIPO branches at the first eligible granularity decision and replaces the chosen action with a feasible atomic or skill alternative. The paired outcome difference serves as a supplementary reward for policy optimization. Experiments across multiple benchmarks and model backbones show that CIPO improves task success and decision efficiency over baselines. Further analyses show that CIPO learns effective skill use by improving the choice between atomic tools and composite skills based on the current state, without simply increasing skill frequency.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 58 of its 62 references that are in the map. First posted on arXiv 4 Oct 2026.
Builds on
58 of 62 references.
References · 58
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
38 more
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,402
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,210
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
- 2022PAL: Program-aided Language Modelscited by 652
- 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 591
- 2024AFlow: Automating Agentic Workflow Generationcited by 432
- 2024Agent Workflow Memorycited by 383
- 2025ToolRL: Reward is All Tool Learning Needscited by 362
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 338
- 2024ToolSandbox: A Stateful, Conversational, Interactive Evaluation Benchmark for LLM Tool Use Capabilitiescited by 295
- 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learningcited by 278
- 2023FireAct: Toward Language Agent Fine-tuningcited by 256
- 2026Trace2Skill: Distill Trajectory-Local Lessons into Transferable Agent Skillscited by 187
- 2023An LLM Compiler for Parallel Function Callingcited by 179
- 2026SoK: Agentic Skills -- Beyond Tool Use in LLM Agentscited by 130
- 2025Memp: Exploring Agent Procedural Memorycited by 103
- 2026SKILL0: In-Context Agentic Reinforcement Learning for Skill Internalizationcited by 94
- 2025The Tool Decathlon: Benchmarking Language Agents for Diverse, Realistic, and Long-Horizon Task Executioncited by 85
- 2024AutoFlow: Automated Workflow Generation for Large Language Model Agentscited by 83
- 2025AgentPRM: Process Reward Models for LLM Agents via Step-Wise Promise and Progresscited by 77
- 2025Tool-Star: Empowering LLM-Brained Multi-Tool Reasoner via Reinforcement Learningcited by 72
- 2025TOUCAN: Synthesizing 1.5M Tool-Agentic Data from Real-World MCP Environmentscited by 69
- 2024AutoManual: Constructing Instruction Manuals by LLM Agents via Interactive Environmental Learningcited by 61
- 2025TRAJECT-Bench:A Trajectory-Aware Benchmark for Evaluating Agentic Tool Usecited by 51
- 2024StepTool: Enhancing Multi-Step Tool Usage in LLMs via Step-Grained Reinforcement Learningcited by 25
- 2024MATEval: A Multi-Agent Discussion Framework for Advancing Open-Ended Text Evaluationcited by 20
- 2024An LLM-Tool Compiler for Fused Parallel Function Callingcited by 15
- 2024WTU-EVAL: A Whether-or-Not Tool Usage Evaluation Benchmark for Large Language Modelscited by 13
- 2025QuCo-RAG: Quantifying Uncertainty from the Pre-training Corpus for Dynamic Retrieval-Augmented Generationcited by 12
- 2026RTMC: Step-Level Credit Assignment via Rollout Treescited by 12
- 2025GTool: Graph Enhanced Tool Planning with Large Language Modelcited by 10
- 2026PhGPO: Pheromone-Guided Policy Optimization for Long-Horizon Tool Planningcited by 9
50 most cited of 58 All 58 (JSON)
Built on by
Not cited yet.