# Ciągłe myśli

EN: **Continuous chain of thought** · id `coconut` · aliases: Coconut, continuous thought, chain of continuous thought

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Sieci i modele generatywne](https://aiatlasgraph.com/t/neural.md) › [Rozumowanie w modelach językowych](https://aiatlasgraph.com/t/reasoningmodels.md) › [Pętle głębokości i myśli ukryte](https://aiatlasgraph.com/t/latentloops.md) › Ciągłe myśli

## Description

- PL: Łańcuch rozumowania, w którym stan ukryty wraca jako embedding, bez dekodowania na token.
- EN: A reasoning chain in which the hidden state returns as an embedding, without decoding to a token.

## In one sentence

- PL: Model przekazuje sobie ukryty stan dalej, zamiast zamieniać każdy krok na słowo.
- EN: A model passes a hidden state onward, instead of turning each step into a word.

## Problem it solves

- PL: Słowa pośrednie zajmują miejsce i zmuszają model do wyboru jednej ścieżki za wcześnie.
- EN: Intermediate words take space and force the model to pick one path too early.

## What it does

- PL: Ostatni stan ukryty wraca jako następne wejście, więc kilka możliwości może zostać w jednej myśli.
- EN: The last hidden state returns as the next input, so several options can stay in one thought.

## Everyday example

- PL: Przy planie z rozgałęzieniami model kilka razy podaje sobie stan liczbowy, a słowa wypisuje dopiero na końcu.
- EN: On a branching plan the model passes a numeric state to itself several times, and writes words only at the end.

## This concerns you if you…

- PL: plan ma kilka możliwych ciągów
- PL: długi zapis kroków jest zbędny
- PL: chcesz krótszą odpowiedź
- EN: a plan has several possible paths
- EN: a long step trace is unnecessary
- EN: want a shorter answer

## Keywords

Coconut · continuous thought · latent chain · last hidden state · breadth-first search · COLM 2025 · latent embedding feedback

## How it works

- PL: Ostatni stan ukryty jest następnym wejściem w przestrzeni ciągłej. Autorzy pokazują, że taki stan może kodować kilka alternatywnych kroków, przypominając przeszukiwanie wszerz bardziej niż jedną ścieżkę słowną. Metoda wymaga treningu tego trybu.
- EN: The last hidden state is the next input in continuous space. The authors show that such a state can encode several alternative steps, resembling breadth-first search more than a single verbal path. The method requires training this mode.

## Limits

- PL: Trudniej odczytać powód niż przy słowach. Zysk dotyczy zadań z przeszukiwaniem, nie każdego pytania. Trening i liczba ciągłych kroków są dodatkowym kosztem.
- EN: The reason is harder to read than with words. Gains concern search-heavy tasks, not every question. Training and the number of continuous steps are extra cost.

## Key terms

- PL: **myśl ciągła**: Ostatni stan ukryty podany z powrotem jako wejście.
- PL: **ścieżka słowna**: Rozumowanie zapisane kolejnymi tokenami tekstu.
- EN: **continuous thought**: The last hidden state fed back as the next input.
- EN: **verbal path**: Reasoning written as successive text tokens.

## Know first

- [Łańcuch myśli (chain-of-thought) (Chain-of-thought prompting)](https://aiatlasgraph.com/t/cot.md)

## Related topics

Untyped, symmetric "see also" links.

- [Łańcuch myśli (chain-of-thought) (Chain-of-thought prompting)](https://aiatlasgraph.com/t/cot.md)

## Sources

- [Training Large Language Models to Reason in a Continuous Latent Space](<https://arxiv.org/abs/2412.06769>) `hao-coconut-2024` · by Shibo Hao, Sainbayar Sukhbaatar, DiJia Su, Xian Li, Zhiting Hu, Jason Weston, Yuandong Tian

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/coconut · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
