Skip to content

Read-Only Substitutes for Tool Ablation Tests

A matched read-only substitute splits a tool's ablation drop into the tool's own contribution and the effect of restoring its view.

A read-only substitute is an extra ablation arm. It removes the tool and returns the information the tool showed, without performing the tool's operation. Run it when you need to know why a tool matters and the tool is also how the agent sees its environment. The evidence is one preprint on a semantic-layer text-to-SQL agent over Spider 2.0-Lite tasks, untested in other domains (Khoeurn et al., arXiv:2611.41327v1).

The three arms

Label the full agent A, plain ablation (tool removed, nothing added) C, and the substitute S. The ablation drop then splits:

(A - C) = (A - S) + (S - C)

A - S is the tool's own contribution, and S - C is the effect of restoring the view. The two can have opposite signs. The equation holds for any S. It becomes informative when S exposes the same environment information as A (arXiv:2611.41327v1, Section 3).

One small drop, two large effects

The study's translator, convertSmqToSql, compiles a semantic query into SQL and returns it with preview rows. The prompt forbids catalog queries, so it is the agent's only view of physical table and column names. The matched substitute, lookupColumns, returns only the physical table and expression for each element the agent names (arXiv:2611.41327v1, Section 4).

Values are differences in success rate, in percentage points. Each is a mean of three runs on 135 SQLite or 197 BigQuery tasks, with p from a paired permutation test. Gemini 3.1 Pro was a preview model (arXiv:2611.41327v1, Sections 4 and 5):

Model and schema Ablation, A - C Tool, A - S View, S - C
Gemini 3.1 Pro, SQLite +3.2 (p=.27) -8.4 (p=.0002) +11.6 (p=.0001)
Gemini 3.1 Pro, BigQuery +6.6 (p=.07) -18.3 (p=.0001) +24.9 (p=.0001)
Qwen3.5-27B, BigQuery +35.4 (p=.0001) -12.9 (p=.0004) +48.2 (p=.0001)
Gemini 3.1 Pro, renamed SQLite +56.8 (p=.0001) -8.4 (p=.0008) +65.2 (p=.0001)

In the second row the ablation effect is not significant, yet both terms are. In the third, the view accounts for the whole of a large dependence and more.

The renamed row uses opaque table and column names, in descriptions too. With nothing in the translator's place, Gemini's success rate was 22.2% on these schemas, against 76.8% on the originals. The lookup arm moved from 88.4% to 87.4%. Its information match was not measured on renamed schemas (Section 7.2). There, ablation alone would call the translator indispensable. The authors answer that its operation did not become more useful: "only the scarcity of what it shows changed" (arXiv:2611.41327v1, Section 5.3).

Across all eight model and schema settings, the lookup arm scored higher than the full agent. The difference was significant in six (arXiv:2611.41327v1, Section 1).

Build and check the substitute

Section numbers refer to arXiv:2611.41327v1.

  • Return what the tool showed and no more. A richer substitute mixes an information effect into A - S. In the study, the point estimate of that effect changed sign with model strength (Section 7.1).
  • Measure the match from logs. Count the column names visible before the final query, and the share of the gold query's columns that were visible. For Gemini on SQLite, full agent and lookup both averaged 19.7 columns, with gold coverage of 90% and 92% (Sections 3.3 and 6.1).
  • State what the match misses. It counts names, while the translator also returned preview rows. The authors leave data values and join paths to future work (Sections 4.1 and 8).
  • Repeat runs. On SQLite, 19 to 20% of tasks changed outcome between any two runs of the full Gemini agent (Section 6.5).
  • Read failed runs before the split. Until the authors repaired their harness parser, the Qwen3.5-27B ordering appeared reversed, with the full agent ahead of two substitute arms (Section 6.2).

Why it works

Removing a tool that also shows something changes two variables: whether the operation is available and what the agent can observe. A matched substitute turns the operation off and holds the view where the full agent had it. A - S then varies the operation with the view fixed, and S - C varies the view with the operation off (arXiv:2611.41327v1, Section 3.2).

The authors claim no causal identification beyond that design. A substitute still differs in prompt text, number of turns and format of returned information. With information equal on average, they read A - S as the effect of the translator's interface: composing SQL through a structured query language (Sections 3.2 and 6.1).

When this backfires

  • Your only decision is removal with no replacement. The authors call plain ablation the right question for that (arXiv:2611.41327v1, Section 3.4).
  • No read-only channel can supply the information, or you cannot enumerate it. The method needs such a channel, and its match measurement needs an enumerable state (arXiv:2611.41327v1, Sections 3.3 and 7.2).
  • You read the tool term as compiler logic alone. Gemini's SQLite gap narrowed from -8.4 to about -5.3 points once protocol failures were excluded. The engine also fails to compile some metrics, which the authors count against the tool (Sections 6.2 and 7.2).
  • You generalize the sign. The authors call the negative translator term "a property of this tool and configuration, not a general claim about tools" (Section 7.2).

A vendor benchmark of a different semantic layer found the compiled path ahead. dbt Labs ran 11 questions 20 times each, after adding three dbt models to its project. Its Semantic Layer scored 98.2% and text-to-SQL scored 90.0% with Claude Sonnet 4.6, although text-to-SQL had the entire schema as context (dbt Labs, post source). That compares two whole approaches and does not ablate a tool.

Example

BigQuery task bq277 needs three tables from three semantic models that have no join path between them in the layer. This is a single case study, run with Gemini (arXiv:2611.41327v1, Section 6.4).

With the translator, in the run the paper traces, the agent saw only one of the three tables. It then queried the catalog through the SQL execution tool, which ended the episode with a list of table names.

With the substitute, the agent asked lookupColumns for seven elements, received each table and column, and wrote the spatial join. The full agent failed the task in all three runs, and the substitute solved it in all three.

Key Takeaways

  • Before you keep a tool because removing it hurts, check whether a read-only view recovers the score.
  • A near-zero drop is no reason to skip the third arm, because opposing effects can cancel inside it.
  • Report A - S with the tool, model and configuration it came from.