HyperAIHyperAI

Command Palette

Search for a command to run...

NCP-ArchPreview 技術報告:次概念予測による潜在空間言語モデルへの移行

概要

我々は、標準的な次トークン予測(NTP)を超えた自己回帰的事前学習を推進する潜在空間言語モデル、NCP-ArchPreviewを導入する。本モデルはNTPと並行して、複数トークンにまたがる離散概念を予測する次概念予測(NCP)を通じて学習し、標準的なトークンレベルの自己回帰的生成を維持しつつ、より明示的で困難な概念レベルの目的を導入する。NCP-ArchPreviewは、その隠れ状態から直接、積量子化された概念語彙を構築することで潜在空間を形成し、その後、専用の概念モジュールを介して将来の概念を予測することを学習する。これらの予測された概念はトークンレベルにフィードバックされ後続の生成を導き、NTPとNCPはエンドツーエンドで共同訓練される。我々はこのアーキテクチャを89億パラメータにスケールさせ、Dolma-3データセットから5.73兆トークンを用いて訓練した。これは、潜在空間言語モデルとして現時点で最大規模の実証である。注目すべきことに、NCP-ArchPreviewは全訓練トークンのわずか51.3%を消費した時点で、OLMo-3-7Bの最終的な事前学習損失を達成する。完全な事前学習後、下流タスクのマクロ平均においてOLMo-3-7Bを2.45ポイント上回り、GSM8Kでは顕著な5.99ポイントの向上を示す。制御実験により、潜在アーキテクチャとNCP目的の両方に起因する性能向上の明確な進行が分離される。さらに、標準的な計算量の85%のみを使用して、NCP-ArchPreviewは厳密にパラメータを整合させた89億パラメータのベースラインの訓練損失に迫る。学習された潜在空間は事前学習段階後も非常に価値が高く、1700万パラメータのVQモジュールのみを更新することで、ドメイン適応のための新規で軽量なインターフェースが得られる一方、DFlash2ドラフターへの概念表現の単純な注入により、平均受理長が無視できるオーバーヘッドで4.17%改善する。トークンと概念の共同モデリングを大規模に実現可能であることを証明することで、これらの結果は、潜在空間予測を単なる補助的目的ではなく、次世代基盤モデルのための非常に効率的でスケーラブルなアーキテクチャの青写真として位置づけるものである。我々は、10万訓練ステップごとに取得されたステージ1チェックポイント、対応するドラフターモデル、そして最終的なステージ1/ステージ2チェックポイントを公開する。

One-sentence Summary

Researchers from Shanghai AI Lab, LUMIA Lab, and Shanghai Jiao Tong University introduce NCP-ArchPreview, an 8.9B-parameter latent-space language model that jointly trains next-token prediction with Next Concept Prediction (NCP) using a product-quantized concept vocabulary derived from hidden states, achieving superior pretraining efficiency and downstream performance while enabling lightweight domain adaptation and speculative decoding improvements.

Key Contributions

  • NCP-ArchPreview is an 8.9B-parameter latent-space language model that jointly learns next-token and next-concept prediction, scaling latent-space modeling to trillion-token pretraining for the first time.
  • NCP-ArchPreview reaches the final pretraining loss of OLMo-3-7B with only 51.3% of the training tokens, and after full pretraining outperforms that baseline by 2.45 downstream macro-average points, including a 5.99-point gain on GSM8K; it also approaches a parameter-aligned 8.9B Transformer using 85% of the computation and demonstrates a 1.74× compute efficiency improvement in scaling-law experiments.
  • The learned concept space enables efficient domain adaptation by updating only the 17M-parameter VQ module, and injecting concept representations into a DFlash2 drafter improves speculative decoding mean accepted length by 4.17% with negligible overhead.

Introduction

In generative AI, the representation space a model learns can be as critical as its parameter count. While language models naturally develop high-level abstractions in their hidden states, standard next-token prediction treats these as a byproduct: supervision is confined to individual surface tokens, with no explicit objective guiding how semantic structure unfolds across longer spans. Prior hierarchical and latent-space architectures either fix the granularity of latent units or introduce new prediction targets that remain tied to token-level losses, leaving direct latent-space modeling at scale largely untested. The authors introduce NCP-ArchPreview, an 8.9B-parameter foundation model that jointly pretrains with next-token prediction and a novel next-concept prediction objective. By predicting discrete concepts over multi-token spans from the start of pretraining, and scaling to 5.73 trillion tokens, the work demonstrates that latent-space language modeling can substantially improve training efficiency, downstream performance, and compute Pareto-optimality compared to a strong token-only baseline.

Method

The authors introduce NCP-ArchPreview, a latent-space language model that augments standard next-token prediction with a concept-level predictive pathway operating in a learned discrete latent space. The model compresses token sequences into continuous concept representations, discretizes them through product vector quantization, and autoregressively predicts future concepts. These predictions are then fused back into the token stream to guide token generation. Hierarchical residual connections further mix information across layers and modules, while the entire system is trained end-to-end with a joint objective.

The backbone is organized into three modules: a Token Encoder, a Concept Module, and a Token Decoder. Given an input sequence x1:Tx_{1:T}x1:T, the Token Encoder produces token-level hidden states h1:T\mathbf{h}_{1:T}h1:T. A mean-pooling operator groups every kkk consecutive token states into a continuous concept representation cm\mathbf{c}_mcm, yielding a concept sequence of length M=T/kM = \lfloor T/k \rfloorM=T/k. These continuous concepts are then mapped to a finite discrete vocabulary via vector quantization, forming a structured target space for prediction. The Concept Module consumes the concept history and predicts the next concept as a differentiable combination of codebook entries. The predicted concept sequence is repeated to token resolution, causally shifted to prevent information leakage, and added to the token-level states before the Token Decoder performs next-token prediction.

To learn a discrete concept vocabulary, the authors employ product quantization. Each concept vector cm\mathbf{c}_mcm is split into SSS segments of equal dimension, and each segment is assigned to the nearest entry in a dedicated codebook Es={e1s,,eNs}\mathcal{E}^s = \{\mathbf{e}_1^s, \dots, \mathbf{e}_N^s\}Es={e1s,,eNs}. The quantized concept is the concatenation of the selected codewords. Product quantization yields NSN^SNS possible combinations while keeping individual codebooks small, greatly expanding the capacity of the discrete concept space. A vector quantization loss LVQ\mathcal{L}_{\mathrm{VQ}}LVQ moves the selected codebook entries toward the continuous representations using a stop-gradient on the encoder side, so that the codebooks track the latent distribution without directly altering the token-level hidden states.

The Concept Module predicts the next concept autoregressively from the concept history c<m\mathbf{c}_{<m}c<m. A stack of Transformer layers produces a latent state um\mathbf{u}_mum, and for each product quantization segment sss, a segment-specific prediction head outputs a probability distribution πms\boldsymbol{\pi}_m^sπms over the codebook entries. Instead of a hard discrete selection, the predicted segment is formed as the expectation c^ms=nπm,nsens\hat{\mathbf{c}}_m^s = \sum_n \pi_{m,n}^s \mathbf{e}_n^sc^ms=nπm,nsens, and the full predicted concept c^m\hat{\mathbf{c}}_mc^m is the concatenation of these segments. This keeps the prediction path fully differentiable while restricting the output to the linear span of the learned codebooks. The next-concept prediction is supervised by a mean-squared error loss LNCP\mathcal{L}_{\mathrm{NCP}}LNCP between c^m\hat{\mathbf{c}}_mc^m and the detached continuous target cm\mathbf{c}_mcm, which updates both the Concept Module and the Token Encoder through the preceding concept representations.

The predicted concepts are injected into the token stream by repeating each c^m\hat{\mathbf{c}}_mc^m kkk times and applying a causal shift Δ=k\Delta = kΔ=k. For token positions tΔt \ge \DeltatΔ, the concept signal bt\mathbf{b}_tbt is taken from the appropriately shifted concept index; earlier positions receive a zero vector. This ensures that no future-token information leaks into the prediction. The concept signal is added element-wise to the token hidden states: h~t=ht+bt\widetilde{\mathbf{h}}_t = \mathbf{h}_t + \mathbf{b}_tht=ht+bt. The Token Decoder then models the next-token distribution p(xt+1xt)p(x_{t+1} \mid x_{\le t})p(xt+1xt) from the fused states, trained with the standard causal next-token prediction loss LNTP\mathcal{L}_{\mathrm{NTP}}LNTP.

To enhance information flow across different depths and granularities, the model incorporates hierarchical residual connections with two complementary mechanisms. Intra-Module Residual Connections (IRC) generalize the standard residual addition by allowing each layer to combine representations from multiple preceding depths. At layer \ell in a module, a candidate set Xs\mathcal{X}_\ell^sXs collects the initial state and all previous residual-updated states. A lightweight MLP applied to the current block output produces unnormalized coefficients, and the next hidden state is a weighted sum of the candidates. The MLP is initialized to select only the most recent residual-updated state, recovering the standard residual connection, while training can learn to incorporate earlier representations.

Cross-Module Residual Connections (CRC) transfer information between modules. When source and target modules operate at different sequence granularities, the source representations are first aligned by chunking or repetition. A softmax-normalized MLP over the target state produces depth-wise coefficients, and a weighted sum of layer-normalized source states is added to the target stream after scaling with a learned diagonal matrix. Three CRC pathways are used: TokenEncoder → ConceptModule, TokenEncoder → TokenDecoder, and ConceptModule → TokenDecoder. The last connection obeys the same causal shift as the predicted-concept pathway. Diagonal scalings are initialized to small values, so the model initially behaves like the original backbone and gradually learns to exploit cross-module signals.

Training is performed end-to-end, jointly optimizing the Token Encoder, Concept Module, Token Decoder, and codebooks. The total loss combines the next-token prediction loss, the next-concept prediction loss, and the vector quantization loss:

Ltotal=LNTP+αLNCP+βLVQ,\mathcal{L}_{\mathrm{total}} = \mathcal{L}_{\mathrm{NTP}} + \alpha \mathcal{L}_{\mathrm{NCP}} + \beta \mathcal{L}_{\mathrm{VQ}},Ltotal=LNTP+αLNCP+βLVQ,

where α\alphaα and β\betaβ control the auxiliary objectives. The NTP loss provides dense supervision for all parameters, the NCP loss encourages the encoder to retain information useful for concept prediction, and the VQ loss fits the codebooks to the concept distribution without backpropagating through the encoder. Optimization uses Moonlight Muon for matrix-valued parameters, with orthogonalized updates scaled by max(din,dout)\sqrt{\max(d_{\mathrm{in}}, d_{\mathrm{out}})}max(din,dout), weight decay, and a cosine learning-rate schedule starting at 6×1056 \times 10^{-5}6×105. Embeddings, biases, and other non-matrix parameters are optimized with AdamW.

Experiment

The paper evaluates NCP-ArchPreview, a concept-predicting variant of OLMo-3-7B, using a two-stage curriculum and a comprehensive suite of 30 benchmarks spanning knowledge, reasoning, and code. NCP-ArchPreview consistently yields lower training loss and stronger downstream results than the baseline, with scaling experiments confirming a clear computational efficiency advantage. Ablations demonstrate that the Concept Module, hierarchical residual connections, and next-concept prediction loss each contribute meaningfully, while VQ-based adaptation updates only a small fraction of parameters to achieve competitive domain transfer with less forgetting and higher throughput. Concept representations also prove beneficial for multi-token prediction and block-parallel speculative drafting, and per-head normalization is identified as a remedy for training instabilities in the baseline configuration.

NCP-ArchPreview consistently outperforms the vanilla OLMo-3 model on all MMLU subsets across both training stages, with larger gains in Stage-1 than in Stage-2. The overall MMLU score improves by 2.58 points in Stage-1 and 1.82 points in Stage-2, driven by particularly strong advances in Humanities and Social Sciences. NCP-ArchPreview improves overall MMLU by 2.58 points in Stage-1 and 1.82 points in Stage-2 over the vanilla model. The largest absolute gains occur in MMLU-Humanities (+3.55 in Stage-1) and MMLU-Social Sciences (+2.79 in Stage-1), with all subsets showing positive improvements.

NCP-ArchPreview combines token encoder, token decoder, and concept module blocks to reach 40 block-equivalent parameters while using only 34 block-equivalent units of computation. It outperforms a vanilla Transformer with matched computation and approaches the performance of a vanilla model with matched parameters, despite requiring 15 percent less computation. The gains stem from the architecture rather than from simply adding parameters or compute. NCP-ArchPreview surpasses a vanilla Transformer that uses the same total computation (34F_blk). It nearly matches a vanilla Transformer with equal parameters (40P_blk) while using only 85 percent of the computation. Each concept module block adds parameters comparable to a standard block but incurs less than one quarter of the computation, enabling efficient scaling.

Adding intra-module residual connections (IRC) alone substantially reduces language modeling loss with a very small increase in analytical training FLOPs. Combining IRC with cross-module connections further improves loss without additional counted tensor contractions, while the full IRC + CRC design achieves the largest loss reduction at a higher FLOPs cost. A block-based attention residual variant underperforms all IRC-based configurations at a comparable compute budget. IRC alone delivers a loss reduction of 0.0273 with only 0.024% extra analytical FLOPs, offering a strong efficiency trade-off. IRC + CRC yields the best loss (0.0323 reduction) but requires 0.051% additional FLOPs, more than double the overhead of IRC alone. Adding input-level cross-module connections to IRC improves loss by 0.0023 over IRC only while keeping analytical FLOPs unchanged at 0.024%. Applying softmax normalization at all stages gives nearly identical loss to the cross-module variant (difference of 0.0003) at the same FLOPs. Block AttnRes with cross-module connections achieves only a 0.0180 loss reduction at 0.026% FLOPs, significantly smaller than any IRC-based variant.

VQ training adapts a model by updating only the codebooks and concept-prediction heads, using 17M trainable parameters without adding any new ones. In contrast, LoRA introduces 17M additional parameters to achieve the same trainable count, while full-parameter training updates all 8.9B existing weights. This makes VQ a parameter-efficient strategy that avoids increasing model size. VQ training updates 17M existing parameters and adds zero new parameters. LoRA matches the 17M trainable parameter count but adds 17M new parameters to the model. Full training updates all 8.9B parameters without adding any new ones.

Updating only the VQ codebooks and concept-prediction heads yields the highest code average and is the sole adaptation method that improves all four programming benchmarks. Full-parameter and LoRA fine-tuning both suffer large regressions on MBPP+, which lowers their overall code performance below the VQ result. Across all adaptation settings, the NCP-ArchPreview model retains higher general benchmark averages than the corresponding OLMo-3-7B variants. VQ adaptation improves every code task and achieves the highest code average among the adapted variants. Full-parameter training and LoRA both cause severe drops on MBPP+, reducing the full-training code average below its Stage-1 baseline. NCP-ArchPreview adapted with full training or LoRA outperforms the matched OLMo-3-7B controls on both code and general benchmarks.

The NCP-ArchPreview model consistently outperforms a vanilla Transformer on MMLU benchmarks, particularly in humanities and social sciences, while achieving parameter-matched performance with 15 percent less computation thanks to efficient concept module blocks. Intra-module residual connections substantially reduce language modeling loss with negligible overhead, and adding cross-module connections further improves the loss. Parameter-efficient VQ adaptation, which updates only existing codebooks and concept-prediction heads without adding new parameters, yields the best code benchmark results and avoids the regressions seen with full-parameter or LoRA fine-tuning, while NCP-ArchPreview retains higher general benchmark averages across all adaptation settings.


AIでAIを構築

アイデアからローンチまで — 無料のAIコーディング支援、すぐに使える環境、最高のGPU価格でAI開発を加速。

AI コーディング補助
すぐに使える GPU
最適な料金体系

HyperAI Newsletters

最新情報を購読する
北京時間 毎週月曜日の午前9時 に、その週の最新情報をメールでお届けします
メール配信サービスは MailChimp によって提供されています