본문으로 건너뛰기
AI NEWS JOURNAL
arXiv cs.AIAI NEWS / JOURNAL

HyScale: 학습된 희소 주목을 위한 장문 컨텍스트 학습 확장

arXiv:2610.32057v1 발표 유형: 신규 초록: 우리는 학습된 스파스 어텐션을 위한 장문 컨텍스트 훈련 시스템인 HyScale을 제시합니다. 학습된 스파스 어텐션은 수백만 토큰 규모의 컨텍스트에 대해 유망한 아키텍처로, DeepSeek-V3.2 이후 생산 환경에서 널리 채택되고 있습니다. 그러나 선택 과정은 훈련의 병목으로 부각되고 있습니다. 각 쿼리마다 이전의 모든 토큰에 대해 점수를 매기는데 반해, 스파스 어텐션은 단지 $k$개의 토큰만 읽습니다. 더욱이 현재 시스템들은 전체 점수 테이블을 메모리에 상주시키고 재계산 과정에서도 선택을 반복합니다. 우리의 핵심 통찰은 선택의 출력이 활성화 값이 아니라 인덱스 집합이라는 점입니다. 이를 바탕으로 HyScale은 HyTopK와 선택 재생 기법을 도입합니다. HyTopK는 점수 테이블 없이 각 쿼리의 정확한 상위-$k$를 실시간으로 찾아내며, 선택 재생 기법은 전방향 패스에서 수행된 선택 결과를 재계산 과정에서 재사용합니다.

번역 대기 중입니다. 완료되면 자동 업데이트됩니다.

Abstract:We present HyScale, a long-context training system for learned sparse attention. Learned sparse attention is a promising architecture for million-token contexts, widely adopted in production since DeepSeek-V3.2. Selection, however, grows into the training bottleneck. For each query, it scores every previous token whereas sparse attention reads only $k$; worse, current systems materialize a full score table and repeat selection during recomputation. Our key insight is that the output of selection is not an activation, but rather a set of indices. Building on it, HyScale introduces HyTopK and selection replay. HyTopK finds each query's exact top-$k$ on the fly without a score table, while selection replay reuses forward-pass selection in recomputation. Together with holistic system optimizations tackling end-to-end training challenges, HyScale speeds up GLM-5.1 training on 1M-token sequences by 2.07$\times$ over Megatron-LM on 512 H20 GPUs. It also speeds up the CSA layers of DeepSeek-V4-Flash and the QSA layers of Qwen3.8-Flash-Next by 2.01$\times$ and 1.57$\times$ at 1M tokens on 32 H800 GPUs.

Submission history

Access Paper:

View PDF

HTML (experimental)

TeX Source

Additional Features

Audio Summary

Current browse context:

References & Citations

Google Scholar

Semantic Scholar

Bookmark

Institution

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

자료 출처

arXiv cs.AI

관련 주제

← 전체 소식 이어 읽기