더 가벼운 트랜스포머도 군집화를 쉽게 학습할 수 있다
Leaner Transformers Can Easily Learn to Cluster
한국어 초록
트랜스포머(Transformer)는 모델의 순전파(forward pass) 과정에서 기존에 알려진 일부 학습 알고리즘을 실행할 수 있는 문맥 내 학습(ICL) 능력을 갖추고 있습니다. 최근 연구에서는 트랜스포머가 임베딩 크기 $d_{\textsf{emb}} = d+k$를 통해 $d$차원의 $n$개 점에 대한 $k$-평균 군집화(Lloyd 알고리즘)를 정확하게 수행할 수 있음(따라서 $(d+k)^2$ 크기의 어텐션 투영 행렬이 필요함)을 보여주었습니다. 본 연구에서는 이러한 결과를 바탕으로 다음과 같은 확장을 제시합니다. 첫째, 임베딩 크기 $d_{\textsf{emb}} = (d + \lceil \log_2 k \rceil)$로 Lloyd 알고리즘을 실행하면서도 동일한 표현력을 갖는 더 작은 트랜스포머를 제시합니다. 다음으로, 군집화 태스크의 분포가 주어졌을 때 군집화 알고리즘을 학습하도록 이러한 트랜스포머를 훈련시키며, 확률적 경사(stochastic gradient) 기반 학습 알고리즘의 수렴 및 분포 내 일반화에 영향을 미치는 요인들을 이론적으로 규명하고 실증적으로 검증합니다. 마지막으로, 트랜스포머 형태로 학습된 이러한 알고리즘의 전반적인 군집화 능력을 탐색하고, 성공하거나 실패하는 상황을 이해하고자 합니다.
원문 초록
Transformers have in-context learning capabilities, where some known learning algorithms can be executed in the forward pass through the model. Recent work shows that transformers can exactly perform Lloyd's algorithm for $k$-means clustering with $n$ points in $d$ dimensions with an embedding size $d_{\textsf{emb}} = d+k$ (thus, requiring attention projection matrices of size $(d+k)^2$). In this work, we build upon this result in the following ways: First, we present an equally expressive but smaller transformer that executes Lloyd's algorithm with embedding size $d_{\textsf{emb}} = (d + \lceil \log_2 k \rceil)$. Next, we train these transformers to learn the clustering algorithms given a distribution of clustering tasks, and theoretically characterize and empirically validate the factors affecting the convergence and in-distribution generalization of learning algorithms based on stochastic gradients. Finally, we probe the general clustering abilities of these learned algorithms (in the form of transformers), and try to understand situations where they succeed and fail.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.
저자 비고
arXiv Comments
NeurIPS 2026 accepted paper