Manuscript Offprint

arXiv:2610.37732

ThinkJev: One Thought, Every Budget for Calibrated Typed Decisions

Xiaolu Ding, Kai Yang, Dongdong Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Many uses of language models end in a typed decision: a choice among a closed set of options, whose probabilities code can act on. Reading those probabilities from one forward pass is fast but often wrong on decisions that take several steps, such as arithmetic, counting, and date comparison. Letting the model think first fixes most of these errors, but costs seconds per decision instead of milliseconds. To pay for thinking only where it helps, ThinkJev builds a fast and a slow system from one open hybrid-thinking model that can answer directly or after a thought. System 1 reads the model's probabilities for the option letters when it answers directly; System 2 reads the same letters after the model has thought on the same cached prompt, so escalating repeats no work and both systems give probabilities over the same options. Because the letters can be read after any number of thought tokens, one sampled thought also gives the answer under every thinking budget. Without training, ThinkJev lets System 1 answer alone only where a statistical test on labeled dev data guarantees that its accepted answers stay under a target error rate. At a 5% target, Qwen3.5-27B answers 24.5% of 8359 test decisions this way with a realized error of 3.9% (Qwen3.5-4B and 9B: 6.5% and 0.0%). For the rest, stopping each thought as soon as its answer is confident reaches 81.6% accuracy, against 82.7% for always thinking, with 72% of the thought tokens. Choosing when to think from System 1's confidence alone saves less, because the decisions System 1 is least sure of are often not the ones thinking fixes. On the public items of JevBench, an independent benchmark of typed-decision services, Qwen3.5-27B thinks on 29.4% and is not distinguishable in accuracy from the two thinking APIs listed (exploratory). Code and data generators are available at https://github.com/ding-xiaolu/ThinkJev.

1 Introduction

Many uses of language models end in a decision that code acts on rather than a person reads: which queue a ticket goes to, whether a message breaks a policy, whether an extracted record satisfies a rule. We call these typed decisions: the answer is one of a fixed set of options, as in a multiple-choice, yes/no, or rating question. For them, a probability for each option is more useful than generated text. It needs no parsing, and its confidence can decide whether to act, ask a person, or escalate. Commercial decision APIs return answers in this form, with a probability per option and a confidence derived from them [27, 28]. Open methods such as SemIf [26] and AnyJev [15] obtain calibrated option probabilities from any open model in one forward pass, by reading the model's next-token logits for the option letters.

One forward pass is not enough for decisions that take several steps: date arithmetic, counting under conditions, chained rules, stacked negation. One vendor lists exactly these as weak spots of its decision model [29]. On the multi-step decisions we build (Section 4), a single forward pass answers

*Corresponding author: liudongdong@bosssoft.com.cn.

only 52.3% of them correctly with Qwen3.5-27B (40.3% with Qwen3.5-4B). SemIf and AnyJev stop at this single pass.

Letting the model think before it answers fixes most of these errors: after thinking, Qwen3.5-27B answers 87.5% of the same decisions correctly. Thinking is expensive, though. On one GPU, a direct answer takes Qwen3.5-4B about 101 ms to process the prompt and 53 ms to read the answer, while thinking takes a median of 30.3 s (Section 5.8), and on routine decisions thinking adds little accuracy (Table 4, block A). A deployment therefore wants both: a direct answer for the decisions it can settle, and thinking for the rest. This raises three questions. Which decisions may skip thinking, and with what guarantee on their error rate? How long should the rest think, when the right budget differs from one decision to the next? And can the two be combined without running two models or processing the prompt twice?

Our starting point is an observation about hybrid-thinking models such as the Qwen3 family [17], which answer either directly or after a thought, depending on how the chat template is set. For the same decision, the direct prompt and the thinking prompt are identical up to the thinking block, and in both the answer can be read at the same place: the model's next-token logits for the option letters A, B, ... at the answer position, which we call the answer slots. One model therefore provides two systems on one prompt. System 1 is the direct answer: the answer slots read after an empty thought. System 2 is the answer after thinking: the same slots read after a sampled thought. If the thought is cut after its first t tokens and closed with the model's own early-stop sentence, reading the slots gives exactly the answer the model would have given under a thinking budget of t tokens. One sampled thought therefore gives a calibrated answer at every budget, with System 1 at budget zero (Figure 1).

