It's LIT! Reliability-Optimized LLMs with Inspectable Tools

Ruixin Zhang, Jon Donnelly, Zhicheng Guo, Ghazal Khalighinejad, Haiyang Huang, Alina Jade Barnett, Cynthia Rudin

TL;DR

The LIT (LLMs with Inspectable Tools) framework introduces a training-free prompting strategy that forces Large Language Models to prioritize reliable and transparent external tools over opaque, complex ones. By framing tool selection as a cost-minimization problem, LIT significantly improves the debuggability and reliability of LLM reasoning chains while maintaining or even boosting task accuracy.

What Problem Does This Paper Address?

While integrating external tools (like calculators, code interpreters, or specialized APIs) expands what LLMs can achieve, existing tool-augmented frameworks suffer from a major flaw: they optimize solely for task success. Consequently, an LLM might choose an overly complex or opaque tool path—such as calling a deep learning model to predict a trend when a simple SQL query or linear regression would be perfectly accurate and far easier for a human to audit.

When these black-box tool chains fail, developers and users have no clear way to troubleshoot why the failure occurred. This paper addresses this gap by encouraging LLMs to select the most reliable and easy-to-troubleshoot solution paths, especially in high-stakes domains where trust and verifiability are paramount.

Figure 1: Conceptual summary. By using the LIT framework, the LLM selects more reliable and inspectable tools, allowing human users to debug and refine the solution proposed by the LLM, producing the correct result. In contrast, the vanilla LLM without LIT selects uninspectable solutions with reasoning that cannot be inspected or corrected.

Methods

The authors introduce LIT (LLMs with Inspectable Tools), a framework driven entirely by few-shot prompting without requiring any model fine-tuning.

The core innovation is a customizable tool-cost function that scores tools based on three human-computer interaction (HCI) criteria:

  1. Robust Performance across inputs (P): Does the tool reliably produce the expected output format? (e.g., a calculator is highly robust; an ARIMA forecasting model is fragile under distribution shifts).
  2. Ease of Debugging (D): Is the tool's internal logic transparent? (e.g., Python/Pandas code execution is highly inspectable; a BERT model's embeddings are not).
  3. Complexity of Arguments (C): Does the tool require simple inputs or complex, error-prone configurations?

$$\text{Total Cost} = P + D + C$$

During inference, the LLM is prompted to act as a policy model. It generates 2 to 4 alternative candidate solutions (sequences of tool calls), explicitly calculates the total interpretability cost for each sequence, and then executes the path with the lowest cost.

Figure 2: A simplified example of the prompting framework used by LIT. In LIT, we provide the model a cost for each tool and instruct the model to provide multiple alternative solutions, selecting the one with the lowest cost when possible.

Datasets

The framework was evaluated using a newly introduced benchmark consisting of 1,300 questions split evenly between validation and testing across two distinct databases:

  • Harvard USPTO Patent Dataset (HUPD): Contains 4.5 million patent applications with rich metadata (inventors, dates, final decisions) and text fields (abstracts, claims).
  • NeurIPS 2023 Papers Dataset: A novel dataset scraped by the authors containing metadata (titles, authors, abstracts, topics, and oral presentation status) for all accepted papers from the NeurIPS 2023 conference.

Questions are categorized by difficulty (easy, medium, hard) based on whether they are best solved via simple data manipulation or complex black-box modeling.

Key Insights and Ideas

  • The "No-Trade-Off" Surprise: Optimizing for inspectability does not inherently penalize performance. In fact, choosing simpler, deterministic tools (like a Pandas interpreter) often prevents the catastrophic or unpredictable failures common to complex neural network tools.
  • Steering via Prompting: LLMs can successfully self-evaluate and calculate abstract cost formulas inline during their chain-of-thought reasoning, effectively acting as their own routing policy.
  • Explainability Breeds Debuggability: By favoring tools with transparent arguments (e.g., a logistic regression model over a BERT classifier), human operators can directly inspect coefficients or code to understand and correct errors.

Key Results

The authors evaluated LIT across five prominent LLMs: GPT-3.5-Turbo, GPT-4-Turbo, Gemini-1.5-Pro, Claude-3.5-Sonnet, and Llama-3.1-70B.

  • Lower Interpretability Costs: LIT successfully guided models to choose more reliable and inspectable tools in 61 out of 65 experimental settings compared to standard baselines.
  • Maintained or Improved Accuracy: LIT maintained or statistically improved task performance in 48 out of 65 settings, showing particularly strong gains on "easy" and "hard" question categories.
  • Concrete Tool Substitution: As shown in Figure 3, when tasked with predicting paper acceptance, the LIT-enabled model swapped out an opaque bert-base-uncased classifier (Cost = 20) for a highly inspectable logistic-regression model (Cost = 7) without sacrificing predictive accuracy.
