The State-Prediction Separation Hypothesis

Giovanni Monea, Nathan Godey, Kianté Brantley, Yoav Artzi

arXiv:2607.01218 · 2026-06-30 공개 · arXiv · PDF

Abstract

Transformers use the same forward computation stream to both predict the next token and store useful state for future token predictions. We formulate the \emph{state-prediction separation hypothesis}: disentangling the two roles yields better language modeling performance. We design a Transformer variant that uses two computation streams to separate the two functions, and conduct pretraining experiments across various scales. Our experiments show that state-prediction separation consistently offers better data and compute efficiencies, improving validation loss and outperforming standard Transformers by 2--3 percentage points on average on downstream tasks. We also conduct extensive empirical analysis that rules out potential confounders and demonstrates the fundamental difference in the gradients our design entails.

한국어 요약

한 줄 요약

Transformer에서 상태 저장과 예측을 분리한 SPS 설계가 언어 모델 성능을 2~3% 개선한다.

핵심 기여도

핵심 아이디어

기존 Transformer는 동일한 계산 스트림을 사용하여 다음 토큰 예측과 상태 저장을 동시에 수행한다. 그러나 이 연구는 **state-prediction separation hypothesis**를 제시하며, 두 기능을 분리하면 언어 모델 성능이 향상된다고 주장한다. 이에 따라, **SPS Transformer**는 두 개의 계산 단계를 도입하여 예측과 상태 저장을 분리한다. 첫 번째 단계는 상태를 저장하는 역할을 하며, 두 번째 단계는 토큰 예측을 수행한다. 이 때, 첫 번째 단계의 key-value(KV) 캐시는 유지되지만, 두 번째 단계의 KV는 버려진다. 이는 **state stream**과 **prediction stream**을 구분하는 핵심 아이디어이다.

기술적 접근법

주요 결과

의의 및 한계

SPS 설계는 기존 Transformer의 한계를 극복하며, 데이터와 계산 효율성을 동시에 향상시킨다. 특히, 고질 데이터가 한정된 상황에서 **각 토큰당 학습 효과 증대**가 중요하다. 그러나 본 연구는 단일 데이터셋(FineWeb-Edu)에서 사전 학습되었으며, 다른 데이터셋 혼합 효과는 검증되지 않았다. 또한, 최대 1.678B 파라미터 규모까지만 실험되었으며, 더 큰 모델에서의 성능 향상 여부는 추가 연구가 필요하다. SPS는 예측 스트림에 추가 계산 단계를 도입하여 **약 2배의 훈련 계산량 증가**를 유발하며, 이는 효율성 개선에 대한 균형 고려가 필요하다.

실용적 활용

SPS는 대규모 언어 모델의 사전 학습 효율성을 높이는 설계로, **데이터 및 컴퓨팅 자원이 제한된 연구 환경**에서 유용하다. 또한, **고성능 GPU 기반의 추론 시스템**에서 메모리 사용량을 줄이면서도 성능을 유지할 수 있어, 산업적 언어 모델 배포에도 적용 가능하다.