Probabilistic Tiny Recursive Model

Amin Sghaier, Ali Parviz, Alexia Jolicoeur-Martineau
5/19/2026
cs.AI

No official code found. Best implementation: JerMa88/PTRM (1 star, GPL-3.0, last commit 2026-07-04).

Abstract

Tiny Recursive Models (TRM) solve complex reasoning tasks with a fraction of the parameters of modern large language models (LLMs) by iteratively refining a latent state and final answer. While powerful, their deterministic recursion can lead to convergence at suboptimal solutions, without escape mechanism. A common workaround relies on task-specific input perturbations at test time combined with answer aggregation via voting. We introduce Probabilistic TRM (PTRM), a task-agnostic framework for test-time compute scaling that addresses this limitation through stochastic exploration. PTRM injects Gaussian noise at each deep recursion step, enabling parallel trajectories to explore diverse solution basins, and selects among them using the model's existing Q head (used for early stopping in the original TRM). Without requiring retraining or task-specific augmentations, PTRM enables substantial accuracy gains across benchmarks, including Sudoku-Extreme (87.4% to 98.75%) and on various puzzles from Pencil Puzzle Bench (62.6% to 91.2%). On the latter, PTRM achieves nearly double the accuracy of frontier LLMs (91.2% vs. 55.1%) at less than 0.0001x the cost, using only 7M parameters.

View on arXivView PDF

Code Implementations(1)

JerMa88/PTRMCommunity25%
GPL-3.0

Community implementation of the Probabilistic Tiny Recursive Model (arXiv:2605.19943).

11Shell, PythonJun 29, 20263 months agoGPL-3.0

Similar Papers

Cite this paper

@article{sghaier2026probabilistic,
  title  = {Probabilistic Tiny Recursive Model},
  author = {Amin Sghaier and Ali Parviz and Alexia Jolicoeur-Martineau},
  year   = {2026},
  eprint = {2605.19943},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.19943v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.19943.svg)](https://codeofpaper.com/paper/2605.19943)

Discussion