arXiv:2609.37832cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.37832

Can a Cacheable Decision Model Follow Rules?

Dushyant Rajput, Nirdesh Chauhan, Siddharth Kosaraju

Abstract

A non-generative decision model scores candidate actions from their text and returns a temperature-scaled probability, replacing a generation step with a single forward pass. The accurate way to do this reads the state, the governing rules, and each candidate together—a joint scorer—so every candidate is re-encoded against every state, and cost grows with the size of the candidate menu. Independent encoding lets each candidate be encoded once and reused across states—a measured latency reduction that widens with the menu (about 5×5\times at 77 candidates in our setup)—but it moves the state and the candidate apart. We ask how much rule-sensitivity—picking the action a stated rule requires, not the one that merely looks similar—survives that move, and whether the loss can be trained back. On Certo, a Qwen3-4B [1] decision model, we run four experiments. (1) At a matched budget, the tested conversion to cacheable scoring loses rule-sensitivity: a single-vector dual encoder falls from 1.00 to 0.24 recall@1 on rule-sensitive selection while the joint scorer holds 1.00; a shortlist-then-rerank rescue fails because the cheap encoder drops the compliant candidate before reranking. (2) Targeted supervision restores performance on held-out synthetic rule tasks—the cacheable encoder reads paraphrased rules (0.99–1.00), tracks counterfactual flips (98.7% of pairs correct on both sides vs. 30%), composes operators, and partly handles rule types it never trained on, with every gain’s paired interval excluding zero and the result reproducing across seeds; we do not isolate whether these predictions depend on the supplied rule. (3) On real, human-authored rules the added benefit is not established: after resolving a truncation confound that had masked the hard tier, the joint scorer keeps a statistically significant edge on the short tier (0.861 vs. 0.500; paired CI [+0.167,+0.556][+0.167, +0.556]) and a directional, non-significant one on the hard tier (0.655 vs. 0.483, n=29), while the synthetic recipe gives no convincing lift over the pre-trained encoder. (4) A matched cross-domain real-prose mixture did not help and reduced unseen-source contract accuracy by 9.3 and 16.2 points ( −0.093-0.093, 95% CI [−0.145,−0.039][-0.145, -0.039]; −0.162-0.162, [−0.263,−0.062][-0.263, -0.062]), though the design confounds reduced synthetic exposure with the added prose. The picture that holds up: targeted supervision restores strong performance across held-out synthetic rule tasks, but we do not isolate whether it makes the encoder depend on the supplied rule, and neither it nor a cross-domain real-prose mixture demonstrably improved unseen-source real-rule decisions; the joint scorer keeps an advantage (significant on the short tier) at the cost of caching. Beneficial transfer to unseen-source rules is not established; the tested privacy-data replacement produced a measured decline whose cause and generality remain unresolved.

1 Introduction

Many production decisions are not open-ended generation. A support system routes a message to one of a fixed set of intents; a workflow engine picks the one action a policy permits; a moderation layer answers a yes/no question about a rule. For these, a large language model that writes a paragraph and then commits to an answer is both slower than necessary and harder to calibrate than a model that simply scores the options.

Certo is a small, non-generative decision model built for this shape of problem. It encodes a state—the situation together with the rules that govern it—and scores each candidate action from its text, returning a temperature-scaled probability over the candidates for three primitives: CHOICE (pick one of several), SCORE (an ordinal level), and NOUL (yes/no). One forward pass, no generation, probabilities as the primary output.

The reference model uses a joint scorer: the state, the rules, and one candidate are read together in a single sequence, and a head emits a relevance score. Reading them together is what lets the model apply a rule to a candidate. It is also what makes the model expensive at scale: because a candidate only ever exists fused with a state, its representation cannot be reused, and the cost of scoring a menu grows with the number of candidates. Serving stacks already reuse computation in a limited way: automatic prefix caching [2] lets a causal joint scorer reuse the shared state-and-rules prefix across the candidates of a single state, so only each candidate's suffix is recomputed. What no joint scorer can do is reuse a candidate's representation across different states, because that representation is always conditioned on the state it was scored against.

The alternative is independent encoding, the design behind dense retrieval [3, 4] and its multi-vector variants [5]: encode the state once and each candidate once, then combine cheaply. This adds the second kind of reuse—a candidate's vector is state-independent, so it is computed once and reused across every state that shares a rubric. In our measurements this widens the latency gap with menu size ( §3\S3); we report it for the implementation measured, not as an architectural constant. The risk is equally real: the state and the candidate never meet inside the network, and rule application may be exactly the interaction that separation destroys.

This paper is a study of that tradeoff on one model. The precise question is:

How much rule-sensitivity survives when a joint decision scorer is converted to a cacheable independent-encoding scorer, can the loss be trained back, and does any recovered rule-sensitivity transfer to real rules the model was not trained on?

Our contributions are four experiments and a qualified answer. Section 3 shows the conversion loses rule-sensitivity and a shortlist rescue fails. Section 4 shows counterfactual supervision recovers it on synthetic rules, reproducibly. Section 5 tests real rules, uncovers and resolves a truncation confound, and finds the synthetic recovery does not clearly transfer. Section 6 runs a controlled real-prose training pilot and finds cross-domain data does not help. We are explicit throughout about which claims are established and which are not.

References (22)