SFA: 효율적이고 고품질인 이미지 생성을 위한 통계물리학에서 영감을 얻은 확산 트랜스포머
SFA: A Statistical Physics-Inspired Diffusion Transformer for Efficient and High-Quality Image Generation
한국어 초록
확산 트랜스포머는 이미지 생성에서 놀라운 성공을 거두었지만, 고해상도에서 생성 품질을 유지하면서 어텐션을 가속하는 것은 여전히 주요한 과제이다. 통계물리학과 자연에서 척도 불변 법칙이 널리 나타난다는 점에 착안하여, 본 논문은 가까운 영역의 세밀한 상호작용은 보존하고 먼 영역은 점차 거친 스케일로 요약하는 척도 불변 어텐션(Scale-Free Attention, SFA)을 제안한다. $N$개의 토큰에 대해 평균 풀링, 토큰 수 보정, 척도 불변 공간 계층에 걸친 공유 소프트맥스를 통해 SFA는 순전파와 역전파 모두에서 $O(N\log N)$의 복잡도를 갖는다. Triton 구현은 262,144개 토큰에서 FlashAttention 대비 순전파 $357.3\times$, 역전파 $265.6\times$의 어텐션 속도 향상을 달성한다. $256\times256$ 해상도의 ImageNet에서 PixelFlow를 처음부터 40 에폭 학습한 뒤, SFA는 전체 어텐션을 포함한 다섯 가지 어텐션 메커니즘 중 가장 우수한 생성 품질을 달성한다. 생성된 샘플 50,000개로 평가한 프레셰 인셉션 거리(FID-50k)는 전체 어텐션의 13.25에서 12.51로 개선되며, 전체 어텐션 대비 우위는 80 에폭까지 지속된다. SFA는 Flickr-Faces-HQ(FFHQ)에서도 비교 대상인 효율적 어텐션 방법 중 가장 우수한 생성 품질을 달성한다. 처음부터 학습하는 경우를 넘어, Stable Diffusion 3.5 Medium의 어텐션을 SFA로 대체하면 동일한 미세 조정 예산에서 전체 어텐션 모델의 생성 품질을 유지한다. 사전 학습된 PixelFlow를 ImageNet에서 미세 조정할 때도 유사한 결과를 얻는다. SFA는 척도 불변 구조가 효율적이고 고품질인 확산 트랜스포머를 위한 효과적인 설계 원리임을 보여준다.
원문 초록
Diffusion transformers have achieved remarkable success in image generation, but accelerating attention while preserving generation quality remains a major challenge at high resolutions. Inspired by statistical physics and the widespread occurrence of scale-free laws in nature, we introduce Scale-Free Attention (SFA), which preserves fine local interactions while summarizing distant regions at progressively coarser scales. For $N$ tokens, mean pooling, token-count correction, and a shared softmax over a scale-free spatial hierarchy give SFA $O(N\log N)$ complexity in both forward and backward passes. Our Triton implementation achieves $357.3\times$ forward and $265.6\times$ backward attention speedups over FlashAttention at 262,144 tokens. After 40 epochs of PixelFlow training from scratch on ImageNet at $256\times256$ resolution, SFA achieves the best generation quality among five attention mechanisms, including full attention. Fr\'echet inception distance evaluated on 50,000 generated samples (FID-50k) improves from 13.25 for full attention to 12.51, and the advantage over full attention persists through 80 epochs. SFA also achieves the best generation quality among the compared efficient-attention methods on Flickr-Faces-HQ (FFHQ). Beyond training from scratch, Stable Diffusion 3.5 Medium with attention replaced by SFA retains the generation quality of its full-attention counterpart under matched fine-tuning budgets. We obtain similar results when fine-tuning pretrained PixelFlow on ImageNet. SFA establishes scale-free structure as an effective design principle for efficient, high-quality diffusion transformers.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2611.00027v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.