Thoughtbubbles: an Unsupervised Method for Parallel Thinking in Latent Space

Houjun Liu, Shikhar Murty, Christopher D Manning, Róbert Csordás

Standard Transformers operate as "fixed-budget" machines: they expend the exact same amount of computational effort processing a simple word like "the" as they do evaluating a complex mathematical variable. While recent advancements like Chain-of-Thought (CoT) reasoning allow models to dedicate more compute to difficult problems, CoT is inherently serial, slow, and typically requires specialized fine-tuning on human-written reasoning steps.

To address this bottleneck, researchers have introduced Thoughtbubbles, a novel Transformer architecture that allows models to "think" in parallel. By dynamically forking their internal data streams during pretraining, Thoughtbubbles create latent computation "bubbles" for difficult tokens. Remarkably, this method achieves superior performance compared to standard models while utilizing only half the training budget.

The Problem: Moving Beyond Serial Computation

Scaling inference-time compute is a major frontier in AI research. However, existing methods have significant drawbacks. CoT relies on generating extra text tokens one by one, which is computationally slow. Alternative approaches, such as "pause tokens" (injecting dummy tokens to give the model more processing time), often require manual design to determine where those pauses should occur.

The authors of Thoughtbubbles aimed to build a model that learns to allocate extra "thinking space" entirely on its own. Crucially, this allocation happens in parallel and is learned during the initial unsupervised pretraining phase, requiring no extra labels or fine-tuning.

How Thoughtbubbles Work

The core architectural innovation is the Forking Layer. Instead of forcing data through a single, linear path in the network, the model can choose to duplicate a token’s residual stream into multiple parallel versions. This process relies on four key mechanisms:

  1. Forking & Pruning: At specific layers, the model predicts a "keep score" and a "fork score" for every stream. Using a top-k mechanism, the network retains only the most valuable streams. Useless streams are pruned, while important ones are duplicated to form a "bubble" of latent computation.
  2. Score-Attenuated Updates: To force the model to learn which tokens actually matter, attention and residual updates are dampened (attenuated) based on these scores. A stream with a low score cannot heavily influence the rest of the model, incentivizing the network to assign high scores only to the most useful data.
  3. Output Averaging: At the end of the network, the parallel streams are merged back into a single prediction using a weighted average based on their cumulative scores.
  4. Position Encoding (RoPE) Adjustment: Because forked tokens represent the same original position in the text, the authors modified Rotary Position Embeddings to apply "partial rotations." This keeps forks spatially "closer together" in the model's internal representation.

Key Insights and Performance Gains

The models were trained and evaluated on a massive scale, utilizing datasets like FineWeb, peS2o, and OpenWebText for pretraining, alongside reasoning mixtures (MMLU, SmolTalk, GSM8K-aug) for mid-training.

Unsupervised Emergence and Entropy

The most striking finding is that the model learns to fork without explicit instruction. By simply minimizing language modeling loss, it discovers that duplicating certain streams improves next-word prediction. Furthermore, the model naturally allocates more "bubbles" to tokens with high posterior entropy (uncertainty). It effectively learns to spawn parallel processes when it is unsure of what comes next.

Efficiency and Scaling

Thoughtbubbles demonstrate profound efficiency gains. A 319M parameter Thoughtbubbles model achieved lower perplexity than a 772M parameter standard baseline, suggesting that "thinking harder" in parallel is often more valuable than simply scaling up parameter counts.

At the 1.9B parameter scale, a Thoughtbubbles model trained on just 20 billion tokens outperformed a standard Transformer trained on 40 billion tokens across almost every metric:

  • Perplexity: The 1.9B Thoughtbubbles model achieved a validation perplexity of 12.09, significantly beating the baseline's 15.03.
  • Reasoning: On the GSM8K math benchmark, the model achieved competitive results (32.10% pass@1) using half the token budget of the baseline.
  • Consistency: Performance gains held steady across all tested sizes (150M to 1.9B), proving the architecture's robustness.

Limitations and Future Directions

While Thoughtbubbles present a massive leap forward for parallel latent reasoning, the authors note a few limitations:

  • Autoregressive Shift: During inference, generating text one word at a time can cause a distribution shift because the sequence length is shorter than during training. While mitigated with a "dynamic budget" trick, seamless integration remains an ongoing goal.
  • Top-k Hardness: The discrete nature of choosing the "top-k" streams is difficult to optimize. The current implementation uses float32 and log-space tracking for stability, but smoother, differentiable selection methods could improve training.
  • Maximum Scale: Testing whether these "bubbles" provide the same massive edge at the frontier scale of 70B+ parameters remains to be seen.

Ultimately, Thoughtbubbles prove that models can natively learn adaptive, parallel computation during pretraining. By adding width rather than time, this approach paves the way for unified train-time and test-time scaling behaviors that are faster and more efficient than traditional Chain-of-Thought.

Summary updated

BibTeX
@inproceedings{liu2026thoughtbubbles,
  author = {Houjun Liu and Shikhar Murty and Christopher D Manning and Róbert Csordás},
  title = {{Thoughtbubbles: an Unsupervised Method for Parallel Thinking in Latent Space}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=Lc6I5LvHGw},
}
Figure