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

📅 2025-02-19
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Large language models (LLMs) struggle to perform deep reasoning over critical tokens under parameter constraints, and standard Transformers often suffer from gradient instability during complex reasoning, exposing architectural limitations in depth scalability. Method: We propose an implicit thinking modeling framework that decouples Transformer layer computation into dynamically expandable implicit “thinking steps.” This is achieved via adaptive token routing, residual thinking connections, and step-aware encoding—enabling elastic, depth-varying computation without increasing model parameters. The approach optimizes inference paths in an architecture-aware manner, requiring no additional parameters. Contribution/Results: Evaluated on 162M–466M models, our method achieves 96.5% of the performance of a 466M baseline while reducing training data by 43.2%. It outperforms standard Transformers and Loop-based variants across 11 benchmarks, significantly enhancing both reasoning efficiency and representational capacity of parameter-constrained models.

Technology Category

Application Category

📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

Improve LLM performance under parameter constraints
Address gradient spikes in Transformer architectures
Enhance critical token processing efficiency
Innovation

Methods, ideas, or system contributions that make the work stand out.

Dynamic Depth Scaling
Adaptive Token Routing
Residual Thinking Connections
🔎 Similar Papers
No similar papers found.
Y
Yilong Chen
Institute of Information Engineering, Chinese Academy of Sciences; School of Cyber Security, University of Chinese Academy of Sciences
Junyuan Shang
Junyuan Shang
Baidu NLP
Deep LearningNatural Language ProcessingHealthcare
Z
Zhenyu Zhang
Baidu Inc.
Y
Yanxi Xie
School of Artificial Intelligence, Beijing Normal University
Jiawei Sheng
Jiawei Sheng
Institute of Information Engineering, Chinese Academy of Sciences
Knowledge GraphRecommendationNatural Language Processing
Tingwen Liu
Tingwen Liu
Institute of Information Engineering, Chinese Academy of Sciences
Content SecurityNatural Language ProcessingKnowledge Graph
Shuohuan Wang
Shuohuan Wang
Baidu
Natural Language ProcessingDeep Learning
Y
Yu Sun
Baidu Inc.
H
Hua Wu
Baidu Inc.
H
Haifeng Wang
Baidu Inc.