비선형 동역학계로서의 대규모 언어 모델: 깊이, 학습, 생성의 세 시계
Large Language Models as Nonlinear Dynamical Systems: The Three Clocks of Depth, Training, and Generation
한국어 초록
언어 모델은 동역학계이다. 트랜스포머는 층을 따라, 학습 단계를 따라, 그리고 생성하는 토큰을 따라 반복되며, 이 세 시계 각각에서 비선형 동역학이 한 세기 동안 연구해 온 행동, 즉 고정점, 분기, 동기화, 혼돈, 그리고 잡음에 의한 퍼텐셜 우물 탈출을 보인다. 두 커뮤니티는 거의 교류하지 않아, 이러한 행동은 새로운 이름으로 재발견되는 경우가 많다. 본 논문은 둘 사이의 다리를 놓는다. 기술을 위해 약 200편의 논문을 세 시계 사전(Three-Clock Dictionary)으로 압축하는데, 이 사전은 비선형 동역학의 열다섯 가지 개념을 각 시계에 대응시키고 모든 대응을 증명됨, 측정됨, 추측됨으로 표시하며, 각 개념을 기계 시스템과 언어 모델에서 나란히 보인다. 설명을 위해 축소 차수 모델을 유도한다. 소프트맥스는 볼츠만 분포이고, 경사 하강법은 비선형 스프링에 대한 오일러 스텝이며, 손실 급등은 뻣뻣한 골짜기 밖으로 던져진 공이고, 원 위의 어텐션은 쿠라모토 모델이며, 반복 루프는 점유되는 동안 깊어지는 우물이다. 이어서 이러한 설명을 노트북 CPU에서 공개 언어 모델에 대해 검증한다. GPT-2와 Pythia에서 반복 루프 탈출은 로짓 간격을 장벽으로 하는 아레니우스 법칙을 따르며, 장벽은 깊어진 뒤 포화하므로 루프를 벗어나는 데 필요한 온도는 생성 길이 $N$에 대해 $1/\ln N$처럼 감소하고 모델 크기에 따라 증가한다. 일관된 텍스트는 좁은 온도 범위에 존재하며, 작은 추론 모델은 권장 온도에서 이 범위를 공유한다. 학습은 Pythia의 각 층을 더 확장적으로 만들고, 작은 트랜스포머는 다중 모드 안정성 경계에서 학습된다. 세 번째 단계인 언어 모델의 문제 해결은 아직 남아 있다. 탈출 분석에서 도출한 제어기는 루프를 제거하지만 아직 최선의 고정 온도를 능가하지 못한다. 본 논문은 비선형 동역학이 이를 해결할 수 있을 열두 가지 미해결 문제를 제시한다.
원문 초록
Language models are dynamical systems. A transformer is iterated over its layers, over the steps of its training and over the tokens it generates, and on each of these three clocks it shows behavior that nonlinear dynamics has studied for a century: fixed points, bifurcations, synchronization, chaos and noise-driven escape from potential wells. The two communities rarely meet, so this behavior is often rediscovered under new names. We build a bridge between them. To describe, we condense about 200 papers into the Three-Clock Dictionary, which maps fifteen concepts of nonlinear dynamics onto each clock and marks every correspondence as proved, measured or conjectured, and we show each concept in a mechanical system and in a language model side by side. To explain, we derive reduced-order models: the softmax is a Boltzmann distribution, gradient descent an Euler step on a nonlinear spring, a loss spike a ball thrown out of a stiff valley, attention on the circle a Kuramoto model, and a repetition loop a well that deepens while it is occupied. We then test these explanations on open language models, on a laptop CPU. Escape from repetition loops in GPT-2 and Pythia follows the Arrhenius law with the logit gap as the barrier, and the barrier deepens and then saturates, so the temperature needed to leave a loop falls like $1/\ln N$ with the generation length $N$ and rises with model size. Coherent text lives in a narrow window of temperatures, which a small reasoning model shares at its recommended temperature. Training makes each Pythia layer more expansive, and a small transformer trains at a multi-mode edge of stability. The third step, solving problems of language models, is still ahead: controllers derived from the escape analysis remove loops but do not yet beat the best fixed temperature. We state twelve open problems where nonlinear dynamics could get there.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2611.21983v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.