paper-with-me

홈 › Papers

I-BERT: Inductive Generalization of Transformer to Arbitrary Context Lengths

2020-06-18 · Hyoungwook Nam, Seung Byum Seo, Vikram Sharma Mailthody, Noor Michael, Lan Li

Self-attention has emerged as a vital component of state-of-the-art sequence-to-sequence models for natural language processing in recent years, brought to the forefront by pre-trained bi-directional Transformer models. Its effectiveness is partly due to its non-sequential architecture, which promotes scalability and parallelism but limits the model to inputs of a bounded length. In particular, such architectures perform poorly on algorithmic tasks, where the model must learn a procedure which generalizes to input lengths unseen in training, a capability we refer to as inductive generalization. Identifying the computational limits of existing self-attention mechanisms, we propose I-BERT, a bi-directional Transformer that replaces positional encodings with a recurrent layer. The model inductively generalizes on a variety of algorithmic tasks where state-of-the-art Transformer models fail to do so. We also test our method on masked language modeling tasks where training and validation sets are partitioned to verify inductive generalization. Out of three algorithmic and two natural language inductive generalization tasks, I-BERT achieves state-of-the-art results on four tasks.

📄 PDF Abstract BibTeX arXiv:2006.10220

Code (1)

hwnam831/ibert 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingMasked Language Modeling

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 설명 없음
Residual Connection 설명 없음
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…
Multi-Head Attention 설명 없음
Adam 설명 없음
ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…

Similar Papers 제목 키워드 기반

Updater-Extractor Architecture for Inductive World State Representations

2021-04-12 · Arseny Moskvichev, James A. Liu

Developing NLP models traditionally involves two stages - training and application. Retention of information acquired after training (at application time) is architecturally limited by the size of the model's context win…

LEMMA

Updater-Extractor Architecture for Inductive World State Representations

2021-09-29 · Arsenii Kirillovich Moskvichev, James A Liu

Developing sequential models traditionally involves two stages - training and application. Retention of information acquired after training (at application time) is architecturally limited by the size of the model's cont…

LEMMAPathfinder

exBERT: A Visual Analysis Tool to Explore Learned Representations in Transformers Models

2019-10-11 · Benjamin Hoover, Hendrik Strobelt, Sebastian Gehrmann

Large language models can produce powerful contextual representations that lead to improvements across many NLP tasks. Since these models are typically guided by a sequence of learned self attention mechanisms and may co…

Language ModelingLanguage Modelling

Towards Understanding the Relationship between In-context Learning and Compositional Generalization

2024-03-18 · Sungjun Han, Sebastian Padó

According to the principle of compositional generalization, the meaning of a complex expression can be understood as a function of the meaning of its parts and of how they are combined. This principle is crucial for huma…

Few-Shot LearningIn-Context LearningInductive Bias

ConTextING: Granting Document-Wise Contextual Embeddings to Graph Neural Networks for Inductive Text Classification

2022-10-01 · COLING 2022 10 · Yen-Hao Huang, Yi-Hsin Chen, Yi-Shin Chen

Graph neural networks (GNNs) have been recently applied in natural language processing. Various GNN research studies are proposed to learn node interactions within the local graph of each document that contains words, se…

text-classificationText ClassificationWord Embeddings