paper-with-me

Papers

Measuring Systematic Generalization in Neural Proof Generation with Transformers

2020-09-30 · NeurIPS 2020 12 · Nicolas Gontier, Koustuv Sinha, Siva Reddy, Christopher Pal

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.

📄 PDF Abstract BibTeX arXiv:2009.14786

Code (2)

NicolasAG/SGinPG 공식 구현 pytorch
facebookresearch/clutrr

Tasks

Automated Theorem ProvingLogical ReasoningSystematic Generalization

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

Theoretical Analysis of Hierarchical Language Recognition and Generation by Transformers without Positional Encoding

2024-10-16 · Daichi Hayakawa, Issei Sato

In this study, we provide constructive proof that Transformers can recognize and generate hierarchical language efficiently with respect to model size, even without the need for a specific positional encoding. Specifical…

ORCHARD: A Benchmark For Measuring Systematic Generalization of Multi-Hierarchical Reasoning

2021-11-28 · Bill Tuck Weng Pung, Alvin Chan

The ability to reason with multiple hierarchical structures is an attractive and desirable property of sequential inductive biases for natural language processing. Do the state-of-the-art Transformers and LSTM architectu…

DiagnosticListOpsRelational ReasoningSystematic Generalization

Transformers for Learning on Noisy and Task-Level Manifolds: Approximation and Generalization Insights

2025-05-06 · Zhaiming Shen, Alex Havrilla, Rongjie Lai, Alexander Cloninger 외

Transformers serve as the foundational architecture for large language and video generation models, such as GPT, BERT, SORA and their successors. Empirical studies have demonstrated that real-world data and learning task…

Video Generation

Transformer Module Networks for Systematic Generalization in Visual Question Answering

2022-01-27 · Moyuru Yamada, Vanessa D'Amario, Kentaro Takemoto, Xavier Boix 외

Transformers achieve great performance on Visual Question Answering (VQA). However, their systematic generalization capabilities, i.e., handling novel combinations of known concepts, is unclear. We reveal that Neural Mod…

Question AnsweringSystematic GeneralizationVisual Question AnsweringVisual Question Answering (VQA)

An empirical study on the limitation of Transformers in program trace generation

2025-09-29 · Simeng Sun arxiv

We study Transformers on the task \emph{program trace generation} (PTG), where models produce step-by-step execution traces for synthetic programs. Unlike existing algorithmic problems, PTG externalizes reasoning through…