Inner Thinking Transformer: Leveraging Dynamic Depth Scaling to Foster Adaptive Internal Thinking

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Chen, Yilong, Shang, Junyuan, Zhang, Zhenyu, Xie, Yanxi, Sheng, Jiawei, Liu, Tingwen, Wang, Shuohuan, Sun, Yu, Wu, Hua, Wang, Haifeng
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913703007354880
author Chen, Yilong
Shang, Junyuan
Zhang, Zhenyu
Xie, Yanxi
Sheng, Jiawei
Liu, Tingwen
Wang, Shuohuan
Sun, Yu
Wu, Hua
Wang, Haifeng
author_facet Chen, Yilong
Shang, Junyuan
Zhang, Zhenyu
Xie, Yanxi
Sheng, Jiawei
Liu, Tingwen
Wang, Shuohuan
Sun, Yu
Wu, Hua
Wang, Haifeng
contents Large language models (LLMs) face inherent performance bottlenecks under parameter constraints, particularly in processing critical tokens that demand complex reasoning. Empirical analysis reveals challenging tokens induce abrupt gradient spikes across layers, exposing architectural stress points in standard Transformers. Building on this insight, we propose Inner Thinking Transformer (ITT), which reimagines layer computations as implicit thinking steps. ITT dynamically allocates computation through Adaptive Token Routing, iteratively refines representations via Residual Thinking Connections, and distinguishes reasoning phases using Thinking Step Encoding. ITT enables deeper processing of critical tokens without parameter expansion. Evaluations across 162M-466M parameter models show ITT achieves 96.5\% performance of a 466M Transformer using only 162M parameters, reduces training data by 43.2\%, and outperforms Transformer/Loop variants in 11 benchmarks. By enabling elastic computation allocation during inference, ITT balances performance and efficiency through architecture-aware optimization of implicit thinking pathways.
format Preprint
id arxiv_https___arxiv_org_abs_2502_13842
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Inner Thinking Transformer: Leveraging Dynamic Depth Scaling to Foster Adaptive Internal Thinking
Chen, Yilong
Shang, Junyuan
Zhang, Zhenyu
Xie, Yanxi
Sheng, Jiawei
Liu, Tingwen
Wang, Shuohuan
Sun, Yu
Wu, Hua
Wang, Haifeng
Computation and Language
Large language models (LLMs) face inherent performance bottlenecks under parameter constraints, particularly in processing critical tokens that demand complex reasoning. Empirical analysis reveals challenging tokens induce abrupt gradient spikes across layers, exposing architectural stress points in standard Transformers. Building on this insight, we propose Inner Thinking Transformer (ITT), which reimagines layer computations as implicit thinking steps. ITT dynamically allocates computation through Adaptive Token Routing, iteratively refines representations via Residual Thinking Connections, and distinguishes reasoning phases using Thinking Step Encoding. ITT enables deeper processing of critical tokens without parameter expansion. Evaluations across 162M-466M parameter models show ITT achieves 96.5\% performance of a 466M Transformer using only 162M parameters, reduces training data by 43.2\%, and outperforms Transformer/Loop variants in 11 benchmarks. By enabling elastic computation allocation during inference, ITT balances performance and efficiency through architecture-aware optimization of implicit thinking pathways.
title Inner Thinking Transformer: Leveraging Dynamic Depth Scaling to Foster Adaptive Internal Thinking
topic Computation and Language
url https://arxiv.org/abs/2502.13842