System X: An LLM Decision Model That Replies from Its Own KV Cache
Organizations: Turing Logic LTD · University of Oxford
Abstract
Decision models return probabilities over supplied options, but a deployed agent may also need to reply in words. The present study introduces System X, a large language model (LLM) decision model that adds a text-reply option to the LLM-as-Jev readout. When this option wins, or confidence is low, the same model continues from the decision's key-value (KV) cache, avoiding a repeated prompt prefill. Qwen3-0.6B has been fine-tuned with LoRA on Reason-9k and Bitext reply rows. JevBench accuracy shows no statistically significant change (55.4% to 54.5%, p=0.87), while expected calibration error falls from 0.292 to 0.169. Held-out Bitext routing accuracy reaches 98.3%. Cache reuse saves 15-37% of latency on an Apple M4 Pro, with token-identical replies in the FP32 demonstration cases. Scoring options on copies of the prompt cache matches full-sequence scoring to within 1.4e-6 in probability. Adding dialogue, industry and complaint data (System X+) improves support-task results but lowers IFEval accuracy from 55.5% to 45.0%. System X v4 uses Qwen3-1.7B, rebalanced data and teacher-rewritten reply targets. Against its base LLM, JevBench accuracy rises from 55.0% to 61.0% (p=0.04), with no statistically significant IFEval change (p=0.71). A matched latency test on unadapted Qwen3-1.7B saves 17-39%. One LLM judge prefers v4 replies to an unadapted 1.7B second call (31 to 11 pairs, p=0.003); the other's preference is not significant. These reply comparisons also differ in prompts and generation limits. State conflicts and unsupported reply details remain failure modes. Further studies with several seeds, human raters and real support data are recommended.
Figures & tables
| Ours | Paper | ||||
|---|---|---|---|---|---|
| Base LLM | System X | Base LLM | Reason-9k | Best JevBench run | |
| JevBench accuracy (%) | 55.4 | 54.5 | 56.7 | 55.0 | 61.0 |
| JevBench ECE | 0.292 | 0.169 | 0.278 | 0.118 | 0.121 |
| JevBench Brier | 0.674 | 0.575 | – | – | – |
| Banking77 accuracy (%) | 18.5 | 53.5 | 22.2 | 60.4 | 59.0 |
| Banking77 ECE | 0.460 | 0.079 | – | – | – |
| Set | Metric | Base LLM | System X |
|---|---|---|---|
| Held-out Bitext | accuracy (%) | 58.7 | 98.3 |
| action / info / not offered | 17.3 / 100 / 100 | 98.7 / 98.1 / 97.8 | |
| ECE | 0.389 | 0.020 | |
| Brier | 0.778 | 0.025 | |
| reply ROUGE-L F1 | 0.099 | 0.231 | |
| share answered with a reply (%) | 91.0 | 49.3 |
| Prompt tokens | Decision only | System X | Two calls | Saved |
|---|---|---|---|---|
| 367 | 134 ms | 414 ms | 488 ms | 74 ms (15%) |
| 679 | 215 ms | 508 ms | 639 ms | 131 ms (21%) |
| 1,159 | 350 ms | 671 ms | 901 ms | 230 ms (26%) |
| 2,159 | 654 ms | 1,019 ms | 1,494 ms | 476 ms (32%) |
| 4,161 | 1,386 ms | 1,824 ms | 2,891 ms | 1,067 ms (37%) |
| Accuracy (%) | ECE | |||||
|---|---|---|---|---|---|---|
| Set | Base LLM | System X | System X+ | Base LLM | System X | System X+ |
| JevBench (231) | 55.4 | 54.5 | 52.4 | 0.292 | 0.169 | 0.201 |
| Banking77 (3,080) | 18.5 | 53.5 | 57.2 | 0.460 | 0.079 | 0.081 |
| Held-out Bitext (300) | 58.7 | 98.3 | 99.0 | 0.389 | 0.020 | 0.019 |
| Hand-written (97) | 47.4 | 78.4 | 76.3 | 0.491 | 0.124 | 0.139 |
| ABCD next step (300) | 52.3 | 51.7 | 88.7 | 0.420 | 0.270 | 0.037 |
| Set | Check | Base LLM | System X | System X+ |
|---|---|---|---|---|
| Bitext verticals | fact-copy check | 2.4 | 28.8 | 46.4 |
| unsupported identifier | 0.0 | 2.5 | 0.7 | |
| instruction echo | 66.4 | 17.4 | 2.6 | |
| ABCD | instruction echo | 62.8 | 26.2 | 0.6 |
| Held-out Bitext | instruction echo | 65.6 | 20.3 | 16.2 |
| template slot | 2.6 | 12.8 | 16.9 |
| Model | R@1 | R@5 | R@10 | MRR |
|---|---|---|---|---|
| Base LLM | 7.2 | 18.2 | 28.8 | 0.148 |
| System X | 8.0 | 23.0 | 32.8 | 0.166 |
| System X+ | 15.0 | 36.2 | 49.4 | 0.263 |
| ABCD BERT-base | 21.7 | 46.6 | 58.7 | – |
| ABCD RoBERTa-Large | 22.0 | 47.8 | 59.1 | – |
| Source | Helpful | Grounded | Clean | Send (%) | System X+ W / T / L | Sign test |
|---|---|---|---|---|---|---|
| Base LLM | 1.44 | 2.93 | 2.53 | 9.3 | 101 / 35 / 13 | |
| System X | 2.27 | 3.83 | 3.89 | 22.7 | 60 / 41 / 49 | |
| System X+ | 2.41 | 4.41 | 4.34 | 20.7 | – | |
| Two-call Qwen3-0.6B | 1.73 | 4.32 | 2.99 | 9.3 | 98 / 29 / 23 | |
| Two-call Qwen3-1.7B | 3.43 | 4.26 | 4.83 | 43.3 | 32 / 30 / 88 | |
| Reference | 3.51 | 4.33 | 4.45 | 38.7 | 35 / 21 / 94 |
| Model | GSM8K | IFEval | TriviaQA | LAMBADA | Avg. | WikiText ppl |
|---|---|---|---|---|---|---|
| Paper: base LLM | 44.4 | 55.0 | 4.0 | 39.0 | 35.6 | 27.52 |
| Base LLM | 42.4 | 55.5 | 12.0 | 39.6 | 37.4 | 26.13 |
| System X | 46.4 | 52.0 | 12.7 | 40.4 | 37.9 | 24.57 |
| System X+ | 40.0 | 45.0 | 14.3 | 39.8 | 34.8 | 24.12 |
| Qwen3-0.6B | Qwen3-1.7B | ||||
|---|---|---|---|---|---|
| Set | Base LLM | System X+ | System X v4-0.6B | Base LLM | System X v4 |
| JevBench (231) | 55.4 (.292) | 52.4 (.201) | 51.5 (.175) | 55.0 (.404) | 61.0 ( .123 ) |
| Banking77 (3,080) | 18.5 (.460) | 57.2 (.081) | 55.5 (.056) | 28.3 (.617) | 65.2 (.062) |
| Hand-written (97) | 47.4 (.491) | 76.3 (.139) | 84.5 (.115) | 72.2 (.251) | 86.6 ( .070 ) |
| Held-out Bitext (300) | 58.7 (.389) | 99.0 (.019) | 96.3 (.022) | 73.3 (.235) | 97.3 (.025) |
| ABCD next step (300) | 52.3 (.420) | 88.7 (.037) | 88.3 (.035) | 48.3 (.483) | 86.0 (.048) |
| Source | Helpful | Grounded | Clean | Send (%) | v4 W / T / L | Sign test |
|---|---|---|---|---|---|---|
| System X+ | 2.40 | 4.40 | 4.33 | 20.0 | 99 / 26 / 25 | |
| System X v4-0.6B | 2.93 | 4.35 | 4.65 | 38.0 | 78 / 39 / 33 | |
| 1.7B base (cache) | 2.96 | 4.33 | 4.27 | 40.0 | 84 / 33 / 33 | |
| Two-call Qwen3-1.7B | 3.45 | 4.26 | 4.83 | 44.0 | 66 / 36 / 48 | |
| Reference | 3.49 | 4.31 | 4.43 | 36.7 | 79 / 27 / 44 | |
| System X v4 | 3.92 | 4.33 | 4.86 | 56.7 | – |
LLM Decision-Making
LLM decision-making studies how language models choose, act, seek information, and allocate resources under goals, uncertainty, constraints, and social pressures.
See all 242 papers