Skip to main content
QUICK REVIEW

[논문 리뷰] PRISM: Demystifying Retention and Interaction in Mid-Training

Bharat Runwal, Ashish Agrawal|arXiv (Cornell University)|2026. 03. 17.
Topic ModelingComputer Science인용 수 0
한 줄 요약

PRISM은 대형 언어모델의 중간 학습을 여러 패밀리에서 경험적으로 분석하여 약 270억 개의 고품질 토큰이 있는 유지-의식적 중간 학습 단계가 수학, 코드, 과학에서의 추론을 일관되게 향상시키고 RL의 효과를 크게 높이며 데이터 구성과 아키텍처 간의 상호 작용을 면밀히 특성화한다.

ABSTRACT

We present PRISM, a comprehensive empirical study of mid-training design choices for large language models. Through controlled experiments across seven base models spanning four families (Granite, LLaMA, Mistral, Nemotron-H), two architecture types (dense Transformer and attention-Mamba hybrid), and scales from 3B to 24B parameters, we show that mid-training on approximately 27B high-quality tokens yields consistent gains of +15 to +40 points on math, +5 to +12 points on code, and +6 to +13 points on science benchmarks while preserving general performance. The full PRISM to RL pipeline improves macro-average across six reasoning benchmarks from under 12 to 29-42 (a 3-4x improvement), whereas RL applied directly to most of the base models remains substantially less effective, with AIME scores near zero. Data composition matters most at mid-training, not RL: including science data during mid-training unlocks +17 to +28 point GPQA-Diamond gains during RL, while changing the RL mix produces less than 2 point differences. Mechanistically, mid-training densely restructures over 90% of model weights, while RL makes sparse, front-loaded refinements to approximately 5% of parameters. Representation analysis (CKA) confirms that RL consistently preserves mid-training's representational geometry (over 0.998 CKA) across architectures. Crucially, RL applies identical weight changes regardless of starting point, yet only succeeds on mid-trained models, consistent with mid-training placing the model in a configuration from which RL can effectively improve performance. Our results demonstrate that retention-aware mid-training is highly effective for reliable reasoning enhancement and provide practical guidance for designing robust mid-training pipelines.

연구 동기 및 목표

  • 중간 학습 데이터 구성, 시점 및 아키텍처가 일반 능력 보유 및 도메인 특화 추론의 유지에 미치는 영향을 조사한다.
  • - 중간 학습이 여러 모델 패밀리와 규모에 걸쳐 다운스트림 강화 학습(RL)과 어떻게 상호작용하는지 평가한다.
  • - 로버스트한 유지-의식적 중간 학습 파이프라인 설계에 대한 실용적 지침을 식별한다.

제안 방법

  • 제어된 대규모 실험 수행(7개 기본 모델, 4개 가족, 2개 아키텍처, 3–24B 매개변수).
  • 일반 웹, 수학, 코드, 과학 데이터를 아우르는 총 약 270억 고품질 토큰의 타깃 중간 학습 혼합 사용.
  • 광범위한 벤치마크 스위트를 사용한 평가(일반 리더보드 LB-V1/LB-V2, 긴 컨텍스트 RULER, 코드, 수학, 과학 벤치마크).
  • 전체 PRISM→RL 파이프라인과 기본 모델에 직접 RL을 적용한 경우를 비교하여 상호 작용 효과를 분리한다.
  • 긴 컨텍스트 복원, 중간 학습 중 컨텍스트 길이, 토큰 예산에 대한 차등 실험 수행.
  • 모델 가족 간의 가중치 발산, CKAs, 엔트로피, RL 가중치 궤적 등 기계적 분석 수행.
Figure 1 : PRISM overview. Mid-training decisions are decomposed into their principal design axes, including retention of general and long-context abilities, domain interaction (math, code, science), benchmark selection, reinforcement learning compatibility, and scaling behavior. PRISM enables holis
Figure 1 : PRISM overview. Mid-training decisions are decomposed into their principal design axes, including retention of general and long-context abilities, domain interaction (math, code, science), benchmark selection, reinforcement learning compatibility, and scaling behavior. PRISM enables holis

실험 결과

연구 질문

  • RQ1중간 학습 데이터 혼합(Math, Code, Science)이 아키텍처 및 규모에 걸쳐 일반 능력 유지 및 도메인 특화 추론에 미치는 영향은 무엇인가?
  • RQ2중간 학습이 다운스트림 RL과 어떻게 상호작용하며, 중간 학습 상태에서 시작하는 경우 이익이 달라지는가?
  • RQ3일반 성능을 해치지 않으면서 중간 학습 이득을 극대화하는 실용적 설계 선택(시점, 컨텍스트 길이, 토큰 예산)은 무엇인가?
  • RQ4중간 학습과 RL 사이의 기계적 차이점은 무엇인가(예: 가중치 변화의 범위, 표현 기하학)?

주요 결과

  • - 중간 학습은 모델 전반에 걸쳐 일관된 추론 이득을 제공한다: 수학에서 +15~40 포인트, 코드에서 +5~12 포인트, GPQA-Diamond 과학 벤치마크에서 +6~13 포인트의 이익을 보이며 일반 성능은 보존된다.
  • - 전체 PRISM→RL 파이프라인은 여섯 개 추론 벤치마크에서 매크로 평균을 낮은 12 미만에서 29–42로 끌어올려(3–4배 개선); 기본 모델에 RL하는 경우 효과가 훨씬 낮다.
  • - 데이터 구성은 중간 학습에서 가장 큰 영향을 미친다: 중간 학습 중 과학 데이터를 포함시키면 RL 동안 GPQA-Diamond 이익이 +17~+28 포인트로 상승; RL 혼합을 바꾸어도 차이는 <2포인트에 불과하다.
  • - 아키텍처 및 규모에 걸쳐 일반화된 이득이 관찰된다; Dense Transformer와 Attention-Mamba 하이브리드 모두에서 PRISM의 이득이 일관된다.
  • - RL 변화는 전면적으로 발생하고 희박하며(약 5%의 매개변수), 반면 중간 학습은 90% 이상 매개변수를 밀집적으로 재구성하여 서로 다른 최적화 메커니즘을 시사한다.
  • - RL은 중간 학습 표현(CKA > 0.998)을 아키텍처 간에 보존한다; 중간 학습의 효과는 표현에서 모델별로 다르지만, RL은 주로 중간 학습된 모델에 대해 효과적이다.
Figure 2 : Mid-training data mixture configurations and per-source sampling percentages. The outer ring shows individual data sources; the inner ring groups them by domain category.
Figure 2 : Mid-training data mixture configurations and per-source sampling percentages. The outer ring shows individual data sources; the inner ring groups them by domain category.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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