Large Language Models (LLMs) have demonstrated impressive abilities in symbol processing through in-context learning (ICL). This success flies in the face of decades of critiques asserting that artificial neural networks cannot master abstract symbol manipulation. We seek to understand the mechanisms that can enable robust symbol processing in transformer networks, illuminating both the unanticipated success, and the significant limitations, of transformers in symbol processing. Borrowing insights from symbolic AI and cognitive science on the power of Production System architectures, we develop a high-level Production System Language, PSL, that allows us to write symbolic programs to do complex, abstract symbol processing, and create compilers that precisely implement PSL programs in transformer networks which are, by construction, 100% mechanistically interpretable. The work is driven by study of a purely abstract (semantics-free) symbolic task that we develop, Templatic Generation (TGT). Although developed through study of TGT, PSL is, we demonstrate, highly general: it is Turing Universal. The new type of transformer architecture that we compile from PSL programs suggests a number of paths for enhancing transformers' capabilities at symbol processing. We note, however, that the work we report addresses computability, and not learnability, by transformer networks.
Note: The first section provides an extended synopsis of the entire paper.
Transformer-based Approaches for Legal Text Processing
Japan Advanced Institute of Science and Technology(日本先进科学技术学院);Institute of Statistical Mathematics(统计数学研究所);University of Engineering and Technology, VNU(越南国立大学工程技术学院);National Institute of Informatics(日本国立信息学研究所)
Plansformer: Generating Symbolic Plans using Transformers
Artificial Intelligence Institute, University of South Carolina(南卡罗来纳大学人工智能研究所);IBM Research(IBM研究院);University of Parma(帕尔马大学);University of Brescia(布雷西亚大学)
Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Survey
Univ. Lille(里尔大学);CNRS(法国国家科学研究中心);Inria(法国国家信息与自动化研究所);Centrale Lille(里尔中央理工学院);Univ. Bordeaux(波尔多大学);Bordeaux INP(波尔多综合理工学院);Singapore University of Technology and Design(新加坡科技设计大学)
MuPT: A Generative Symbolic Music Pretrained Transformer
M-A-P;HKUST(香港科技大学);University of Manchester(曼彻斯特大学);Shenzhen Institute of Advanced Technology, CAS(中国科学院深圳先进技术研究院);QMUL(伦敦玛丽女王大学);MBZUAI(穆罕默德·本·扎耶德人工智能大学);MILA(米拉人工智能研究所);Institute of Automation, CAS(中国科学院自动化研究所);Central Conservatory of Music(中央音乐学院);PKU(北京大学);SJTU(上海交通大学);MSRA(微软研究院);University of Waterloo(滑铁卢大学);Vector Institue(向量研究所)
Illusion or Algorithm? Investigating Memorization, Emergence, and Symbolic Processing in In-Context Learning
Technical University of Darmstadt(德累斯顿技术大学);UKP Lab(UKP实验室);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);The University of Bath(巴斯大学)
UniSymNet: A Unified Symbolic Network Guided by Transformer
School of Mathematical Sciences, East China Normal University(东华大学数学科学学院);Institute of Artificial Intelligence, Beihang University(北航人工智能研究院);Shanghai Zhangjiang Institute of Mathematics(上海张江数学研究所);Institute of Applied Physics and Computational Mathematics(应用物理与计算数学研究所);Academy for Advanced Interdisciplinary Studies, Northeast Normal University(东北师范大学先进跨学科研究学院)
Quasi-symbolic Semantic Geometry over Transformer-based Variational AutoEncoder
Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);Idiap Research Institute(Idiap研究机构);National Biomarker Centre, CRUK-MI, Univ. of Manchester(国家生物标记中心,CRUK-MI,曼彻斯特大学)
Limit Analysis for Symbolic Multi-step Reasoning Tasks with Information Propagation Rules Based on Transformers
Institute of Natural Sciences, MOE-LSC, Shanghai Jiao Tong University(上海交通大学理论科学研究院);School of Mathematical Sciences, Shanghai Jiao Tong University(上海交通大学数学科学学院);School of Mathematics and Statistics, Wuhan University(武汉大学数学学院)
针对 Transformers 多步推理机制不明的问题,提出信息传播规则并通过符号任务进行理论分析,给出 L 层注意力模型单次前向推理步数介于 O(3^{L-1}) 与 O(2^{L-1}) 之间的界限。
Incorporating Structure and Chord Constraints in Symbolic Transformer-based Melodic Harmonization
Department of Music Technology and Acoustics(音乐科技与声学系);Hellenic Mediterranean University(希腊地中海大学);Archimedes, Athena RC(阿基米德,雅典RC);Institute of Language and Speech Processing and Archimedes, Athena RC(语言与语音处理研究所及阿基米德,雅典RC);School of Music Studies(音乐研究学院)
NASP-T: A Fuzzy Neuro-Symbolic Transformer for Logic-Constrained Aviation Safety Report Classification
Faculty of Science and Technology (REALTEK)(科学与技术学院);Norwegian University of Life Sciences (NMBU)(挪威生命科学大学);Dresden International University (DIU)(德累斯顿国际大学)
Generative Pre-Trained Transformer for Symbolic Regression Base In-Context Reinforcement Learning
Institute of Semiconductors, Chinese Academy of Sciences(中国科学院半导体研究所);School of Electronic, Electrical and Communication Engineering, University of Chinese Academy of Sciences(中国科学院大学电子电气与通信工程学院)