논문 해설
Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models
pre-training 데이터 통계가 언어 모델의 엔티티 비교 학습 단계를 형성한다
- 연구 문제 pre-training 데이터의 빈도 분포와 합성 과제 데이터가 엔티티 비교 과제에서 휴리스틱이 나타나는 순서를 어떻게 정하는지가 어려운 질문입니다.
- 연구 방법 국가 면적 등 엔티티 비교 과제를 소형 모델과 OLMo-2 체크포인트에서 빈도, 위치, 값 특징의 회귀 분석으로 추적합니다.
- 주요 결과 소형 모델에서 빈도, 위치, 정답 알고리즘의 세 단계가 나타났고 OLMo-2 13B와 32B에서도 같은 순서가 관찰되었습니다.
연구 질문과 배경
이 논문은 pre-training 데이터의 통계적 성질이 언어 모델이 학습하는 휴리스틱의 출현 순서를 어떻게 결정하는지 묻습니다. 사례로 쓰는 과제는 두 엔티티 중 어느 쪽이 특정 수치 속성에서 더 큰지 고르는 엔티티 비교입니다. 정답을 얻으려면 각 엔티티의 실제 값을 검색해 비교해야 하지만, 모델은 프롬프트에서 먼저 나온 엔티티를 고르거나 학습 중 더 자주 본 엔티티를 고르는 것만으로도 맞힐 수 있습니다. 그래서 어떤 전략이 언제 나타나고 사라지는지 추적하는 것이 이 연구의 출발점입니다.
저자들은 이 질문을 두 부분으로 나눕니다. 첫째는 전략이 학습 과정에서 언제 나타나고 사라지는지이고, 둘째는 pre-training 데이터의 엔티티 빈도 분포가 그 역학을 어떻게 바꾸는지입니다. 이를 위해 소형 제어 실험과 공개된 OLMo-2 체크포인트 분석을 함께 사용합니다.
과제 정의와 측정 방법
과제는 (d, e1, e2) 세 값으로 정의됩니다. 여기서 d는 면적처럼 수치 속성을 나타내는 도메인이고 e1, e2는 엔티티입니다. 정답 알고리즘은 두 엔티티 값 중 큰 쪽을 고르는 최댓값 연산으로 정의됩니다. 연구는 국가, 미국 주, 대학, 영화, 인물의 아홉 가지 비교 과제를 다루며 각 과제는 큰 값과 작은 값 두 방향을 갖습니다.
평가에서는 두 엔티티가 달라지는 첫 생성 토큰의 교사 강제 로짓으로 모델의 선택을 얻고, 체크포인트마다 로지스틱 회귀로 빈도, 위치, 값 특징이 그 선택을 얼마나 설명하는지 측정합니다. 중요도는 특징 하나를 뺐을 때 정확도가 떨어지는 drop-one accuracy로 나타냅니다.

Table 2 : Features evaluated for modeling the LM behavior. Examples are illustrative values for the country area task with e1 = France (vd,e1 = 551,500km2, fe1 = 211,562,884) and e2 = Germany (vd,e2 = 357,581km2,f e2 = 216,526,676).
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.합성 데이터 비율에 따른 세 단계
제어 실험에서는 자연 텍스트에 평가 템플릿과 같은 형태의 합성 비교 문장을 섞었습니다. 전체 토큰 예산은 1.1B로 고정하고 합성 데이터 비율을 0%, 0.01%, 0.1%, 1%로 바꾸었습니다. 그 결과 빈도 휴리스틱이 먼저 나타나고, 그다음 위치 휴리스틱이 나타나며, 충분한 과제 데이터가 있을 때 정답 알고리즘이 나타나는 세 단계가 관찰되었습니다.

