메모리가 있는 언어 모델 정렬의 점근적 특성
The Asymptotics of Language Model Alignment with Memory
한국어 초록
언어 모델(LM) 정렬(alignment)은 대략적으로 주어진 LM $Q$를 i) $q$와 $Q$가 생성하는 출력이 확률적으로 '가깝고', ii) $q$가 $Q$보다 더 높은 기대 보상(reward)을 갖도록 정렬된 LM $q$로 섭동(perturb)시키는 것을 목표로 합니다. LM 정렬의 대표적인 두 가지 기법은 다음과 같습니다. 즉, LM 분포에 대한 지식이 필요하고 계산 비용이 많이 드는 KL 제약 기반 강화학습(KL-constrained RL)과, LM으로부터의 샘플링만 필요한 best-of-$n$ 알고리즘입니다. Yang 등의 연구는 $m$이 무한대로 증가하는 극한에서, LM이 출력하는 길이 $m$의 독립동일분포(i.i.d.) 토큰 시퀀스에 대해 두 정렬 방식이 생성하는 분포 간의 점근적 근접성(asymptotic closeness)을 확립했습니다. 그러나 i.i.d. 가정은 출력 시퀀스가 흔히 메모리(memory)를 갖는 실제 LM을 잘 반영하지 못합니다. 본 논문에서는 LM이 출력하는 길이 $m$의 토큰 시퀀스가 마르코프(Markovian) 성질을 갖는 경우로 점근적 근접성 결과를 확장합니다. 나아가 유한한 길이의 출력 시퀀스(특히 $m=1$일 때)에 대해, 두 정렬 방식이 생성하는 분포 간의 KL 발산(KL-divergence)이 0이 되는 LM 분포와 보상 함수에 대한 완전한 특성화(complete characterization)를 제공하며, 이는 Yang 등에서 처음 제기되었던 의문입니다.
원문 초록
Language model (LM) alignment broadly aims to perturb a given LM $Q$ into an aligned LM $q$ such that i) the outputs produced by $q$ and $Q$ are 'close' in probability, ii) $q$ has a higher expected reward than $Q$. Two common techniques for LM alignment are: KL-constrained RL, which requires knowledge of the LM distribution and is computationally expensive, and the best-of-$n$ algorithm, which requires only sampling from the LM. The work of Yang et al. established asymptotic closeness between the distributions produced by the two alignment methods for an $m$--length i.i.d. token sequence output by the LM, in the limit as $m$ increases to infinity. However, the i.i.d. assumption is not representative of practical LMs, whose output sequences often have memory. In this paper, we extend the asymptotic closeness result to the case when the $m$--length token sequence outputted by the LM is Markovian. Further, for finite-length output sequences -- particularly, when $m=1$ -- we provide a complete characterization of LM distributions and reward functions for which the KL-divergence between the distributions produced by the two alignment methods is zero -- a question first posed in Yang et al.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.