Zubnet AIसीखेंWiki › Test-Time Compute
मूल सिद्धांत

Test-Time Compute

Inference-Time Compute, Chain of Thought, Thinking Tokens
Answer quality improve करने के लिए inference के दौरान (जब model एक response generate कर रहा है) additional computation use करना। एक answer immediately generate करने के बजाय, model ज़्यादा देर “सोचता” है — reasoning tokens generate करता है, multiple approaches explore करता है, या अपना output verify करता है। Test time पर ज़्यादा compute बेहतर answers produce करता है, विशेषकर complex reasoning tasks के लिए।

यह क्यों matter करता है

Test-time compute latest scaling paradigm है। पहला era training compute scale करता था (bigger models, ज़्यादा data)। Current era inference compute भी scale करता है (per question ज़्यादा thinking)। o1 और extended thinking वाला Claude जैसे models दिखाते हैं कि एक model को 30 seconds reason करने देना अक्सर एक 2 seconds में answer करने वाले model से outperform करता है, भले ही fast model technically larger हो। ये economics बदलता है: quality एक function बन जाती है कि आप per query कितना spend करने को willing हैं।

Deep Dive

The simplest form of test-time compute is chain-of-thought: the model generates reasoning steps before the final answer. More sophisticated approaches include: tree-of-thought (exploring multiple reasoning paths and selecting the best), self-consistency (generating multiple answers and voting), and iterative refinement (the model critiques and revises its own output). Each approach uses more tokens (= more compute = more cost) but produces better results.

Extended Thinking

Models like o1 (OpenAI) and Claude with extended thinking generate internal reasoning tokens that the user doesn't see. These "thinking tokens" let the model decompose complex problems, check its work, consider edge cases, and revise its approach — all before producing the visible response. The cost is higher (you pay for thinking tokens) and latency is longer, but accuracy on math, coding, and reasoning tasks improves dramatically.

Scaling Laws for Inference

Research suggests that test-time compute follows its own scaling laws: doubling inference compute (thinking time) produces predictable improvements in accuracy, analogous to how doubling training compute improves pre-training loss. This means you can choose your quality-cost trade-off per query: simple questions get fast, cheap answers; complex questions get longer, more expensive reasoning. This dynamic allocation is more efficient than using the same compute for every query.

संबंधित अवधारणाएँ

← सभी Terms
← Tencent Text-to-Speech →