mlsanityData to 7 Oct 2026

MagicSelector: Joint Optimization for Agent Tool Selection via Counterfactual Decomposition and Progressive Reranking

arXiv 2607.17751 ↗First posted 20 Jul 2026cs.IR cs.AI cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

We present MagicSelector, a joint optimization framework integrating Counterfactual task decomposition, Progressive reranking, and Dynamic Top-K, designed to address the fundamental challenges of tool retrieval in agents. MagicSelector is a specialized framework capable of translating ambiguous user instructions into executable atomic subtasks and guiding high-precision tool retrieval, effectively mitigating redundant noise and severe context distraction in out-of-domain (OOD) scenarios. We empower MagicSelector with these capabilities through three key contributions: (1) a preference-guided counterfactual task decomposition mechanism that utilizes a counterfactual reward to quantify the marginal causal gain of decomposition on retrieval ranking, effectively imposing fine-grained structural supervision on logical coherence; (2) a progressive tool reranking method driven by self-distillation hard negative mining, which optimizes both point-wise and list-wise relevance to enhance fine-grained discrimination among highly similar tools; and (3) a dual semantic boundary-aware dynamic Top-K strategy that adaptively monitors reranking score cliffs and inter-tool semantic shifts to dynamically truncate the candidate list, maximizing relevant tool recall while filtering long-tail noise. Evaluated on MTDTool, the first task decomposition benchmark we constructed tailored for mobile multi-turn interactions with process-level annotations, MagicSelector yields promising performance. Extensive experiments demonstrate that MagicSelector significantly outperforms state-of-the-art methods in terms of tool retrieval accuracy, OOD generalization capability, and overall token efficiency, thereby demonstrating the effectiveness of our proposed framework.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 57 of its 66 references that are in the map. First posted on arXiv 20 Jul 2026.

Builds on

57 of 66 references.

References · 57

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  4. 2025Qwen3 Technical Reportcited by 8,195
  5. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  6. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  7. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  8. 2023A Survey of Large Language Modelscited by 2,537
  9. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
  10. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  11. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  12. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
38 more
  1. 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
  2. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
  3. 2023GAIA: a benchmark for General AI Assistantscited by 1,084
  4. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
  5. 2023A Comprehensive Overview of Large Language Modelscited by 639
  6. 2019Passage Re-ranking with BERTcited by 629
  7. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 574
  8. 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 442
  9. 2024Understanding the planning of LLM agents: A surveycited by 414
  10. 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 373
  11. 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 356
  12. 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
  13. 2025ToolRL: Reward is All Tool Learning Needscited by 342
  14. 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 302
  15. 2023Improving Text Embeddings with Large Language Modelscited by 295
  16. 2023Large Language Models as Tool Makerscited by 293
  17. 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 293
  18. 2019Multi-Stage Document Ranking with BERTcited by 200
  19. 2025Survey on Evaluation of LLM-based Agentscited by 190
  20. 2022Improving Passage Retrieval with Zero-Shot Question Generationcited by 164
  21. 2023Query2doc: Query Expansion with Large Language Modelscited by 146
  22. 2023TaskBench: Benchmarking Large Language Models for Task Automationcited by 138
  23. 2024AnyTool: Self-Reflective, Hierarchical Agents for Large-Scale API Callscited by 121
  24. 2022Causal Machine Learning: A Survey and Open Problemscited by 107
  25. 2023CREATOR: Tool Creation for Disentangling Abstract and Concrete Reasoning of Large Language Modelscited by 90
  26. 2024Planning, Creation, Usage: Benchmarking LLMs for Comprehensive Tool Utilization in Real-World Complex Scenarioscited by 85
  27. 2024MMed-RAG: Versatile Multimodal RAG System for Medical Vision Language Modelscited by 84
  28. 2021The Expando-Mono-Duo Design Pattern for Text Ranking with Pretrained Sequence-to-Sequence Modelscited by 81
  29. 2023Zero-Shot Listwise Document Reranking with a Large Language Modelcited by 81
  30. 2024ToolGen: Unified Tool Retrieval and Calling via Generationcited by 72
  31. 2023RankVicuna: Zero-Shot Listwise Document Reranking with Open-Source Large Language Modelscited by 69
  32. 2023Query Expansion by Prompting Large Language Modelscited by 56
  33. 2018FIRST: A Framework for Optimizing Information Quality in Mobile Crowdsensing Systemscited by 50
  34. 2024Re-Invoke: Tool Invocation Rewriting for Zero-Shot Tool Retrievalcited by 50
  35. 2025LLM Collaboration With Multi-Agent Reinforcement Learningcited by 47
  36. 2025Retrieval Models Aren't Tool-Savvy: Benchmarking Tool Retrieval for Large Language Modelscited by 46
  37. 2024ListT5: Listwise Reranking with Fusion-in-Decoder Improves Zero-shot Retrievalcited by 29
  38. 2024Planning and Editing What You Retrieve for Enhanced Tool Learningcited by 21

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.