UniSpark: Exploring Hybrid Attention for Multimodal Understanding and Generation

Jiancheng Pan, Yuzheng Liu, Hengyuan Cao, Qiyuan Zhang, Yangyan Li, Biao Gong, Zheng Zhang, Ka Long Cheng, Xinyang Wang, Yujun Shen

arXiv:2611.16517 · 2026-11-14 공개 · arXiv · PDF

text-to-image multimodal-model visual-generation hybrid-attention gated-delta-net video-synthesis interleaved-generation transformer-experts

Abstract

We present UniSpark-9B, a unified multimodal model that investigates hybrid attention for visual understanding and generation. Built on a Mixture-of-Transformer-Experts backbone with approximately 9B parameters in each branch, UniSpark combines full attention for explicit token interactions with GatedDeltaNet linear attention for compact context propagation. Autoregressive text prediction and visual flow matching jointly support visual question answering, text-to-image generation, instruction-guided editing, and interleaved text-image prediction. In interleaved generation, noisy visual targets are isolated from subsequent predictions, while clean visual representations provide context for later outputs. A blockwise protocol enforces this distinction through attention masks in full-attention layers and recurrent-state retention rules in linear-attention layers. The selected training sources contain 159.7M generation samples, 213.4M understanding samples, and 624.8K interleaved sequences. A four-stage curriculum jointly trains multimodal understanding and visual generation, refining answer accuracy and instruction following while extending image synthesis to 2K. UniSpark scores 2470.3 on MME-S and 0.83 on GenEval. Qualitative examples further illustrate its capabilities in interleaved image generation, video synthesis, and video editing. Together, these results demonstrate that hybrid attention provides an effective backbone for unified multimodal understanding and generation.

한국어 요약

한 줄 요약

UniSpark-9B는 하이브리드 어텐션을 기반으로 한 9B 파라미터 모델로, 멀티모달 이해와 생성을 통합한 첫 번째 통합 모델이다.

핵심 기여도

핵심 아이디어

UniSpark는 멀티모달 이해와 생성을 위한 통합 모델로, **Hybrid MoT Architecture**를 통해 Full Attention과 GatedDeltaNet Linear Attention을 결합하여, 명시적인 토큰 상호작용과 효율적인 컨텍스트 전파를 동시에 달성한다. 이는 **Full Attention**이 텍스트 예측과 시각 이해를, **Linear Attention**이 장거리 시각 시퀀스에서의 효율적 컨텍스트 전파를 담당하도록 설계된 것이다.

**블록 단위 정보 흐름 프로토콜**은 노이즈 블록을 후속 예측에서 분리하면서, 이미 생성된 깨끗한 시각 표현을 다음 텍스트 및 이미지 예측에 조건으로 제공함으로써, 일관된 편집과 생성이 가능하도록 한다. 이는 **Full-Attention Layer**의 블록 가시성 마스크와 **Linear-Attention Layer**의 재귀 상태 유지 규칙을 통해 구현된다.

기술적 접근법

주요 결과

의의 및 한계

UniSpark는 **하이브리드 어텐션**을 통해 멀티모달 이해와 생성을 통합한 첫 번째 모델로, **Full Attention**과 **Linear Attention**의 장점을 결합하여, 명시적 상호작용과 효율적 컨텍스트 전파를 동시에 달성한다. 이는 **Hybrid MoT Architecture**를 통해 전문가 라우팅과 정보 흐름을 정교하게 관리함으로써 가능하다.

그러나, **2K 해상도 이상의 이미지 생성**이나 **동영상 편집의 일관성**에 대한 구체적 한계는 명시되지 않았으며, **대규모 데이터셋**의 품질과 **하드웨어 자원**에 대한 의존도가 높다는 점이 한계로 작용할 수 있다.

실용적 활용

UniSpark는 **AI 기반 콘텐츠 생성**, **멀티모달 인터페이스 개발**, **시각 편집 및 동영상 생성** 등 다양한 산업 분야에서 활용 가능하다. 특히, **하나의 모델로 텍스트-이미지 생성, 편집, 이해를 통합**할 수 있어, **사용자 맞춤형 콘텐츠 제작**, **교육 및 엔터테인먼트 분야의 멀티모달 시스템 구축**에 적합하다.