SAP’s TRACE preserves tool knowledge and reaches 86% recall with greedy decoding

SAP · hf · 2026-07-28

SAP’s TRACE keeps tool knowledge while cutting retrieval latency

TRACE is a two-stage curriculum for enterprise LLM tool retrieval that aims to solve two problems in parametric retrieval: training can erase tool knowledge, and constrained beam-search decoding is too slow for real-time use.

The method first reuses ToolSense-style memorization SFT with LoRA to seed tool knowledge. Then it trains the model to emit a reasoning trace before producing a JSON list of tool tokens, using both ToolSense RRB pairs and expert-curated business-rule queries augmented with reasoning traces.

Reported results:

The paper’s core claim is that TRACE makes parametric tool retrieval directly deployable without the beam-search slowdown.

Original post →

More from coding & agent

coding & agent channel →