Chain-of-thought reasoning and scratchpads have emerged as critical tools for enhancing the computational capabilities of transformers. While theoretical results show that polynomial-length scratchpads can extend transformers' expressivity from $TC^0$ to $PTIME$, their required length remains poorly understood. Empirical evidence even suggests that transformers need scratchpads even for many problems in $TC^0$, such as Parity or Multiplication, challenging optimistic bounds derived from circuit complexity. In this work, we initiate the study of systematic lower bounds for the number of chain-of-thought steps across different algorithmic problems, in the hard-attention regime. We study a variety of algorithmic problems, and provide bounds that are tight up to logarithmic factors. Overall, these results contribute to emerging understanding of the power and limitations of chain-of-thought reasoning.
Compositional Reasoning with Transformers, RNNs, and Chain of Thought
Courant Institute of Mathematical Sciences(Courant数学科学研究所);New York University(纽约大学);Center for Data Science(数据科学中心);Center for Computational Mathematics(计算数学中心);Flatiron Institute(Flatiron研究所)
Chain-of-Thought Enhanced Shallow Transformers for Wireless Symbol Detection
Charles L. Brown Department of Electrical and Computer Engineering, University of Virginia, USA(弗吉尼亚大学电气与计算机工程系);Department of Computer Science, University of Virginia, USA(弗吉尼亚大学计算机科学系)
Tracing the Thought of a Grandmaster-level Chess-Playing Transformer
Shanghai Innovation Institute, Shanghai, China(上海创新研究院);School of Computer Science, Fudan University, Shanghai, China(复旦大学计算机科学技术学院);School of Mathematics and Statistics, Xi’an Jiaotong University(西安交通大学数学与统计学院)
Deep Thinking by Markov Chain of Continuous Thoughts
State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China(认知智能国家重点实验室,中国科学技术大学);Department of Statistics, University of Oxford(牛津大学统计系);Department of Data Science, City University of Hong Kong(香港城市大学数据科学系);Hong Kong Institute of AI for Science, City University of Hong Kong(香港人工智能科学研究院,香港城市大学)
Finite State Automata Inside Transformers with Chain-of-Thought: A Mechanistic Study on State Tracking
Key Laboratory of High Confidence Software Technology (PKU), MOE, China(高性能软件技术关键实验室(PKU),教育部,中国);School of Computer Science, Peking University, China(北京大学计算机学院,中国);The University of Hong Kong(香港大学);Shanghai AI Lab(上海人工智能实验室)
Analyzing the Power of Chain of Thought through Memorization Capabilities
Institute of AI for Industries(人工智能产业研究院);State Key Laboratory of Mathematical Sciences(数学科学国家重点实验室);Academy of Mathematics and Systems Science(数学与系统科学学院);University of Chinese Academy of Sciences(中国科学院大学);Key Laboratory of System Software of Chinese Academy of Sciences(中国科学院系统软件重点实验室)
Google Research(谷歌研究);TReNDS Center, Georgia State University(TReNDS中心,佐治亚州立大学);Maynooth University(迈诺特大学);Georgia State University/Georgia Institute of Technology/Emory University Center for Translational Research in Neuroimaging and Data Science (TReNDS Center)(佐治亚州立大学/佐治亚理工学院/埃默里大学神经影像与数据科学转化研究中心(TReNDS中心));Department of Computer Science, Maynooth University(迈诺特大学计算机科学系)
The Spectral Geometry of Thought: Phase Transitions, Instruction Reversal, Token-Level Dynamics, and Perfect Correctness Prediction in How Transformers Reason
National Center for Artificial Intelligence (CENIA Chile)(国家人工智能中心(智利CENIA));Millennium Institute for Foundational Research on Data (IMFD Chile)(数据基础研究千年研究所(智利IMFD));Institute for Mathematical and Computational Engineering, Pontifical Catholic University of Chile(数学与计算工程研究所,智利天主教大学);Institute of Fundamental Technological Research, Polish Academy of Sciences(基础技术研究所,波兰科学院)
Modern Hopfield Networks Require Chain-of-Thought to Solve $\mathsf{NC}^1$-Hard Problems
Wyoming Seminary(怀俄明神学院);University of New South Wales(新南威尔士大学);The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Simons Institute for the Theory of Computing, University of California, Berkeley(伯克利加州大学计算理论研究所)
A Length Adaptive Algorithm-Hardware Co-design of Transformer on FPGA Through Sparse Attention and Dynamic Pipelining
University of Connecticut(康涅狄格大学);Stevens Institute of Technology(史蒂文斯理工学院);Pacific Northwest National Laboratory(太平洋西北国家实验室);George Mason University(乔治梅森大学);Lehigh University(理海大学)