paper-with-me

홈 › Papers

Data Factors for Better Compositional Generalization

2023-11-08 · Xiang Zhou, Yichen Jiang, Mohit Bansal

Recent diagnostic datasets on compositional generalization, such as SCAN (Lake and Baroni, 2018) and COGS (Kim and Linzen, 2020), expose severe problems in models trained from scratch on these datasets. However, in contrast to this poor performance, state-of-the-art models trained on larger and more general datasets show better generalization ability. In this work, to reconcile this inconsistency, we conduct an empirical analysis by training Transformer models on a variety of training sets with different data factors, including dataset scale, pattern complexity, example difficulty, etc. First, we show that increased dataset complexity can lead to better generalization behavior on multiple different generalization challenges. To further understand this improvement, we show two axes of the benefit from more complex datasets: they provide more diverse examples so compositional understanding becomes more effective, and they also prevent ungeneralizable memorization of the examples due to reduced example repetition frequency. Finally, we explore how training examples of different difficulty levels influence generalization differently. On synthetic datasets, simple examples invoke stronger compositionality than hard examples do. On larger-scale real language datasets, while hard examples become more important potentially to ensure decent data coverage, a balanced mixture of simple and hard examples manages to induce the strongest generalizability. The code and data for this work are available at https://github.com/owenzx/data4comp

📄 PDF Abstract BibTeX arXiv:2311.04420

Code (1)

owenzx/data4comp 공식 구현 pytorch

Tasks

DiagnosticMemorization

Methods 이 논문이 사용한 방법론

Attention 설명 없음
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…
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…
Residual Connection 설명 없음
Multi-Head Attention 설명 없음
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…
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…

Similar Papers 제목 키워드 기반

Unobserved Local Structures Make Compositional Generalization Hard

2022-01-15 · Ben Bogin, Shivanshu Gupta, Jonathan Berant

While recent work has convincingly showed that sequence-to-sequence models struggle to generalize to new compositions (termed compositional generalization), little is known on what makes compositional generalization hard…

Semantic Parsing

How Do In-Context Examples Affect Compositional Generalization?

2023-05-08 · Shengnan An, Zeqi Lin, Qiang Fu, Bei Chen 외

Compositional generalization--understanding unseen combinations of seen primitives--is an essential reasoning capability in human intelligence. The AI community mainly studies this capability by fine-tuning neural networ…

In-Context Learning

Improving Compositional Generalization Using Iterated Learning and Simplicial Embeddings

2023-10-28 · NeurIPS 2023 11

Compositional generalization, the ability of an agent to generalize to unseen combinations of latent factors, is easy for humans but hard for deep neural networks. A line of research in cognitive science has hypothesized…

Efficient Data Collection for Robotic Manipulation via Compositional Generalization

2024-03-08 · Jensen Gao, Annie Xie, Ted Xiao, Chelsea Finn 외

Data collection has become an increasingly important problem in robotic manipulation, yet there still lacks much understanding of how to effectively collect data to facilitate broad generalization. Recent works on large-…

Imitation Learning

Emergence of Compositional Language with Deep Generational Transmission

2019-04-19 · ICLR 2020 1 · Michael Cogswell, Jiasen Lu, Stefan Lee, Devi Parikh 외

Recent work has studied the emergence of language among deep reinforcement learning agents that must collaborate to solve a task. Of particular interest are the factors that cause language to be compositional -- i.e., ex…

Deep Reinforcement LearningReinforcement LearningReinforcement Learning (RL)