NewsCrawler.org

What objective function does reasoning solve?

What objective function does reasoning solve?
Image: news.hada.io

The article at alexwang.ai treats reasoning in a language model as a search for paths through token space: each sampled reasoning chain is one path from the prompt to an answer. Reinforcement learning raises the probability of paths that reach the correct answer, but it does not guarantee that a single reasoning chain converges to the correct answer. Longer reasoning is not better in itself: if an already trained model is forced to think longer, accuracy gains can stop or accuracy can drop.

The success probability is the sum of the probabilities of all paths that reach an accepted answer, so it can grow whether the probability is spread over many paths or concentrated on one. Best-of-k sampling[1] raises the chance of success as the number of samples grows, when the verifier is exact and the success probability is above 0, so the guaranteed scaling axis is the number of samples, not the length of one chain. Rejection-sampling fine-tuning[2] changes the model itself: it trains on successful paths that the model generated, and this cycle is repeated. The article also shows that one REINFORCE[3] step with a binary reward equals a fine-tuning step on successful self-generated paths, multiplied by the current success rate.

The article adds that a reward based only on the final answer does not ensure faithful reasoning, and an imperfect verifier or sampling procedure can lead to reward hacking[4]. Reinforcement learning spends compute on finding good paths and stores the result in the weights, so a single sample at inference time is more likely to succeed, though no individual sample is guaranteed to.

Read the original alexwang.aiDiscussion on GeekNews

Discussion

Commenters mostly compare reasoning to inner speech, which holds remembered words that can be turned into plans and actions. Others find the model's traces closer to babbling that repeats the question than to real thinking, and one calls chain-of-thought baked into weights ad hoc. Another commenter argues that better sampling alone will not help much, because the search over contexts is still missing.

Sources

Published: First seen: Читать по-русски

Open as a page