Skip to content
OpenTrain AIFor AI Companies

T-Lens: Explainable Tool-Call Withholding Beyond Uncertainty

Carlo Malagnino, Xiaoyu Liang, Aliai Eusebi, Virginia Ceccatelli, Tobias Braun +3 morePublished Nov 30, 2026
arXiv PDF
Researcher verdict
Context only
Use as context only
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few days
Plan setup time
Risk flags
2
Review before use

No concrete benchmark grounding is available yet. Treat the page as context or an implementation starting point only.

Abstract

Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.

Large language models (LLMs) increasingly act through tools, enabling them to retrieve information and interact with external systems. Reliable tool use requires LLMs to recognize when none of the available tools can serve a request, yet models often make calls even in such situations. A natural safeguard is to withhold calls based on uncertainty estimates. However, on the Berkeley Function-Calling Leaderboard (BFCL), a widely used tool-calling benchmark, uncertainty alone is insufficient to prevent many inappropriate calls. We show that a model's hidden state carries a complementary signal: whether the available tools apply to the request. We introduce T-Lens, a label- and training-free method that withholds inappropriate tool calls before they run. It reads two signals from the model's hidden state: uncertainty, using U-Space directions, and applicability, using concepts such as necessity and compatibility recovered from the model's vocabulary. It combines these with output entropy to decide whether to withhold the call. On BFCL, T-Lens stops 52% of inappropriate calls at a 5% false positive rate, compared with at most 37% for label-free baselines at the same rate. The advantage carries over to RelyToolBench and MetaTool: using the same directions, T-Lens prevents 55% and 17% of inappropriate calls, respectively, compared with at most 23% and 13% for baselines requiring no extra model calls.

Results and benchmarks

Large language models (LLMs) increasingly act through tools, enabling them to retrieve information and interact with external systems.

Implementation

No direct implementation yet

Maintained implementation evidence is not confirmed for this paper yet.

Use the implementation status and reproduction sections for the current action plan.

Implementation evidence summary
Confidence: low

Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.

Reproduction risks
  • Estimate is based on paper-only reproduction flow

Reproduction readiness

Time to first repro: days
Last checked: Dec 2, 2026

No repo

No verified implementation available

  • No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.

Hardware requirements

  • Expect multi-day setup/compute for meaningful reproduction based on current guidance.

Hugging Face artifacts

No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.

Tip: start with models, then check datasets and spaces if you need evaluation data or demos.

Research context

Tasks

Agentic tool use

Methods

Transformer

Domains

Natural Language Processing, AI Agents

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.