ThinkJev 1^{1} builds a cascade on this observation. It needs no training and answers the three questions in turn. System 1 answers on its own only when its confidence reaches a threshold. The threshold is chosen on a labeled development (dev) split with a statistical test, Learn-then-Test, which guarantees that the error rate of the answers System 1 gives stays under a target the user sets. Every other decision is escalated: the model thinks, continuing from the prompt it has already processed, and the answer is read from the same option letters, again as calibrated probabilities. The user can fix the thinking budget, or let the model stop as soon as its answer is confident. No generated text is parsed. We make the following contributions; each is tied to a measurement in Section 5.

  1. Direct answers with an error guarantee (Section 5.5). System 1 gives calibrated option probabilities from one forward pass. A threshold on its confidence, chosen by Learn-then-Test [1] on dev, bounds the error rate of the decisions it answers on its own; decisions generated from one template count as one sample, so near-duplicates do not inflate the guarantee. On every Qwen3.5 model the error rate on test stays under each target for which the threshold accepts any decision. How many decisions System 1 may answer depends on the model: at the strictest targets the smaller models accept none. On Qwen3.8-27B the test error rate slightly exceeds the loosest target (Figure 7, Table 6).

  2. An answer at every thinking budget (Section 5.4). Cutting one sampled thought after t tokens and reading the answer slots gives the answer under a budget of t, so one run gives the whole curve of accuracy and calibration against the budget, with System 1 at budget zero. An anytime policy can then stop thinking at the first checkpoint where the answer is confident (Figure 6).

1^{1} The name refers to the typed-decision request format of TypeSafe's Jev, which ThinkJev's server accepts (Appendix E). ThinkJev is independent of TypeSafe, and Jev is not evaluated in this paper.

Figure

Figure 1: ThinkJev on one test decision, Qwen3.5-27B. Left: the part of the prompt that the two systems share is processed once. Top: System 1, the direct answer, gives calibrated option probabilities; its confidence is below the threshold τ\tau chosen on dev, so the model thinks. Bottom: one sampled thought, with the same answer slots read after its first tt tokens (each read calibrated with its own temperature; checkpoints not drawn to scale). Each read is the answer under a thinking budget of tt, so the policy can stop at the first confident one. Right: accuracy at each budget over all test decisions, with System 1 at t=0t=0. The example was chosen for illustration and is not typical; all values are generated from the released outputs (example.tex).

  1. One model as its own cascade, and the limit of gating on confidence (Sections 3 and 5.7). System 1 and System 2 come from the same model and the same processed prompt and read the same option letters, so the cascade needs no second model, no trained weights, and no parsing. Deciding when to think from System 1's confidence sends thinking to the decisions where System 1 is weak, but saves little thinking overall. We trace this to a difference between two targets: predicting where System 1 is wrong is not the same as predicting where thinking fixes the answer (Figure 3, Table 4, Section 5.2).

  2. A generated benchmark of multi-step decisions (Section 4). Eight families of decisions (date arithmetic, conditional counting, chained rules, stacked negation, multi-step arithmetic, logic grids, graph reachability, and scheduling), each at four difficulty levels, written natively in English and in Chinese, plus chess puzzles. The decisions are generated by code and every label is computed by code (Figures 4 and 5).

  3. An open server (Appendix E) for typed decisions that accepts the requests and returns the responses of a public decision API (TypeSafe's POST /v1/systemone), so that the API's own SDK can call a local ThinkJev model.

The text and figures use Qwen3.5-27B, the most accurate of the four models we run. Every quantity is also reported for the other three models (Section 4), and every criterion that fails on a model is reported as failed.

References (27)