HyperAIHyperAI

Command Palette

Search for a command to run...

AURORA-LM: 연속 잠재 공간 확산 언어 모델링을 위한 자동 인코딩 통합 표현

초록

언어는 현대 생성 모델링에서 여전히 예외적인 영역으로 남아 있다. 이미지, 비디오, 오디오가 점차 연속 잠재 공간에서 모델링되는 반면, 텍스트 생성은 주로 이산 토큰에 의존한다. 기존의 연속 언어 모델은 생성과 디코딩을 공동으로 고려하지 않은 임베딩 공간을 계승하거나, 토큰 수준의 충실도를 희생하면서 확산을 용이하게 하기 위해 자동 인코딩된 잠재 표현을 압축한다. 우리는 이러한 지배적인 설계상의 타협에 도전한다. 생성 모델에 맞춰 표현을 단순화하는 대신, 고용량의 디코딩 가능한 텍스트 잠재 표현을 보존하고 확산 모델이 그 분포를 직접 학습하도록 설계한다. 본 논문에서는 디코딩 가능한 텍스트 표현의 구축과 그 생성 분포의 모델링을 분리하는 연속 잠재 확산 언어 모델인 AURORA-LM을 소개한다. 이러한 표현을 얻기 위해, 우리는 텍스트를 고용량의 접두사 정렬 잠재 시퀀스로 구성하는 쿼리 기반 인코더-디코더를 사용한다. 그런 다음, 흐름 매칭을 통해 이러한 전체 폭 잠재 표현의 분포를 학습하는 블록 인과 확산 트랜스포머를 도입하여, 각 블록 내 위치를 병렬적으로 잡음 제거하면서 왼쪽에서 오른쪽으로 블록을 생성한다. 그러나 정확한 토큰 디코딩을 위해 고용량 잠재 표현을 유지하면 확산 모델이 그 분포를 학습하기가 더 어려워진다. AURORA-LM은 잡음 입력 경로만 제한하고 전체 클린 잠재 예측 목표는 유지함으로써 이 어려움을 해결하며, 생성 모델이 디코더 측 용량을 줄이지 않고도 전체 폭 잠재 표현을 수용할 수 있게 한다. 나아가 표현 차원에 따라 유효 신호 강도가 변하는 방식을 고려하여 잡음 수준 분포를 잠재 폭에 맞춰 보정한다. 마지막으로, 독립적으로 샘플링된 잡음 상태에 대한 훈련과 반복적 잡음 제거를 통한 추론 사이의 간극을 메우기 위해 자기 궤적 일관성을 도입한다. 포괄적인 비교 평가에서 AURORA-LM은 OpenWebText 자유 생성 및 XSum 조건부 요약 과제에서 평가된 연속 및 확산 기반 언어 모델 중 가장 강력한 성능을 달성했다. 총 약 1500 EFLOPs의 컴퓨팅으로 10억 개의 매개변수로 확장한 결과 추가적인 성능 향상을 얻었으며, 동일한 평가 프로토콜 하에서 공개된 더 큰 규모의 잠재 확산 언어 모델을 능가했다. 우리의 결과는 연속 언어 생성이 고용량, 인과적으로 구조화되고 디코딩 가능한 텍스트 표현을 통해 확산 기반 생성 모델링과 이산 토큰 디코딩을 효과적으로 연결할 수 있음을 입증한다. 모든 실험은 Ascend NPU에서 수행되었다.

One-sentence Summary

Researchers from Nanjing University, Nanyang Technological University, and Imperial College London propose AURORA-LM, a continuous-latent diffusion language model that uses a Query-based Encoder-Decoder to create high-capacity, prefix-aligned latent sequences and a Block-causal Diffusion Transformer with flow matching, noise-level calibration, and self-trajectory consistency, achieving the strongest performance among evaluated continuous and diffusion-based language models on OpenWebText free generation and XSum conditional summarization while scaling to 1B parameters.

