TRACE Improves Enterprise LLM Tool Retrieval with Business Rules.

Sai Shruthi Sistla, Ashutosh Hathidara, Christopher Toukmaji, Mayank Shrivastava, Karthikeyan Asokkumar· July 28, 2026 View original

Summary

TRACE is a two-stage curriculum that enhances parametric tool retrieval in enterprise LLMs by preserving tool knowledge and enabling fast single-beam greedy decoding. It uses augmented chain-of-thought reasoning and business rules to significantly improve tool understanding and retrieval recall at production latency.

Parametric retrieval allows Large Language Models (LLMs) to implicitly retrieve tools by assigning unique virtual tokens to APIs and training the model to generate them. However, this approach often leads to a loss of parametric tool knowledge during training and slow beam-search decoding, hindering real-time deployment. Researchers introduce TRACE (Tool Retrieval via Augmented Chain-of-thought and Enterprise rules), a two-stage curriculum designed to overcome these limitations. The first stage uses multi-format memorization supervised fine-tuning (SFT) to initialize tool knowledge with LoRA. The core innovation lies in Stage 2, where the model is trained to emit a "thinking trace" before generating a JSON list of tool tokens. This training incorporates both existing data and queries synthesized from domain-expert-curated business rules, all augmented with reasoning traces. This method not only preserves but improves tool understanding, achieving significant gains in MCQ and QA probing accuracy, and enables single-beam greedy decoding for production-level latency. TRACE demonstrated ~86% recall on one domain and ~60% on another, significantly outperforming embedding baselines.

Why it matters

This research provides a practical solution for deploying enterprise LLMs that can reliably and quickly retrieve and use internal tools, crucial for automating complex business workflows and enhancing productivity within organizations.

How to implement this in your domain

  1. 1Evaluate current LLM tool retrieval mechanisms for efficiency, accuracy, and latency in enterprise settings.
  2. 2Investigate the TRACE curriculum's two-stage approach for integrating business rules and reasoning traces into LLM training.
  3. 3Pilot the TRACE methodology on a subset of enterprise APIs to assess its impact on tool understanding and retrieval performance.
  4. 4Collaborate with domain experts to curate business rules and synthesize queries for augmenting training data.

Who benefits

Enterprise SoftwareFinancial ServicesHealthcareManufacturingIT Services

Key takeaways

  • Parametric tool retrieval in LLMs faces challenges with knowledge preservation and decoding speed.
  • TRACE is a two-stage curriculum that addresses these issues using augmented reasoning and business rules.
  • It significantly improves tool understanding and retrieval recall while enabling fast greedy decoding.
  • TRACE is directly deployable at production latency for enterprise LLM applications.

Original post by Sai Shruthi Sistla, Ashutosh Hathidara, Christopher Toukmaji, Mayank Shrivastava, Karthikeyan Asokkumar

"arXiv:2607.22639v1 Announce Type: new Abstract: Parametric retrieval enables LLMs to retrieve tools implicitly by assigning each API a unique virtual token and training the model to generate it via constrained beam search. Toolsense shows that this regime has two critical drawbac…"

View on X

Originally posted by Sai Shruthi Sistla, Ashutosh Hathidara, Christopher Toukmaji, Mayank Shrivastava, Karthikeyan Asokkumar on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses