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 によって提供されています