NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

VERBA: Verbalizing Model Differences Using Large Language Models

Zining Zhu, Shravan Doda, Shashidhar Reddy Javaji, Zining Zhu 0005arXiv 2025 · DOI

Introduction

In the current machine learning landscape, we are increasingly faced with a "model lake"—a proliferation of models that achieve similar high-level performance metrics, such as 90% accuracy, yet exhibit distinct behavioral patterns on specific data subsets. Selecting the right model for a specific application requires understanding these nuanced differences. However, manual pairwise comparison scales quadratically ($O(N^2)$) with the number of models, making it impractical for developers to document every possible pair.

To address this, we present VERBA, a framework that leverages Large Language Models (LLMs) to automatically generate natural-language "diffs" between two machine learning models. By analyzing how models diverge on the same data, VERBA provides human-readable explanations that reveal behavioral gaps often hidden by standard aggregate metrics.

Methods

The VERBA framework treats model comparison as a translation task, converting raw prediction data into descriptive text. The process involves three primary stages:

  1. Representative Sampling: A specific "verb" split of the dataset is selected to record predictions from both models ($M_0$ and $M_1$).
  2. Serialization & Prompting: These input-output pairs are serialized into a structured format. This data is combined with a task description and, optionally, model metadata such as weights or tree structures.
  3. Verbalization: A "Verbalizer" LLM ($LLM_{verb}$) analyzes the patterns of divergence and summarizes them in natural language (e.g., "Model 0 is more sensitive to the 'Recency' feature than Model 1").
The VERBA framework overview: from dataset sampling to natural language verbalization.

To objectively evaluate the quality of these verbalizations, the authors established a simulation-based protocol. An "Evaluator" LLM ($LLM_{eval}$) is provided with the outputs of Model 0 and the generated explanation. The informativeness of the explanation is measured by the Evaluator's ability to accurately predict the behavior of Model 1 based on that information.

Key Insights and Results

The effectiveness of VERBA was benchmarked using three tabular datasets: Blood Transfusion, Diabetes, and Car Evaluation. Models including Logistic Regression (LR), Decision Trees (DT), and Multilayer Perceptrons (MLP) were used to create pairs with similar performance but distinct behaviors.

The Value of Transparency

A critical finding of the study is that providing the LLM with "model internals"—such as the specific decision rules of a tree—significantly enhances explanation quality. LLMs are far more effective at explaining the why behind model differences when they can access the underlying logic rather than just black-box outputs.

Impact of including model internals on verbalization accuracy across different datasets.

Performance Benchmarks

  • Accuracy: For Decision Tree pairs with a 20-25% behavioral divergence, VERBA achieved up to 80% accuracy in verbalizing variations. Including structural information pushed this accuracy to 90%.
  • Model Comparison: Leading models like Gemini 2.0 Flash, GPT-4o, and Claude 3.5 Sonnet showed robust performance. Gemini often excelled in "Mismatch Accuracy," capturing the precise points of model disagreement.
  • Complexity Ceiling: Verbalization accuracy was generally higher for linear models (LR) than for non-linear models (MLP), suggesting that more complex models may require more representative samples or deeper mechanistic insights for effective explanation.

Limitations and Future Work

While VERBA demonstrates strong potential for tabular data, several areas for future research remain:

  • Scalability: Extending the framework to deep neural networks (e.g., Transformers) will require integrating more advanced mechanistic interpretability techniques to describe high-dimensional internals.
  • Data Modalities: Future evaluations should explore high-dimensional data types such as text and images.
  • Iterative Refinement: Implementing self-critique loops within the LLM prompting process could further improve the clarity and precision of the generated verbalizations.
  • Evaluator Bias: The reliance on an LLM-based evaluator introduces potential biases that warrant further investigation.

Summary updated

BibTeX
@misc{zhu2025verba,
  author = {Zining Zhu and Shravan Doda and Shashidhar Reddy Javaji and Zining Zhu},
  title = {{VERBA: Verbalizing Model Differences Using Large Language Models}},
  year = {2025},
  eprint = {2507.02241},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.02241},
}
Figure