cs.LGMar 17, 2026

Self-Aware Markov Models for Discrete Reasoning

Authors: Gregor Kornhardt, Jannis Chemseddine, Christian Wald, Gabriele Steidl

Organizations: Technische Universität Berlin, Straße des 17. Juni 136, 10623 Berlin, Germany

Abstract

Standard masked discrete diffusion models face limitations in reasoning tasks due to their inability to correct their own mistakes on the masking path. Since they rely on a fixed number of denoising steps, they are unable to adjust their computation to the complexity of a given problem. To address these limitations, we introduce a method based on learning a Markov transition kernel that is trained on its own outputs. This design enables tokens to be remasked, allowing the model to correct its previous mistakes. Furthermore, we do not need a fixed time schedule but use a trained stopping criterion. This allows for adaptation of the number of function evaluations to the difficulty of the reasoning problem. Our adaptation adds two lightweight prediction heads, enabling reuse and fine-tuning of existing pretrained models. On the Sudoku-Extreme dataset we clearly outperform other flow based methods with a validity of 95%. For the Countdown-4 we only need in average of 10 steps to solve almost 96% of them correctly, while many problems can be solved already in 2 steps.

Figures & tables

Explore similar work

CardsList
  1. Binary Discrete Diffusion: Candidate-Set Diffusion for Logic and Planning Tasks

    Oct 20, 2026Rodrigo Casado Noguerales, Dimitri von Rütte, Bernhard Schölkopf +2Diffusion ModelsDiffusion-Based Planning

  2. Flow Reasoning Models: Turning Flows Into Efficient Recurrent Reasoners

    Jun 28, 2026Alec Helbling, Andrey Bryutkin, Mauro Martino +3Self-ConditioningStructured Reasoning

  3. Random Remasking Scales Masked Diffusion Inference

    Oct 22, 2026Zhaoyi Zhou, Frank Wu, Andrea ZanetteMasked Diffusion ModelsDiffusion Language Model Inference