TabAgent: A Framework for Replacing Agentic Generative Components with Tabular-Textual Classifiers

Eilam Shapira, Ido Levy, Yinon Goldshtein, Avi Yaeli, Nir Mashkif, Segev ShlomovOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

TabAgent is a framework that slashes the latency and cost of AI agents by replacing expensive, repetitive LLM calls with compact "tabular-textual" classifiers. By distilling execution traces into structured features, TabAgent achieves a ~95% reduction in latency and an 85–91% reduction in cost while maintaining the performance of state-of-the-art generative models.

What Problem Does This Paper Address?

Building an autonomous AI agent is currently a trade-off between capability and practicality. Most modern agentic systems rely on "frontier" LLMs (like GPT-4o) to make every single decision: routing a request, shortlisting which tools to use, or verifying if a step was successful.

While this makes development easy, it creates a massive generative bottleneck. In a multi-step task, an agent might call a high-latency, high-cost LLM dozens of times. For tasks like "tool shortlisting"—where an agent must pick a few relevant APIs out of a catalog of thousands—these repeated calls accumulate significant token costs and can make the system feel painfully slow. The authors argue that we don't need a trillion-parameter model to perform what is essentially a classification task; we just need a model that understands the agent's current state.

Methods

TabAgent moves away from the "generative" paradigm (asking an LLM to write out an answer) toward a "discriminative" one (using a small model to score options). The framework consists of three main pillars:

  1. TabSchema: An offline pipeline that analyzes successful agent "trajectories" (logs of past runs). It uses an LLM-as-a-judge to identify which signals—like the current step index, previous "thoughts," or resource availability—are actually predictive of a good decision. These are then turned into a structured tabular feature card.
  2. TabSynth: Real-world data often lacks examples of rare but critical edge cases. TabSynth uses a frontier LLM to generate "schema-aligned" synthetic data. It populates the feature rows defined by TabSchema to ensure the classifier sees enough variety to handle complex dependencies.
  3. TabHead: This is the "hot-swappable" brain. It is a compact, 50-million-parameter classifier that takes the tabular features and the text descriptions of candidate tools. It outputs a calibrated probability for each option in a single, lightning-fast forward pass.

Datasets

The researchers evaluated TabAgent using AppWorld, a robust benchmark for interactive coding agents.

  • Reference Agent: They used IBM CUGA, the current state-of-the-art open-source agent for AppWorld.
  • Applications: Evaluation focused on five diverse domains: Amazon (shopping), Gmail (email), Phone (contacts/alarms), SimpleNote (productivity), and Spotify (music).
  • Scale: The training set was derived from 605 successful CUGA trajectories, representing a wide variety of task difficulties.

Key Insights and Ideas

  • Execution Traces are Gold Mines: The "thoughts" and intermediate states generated by an LLM agent during a task contain rich, structured signals. When tabularized, these signals are often more useful for decision-making than the original raw text prompt.
  • Small Models, Big Impact: You don't need a massive model for closed-set decisions. A 50M parameter model (roughly 1/2000th the size of a frontier LLM) can replicate the decision boundaries of its "larger siblings" if it is fed the right features.
  • The "Hot-Swap" Deployment Pattern: The authors propose a practical lifecycle: deploy a slow/expensive agent, log its successful runs, train a TabAgent head on those logs, and then "hot-swap" the generative component for the discriminative one in production.

Key Results

The results demonstrate that efficiency doesn't have to come at the cost of accuracy:

  • Performance Preservation: In tool shortlisting, TabAgent achieved a Recall@7 ≥ 0.88 and Recall@9 ≥ 0.92 across all applications, matching or exceeding the quality of the original GPT-4.1-based shortlister.
  • Massive Speedups: A single decision pass took 2.68 milliseconds for TabAgent, compared to 7.50 seconds for GPT-4.1—a 95%+ latency reduction.
  • Cost Efficiency: The inference cost dropped from ~$0.05 per read to ~$0.0000002 per read, representing a 91% cost reduction in their setup.
  • Generalization: Beyond just picking tools, the authors showed TabAgent works for "Application Selection" (deciding which app to use) with an F1-score of 0.96.

Limitations and Future Work

While promising, the authors acknowledge several hurdles:

  • Data Dependency: TabAgent requires a "warm start" with successful execution logs. If an agent can't solve a task to begin with, there is no "ground truth" to learn from.
  • The Open-Source Gap: While the inference model is small, the offline feature extraction (TabSchema) still works best with frontier models like GPT-4o or Claude 3.5 Sonnet. Current open-source models (like Llama 70B) struggled to generate error-free feature extraction code.
  • Domain Expertise: Currently, designing the initial feature specifications requires some human-in-the-loop or expert guidance.

Future work aims to automate the TabSchema process entirely through program synthesis and to implement "confidence-based fallbacks," where the system automatically reverts to a large LLM if the small TabHead classifier is uncertain.

Summary updated

BibTeX
@misc{shapira2026tabagent,
  author = {Eilam Shapira and Ido Levy and Yinon Goldshtein and Avi Yaeli and Nir Mashkif and Segev Shlomov},
  title = {{TabAgent: A Framework for Replacing Agentic Generative Components with Tabular-Textual Classifiers}},
  year = {2026},
  url = {https://openreview.net/forum?id=5LhpD6O5Sk},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure