Skip to main content
QUICK REVIEW

[논문 리뷰] On the "Induction Bias" in Sequence Models

M. Reza Ebrahimi, Michaël Defferrard|arXiv (Cornell University)|2026. 02. 20.
Topic ModelingComputer Science인용 수 0
한 줄 요약

논문은 트랜스포머가 상태-추적(task)에서 분포 내 데이터가 훨씬 더 필요하고, 길이 간 공유가 거의 없는 길이-특정 솔루션을 학습하는 경향이 있으며, 반면 순환 모델은 중간 감독하에서 특히 길이들 간의 전가 학습(amortized learning)을 가능하게 한다고 제시합니다.

ABSTRACT

Despite the remarkable practical success of transformer-based language models, recent work has raised concerns about their ability to perform state tracking. In particular, a growing body of literature has shown this limitation primarily through failures in out-of-distribution (OOD) generalization, such as length extrapolation. In this work, we shift attention to the in-distribution implications of these limitations. We conduct a large-scale experimental study of the data efficiency of transformers and recurrent neural networks (RNNs) across multiple supervision regimes. We find that the amount of training data required by transformers grows much more rapidly with state-space size and sequence length than for RNNs. Furthermore, we analyze the extent to which learned state-tracking mechanisms are shared across different sequence lengths. We show that transformers exhibit negligible or even detrimental weight sharing across lengths, indicating that they learn length-specific solutions in isolation. In contrast, recurrent models exhibit effective amortized learning by sharing weights across lengths, allowing data from one sequence length to improve performance on others. Together, these results demonstrate that state tracking remains a fundamental challenge for transformers, even when training and evaluation distributions match.

연구 동기 및 목표

  • 트랜스포머와 순환 모델의 상태-추적 태스크에서 분포 내 데이터 효율성을 정량화합니다.
  • 시퀀스 길이와 상태 공간 크기가 서로 다른 감독 형식에서 데이터 요건에 미치는 영향을 조사합니다.
  • 다른 시퀀스 길이에 대해 학습된 상태-추적 메커니즘이 공유되는지 여부를 조사합니다.
  • 각 모델 계열에 대해 감독 형식(결과 Outcome, Chain-of-Thought (CoT), Aligned CoT) 이 데이터 효율성에 미치는 영향을 평가합니다.
  • 유도 편향(induction bias)을 길이 일반화 능력과 길이 간 전이와의 관련성으로 연결합니다.

제안 방법

  • 간단한 상태-추적 문제로 모듈식 덧셈 및 순열 구성 task를 사용합니다.
  • 데이터 효율성을 다양한 레짐에서 연구하기 위해 시퀀스 길이 L과 상태 공간 크기 m를 변화시킵니다.
  • LSTM 및 Dense-SSM과 비교할 6-layer GPT-2 스타일 Transformer를 포함합니다.
  • 세 가지 태스크 형식: Outcome Supervision, Chain-of-Thought (CoT), 그리고 Aligned Chain-of-Thought (ACoT)를 평가합니다.
  • N*를 하이퍼파라미터 그리드에서 수렴을 보장하는 최소 학습 세트 크기로 정의하고, 이분 탐색으로 추정합니다.
  • 공유 인자 κ를 통해 길이 간 공유를 분석하고, 연결 학습(joint)과 길이별 학습(per-length)을 비교합니다.
Figure 1 : Example of the three task formats for the addition modulo $5$ task applied to the sequence $2\,1\,0\,3\,4$ .
Figure 1 : Example of the three task formats for the addition modulo $5$ task applied to the sequence $2\,1\,0\,3\,4$ .

실험 결과

연구 질문

  • RQ1트랜스포머와 순환 모델이 상태-추적 태스크에서 분포 내 데이터 효율성에서 어떻게 다른가요?
  • RQ2트랜스포머와 RNN이 서로 다른 시퀀스 길이에서 학습한 메커니즘을 공유하나요? 이것이 길이 일반화와 어떤 관계가 있나요?
  • RQ3감독 형식(Outcome, CoT, ACoT)이 각 모델 클래스의 데이터 효율성 및 길이 간 전달에 어떤 영향을 미치나요?
  • RQ4다양한 길이에서 학습할 때 구성적(interference) 또는 파괴적(interference) 간섭의 증거가 있으며, 이것이 길이 일반화와 어떻게 상관되나요?

주요 결과

  • Transformers는 비정렬(aligned가 아닌) 감독(CoT)을 선호하고, 길이 간 공유가 거의 없는 길이-특정 솔루션을 보이는 경향이 있습니다(κ가 약 1 또는 그 이하, 때로는 1보다 훨씬 작음).
  • Recurrent models (LSTM, Dense-SSM)은 Outcome 및 Aligned CoT 형식에서 길이 간 공유가 강하게 나타나며(κ >> 1), 길이에 걸친 학습을 가능하게 합니다.
  • Outcome 감독 하에서 재현재(순환) 모델은 더 큰 상태 공간과 더 긴 시퀀스에서 트랜스포머보다 더 적은 샘플로 수렴을 달성합니다.
  • 중간 감독(CoT/ACoT)에서 더 긴 시퀀스가 순환 모델의 데이터 효율성을 향상시키는 반면, 트랜스포머는 추가 감독의 이점을 활용하지 못합니다.
  • 트랜스포머는 CoT에서 매우 낮은 또는 음의 길이 간 공유를 보이며, 길이가 결합된 모델을 학습할 때 파괴적 간섭을 시사합니다.
  • 높은 공유 인자와 더 나은 길이 일반화 간의 상관관계가 관찰됩니다.
Figure 2 : Minimal dataset size for the uniform length distribution with $m=2$ (parity). RNNs favor ACoT, whereas transformers favor CoT.
Figure 2 : Minimal dataset size for the uniform length distribution with $m=2$ (parity). RNNs favor ACoT, whereas transformers favor CoT.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.