압축된 언어 모델에서 다이버전스가 결정 반전으로 이어지는 방식
How Divergence Becomes Decision Flips in Compressed Language Models
한국어 초록
압축 보고서는 압축된 언어 모델(language model)이 밀집(dense) 모델로부터 얼마나 멀어졌는지를 대개 쿨백-라이블러 발산(KL divergence)을 통해 요약하지만, 밀집 모델의 출력에 의존하는 배포 환경에서는 얼마나 많은 결정이 바뀌었는지를 알아야 합니다. 본 연구에서는 KL이 아닌 전변동(total variation)이 이를 직접적으로 설명함을 보여줍니다. 5개 말뭉치와 기계적으로 무관한 9가지 섭동(perturbation) 패밀리에 걸친 19개 공개 모델의 802개 압축 및 섭동 사본 전체에서, arg-max 토큰(token)이 바뀌는 비율(반전율, flip rate)은 적합 상수 없이 중앙값 $1.05$의 비율로 전변동을 따릅니다. KL은 토큰에 대해 평균을 낸 후 제곱근을 취하기 때문에, 제곱근과 모델 및 말뭉치에 따라 4배까지 달라지는 계수를 거쳐서만 반전으로 변환됩니다. 헬링거 거리(Hellinger distance)와 같이 토큰당 평균을 내는 1차 통계량은 이를 피할 수 있지만 보고서에서 거의 제공되지 않습니다. 그 결과, 서로 다른 모델과 말뭉치에서 보고되어 반전율이 최소 $10%$ 차이 나는 두 압축기 중 더 많은 결정을 바꾸는 쪽에 대해, KL은 $11%$의 경우에서 더 작은 다이버전스를 할당하는 반면 전변동은 $1%$에 불과합니다. 두 건의 사전 등록 시험은 한계를 명확히 보여줍니다. 미노출(held-out) 코드 말뭉치에서는 8개 모델 전체에서 이 비율이 유지된 반면 KL에 관한 세 가지 예측은 각각 절반 이상의 모델에서 실패했으며, 실제 커널을 사용한 3개 신규 모델에서는 38개 체크포인트 중 37개에서 해당 구간 내에 머물렀으나 2개 모델의 코드 작업에서는 1 미만으로 떨어졌습니다. vLLM 투기적 디코딩(speculative decoding)에서 티처 포싱(teacher forcing) 하에 측정된 전변동은 KL에 필요한 태스크별 캘리브레이션 없이도 $1.1$--$2.4%$의 평균 상대 오차로 탐욕적(greedy) 초안 수락을 예측합니다.
원문 초록
Compression reports summarize how far a compressed language model moved from the dense one, usually by a KL divergence; a deployment that relies on the dense model's outputs needs to know how many of its decisions changed. We show that total variation, not KL, answers this directly. Across 802 compressed and perturbed copies of 19 open models on five corpora and nine mechanically unrelated perturbation families, the rate at which the arg-max token changes (the \emph{flip rate}) tracks total variation at a ratio with median $1.05$, with no fitted constant. KL converts into flips only through its square root and a factor that varies fourfold across models and corpora, because KL averages over tokens before the root is taken; first-order statistics averaged per token, such as Hellinger distance, avoid this, but reports rarely give them. As a result, of two compressors reported on different models and corpora whose flip rates differ by at least $10%$, KL assigns the smaller divergence to the one that changes more decisions in $11%$ of cases, total variation in $1%$. Two pre-registered tests mark the limits: on a held-out code corpus the ratio held for all eight models while three predictions about KL each failed for half of them or more, and on three new models with real kernels it stayed in its band for 37 of 38 checkpoints but fell below one on code for two models. In vLLM speculative decoding, total variation measured under teacher forcing predicts greedy draft acceptance with a mean relative error of $1.1$--$2.4%$, without the task-specific calibration that KL needs.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.
저자 비고
arXiv Comments
Preprint