Liquid AI、LFM2.5 ドラフトモデル公開、推論速度最大 3.18 倍向上
本文の状態
日本語全文を表示中
詳細モードで約7分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
MarkTechPost
Liquid AI は LFM2.5 ファミリーの 3 モデル向けに DSpark ドラフトモデルを公開し、推論速度を最大 3.18 倍向上させる一方、出力精度は維持する技術を発表した。
AI深層分析を開く2026年8月21日 09:42
AI深層分析
キーポイント
DSpark ドラフトモデルの公開と性能
Liquid AI は LFM2.5-1.2B-Instruct、2.6B、8B-A1B の 3 モデル向けに DSpark ドラフトモデルをリリースし、H100 で最大 3.18 倍、M4 Max MacBook Pro で最大 2.87 倍のデコーディング速度向上を実現した。
推論精度と出力の維持
ドラフトモデルによる推論経路の追加にもかかわらず、グリーディなデコーディング条件下では対象モデル単独と同じシーケンスが生成され、ベンチマークでの精度は変化しない。
ライセンスと展開条件
LFM Open License v1.0 は年間収益 1,000 万ドル以下の企業に商用利用を許可するが、それ以上の規模の企業は Liquid AI と個別に契約する必要がある。
技術的な実装構成
約 3 億パラメータのドラフトモデルは、ターゲットモデルの文脈特徴に基づいて並列バックボーンと軽量逐次ヘッドを組み合わせ、ブロックサイズ 9 で動作する。
H100環境での最大3.18倍の高速化と出力の同一性
DSparkドラフトモデルはH100上で最大3.18倍のデコーディング速度向上を実現し、貪欲法による出力はベースラインと同一であるためベンチマーク精度は維持される。
重要な引用
Liquid AI has released DSpark draft model checkpoints for three models in its LFM2.5 family
The trade is a small memory increase for a large decoding speedup: up to 3.18x on an H100 and up to 2.87x on an M4 Max MacBook Pro.
Under greedy decoding, the emitted sequence is identical to the target model running alone, so benchmark accuracy is unchanged.
Speedup tracks acceptance rate, which tracks how predictable the output is.
編集コメントを表示
編集コメント
推論速度の向上と精度維持を両立させる DSpark 技術は、ローカル環境やエッジデバイスでの LLM 活用において大きな意義を持つ。ただし、商用利用における収益規模によるライセンス制限や、ホスト型サービス非対応という制約も明確であるため、導入計画にはこれらの条件を厳密に評価する必要がある。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
Liquid AI は、LFM2.5 ファミリーに属する 3 つのモデル向けに DSpark ドラフトモデルのチェックポイントを公開しました。対象は LFM2.5-1.2B-Instruct、LFM2.5-2.6B、そして LFM2.5-8B-A1B です。
各ドラフターは、既存のターゲットモデルに推測デコーディング用のパスを追加します。約 3 億パラメータのドラフトが、9 つの候補トークンのブロックを提案し、ターゲットモデルはそのブロック全体を単一の順方向パスで検証します。この手法のトレードオフは、わずかなメモリ増加と引き換えに、劇的なデコーディング速度の向上です。H100 では最大 3.18 倍、M4 Max を搭載した MacBook Pro では最大 2.87 倍の高速化が実現しました。
出力結果に変更はありません。貪欲デコーディング(greedy decoding)において生成されるシーケンスは、ターゲットモデル単独で実行した場合と完全に一致するため、ベンチマークにおける精度も変わりません。llama.cpp と SGLang は、リリース初日からサポートを開始しています。
導入は可能でしょうか?
はい、自己ホストすれば可能です。重みデータは Safetensors および GGUF 形式で提供されていますが、現時点では Hugging Face のどのホスト型推論プロバイダーも DSpark ドラフトチェックポイントを提供していません。これらを実行するには、LFM2 ターゲット向けに DSpark サポートを追加した SGLang または llama.cpp のビルドが必要です。
企業レベルでの利用について:LFM オープンライセンス v1.0 では、年間収益が 1,000 万ドル以下の組織であれば商用利用が無料です。インディーズ開発者、スタートアップ、中小企業はこのライセンスの対象となります。一方、大規模な企業は、Liquid AI に連絡して商用ライセンスを取得する必要があります。
主な活用分野:ローカルで動作する開発者向けツールやコンシューマーアプリ、ロボット工学および組み込みシステム、さらにデータをオンプレミスまたはデバイス上で保持する必要がある医療、金融、防衛分野のワークロードです。
適用事例:ローカルコードアシスタント、ツール呼び出し前に推論を行うオンデバイスエージェント、バッチサイズが 1 の単一ユーザー向けチャット、そしてラップトップクラスハードウェア上のオフラインコパイロット。
ドラフターとは何か?
スペキュレティブ・ディコーディング(試行型デコード)では、小さなモデルがトークンを提案し、大きなモデルがそれを検証します。各 LFM2.5 ドラフターは約 300M パラメータです。具体的には、1.2B-Instruct ターゲット向けに 295.7M、2.6B および 8B-A1B ターゲット向けに 327.7M です。バックボーンは 5 層のフルアテンション層で構成され、hidden_size は 2048、intermediate_size は 6144、GQA(グループ化クエリ・アテンション)は 32 ヘッドを 8 KV ヘッドにマッピングし、ブロックサイズは 9 です。ドラフターには語彙重みは含まれておらず、ロード時に埋め込み層と LM ヘッドはターゲットから共有されます。2.6B ドラフターのリポジトリは BF16 で 655 MB であり、これが実際に追加されるメモリコストです。
DSpark は 3 つの要素で構成されています。まず、ターゲットの文脈特徴を条件として、DFlash スタイルのパラレルバックボーンがすべてのドラフトトークンの隠れ状態を 1 回の順伝播で生成します。次に、ランク 256 の隣接トークン間のマルコフ連鎖としてモデル化された軽量な逐次ヘッドが、トークン間の依存関係を復元し、ブロックの後ろ側での受容率を向上させます。最後に、信頼度スケジューリング付きの検証器が各トークンの生存確率を予測し、検証にかかるコストが節約効果を上回る場合、低信頼度のサフィックスを剪定します。
測定結果
Liquid AI は、1xH100 環境での BF16 形式におけるスループットを SGLang を用いて測定し、M4 Max MacBook Pro では llama.cpp と Metal、FP16 GGUF 重みを用いた環境で評価を行いました。両方のテストでは、ブロックサイズ 9、バッチサイズ 1、温度 0 の条件で、MATH500、HumanEval、MBPP、GSM8K、MT-Bench の各ベンチマークを実施しています。
H100 と M4 Max の平均値および最良ケースの比較結果は以下の通りです。
- モデル:H100 平均加速比 (656 → 1384 tok/s) / H100 最良ケース (MATH500) / M4 Max 平均加速比 (138 → 350 tok/s) / M4 Max 最良ケース (HumanEval, 136 → 389)
- LFM2.5-1.2B-Instruct:2.10x / 2.56x / 2.54x / 2.87x
- LFM2.5-2.6B:2.67x (323 → 864 tok/s) / 3.06x / 2.27x (61 → 139 tok/s) / 2.63x
- LFM2.5-8B-A1B:2.54x (418 → 1074 tok/s) / 3.18x (MATH500, 428 → 1362) / 1.18x (90 → 106 tok/s) / 1.44x (GSM8K)
速度向上率はトークンの受け入れ率、つまり出力の予測可能性に比例します。LFM2.5-8B-A1B は MATH500 では 1 ステップあたり平均 8.27 トークンを受け入れますが、GSM8K ではわずか 4.02 トークンです。このため、同じ GPU 上でもモデルによって加速比は 3.18x から 1.29x まで変動します。また、1.2B モデルでは MT-Bench の受け入れ率が 3.90 に低下し、H100 での性能向上も 1.66x に留まります。
Apple シリコンにおける MoE(Mixture of Experts)の結果は、最も明確な注意点を示しています。LFM2.5-8B-A1B は M4 Max 上で平均してわずか 1.18x の加速しか得られません。Liquid AI はこれを、llama.cpp の Metal バックエンドにおける現在の MoE 実装の限界と、k トークンの検証時に単一のデコードステップよりも多くのエキスパートが活性化され、結果として重みの転送量が増大する点に起因すると説明しています。
エージェント活用ケース
ツール呼び出しのたびに推論プロセスを経てユーザーが待機するタイミングで、この速度向上効果は集中して現れます。Liquid AI によると、複数のツールを連携させる関数呼び出しシナリオにおいて、DSpark を採用した LFM2.5-2.6B は平均してレイテンシーを 57% 削減します。
ご自身のトレースデータで検証してみましょう。計画を立ててツールを呼び出し、必要に応じて再計画を行うエージェントは、ユーザーの 1 回のターンに対して複数のデコードコストを負担することになります。
SGLang で実行する際は、ドラフター(草案生成モデル)をアタッチしてターゲットを実行します:
python -m sglang.launch_server \
--model-path LiquidAI/LFM2.5-2.6B \
--speculative-algorithm DSPARK \
--speculative-draft-model-path LiquidAI/LFM2.5-2.6B-DSpark \
--speculative-draft-attention-backend flashinfer \
--disable-radix-cache --mem-fraction-static 0.75 --port 30000ブロックサイズはドラフターの config.json から読み取られます。一方、ベースラインとなるのは、3 つの --speculative-* フラグを除外した同じコマンドです。
主なポイント
- DSpark ドラフターは約 300M パラメータを追加するだけで、H100 上では最大 3.18 倍のデコード速度向上を実現します。
- グリーディな出力はベースラインと完全に一致するため、ベンチマークにおける精度は変わりません。
- 速度向上率は受け入れ率に依存し、ワークロードによって 1.04 倍から 3.18 倍まで変動します。
- デバイス内蔵の MoE(Mixture of Experts)がボトルネックとなります。LFM2.5-8B-A1B は M4 Max 上でわずか 1.18 倍の向上しか得られません。
- 実用的な効果として最も顕著なのは、複数ツールを扱う関数呼び出しです。LFM2.5-2.6B ではレイテンシーが 57% 低下しました。
8B-A1B のモデルカードと、技術的な詳細解説もぜひご覧ください。本研究成果に対するすべてのクレジットは、このプロジェクトに携わった研究者たちにあります。
本記事は MarkTechPost にて公開された「Liquid AI が LFM2.5-DSpark ドラフトモデルをリリース。モデル出力を変更せず、最大 3.18 倍の高速デコーディングを実現」という内容です。
原文を表示
Liquid AI has released DSpark draft model checkpoints for three models in its LFM2.5 family: LFM2.5-1.2B-Instruct, LFM2.5-2.6B, and LFM2.5-8B-A1B. Each drafter adds a speculative decoding path to an existing target model. A roughly 300M-parameter draft proposes a block of nine candidate tokens, and the target model verifies the whole block in a single forward pass. The trade is a small memory increase for a large decoding speedup: up to 3.18x on an H100 and up to 2.87x on an M4 Max MacBook Pro. Output does not change. Under greedy decoding, the emitted sequence is identical to the target model running alone, so benchmark accuracy is unchanged. Both llama.cpp and SGLang have day-one support.
Is it deployable?
Yes, if you self-host. The weights ship as Safetensors and GGUF, and the drafter checkpoints are not served by any hosted inference provider on Hugging Face today. Running them needs an SGLang or llama.cpp build with DSpark support for LFM2 targets.
Company level: The LFM Open License v1.0 allows free commercial use only while your entity stays under $10M in annual revenue. Indie developers, startups and SMBs are covered; larger enterprises must contact Liquid AI for a commercial license first.
Industries: Developer tooling, consumer apps that run locally, robotics and embedded systems, plus healthcare, finance and defense workloads that keep data on-premise or on-device.
Applications: Local coding assistants, on-device agents that reason before each tool call, single-user chat where batch size is 1, and offline copilots on laptop-class hardware.
What are Drafters?
Speculative decoding uses a small model to propose tokens that a larger model verifies. Each LFM2.5 drafter is roughly 300M parameters: 295.7M for the 1.2B-Instruct target and 327.7M for the 2.6B and 8B-A1B targets. The backbone is 5 full-attention layers with hidden_size=2048, intermediate_size=6144, GQA at 32 heads over 8 KV heads, and a block size of 9. The drafter ships no vocabulary weights; embedding and LM head are tied from the target at load time. The 2.6B drafter repository is 655 MB in BF16, which is the real memory cost you are adding.
DSpark combines three parts. A DFlash-style parallel backbone, conditioned on the target’s context features, produces hidden states for all draft tokens in one forward pass. A lightweight sequential head, modeled as a Markov chain between neighboring tokens at rank 256, restores inter-token dependency and lifts acceptance at later block positions. A confidence-scheduled verifier predicts each token’s survival probability and prunes low-confidence suffixes when verification would cost more than it saves.
The Measured Results
Liquid AI reports throughput on 1xH100 in BF16 via SGLang, and on an M4 Max MacBook Pro via llama.cpp with Metal and FP16 GGUF weights. Both use block size 9, batch size 1 and temperature 0, across MATH500, HumanEval, MBPP, GSM8K and MT-Bench.
TargetH100 meanBest H100 caseM4 Max meanBest M4 Max case
LFM2.5-1.2B-Instruct2.10x (656 → 1384 tok/s)2.56x on MATH5002.54x (138 → 350 tok/s)2.87x on HumanEval (136 → 389)
LFM2.5-2.6B2.67x (323 → 864 tok/s)3.06x on MATH5002.27x (61 → 139 tok/s)2.63x on HumanEval
LFM2.5-8B-A1B2.54x (418 → 1074 tok/s)3.18x on MATH500 (428 → 1362)1.18x (90 → 106 tok/s)1.44x on GSM8K
Speedup tracks acceptance rate, which tracks how predictable the output is. LFM2.5-8B-A1B accepts 8.27 of 10 tokens per step on MATH500 and only 4.02 on GSM8K, so the same model swings from 3.18x to 1.29x on the same GPU. On the 1.2B model, MT-Bench acceptance drops to 3.90 and the H100 gain falls to 1.66x.
The MoE result on Apple silicon is the clearest caveat: LFM2.5-8B-A1B gains only 1.18x on average on the M4 Max. Liquid AI attributes this to the current MoE implementation in llama.cpp’s Metal backend, and to the fact that verifying k tokens activates more experts, and therefore more weight traffic, than a single decode step.
The Agentic Case
The gain concentrates where the user waits through reasoning before every tool call. Across multi-tool function-calling scenarios, Liquid AI reports that DSpark cuts latency by 57% on average for LFM2.5-2.6B. Test it against your own traces: an agent that plans, calls, and re-plans pays the decode cost several times per user turn.
On SGLang, launch the target with the drafter attached:
Copy CodeCopiedUse a different Browser
python -m sglang.launch_server \
--model-path LiquidAI/LFM2.5-2.6B \
--speculative-algorithm DSPARK \
--speculative-draft-model-path LiquidAI/LFM2.5-2.6B-DSpark \
--speculative-draft-attention-backend flashinfer \
--disable-radix-cache --mem-fraction-static 0.75 --port 30000
The block size is read from the drafter’s config.json, and the baseline is the same command without the three --speculative-* flags.
Key Takeaways
DSpark drafters add ~300M parameters and up to 3.18x faster decoding on an H100.
Greedy output is identical to baseline, so benchmark accuracy is unchanged.
Speedup follows acceptance rate and varies by workload, from 1.04x to 3.18x.
On-device MoE is the weak spot: LFM2.5-8B-A1B gains only 1.18x on M4 Max.
Multi-tool function calling gets the biggest practical win: 57% lower latency on LFM2.5-2.6B.
Check out the model card on 8B-A1B and the full technical write-up. All credit for this research goes to the researchers of this project.
Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.
Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us
The post Liquid AI Releases LFM2.5-DSpark Draft Models That Deliver Up to 3.18x Faster Decoding Without Changing Model Outputs appeared first on MarkTechPost.
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み