mlsanityData to 14 Oct 2026

Measuring in-context algorithmic reasoning in language models against an exact Bayes-optimal reference

arXiv 2608.01575 ↗First posted 3 Aug 2026cs.LG cs.AIcited by 0

On the map: LLM reasoning → Test-time compute and efficient thinking

Abstract (arXiv)

Whether large language models perform algorithmic inference or pattern completion is hard to test, because most benchmarks supply answers but no distributional reference for what the shown evidence licenses. F-ICL supplies one exactly: we exhaustively enumerate the 86 million valid programs of length at most 13 on a Turing-complete machine F, complement-symmetrised to remove output-polarity bias, and compute the exact posterior under a declared bounded Levin--Solomonoff prior. It is Bayes-optimal for that stated prior rather than universal, and models are never told it exists, so the score reads the inductive prior their served distribution already encodes. Across 105 serving configurations spanning open models from 0.8B to 675B and frontier systems, models answer up to 92% of queries correctly, yet 45 of the 46 exposing distributions sit farther from the F reference than a keystroke reference. This is not an artefact of task selection: on the bit coordinate, the half the length quota cannot distort, 69 of 80 runs stay below the anchor. Fidelity is inert to scale, which accuracy tracks; continuation improves late without converging; and models un-solve a solved task once per two gains, where the F reference does so once per nine and always repairs it. Because absolute distances are reference-dependent, we prove sequential bounds holding for rival priors: any predictor whose prior gives the reference positive weight has bounded cumulative excess loss, and, in a loss never invoking the reference, any Bayesian mixture giving the realised truth positive mass has a bounded truth-loss budget. On 23,998 trajectories, 86.7% already spend over 10 bits of it. Sequences ending by position nine cannot exclude an arbitrarily large finite constant, so these are lower bounds on what a rival prior must already pay. F-ICL is an open benchmark and toolkit.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 3 of its 41 references that are in the map. First posted on arXiv 3 Aug 2026.

Builds on

3 of 41 references.

References · 3

  1. 2022In-context Learning and Induction Headscited by 964
  2. 2014Neural Turing Machinescited by 644
  3. 2019On the Measure of Intelligencecited by 144

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Empirical Evidence of Complexity-Induced Limits in Large Language Models on Finite Discrete State-Space Problems with Explicit Validity Constraints
  2. 2025The Art of Scaling Test-Time Compute for Large Language Models
  3. 2025seqBench: A Tunable Benchmark to Quantify Sequential Reasoning Limits of LLMs
  4. 2025RELIC: Evaluating Complex Reasoning via the Recognition of Languages In-Context
  5. 2025Code Simulation as a Proxy for High-order Tasks in Large Language Models
  6. 2026Caterpillar of Thoughts: The Optimal Test-Time Algorithm for Large Language Models
  7. 2025What is an "Abstract Reasoner"? Revisiting Experiments and Arguments about Large Language Models
  8. 2026The Complexity Ceiling Benchmark: A Multi-Domain Evaluation of Sequential Reasoning Under Depth Scaling