arXiv論文メモ
新着一覧
cs.CL · 査読状況未確認

連続するトークンをまとめて言語モデルの計算を圧縮

Distilling Sequential Computation in Transformer Language Models

Zixuan Lan, Jessica Yang, Yanhong Li, Karen Livescu, Jiawei Zhou

この論文をやさしく読む

ひとことで言うと

複数のトークンを一つの表現へまとめ、既存の言語モデルが処理する系列を短くする方法。

何に役立つ?

考えられる用途は、長い入力や生成時の推論計算の削減。要旨では系列長の削減と課題精度を評価している。

この研究の面白いところ

プロンプトだけでなく生成途中のKVキャッシュも巻き戻して置換し、有効な系列長を最大40%減らした。

どこまで分かった?

最大40%は実験条件下の値。計算時間やメモリの具体的な削減率は要旨に示されていない。

v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。

アブストラクトの日本語訳

Transformer言語モデルは自己回帰的にトークンを一つずつ処理するため、文脈が長くなるほど計算費用が増える。しかし隣接するトークンのまとまりには、予測しやすいものや安定した単位として頻出するものが多く、その表現を圧縮できる可能性がある。本研究は、入力中の複数トークンを、軽量な統合モジュールがその場で計算した一つの圧縮表現に置き換え、逐次計算を蒸留する方法を導入する。 統合モジュールは、固定された複数トークンの埋め込みから、それらの機能を表す代理埋め込みを一つ生成する。これにより、事前学習済みモデルの構造変更や再学習をせずに圧縮入力を扱える。推論時には、プロンプトと生成途中の両方を圧縮し、保存済みの複数トークン分のKVキャッシュを、一段階の代理表現に置き換える巻き戻し機構を使う。 さまざまなモデルでの実験では、言語モデルの評価と、質問応答、要約、常識推論、長い数学的推論を含む下流課題で、精度の低下を小さく保ちながら有効な系列長を最大40%減らせた。選んだ条件では、統合モジュールを軽く追加適応させると、精度と圧縮率の関係がさらに改善した。この結果は、元のモデルを更新せずに、連続したトークンの計算を圧縮した代理表現で近似できることを示す。

v1の要旨から自動生成。本文の精読・人による確認は未実施。

初稿
2026-09-23(UTC)
最新改訂
2026-09-23 · v1
査読・掲載
査読状況未確認
arXivで読むPDF

更新履歴

取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。

原文の要旨

Transformer language models process sequences token by token in an autoregressive manner, making growing contexts increasingly expensive. Yet many adjacent token spans are highly predictable or frequently occur as stable units, suggesting that their representations may be compressible. We introduce a method for distilling sequential computation by replacing spans of input tokens with collapsed representations, computed on the fly by a lightweight merge module. This module generates a single surrogate embedding from a sequence of static token embeddings that captures the functional role of the multiple tokens, allowing pretrained models to operate on compressed inputs without architectural changes or re-training. We apply this approach during inference to compress both prompts and intermediate decoding steps, using a rollback mechanism to substitute stored multi-token KV cache entries with their single-step surrogates. Experiments across diverse models show that the merge module can be used to reduce effective sequence length by up to 40% with minimal accuracy degradation across language modeling evaluations and downstream tasks, including question answering, summarization, commonsense reasoning, and long-form mathematical reasoning. Additional lightweight adaptation of the merge module further improves the accuracy-compression trade-off in selected settings. These results demonstrate that sequential token computation in Transformers can be effectively approximated through condensed surrogate representations that approximate the original behavior without model updating.

arXiv ID: 2609.27233 / 要約の誤りについて