Research map / Large language models / Language, safety and interpretability
Improving Formal Reasoning of Transformer with State Stack
Kechi Zhang, Ge Li, Jia Li, Huangzhao Zhang, Yihong Dong, Jia Li, Jingjing Xu, Zhi Jin
Peking University · Tsinghua University
Read the paperPlace an idea next to itCheck your own paper ↗
Proposes augmenting the Transformer with a state stack to improve its ability to recognize regular languages and perform formal reasoning.
AI-extracted summary. Written by AI from the paper's abstract only. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Problem
Transformers are intrinsically unable to effectively recognize regular expressions and perform formal reasoning, a limitation of the architecture.
Approach
Introduces a state stack mechanism into the Transformer architecture to strengthen formal reasoning and regular-language recognition; the abstract does not give further detail on the mechanism.
Open problems in reasoning mechanisms and failure modes
Do mechanistic findings about reasoning and language in LLMs hold for larger models, other languages and other architectures?
- Only one model family or one architecture is tested. · 19 papers state it
- Models stop at about 1B to 8B parameters, so larger ones are untested. · 18 papers state it
- Effects are observed but the mechanism behind them is not explained. · 18 papers state it
Closest papers by meaning
- Characterizing the Expressivity of Fixed-Precision Transformer Language Models (NeurIPS 2025 · similarity 0.89)
- Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns (ICLR 2024 · similarity 0.88)
- Masked Hard-Attention Transformers Recognize Exactly the Star-Free Languages (NeurIPS 2024 · similarity 0.88)
- The Expressive Power of Transformers with Chain of Thought (ICLR 2024 · similarity 0.87)
- Do Efficient Transformers Really Save Computation? (ICML 2024 · similarity 0.87)
- Trainable Transformer in Transformer (ICML 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.