Key Contributions

  • A Query-based Encoder-Decoder constructs a prefix-aligned, high-capacity continuous text latent, frozen before diffusion training to decouple representation learning; wider latents retain token-level information robustly under corruption.
  • A Block-causal Diffusion Transformer models the full-width latent distribution via flow matching, generating blocks left-to-right while denoising positions within each block in parallel.
  • To learn the high-dimensional distribution without reducing decoding capacity, a low-rank bottleneck is applied only to the noisy input, the noise-level distribution is calibrated to latent width, and self-trajectory consistency aligns training with iterative denoising; this yields the strongest performance among evaluated continuous and diffusion-based language models on OpenWebText free generation and XSum conditional summarization, and a 1B-parameter model surpasses a larger publicly released latent-diffusion language model.

Introduction

Continuous latent spaces serve as a powerful backbone for modern generative models, enabling high-quality synthesis in vision and audio. However, language modeling still relies on discrete tokens, creating an asymmetry in multimodal systems. Prior attempts to generate text in continuous space either repurpose token embeddings or pretrained encoder features, which are not explicitly optimized for both accurate reconstruction and tractable generation. Autoencoder-based approaches can learn a tailored latent, but they face a trade-off: compressing the representation simplifies the generative task at the cost of decoding fidelity, while preserving detail complicates latent modeling. The authors introduce AURORA-LM, a framework that decouples the construction of a text representation from the learning of its distribution. They first build a high-capacity, causally ordered latent space with a query-based encoder-decoder that faithfully supports token recovery, then freeze it and train a block-causal diffusion model via flow matching. To handle the resulting full-width latent distribution without compression, they combine a low-rank input projection, width-aware noise allocation, and a self-trajectory consistency regularizer. This design achieves strong generation and conditional summarization performance, outperforming prior continuous and discrete baselines while scaling effectively.

Method

The AURORA-LM framework is organized around two primary learning objectives: constructing a continuous text representation that can be accurately decoded back into discrete tokens, and modeling the generative distribution of this continuous latent space. The architecture comprises a Query-based Encoder-Decoder and a block-causal denoiser, which is a Transformer trained with flow matching.

The first stage focuses on continuous text latent construction. The authors leverage a Query-based Encoder-Decoder to organize a discrete text sequence into a high-capacity, causally ordered latent interface. Given a token sequence of length LLL, the encoder produces a continuous latent sequence zencRN×Dz_{\mathrm{enc}} \in \mathbb{R}^{N \times D}zencRN×D, where DDD is the channel width and N=round(cL)N = \mathrm{round}(cL)N=round(cL) is the number of latent positions determined by the latent retention ratio ccc. To construct this ordered sequence, NNN latent queries aggregate the variable-length token sequence. Each query is initialized from a shared learnable vector and distinguished by the context visible at its position. At layer \ell, query iii attends to preceding latent states and the corresponding token prefix, with RoPE applied to encode positions. The layer updates are computed as:

z~enc,i()=zenc,i()+MHA()(zenc,i(),[zenc,1:i();E[w1:iL/N]]),\widetilde{z}_{\mathrm{enc}, i}^{(\ell)} = z_{\mathrm{enc}, i}^{(\ell)} + \mathrm{MHA}^{(\ell)} \Big( z_{\mathrm{enc}, i}^{(\ell)}, [ z_{\mathrm{enc}, 1: i}^{(\ell)}; E [ w_{1: \lceil i L / N \rceil} ] ] \Big),zenc,i()=zenc,i()+MHA()(zenc,i(),[zenc,1:i();E[w1:iL/N]]), zenc,i(+1)=z~enc,i()+FFN()(z~enc,i()).z_{\mathrm{enc}, i}^{(\ell + 1)} = \widetilde{z}_{\mathrm{enc}, i}^{(\ell)} + \mathrm{FFN}^{(\ell)} \Big( \widetilde{z}_{\mathrm{enc}, i}^{(\ell)} \Big).zenc,i(+1)=zenc,i()+FFN()(zenc,i()).

The decoder mirrors this structure, initializing LLL output queries from a second shared vector. Output position jjj attends to the latent prefix zenc,1:(j1)N/L+1z_{\mathrm{enc}, 1: \lfloor (j - 1) N / L \rfloor + 1}zenc,1:⌊(j1)N/L+1 and preceding decoder states to reconstruct token logits. The autoencoder is trained jointly using token-level cross-entropy loss, regularized by token-embedding and latent dropout. Once trained, the autoencoder is frozen to fix the latent space for the subsequent generative modeling stage.