Figure 3: Solutions from an LLM to a question about whether a paper would be accepted to NeurIPS, with and without LIT. When using LIT, the model generates multiple candidate solutions and selects the one with the best cost. As a result, the model with LIT uses a logistic regression model rather than a BERT model to form its prediction, thereby using a substantially more inspectable tool. “Finish” tool signifies the end of logic stream and checks that the correct data type is returned. It has 0 cost.

Limitations and Future Work

The primary limitation of LIT is its token overhead. Because the prompt requires detailed tool descriptions, cost formulas, and few-shot examples—and because the model must generate and compare multiple candidate solutions during inference—it consumes significantly more input and output tokens. This increases both latency and operational costs.

The authors note that future work should focus on improving the token efficiency of the framework, perhaps by distilling the cost-awareness directly into smaller, specialized router models.

Summary updated

Abstract

Large language models (LLMs) have exhibited remarkable capabilities across various domains. The ability to call external tools further expands their capability to handle real-world tasks. However, LLMs often follow an opaque reasoning process, which limits their usefulness in high-stakes domains where solutions need to be trustworthy to end users. LLMs can choose solutions that are unreliable and difficult to troubleshoot, even if better options are available. We address this issue by forcing LLMs to use external -- more reliable -- tools to solve problems when possible. We present a framework built on the tool-calling capabilities of existing LLMs to enable them to select the most reliable and easy-to-troubleshoot solution path, which may involve multiple sequential tool calls. We refer to this framework as LIT (LLMs with Inspectable Tools). In order to support LIT, we introduce a new and challenging benchmark dataset of 1,300 questions and a customizable set of reliability cost functions associated with a collection of specialized tools. These cost functions summarize how reliable each tool is and how easy it is to troubleshoot. For instance, a calculator is reliable across domains, whereas a linear prediction model is not reliable if there is distribution shift, but it is easy to troubleshoot. A tool that constructs a random forest is neither reliable nor easy to troubleshoot. These tools interact with the Harvard USPTO Patent Dataset and a new dataset of NeurIPS 2023 papers to solve mathematical, coding, and modeling problems of varying difficulty levels. We demonstrate that LLMs can achieve more reliable and informed problem-solving while maintaining task performance using our framework.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Question 10, NeurIPS oral-presentation predictionLIT with Claude-3.5-Sonnet-Latest; logistic regression classifierSolution cost7Illustrative case predicting oral acceptance from a paper abstract; LIT selected logist…
Source quote
L159: Figure \ref{fig:prediction_example} presents an illustrative case from Question 10, in which the model must predict whether a paper would be accepted for oral presentation at NeurIPS based on its abstract. In this case, the black-box solution uses the pre-trained BERT model within the TextualClassifier tool, while LIT's solution uses a pre-trained logistic regression model within this tool. The models achieve comparable accuracy, however, the logistic regression model offers a significant advantage. Its coefficients can be directly accessed and analyzed, providing clear insight into how it generates predictions, making it easy to troubleshoot. In contrast, the BERT model, with its vast number of parameters, has an inexplicable decision-making process. This is captured by the lower cost of 7 for the LIT solution compared to 20 for the black-box solution. Therefore, while both solutions are equally accurate, the LIT solution provides a distinct advantage for understanding and debugging the outputs. Appendix \ref{sec:additional_example} provides an additional example.
Question 10, NeurIPS oral-presentation predictionClaude-3.5-Sonnet-Latest without LIT; BERT classifierSolution cost20Illustrative case predicting oral acceptance from a paper abstract; the black-box solut…
Source quote
L159: Figure \ref{fig:prediction_example} presents an illustrative case from Question 10, in which the model must predict whether a paper would be accepted for oral presentation at NeurIPS based on its abstract. In this case, the black-box solution uses the pre-trained BERT model within the TextualClassifier tool, while LIT's solution uses a pre-trained logistic regression model within this tool. The models achieve comparable accuracy, however, the logistic regression model offers a significant advantage. Its coefficients can be directly accessed and analyzed, providing clear insight into how it generates predictions, making it easy to troubleshoot. In contrast, the BERT model, with its vast number of parameters, has an inexplicable decision-making process. This is captured by the lower cost of 7 for the LIT solution compared to 20 for the black-box solution. Therefore, while both solutions are equally accurate, the LIT solution provides a distinct advantage for understanding and debugging the outputs. Appendix \ref{sec:additional_example} provides an additional example.
BibTeX
@misc{zhang2025it,
  author = {Ruixin Zhang and Jon Donnelly and Zhicheng Guo and Ghazal Khalighinejad and Haiyang Huang and Alina Jade Barnett and Cynthia Rudin},
  title = {{It's LIT! Reliability-Optimized LLMs with Inspectable Tools}},
  year = {2025},
  eprint = {2511.14903},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.14903},
}
Figure