We are interested in understanding how well Transformer language models (TLMs) can perform reasoning tasks when trained on knowledge encoded in the form of natural language. We investigate their systematic generalization abilities on a logical reasoning task in natural language, which involves reasoning over relationships between entities grounded in first-order logical proofs. Specifically, we perform soft theorem-proving by leveraging TLMs to generate natural language proofs. We test the generated proofs for logical consistency, along with the accuracy of the final inference. We observe length-generalization issues when evaluated on longer-than-trained sequences. However, we observe TLMs improve their generalization performance after being exposed to longer, exhaustive proofs. In addition, we discover that TLMs are able to generalize better using backward-chaining proofs compared to their forward-chaining counterparts, while they find it easier to generate forward chaining proofs. We observe that models that are not trained to generate proofs are better at generalizing to problems based on longer proofs. This suggests that Transformers have efficient internal reasoning strategies that are harder to interpret. These results highlight the systematic generalization behavior of TLMs in the context of logical reasoning, and we believe this work motivates deeper inspection of their underlying reasoning strategies.
University of California, San Diego(加利福尼亚大学圣迭戈分校);McGill University(麦吉尔大学);Quebec Artificial Intelligence Institute (Mila)(魁北克人工智能研究所);Element AI, a ServiceNow company(Element AI,ServiceNow旗下公司)
From Alexnet to Transformers: Measuring the Non-linearity of Deep Neural Networks with Affine Optimal Transport
LTCI, Télécom Paris, Institut Polytechnique de Paris(LTCI,巴黎电信学院,巴黎理工学院);Technical University of Munich(慕尼黑技术大学);Helmholtz Munich(海德堡-慕尼黑研究所);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心(MCML));Noah’s Ark Lab, Paris(诺亚实验室,巴黎);Aalto University, Finland, Dept. of Electrical Engineering and Automation(阿莱克大学,芬兰,电气工程与自动化系);Nomagic(Nomagic公司);Aalto University, Finland, Department of Computer Science(阿莱克大学,芬兰,计算机科学系);University of Manchester, UK, Department of Computer Science(曼彻斯特大学,英国,计算机科学系)
Transformer Module Networks for Systematic Generalization in Visual Question Answering
Fujitsu Limited(富士通有限公司);Fujitsu Research of America, Inc.(美国富士通研究公司);Massachusetts Institute of Technology(麻省理工学院);Center for Brains, Minds and Machines(大脑、心智与机器中心)
The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalization
The Swiss AI Lab, IDSIA(瑞士人工智能实验室(IDSIA));University of Lugano (USI)(卢加诺大学);SUPSI(瑞士意大利语区高等专业学院);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学)
How to Mask in Error Correction Code Transformer: Systematic and Double Masking
Seoul National University(首尔大学);University of Ulsan(蔚山大学);Sungkyunkwan University(成均馆大学);Pohang University of Science and Technology (POSTECH)(浦项科技大学(POSTECH))
A systematic literature Review for Transformer-based Software Vulnerability detection
Department of Computer Science, Cybersecurity and Computing Systems Research Group, University of Hertfordshire, Hertfordshire(计算机科学系、网络安全与计算系统研究组、赫特福德郡大学、赫特福德郡);Department of Software Engineering, Obafemi Awolowo University Ile-Ife(软件工程系、奥法米-阿沃洛沃大学伊费)
A Systematic Review and Replicability Study of BERT4Rec for Sequential Recommendation
University of Glasgow(格拉斯哥大学)
BERT4Rec是基于Transformer体系结构的一种有效的顺序推荐模型。在最初的出版物中,BERT4Rec声称优于其他可用的顺序推荐方法(例如SASRec),现在它经常被用作顺序推荐的最新基线。然而,并不是所有后续的出版物都证实了这一结果,并提出了其他模型,这些模型在有效性上优于BERT4Rec。在本文中,我们系统地回顾了将BERT4Rec与另一种流行的基于transformer的模型SASRec进行比较的所有出版物,并表明BERT4Rec的结果在这些出版物中并不一致。为了理解这种不一致背后的原因,我们分析了BERT4Rec的可用实现,并表明当使用其默认配置参数时,我们无法重现原始BERT4Rec发布的结果。但是,如果与默认配置相比,训练时间更长(高达30倍),我们可以使用原始代码复制报告的结果。我们还提出了基于Hugging Face Transformers库的BERT4Rec实现,我们证明了它在4个数据集中的3个数据集上复制了最初报告的结果,同时收敛所需的训练时间减少了95%。总的来说,从我们的系统回顾和详细的实验中,我们得出结论,BERT4Rec确实表现出了最先进的顺序推荐效果,但只有在经过足够长时间的训练时才能做到。此外,我们表明,我们的实现可以进一步受益于适应其他Transformer架构,可在拥抱面Transformers库(例如,使用分离的注意力,由DeBER…
HOFAR: High-Order Augmentation of Flow Autoregressive Transformers
The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Tsinghua University(清华大学);The Simons Institute for the Theory of Computing at UC Berkeley(加州大学伯克利分校西蒙斯理论计算研究所);Anhui University(安徽大学)
Measuring the Measures: Discriminative Capacity of Representational Similarity Metrics Across Model Families
Department of Computer Science and Engineering, UC San Diego(计算机科学与工程系,UC San Diego);Department of Electrical and Computer Engineering, UC San Diego(电气与计算机工程系,UC San Diego);Department of Cognitive Science, UC San Diego(认知科学系,UC San Diego)
A Unified SPD Token Transformer Framework for EEG Classification: Systematic Comparison of Geometric Embeddings
Independent Researcher(独立研究者);Department of Electrophysics, National Yang Ming Chiao Tung University, Hsinchu, Taiwan(国家阳明交通大学电子物理系);Department of Mathematics, Boise State University, Boise, ID, USA(数学系,博伊州立大学)