mlsanityData to 14 Oct 2026

TTPA: Token-level Tool-use Preference Alignment Training Framework with Fine-grained Evaluation

arXiv 2505.20016 ↗First posted 26 May 2025cs.CLcited by 9

On the map: LLM agents and tool use → Tool learning and function calling

also in 1 more
Abstract (arXiv)

Existing tool-learning methods usually rely on supervised fine-tuning, they often overlook fine-grained optimization of internal tool call details, leading to limitations in preference alignment and error discrimination. To overcome these challenges, we propose Token-level Tool-use Preference Alignment Training Framework (TTPA), a training paradigm for constructing token-level tool-use preference datasets that align LLMs with fine-grained preferences using a novel error-oriented scoring mechanism. TTPA first introduces reversed dataset construction, a method for creating high-quality, multi-turn tool-use datasets by reversing the generation flow. Additionally, we propose Token-level Preference Sampling (TPS) to capture fine-grained preferences by modeling token-level differences during generation. To address biases in scoring, we introduce the Error-oriented Scoring Mechanism (ESM), which quantifies tool-call errors and can be used as a training signal. Extensive experiments on three diverse benchmark datasets demonstrate that TTPA significantly improves tool-using performance while showing strong generalization ability across models and datasets.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 28 of its 38 references that are in the map. First posted on arXiv 26 May 2025.

Builds on

28 of 38 references.

Closest ancestors · 14

Same direction, newest first

  1. 2024ADC: Enhancing Function Calling Via Adversarial Datasets and Code Line-Level Feedback23 Dec
  2. 2024TL-Training: A Task-Feature-Based Framework for Training Large Language Models in Tool Use20 Dec
  3. 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Masking6 Oct
  4. 2024ToolPlanner: A Tool Augmented LLM for Multi Granularity Instructions with Path Planning and Feedback23 Sep
  5. 2024ToolACE: Winning the Points of LLM Function Calling2 Sep
  6. 2024What Affects the Stability of Tool Learning? An Empirical Study on the Robustness of Tool Learning Frameworks3 Jul
  7. 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasets26 Jun
  8. 2023MetaTool Benchmark for Large Language Models: Deciding Whether to Use Tools and Which to Use4 Oct
  9. 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedback19 Sep
  10. 2023Confucius: Iterative Tool Learning from Introspection Feedback by Easy-to-Difficult Curriculum27 Aug
  11. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  12. 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Cases8 Jun
2 more
  1. 2023Gorilla: Large Language Model Connected with Massive APIs24 May
  2. 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb

Other references · 14

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  6. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  7. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
  8. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  9. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  10. 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 392
  11. 2023Opportunities and Challenges for ChatGPT and Large Language Models in Biomedicine and Healthcited by 118
  12. 2024A Thorough Examination of Decoding Methods in the Era of LLMscited by 114
2 more
  1. 2024Advancing Tool-Augmented Large Language Models: Integrating Insights from Errors in Inference Treescited by 38
  2. 2025ToolComp: A Multi-Tool Reasoning & Process Supervision Benchmarkcited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 6.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Spread Preference Annotation: Direct Preference Judgment for Efficient LLM Alignment
  2. 2024A Deep Dive into the Trade-Offs of Parameter-Efficient Preference Alignment Techniques
  3. 2025Not All Preferences are What You Need for Post-Training: Selective Alignment Strategy for Preference Optimization
  4. 2025Data Selection for LLM Alignment Using Fine-Grained Preferences
  5. 2025Larger or Smaller Reward Margins to Select Preferences for Alignment?
  6. 2025Towards Understanding Valuable Preference Data for Large Language Model Alignment
  7. 2024Aligning to Thousands of Preferences via System Message Generalization
  8. 2025Clean First, Align Later: Benchmarking Preference Data Cleaning for Reliable LLM Alignment