Figure 1 : (a) An example of the entity comparison task we use to disentangle the three candidate strategies. The task requires comparing the areas of two countries; the correct answer is Brazil in the given example. However, if the model relies on positional or frequency bias, it would predict France. (b) The importance of each strategy across training checkpoints, measured by the decrease in accuracy when the feature for that strategy is removed.The frequency heuristic (orange) is most predictive of LM behavior in the earliest checkpoints, but is quickly taken over by the positional heuristic (blue), and the correct algorithm (green) appears in late training.The three-phase structure appears in both the small controlled setting and the large-scale natural text pretraining setting of OLMo-2 models, up to 32B parameters.
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.
Table 4 : Synthetic and natural text token splits for experiments in Section 3.1.
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.합성 데이터가 적으면 정답 알고리즘은 나타나지 않았습니다. 0%와 0.01%에서는 정답 특징이 학습 내내 0에 가까웠고, 0.1%에서는 약 2.5K 스텝 무렵에 나타났습니다. 1%에서는 1K 스텝 이내에 나타나 학습 마지막에 drop-one accuracy 18을 기록했습니다. 위치 단계는 합성 비율이 늘수록 줄어들어 1%에서는 사라졌습니다. 빈도 단계는 합성 비율과 무관하게 거의 같은 형태를 보였습니다.
빈도 분포를 균등하게 바꾼 실험
두 번째 실험은 자연 텍스트와 합성 데이터의 국가 빈도 분포를 Zipfian과 균등 분포로 각각 바꾸었습니다. 자연 텍스트가 Zipfian이면 어떤 합성 분포에서도 초기 빈도 단계가 강하게 나타났습니다. 자연 텍스트가 균등하면 이 단계는 약해졌고, 두 분포가 모두 균등하면 거의 사라졌습니다.

Figure 2 : (a) Occurrences of 215 countries (and territories) in the OLMo-2-13B pretraining corpus, which follow a Zipfian distribution with a long tail. (b) Country frequency correlates with the area attribute (log-log Pearson’s r = 0.62), meaning that predicting the more frequently mentioned country as the larger one is a viable heuristic the model can adopt.
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.
Figure 5 : Accuracy by entity frequency ratio (correct / incorrect entity) across training steps under Zipfian data. Early in training, accuracy is high only when the correct answer is much more frequent, which corresponds to the frequency bias phase. Throughout training, accuracy is consistently higher when the correct entity is more frequent than when it is less frequent.
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 5 : Data distribution statistics across the four training conditions in Section 3.2. We compute the Gini ratio (0 = uniform, 1 = maximally unequal) and range ratios. Max/min is the count of the most mentioned country divided by the count of the least mentioned country, while P95/P5 uses the 95th and 5th percentile counts.
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.정답 알고리즘은 반대 패턴을 보였습니다. 두 분포가 모두 균등할 때 가장 일찍 나타나고 drop-one accuracy가 가장 컸으며, 두 분포가 모두 Zipfian일 때 가장 약했습니다. 저자들은 엔티티 빈도 분포가 초기 빈도 단계를 만들고 정답 알고리즘의 출현 시점에도 영향을 준다고 해석합니다. 이 결과는 국가 면적과 국가 GDP에서 확인되었고, 사람 출생 연도는 부록 C.2에 따로 보고되어 있습니다.

Figure 4 : Learning trajectories for country area (left) and country GDP (right) across four combina- tions of natural text and synthetic data distributions (Zipfian × Uniform).Both tasks show the same frequency, position, correct algorithm ordering. The frequency phase is strongest when natural text is Zipfian.Solid lines and shaded regions show mean and standard deviation across 3 seeds.
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Figure 18 : Learning trajectories for the people birth year task across four combinations of natural text and synthetic data distributions (Zipfian or uniform). Solid lines and shaded regions show mean and standard deviation across 3 seeds.
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.OLMo-2 체크포인트에서의 단계 구조
소형 제어 실험과 같은 분석을 OLMo-2 1B, 7B, 13B, 32B의 체크포인트에 적용했습니다. 모든 크기에서 빈도 단계가 위치 단계보다 먼저 나타났습니다. 1B와 7B 모델은 긴 위치 휴리스틱 단계에 머물렀고 과제를 학습하지 못했습니다. 13B는 약 1T 토큰에서, 32B는 약 400B 토큰에서 정답 알고리즘 단계로 넘어갔습니다.

Table 6 : OLMo-2 checkpoints used in our evaluation, with comparison accuracy at each checkpoint. We compare the logprobs of the first token at which the entity names diverge (e.g., when comparing United StatesandUnited Kingdom, we take the logprobs ofStatesandKingdom).
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 26쪽에서 그림 영역을 추출했습니다.빈도 단계가 첫 공개 체크포인트 이전에 있을 수 있다는 점은 별도 확인이 필요했습니다. 저자들은 OLMo-2 1B의 stage-1 학습을 초기화부터 1,000 스텝까지 다시 돌려 보았고, 아홉 과제 중 일곱 과제에서 처음 200 스텝 안에 빈도 단계가 나타났다고 보고합니다. 나머지 두 과제는 값 단계로 나타났으나 1B의 정확도가 낮아 잡음일 수 있다고 해석합니다.
아홉 과제와 18개 변형
OLMo-2 32B를 아홉 과제의 큰 값과 작은 값 두 방향, 총 18개 변형으로 분석했습니다. 가장 이른 체크포인트인 9B 토큰에서는 18개 중 15개 변형에서 빈도 휴리스틱이 지배적이었습니다. 이 가운데 작은 값 방향 변형 9개 중 8개가 포함됩니다. 작은 값 비교에서는 더 자주 등장한 엔티티를 고르는 것이 보통 틀린 답이므로, 이 결과는 초기 단계가 부분적인 과제 지식보다 엔티티 빈도 통계를 반영한다는 해석을 뒷받침합니다.

