ReGuLaR: Variational Latent Reasoning Guided by Rendered Chain-of-Thought

Fanmeng Wang, Haotian Liu, Guojiang Zhao, Hongteng Xu, Zhifeng Gao · DOI

Abstract

While Chain-of-Thought (CoT) significantly enhances the performance of Large Language Models (LLMs), explicit reasoning chains introduce substantial computational redundancy. Recent latent reasoning methods attempt to mitigate this by compressing reasoning processes into latent space, but often suffer from severe performance degradation due to the lack of appropriate compression guidance. In this study, we propose Rendered CoT-Guided variational Latent Reasoning (ReGuLaR), a simple yet novel latent learning paradigm resolving this issue. Fundamentally, we formulate latent reasoning within the Variational Auto-Encoding (VAE) framework, sampling the current latent reasoning state from the posterior distribution conditioned on previous ones. Specifically, when learning this variational latent reasoning model, we render explicit reasoning chains as images, from which we extract dense visual-semantic representations to regularize the posterior distribution, thereby achieving efficient compression with minimal information loss. Extensive experiments demonstrate that ReGuLaR significantly outperforms existing latent reasoning methods across both computational efficiency and reasoning effectiveness, and even surpasses CoT through multi-modal reasoning, providing a new and insightful solution to latent reasoning.

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities in complex problem-solving through Chain-of-Thought (CoT) prompting. By generating intermediate reasoning steps, models can decompose difficult tasks into manageable sub-problems. However, this "thinking out loud" approach comes with a high price: token-by-token generation is computationally expensive and introduces significant latency, making it impractical for real-time applications.

To address this, researchers have explored latent reasoning, where the model performs reasoning within its continuous hidden states—essentially "thinking silently." While promising, current latent reasoning techniques often struggle with performance decay. Without the discrete structure of language to anchor the logic, internal representations tend to drift, leading to semantic information loss and error accumulation. The core challenge lies in effectively guiding and compressing these high-dimensional reasoning processes.

Methodology: The ReGuLaR Framework

We introduce ReGuLaR (Rendered CoT-Guided variational Latent Reasoning), which frames latent reasoning as a Variational Auto-Encoding (VAE) problem. In this paradigm, the model learns to sample its next "thought" state from a probability distribution rather than predicting it deterministically. This probabilistic approach prevents "mean collapse," where deterministic models produce blurry, non-distinct representations that fail at precise logic.

High-level overview of the ReGuLaR framework, showing how explicit reasoning chains are rendered into images to guide the latent reasoning process.

Visual-Semantic Regularization

The defining innovation of ReGuLaR is the use of rendered images to guide latent compression during training. The process follows three key steps:

  1. Rendering Text to Images: Explicit text-based reasoning chains are segmented and rendered into images (pictures of text).
  2. Visual-Semantic Extraction: These images are processed by a frozen, pre-trained visual encoder (DeepSeek-OCR) to extract dense, compact visual representations.
  3. Latent Space Guidance: These visual vectors serve as a "prior" to regularize the LLM's latent reasoning states. By penalizing the model (via KL divergence) when its silent thoughts deviate from the dense visual snapshot of the reasoning step, we ensure the latent space remains semantically grounded.

Training and Inference

During training, the model optimizes both a Cross-Entropy (CE) loss for the final answer and a KL Divergence loss to align latent states with visual representations. Importantly, the rendering and visual encoding components are only used during training. At inference time, the LLM operates as a standard text-in/text-out system, performing its latent reasoning silently without any image-processing overhead.

The training architecture of ReGuLaR, illustrating the use of KL divergence to align latent states with visual-semantic representations from rendered CoT.

Experimental Results

We evaluated ReGuLaR across several mathematical reasoning benchmarks (GSM8K, MATH, SVAMP) and a multi-modal molecule captioning task.

Efficiency and Accuracy

Using a LLaMA-1B backbone, ReGuLaR achieved an average accuracy of 45.6% on math datasets using only 3.03 latent reasoning steps. This significantly outperforms the previous state-of-the-art, CoLaR, which achieved 41.7% accuracy while requiring more steps (4.70).

In extreme compression scenarios—where the entire reasoning chain is compressed into a single latent step—ReGuLaR maintained impressive performance. On the difficult MATH dataset, it achieved 11.9% accuracy in 1 step, whereas CoLaR required over 60 steps to reach 7.76%.

Multi-Modal Latent Reasoning

Because ReGuLaR uses images as a training guide, it can natively incorporate non-textual information. In molecule captioning tasks, we rendered 2D molecular graphs alongside text reasoning chains. ReGuLaR, using just 1 latent step, outperformed standard explicit CoT (which generated over 300 tokens) across BLEU and ROUGE metrics. This suggests that latent reasoning can actually be more effective than text when dealing with inherently visual or structural data.

Conclusion

ReGuLaR demonstrates that rendering reasoning chains as images provides a powerful, dense signal for guiding latent logic. By combining VAE-based probabilistic sampling with visual-semantic regularization, we achieve a model that is both faster and more accurate than existing latent reasoning methods. Future work will focus on scaling this approach to more complex datasets and theoretically investigating the bounds of latent reasoning efficiency.

Summary updated

BibTeX
@inproceedings{wang2026regular,
  author = {Fanmeng Wang and Haotian Liu and Guojiang Zhao and Hongteng Xu and Zhifeng Gao},
  title = {{ReGuLaR: Variational Latent Reasoning Guided by Rendered Chain-of-Thought}},
  booktitle = {LIT @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=m797EiKdL9},
}
Figure