가우시안 혼합 모델에서의 소프트맥스 어텐션: 가능할 때는 선형적으로, 필요할 때는 선택적으로
Softmax Attention on Gaussian Mixtures: Linear When It Can, Selective When It Must
한국어 초록
트랜스포머(Transformer)의 핵심인 소프트맥스 어텐션(softmax attention)은 뛰어난 역량을 보여주었지만, 그 기저 메커니즘은 여전히 일부만 이해되고 있습니다. 최근의 이론 연구는 가우시안 프롬프트(prompt)를 다루며, 무한 프롬프트 극한에서 소프트맥스 어텐션이 선형 사상(linear map)으로 축소되지만 선형 어텐션과 구별되는 쿼리(query) 기반 선택 메커니즘 또한 사라진다는 점을 보여주었습니다. 본 연구는 가우시안 데이터의 다루기 쉬운 특성을 유지하면서 잠재 구조, 다봉성(multimodality), 비선형 의존성을 도입하는 가우시안 혼합(Gaussian mixture) 모델에 대한 소프트맥스 어텐션의 무한 프롬프트 극한을 연구합니다. 우리는 지도 분류(supervised classification) 및 노이즈 제거(denoising)를 포함한 다양한 통계적 작업에 대해, 소프트맥스 어텐션이 그래디언트(gradient) 기반 방법으로 최적의 해를 표현하고 학습(training)할 수 있음을 보입니다. 본 결과는 소프트맥스 어텐션의 상호 보완적인 두 가지 역량을 강조합니다. 즉, 더 단순한 선형 대응체만큼 효과적으로 선형 작업을 복원할 수 있으면서도, 쿼리 기반 문맥 선택을 활용하여 선형 어텐션의 능력을 벗어나는 비선형 작업을 해결할 수 있습니다.
원문 초록
Softmax attention, at the heart of Transformers, has demonstrated remarkable capabilities. Yet its underlying mechanisms remain only partially understood. Recent theoretical work studies Gaussian prompts, where the infinite-prompt limit reduces softmax attention to a linear map, but also removes the query-dependent selection that distinguishes it from linear attention. This work studies the infinite-prompt limit of softmax attention on Gaussian mixtures, which retain the tractability of Gaussian data while introducing latent structure, multimodality, and nonlinear dependencies. We show that softmax attention can represent and learn, via gradient-based methods, optimal solutions to a range of statistical tasks, including supervised classification and denoising. Our results highlight two complementary capabilities of softmax attention: it can recover linear tasks as effectively as its simpler linear counterpart, while also exploiting query-dependent context selection to solve nonlinear tasks beyond the reach of linear attention.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.