Figure 7 : Dominant phase for OLMo-2 32B across all 18 task variants at four stage-1 checkpoints (9B, 84B, 1T, and 5T tokens). Each cell is colored by the feature with the largest drop-one accuracy at that checkpoint, and the number is that feature’s drop-one accuracy (%). Left: larger-magnitude comparisons; right: smaller-magnitude comparisons.Frequency dominates the earliest checkpoint for most variants, and later phases largely follow the frequency–position–value structure.
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.
Figure 19 : Learning trajectories for each of the nine comparison tasks for OLMo-2 32B, where the correct answer is thelargerentity.
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 28쪽에서 그림 영역을 추출했습니다.모든 단계가 나타나는 것은 아니지만 나타나는 단계의 순서는 대체로 유지되었습니다. 여러 단계가 지배적이 되는 체크포인트에서는 빈도, 위치, 값의 순서가 주로 관찰되었습니다.

Figure 20 : Learning trajectories for each of the nine comparison tasks for OLMo-2 32B, where the correct answer is thesmallerentity.
원문 · CC BY 4.0 · Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger · Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models · 원문 그림 인용 · 원본 PDF 29쪽에서 그림 영역을 추출했습니다.남은 문제
통제 실험은 163M 규모에서 수행되었으며, 이 규모의 결과를 대규모 모델에 그대로 옮기는 데에는 한계가 있습니다. 저자들은 소규모 개입 실험에서도 학습 역학에 대한 통찰을 얻을 수 있었다고 보지만, OLMo-2 분석은 규모가 커졌을 때 데이터의 역할을 인과적으로 입증하지는 못합니다.
또 빈도 분포를 바꾸기 위해 시퀀스를 다시 선택하면 도메인 변화나 다른 교란 요인이 들어갈 수 있으며, 이를 통제하는 방법은 아직 열린 문제로 남아 있습니다. 엔티티 비교 외 다른 과제 구조에서 같은 단계 구조가 나타나는지도 이 논문에서는 확인하지 않았습니다.
논문 정보
- 저자
- Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 11월 12일
- 등록일
- 2026년 11월 13일
- 수정일
- 2026년 11월 12일
- 버전
- v1
- arXiv
- 2611.16882
- 분류
- cs.CL · cs.LG
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
How does data shape language model (LM) behavior throughout pretraining? We investigate this question through a case study on entity comparison, e.g., Between France and Brazil, which country is larger?, across nine comparison tasks spanning five entity types. We begin with controlled experiments in which we train small LMs (163M parameters) on mixtures of natural text from pretraining corpora and synthetic task data. Our analysis identifies three distinct phases of learning: (1) an early phase where the LM selects entities by frequency, (2) a middle phase where the LM selects entities by position in the prompt (first vs. last mentioned entity), and (3) a late phase where the LM selects the entity that is the correct answer. We show that the emergence of these three phases is causally determined by statistical properties of the training data. With small amounts of task-specific synthetic data, we observe only the first two phases and the model fails to learn the task; with large amounts, the model jumps directly from the frequency-based heuristic to solving the task correctly. Moreover, changing the entity frequency distribution from a naturally occurring Zipfian distribution (a small number of entities are very common and the vast majority are rare) to a uniform one weakens the frequency phase and speeds up learning of the task. Lastly, we show that the three phases of training dynamics from our controlled experiments appear in the open source model OLMo-2 32B. Together, our findings demonstrate that properties of pretraining data are causal drivers of heuristic learning and show that small-scale synthetic experiments can predict training dynamics at larger scales.
원문 인용
Yik Siu Chan, Jing Huang, Yanai Elazar, Atticus Geiger (2026). Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models. arXiv:2611.16882v1. https://arxiv.org/abs/2611.16882v1
BibTeX
@misc{chan2026pretraining,
title = {{Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models}},
author = {Yik Siu Chan and Jing Huang and Yanai Elazar and Atticus Geiger},
year = {2026},
eprint = {2611.16882},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.16882v1}
}