paper-with-me

Papers

Thinking Deeper, Not Longer: Memory-Efficient Test-Time Reasoning with Depth-Recurrent Transformers for Compositional Generalization

2026-03-23 · Hung-Hsuan Chen arxiv

Standard Transformers have a fixed computational depth, limiting their ability to generalize to tasks that require variable-depth reasoning. The usual remedy, Chain-of-Thought (CoT), spends tokens to reason, inflating the key--value cache and making latency grow with the step count, so memory becomes the limiting cost when reasoning is served over large query batches. We study a depth-recurrent Transformer that decouples computational depth from parameter count by iterating a shared-weight block, so that each added reasoning step costs flat memory and linear latency, with no token generation. Three ingredients keep the recurrence stable for 20+ thinking steps: a silent thinking objective that supervises only the final output, LayerScale initialization, and an identity-biased gate that opens a gradient highway across steps. We characterize it on three compositional domains with decreasing structural bias: graph reachability (adjacency masking), nested boolean logic (relative positioning), and unstructured relational text (no positional cue). We find a \emph{computational frontier}: accuracy climbs once the thinking-step count meets the task's complexity, reaching near-perfect performance on the two structured tasks and a lower plateau on unstructured text. How it climbs depends on the structural bias---abruptly from chance on the graph task, gradually on the other two. Depth recurrence extrapolates beyond the training range: it succeeds on the graph task where fixed-depth models barely extrapolate, and on the two sequence tasks comes within two points of fixed-depth Transformers that use $4$--$6.4\times$ more parameters. On the graph task, whose adjacency mask makes propagation depth verifiable, intermediate per-step supervision---a standard recipe for deep iterative models---consistently \emph{harms} this extrapolation. We release the code for reproducibility.

📄 PDF Abstract BibTeX arXiv:2603.21676

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Thinking Deeper With Recurrent Networks: Logical Extrapolation Without Overthinking

2021-09-29 · Arpit Bansal, Avi Schwarzschild, Eitan Borgnia, Zeyad Emam 외

Classical machine learning systems perform best when they are trained and tested on the same distribution, and they lack a mechanism to increase model power after training is complete. In contrast, recent work has observ…

PENCIL: Long Thoughts with Short Memory

2025-03-18 · Chenxiao Yang, Nathan Srebro, David Mcallester, Zhiyuan Li

While recent works (e.g. o1, DeepSeek R1) have demonstrated great promise of using long Chain-of-Thought (CoT) to improve reasoning capabilities of language models, scaling it up during test-time is challenging due to in…

Towards Thinking-Optimal Scaling of Test-Time Compute for LLM Reasoning

2025-02-25 · Wenkai Yang, Shuming Ma, Yankai Lin, Furu Wei

Recent studies have shown that making a model spend more time thinking through longer Chain of Thoughts (CoTs) enables it to gain significant improvements in complex reasoning tasks. While current researches continue to …

MathMathematical Reasoning

When More Thinking Hurts: Overthinking in LLM Test-Time Compute Scaling

2026-04-12 · Shu Zhou, Rui Ling, Junan Chen, Xin Wang 외 arxiv

Scaling test-time compute through extended chains of thought has become a dominant paradigm for improving large language model reasoning. However, existing research implicitly assumes that longer thinking always yields b…

Prefix Sliding for efficient test-time scaling

2026-08-26 · Niklas Muennighoff, Zhengyang Wang, Zeyi Chen, Weijia Shi 외 arxiv

Test-time scaling uses extra test-time compute to improve performance, such as letting language models reason longer when solving a problem. As models keep the entire reasoning trace in memory via full attention, hard ta…

Reinforcement Learning