paper-with-me

Papers

Iterative Decoding for Compositional Generalization in Transformers

2021-12-17 · ACL ARR December 2022 12 · Anonymous

Deep learning models generalize well to in-distribution data but struggle to generalize compositionally, i.e., to combine a set of learned primitives to solve more complex tasks. In sequence-to-sequence (seq2seq) learning, transformers are often unable to predict correct outputs for longer examples than those seen at training. This paper introduces iterative decoding, an alternative to seq2seq that (i) improves transformer compositional generalization in the PCFG and Cartesian product datasets and (ii) evidences that, in these datasets, seq2seq transformers do not learn iterations that are not unrolled. In iterative decoding, training examples are broken down into a sequence of intermediate steps that the transformer learns iteratively. At inference time, the intermediate outputs are fed back to the transformer as intermediate inputs until an end-of-iteration token is predicted. We conclude by illustrating some limitations of iterative decoding in the CFQ dataset.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Tanh Activation 설명 없음
Sigmoid Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
Seq2Seq Seq2Seq, or Sequence To Sequence, is a model used in sequence prediction tasks, such as language modelling and machine translation. The idea is to use one…

Similar Papers 제목 키워드 기반

Iterative Decoding for Compositional Generalization in Transformers

2021-10-08 · Luana Ruiz, Joshua Ainslie, Santiago Ontañón

Deep learning models generalize well to in-distribution data but struggle to generalize compositionally, i.e., to combine a set of learned primitives to solve more complex tasks. In sequence-to-sequence (seq2seq) learnin…

In-Context Compositional Learning via Sparse Coding Transformer

2025-11-25 · Wei Chen, Jingxi Yu, Zichen Miao, Qiang Qiu arxiv

Transformer architectures have achieved remarkable success across language, vision, and multimodal tasks, and there is growing demand for them to address in-context compositional learning tasks. In these tasks, models so…

Loop, Think, & Generalize: Implicit Reasoning in Recurrent-Depth Transformers

2026-04-09 · Harsh Kohli, Srinivasan Parthasarathy, Huan Sun, Yuekun Yao arxiv

We study implicit reasoning, i.e. the ability to combine knowledge or rules within a single forward pass. While transformer-based large language models store substantial factual knowledge and rules, they often fail to co…

Hierarchical Poset Decoding for Compositional Generalization in Language

2020-10-15 · NeurIPS 2020 12 · Yinuo Guo, Zeqi Lin, Jian-Guang Lou, Dongmei Zhang

We formalize human language understanding as a structured prediction task where the output is a partially ordered set (poset). Current encoder-decoder architectures do not take the poset structure of semantics into accou…

DecoderQuestion AnsweringSemantic ParsingStructured Prediction

Revisiting Iterative Back-Translation from the Perspective of Compositional Generalization

2020-12-08 · Yinuo Guo, Hualei Zhu, Zeqi Lin, Bei Chen 외

Human intelligence exhibits compositional generalization (i.e., the capacity to understand and produce unseen combinations of seen components), but current neural seq2seq models lack such ability. In this paper, we revis…

Translation