The second stage involves block-causal modeling of the continuous text latents. The outputs of the frozen encoder are standardized using per-channel affine normalization to induce an empirical distribution. The block-causal denoiser models this distribution by factorizing the latent sequence into contiguous blocks of size QQQ. This block-causal factorization enables left-to-right causal generation across blocks while jointly denoising all positions within a block. For a clean block α(b)\alpha^{(b)}α(b) and Gaussian noise ε(b)N(0,I)\varepsilon^{(b)} \sim \mathcal{N}(0, I)ε(b)N(0,I), a linear probability path is defined as:

αt(b)=(1t)α(b)+tε(b),t[0,1].\alpha_{t}^{(b)} = (1 - t) \alpha^{(b)} + t \varepsilon^{(b)}, \quad t \in [0, 1].αt(b)=(1t)α(b)+tε(b),t[0,1].

The denoiser is trained to predict the clean endpoint α(b)\alpha^{(b)}α(b) from the noisy state, noise level ttt, and clean prefix α(<b)\alpha^{(<b)}α(<b).

To efficiently learn the full-width latent distribution, the authors introduce a noisy-latent input bottleneck. While the frozen decoder requires a full-width clean block of dimension DDD, the denoiser processes the noisy input through a lower-rank pathway with bottleneck dimension Db<min(D,H)D_b < \min(D, H)Db<min(D,H), where HHH is the Transformer hidden width. This forces the model to extract a compact representation before processing. Parallel blockwise training is achieved by using clean prefixes from the frozen encoder and applying a two-stream attention mask, allowing all block conditionals to be evaluated in a single forward pass. The clean-endpoint flow-matching loss is defined as:

LFM=EzqE,tπ,εN(0,I)[1DJiJz^θ,izi22].\mathcal{L}_{\mathrm{FM}} = \mathbb{E}_{z \sim q_{\mathcal{E}}, t \sim \pi, \varepsilon \sim \mathcal{N}(0, I)} \left[ \frac{1}{D|\mathcal{J}|} \sum_{i \in \mathcal{J}} \| \hat{z}_{\theta, i} - z_{i} \|_{2}^{2} \right].LFM=EzqE,tπ,εN(0,I)[DJ1iJz^θ,izi22].

To bridge the gap between independent training samples and the sequential nature of inference, the framework incorporates self-conditioning and self-trajectory consistency. Self-conditioning feeds the clean-latent prediction from the previous sampling step back into the model as an additional input during training. Self-trajectory consistency aligns the clean-latent predictions at neighboring states along the sampling trajectory by minimizing the distance between the current model's prediction and an exponential moving average model's prediction at a lower-noise level tt't:

Lct=E[1DJiJz^θ(αt,t)isg(z^θEMA(α~t,t)i)22].\mathcal{L}_{\mathrm{ct}} = \mathbb{E} \left[ \frac{1}{D|\mathcal{J}|} \sum_{i \in \mathcal{J}} \| \hat{z}_{\theta}(\alpha_{t}, t)_{i} - \mathrm{sg}(\hat{z}_{\theta_{\mathrm{EMA}}}(\widetilde{\alpha}_{t'}, t')_{i}) \|_{2}^{2} \right].Lct=E[DJ1iJz^θ(αt,t)isg(z^θEMA(αt,t)i)22].

The complete training objective combines these losses: Ltrain=LFM+λctLct\mathcal{L}_{\mathrm{train}} = \mathcal{L}_{\mathrm{FM}} + \lambda_{\mathrm{ct}} \mathcal{L}_{\mathrm{ct}}Ltrain=LFM+λctLct.

During inference, latent generation proceeds block by block from left to right. For prompt-conditioned generation, the prompt is encoded and standardized to initialize the prefix. The remaining blocks are generated by denoising Gaussian noise from t=1t=1t=1 to t=0t=0t=0, conditioned on the completed prefix. The generated standardized latent sequence is then un-standardized and passed through the frozen query decoder to recover the output token sequence. The authors also employ guidance mechanisms at inference time, such as Self-Conditioning Classifier-Free Guidance for unconditional generation and standard Classifier-Free Guidance for prompt-conditioned generation, to control the trade-off between generation quality and diversity.

Experiment

The experiments first conduct controlled ablations on OpenWebText to validate key design choices, showing that wide latent representations (D=1024), a narrow noisy-input bottleneck (128), a high-noise training schedule, x₀ prediction with x₀-space loss, and blockwise generation with self-trajectory consistency collectively optimize performance. System-level comparisons then demonstrate that AURORA-LM-S outperforms autoregressive, discrete-diffusion, and other continuous-generation baselines on both unconditional text generation and conditional summarization, confirming the advantage of modeling a learned continuous representation. Finally, scaling AURORA-LM-L to 1.01B parameters yields consistent improvements over a larger state-of-the-art latent diffusion model across nine diverse language tasks, establishing the design's effectiveness at larger scales.

Direct regression of the clean latent (target x0, loss x0) achieves the highest MAUVE scores across both noisy-input widths, substantially outperforming all velocity-based alternatives. The combination of a clean target with a velocity loss collapses to near-zero quality, while velocity targets paired with either loss show moderate but lower performance. These trends remain consistent whether the noisy input is bottlenecked at 128 dimensions or kept at the full 1024-dimensional width. Clean-latent regression (x0 target, x0 loss) yields MAUVE above 0.80 for both bottleneck widths, far exceeding the next-best configuration. Using a velocity loss with a clean-latent target drives MAUVE below 0.06, indicating a fundamental mismatch between the prediction target and loss space. Velocity-prediction targets (v target) paired with an x0 loss attain moderate MAUVE (0.73 at width 128) but drop sharply to 0.33 at full width. The relative ranking of target–loss combinations is preserved across noisy-input widths, but the performance gap between clean and velocity targets widens at the full 1024-dimensional width.

On unconditional generation of 1,024-token OpenWebText samples, the continuous-latent AURORA-LM-S achieves the best overall quality, posting the lowest Gen-PPL (23.56) and highest MAUVE (0.890) among all compared systems. It surpasses the previous continuous model ELF-B, which suffered from extremely low MAUVE despite competitive perplexity, and substantially outperforms autoregressive and discrete-diffusion baselines. AURORA-LM-S reduces Gen-PPL by about 40% relative to the autoregressive baseline and by over 70% relative to discrete-diffusion models, while raising MAUVE to 0.890. ELF-B achieved a similar Gen-PPL (24.11) but its MAUVE collapsed to 0.229, showing that AURORA-LM-S uniquely combines low perplexity with high distributional similarity to real text. Discrete-diffusion approaches (SEDD, MDLM) yield Gen-PPL above 119 and MAUVE below 0.7, indicating much weaker long-text generation quality than the continuous-latent model.

On the XSum conditional generation task, AURORA-LM-S obtains the top ROUGE-1, ROUGE-2, and ROUGE-L scores, overtaking all evaluated baselines including the prior best model ELF-B. The strong performance extends the model's continuous-latent formulation from unconditional to prompt-conditioned generation. AURORA-LM-S leads all compared models on XSum across all three ROUGE metrics. It improves over the next best model ELF-B by more than one point on both ROUGE-2 and ROUGE-L.

The smaller 1B-parameter AURORA-LM-L outperforms the larger 1.8B-parameter Cola-DLM on all nine evaluated benchmarks and achieves a higher macro average, demonstrating that the model's advantages persist at scale and across diverse language tasks. AURORA-LM-L attains a macro average of 32.6 versus Cola-DLM's 25.1, outperforming on every task despite having roughly half the parameters. The largest absolute gaps appear on story and commonsense reasoning tasks such as HellaSwag (18.4 vs. 5.7) and StoryCloze (54.8 vs. 33.8).

Ablation studies on latent regression targets and losses confirm that directly predicting the clean latent with a clean-target loss yields the highest generation quality, while velocity-based formulations sharply degrade performance, especially when mismatched. In unconditional long-text generation, the continuous-latent AURORA-LM model attains the best combination of low perplexity and high distributional similarity, far surpassing autoregressive and discrete-diffusion baselines that either suffer from poor coherence or collapsed similarity. AURORA-LM extends this strong generative capability to prompt-conditioned summarization, where it achieves top ROUGE scores, and to few-shot reasoning benchmarks, where a smaller 1B-parameter version outperforms a 1.8B discrete-diffusion alternative on all tasks, confirming efficient scaling across diverse language evaluations.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp