Apple ML ★ 109 3 min

Arbitrage: Efficient Reasoning via Advantage-Aware Speculation

🔗 https://machinelearning.apple.com/research/arbitrage-efficient-reasoning

📌 【Apple ML 研究】ARBITRAGE:透過優勢感知推論,實現更高效的 LLM 推理

TL;DR:ARBITRAGE 透過輕量級路由器動態路由,解決了步驟級投機解碼中過度重新生成的浪費問題。

🤔 推理成本與投機解碼的兩難

現代大型語言模型(LLM)雖具備強大的推理能力,但長鏈條思考(Chain of Thought)過程會帶來巨大的推理成本。為了提升效能與成本比,業界普遍採用「投機解碼」(Speculative Decoding)技術:利用一個快速但不夠精準的草稿模型(Draft Model)預先提出 token,再由能力更強的目標模型(Target Model)進行並行驗證。

然而,傳統的 token 級投機解碼在處理推理任務時,常因語義等價但 token 不匹配而導致不必要的拒絕(Rejections);而現有的步驟級(Step-level)方法雖然能接受或拒絕整個推理步驟,卻仍會重新生成許多被拒絕的步驟,造成目標模型運算資源的浪費。

🧩 ARBITRAGE:動態路由的步驟級推論框架

為了克服上述挑戰,研究團隊提出了 ARBITRAGE 框架。其核心設計理念不在於設定固定的接受門檻,而是透過一種「優勢感知」(Advantage-Aware)的機制來優化流程:

  1. 輕量級路由器(Lightweight Router):訓練一個輕量級模型,用來預測目標模型是否會在某個步驟產生顯著更佳的結果。
  2. 動態路由(Dynamic Routing):根據草稿模型與目標模型之間的相對優勢進行路由,模擬一個理想的「ARBITRAGE ORACLE」(總能選擇高品質步驟的預測器)。
  3. 近乎最佳的權衡:透過這種機制,ARBITRAGE 能在效率與準確度之間取得近乎最佳的平衡。

📊 在數學推理任務中,延遲降低達約 2 倍

研究人員在多個數學推理基準測試中進行了驗證,結果顯示:

  • 效能提升:在保持相同準確度的情況下,ARBITRAGE 的推理延遲(Inference Latency)最高可降低約 2 倍。
  • 超越基準:表現持續優於現有的步驟級投機解碼(Step-level SD)基準方法。

🎯 實務啟示

對於需要進行複雜推理任務(如數學、邏輯)的 LLM 應用,ARBITRAGE 提供了一種新的思路:不要只是盲目地驗證草稿,而是要學會判斷「何時值得投入更多運算資源去追求更高的品質」,從而避免無謂的重複計算。

🔗 來源

  • 標題:Arbitrage: Efficient Reasoning via Advantage-Aware Speculation
  • 作者/機構:Monishwaran Maheswaran, Rishabh Tiwari, Yuezhou Hu, Kerem Dilmen, Coleman Hooper, Haocheng Xi, Nicholas Lee, Mehrdad Farajtabar, Michael W. Mahoney, Kurt Keutzer, Amir Gholami @ Apple ML / UC Berkeley / ICSI / LBNL
  • 連結:https://machinelearning.apple.com/research/arbitrage-efficient-reasoning

#AI #MachineLearning #LLM #Inference #SpeculativeDecoding #Reasoning #AppleML #Efficiency #NLP #ComputerScience

原始資料 Apple ML · 收集於 2026-08-08
來源原標題
Arbitrage: Efficient Reasoning via Advantage-Aware Speculation
原始連結
https://machinelearning.apple.com/research/arbitrage-efficient-reasoning

摘要原文

research area Speech and Natural Language Processing content type paper published August 2026 Arbitrage: Efficient Reasoning via Advantage-Aware Speculation Authors Monishwaran Maheswaran†*, Rishabh Tiwari†*, Yuezhou Hu†*, Kerem Dilmen†, Coleman Hooper†, Haocheng Xi†, Nicholas Lee†, Mehrdad Farajtabar, Michael W. Mahoney†‡§, Kurt Keutzer†, Amir Gholami†‡ View publication Copy Bibtex Modern Large Language Models achieve impressive reasoning capabilities with long Chain of Thoughts, but they incur substantial computational cost during inference, and this motivates techniques to improve the performance-cost ratio. Among these techniques, Speculative Decoding accelerates inference by employing a fast but inaccurate draft model to auto-regressively propose tokens, which are then verified in parallel by a more capable target model. However, due to unnecessary rejections caused by token mismatches in semantically equivalent steps, traditional token-level Speculative Decoding struggles in reasoning tasks. Although recent works have shifted to step-level semantic verification, which improve efficiency by accepting or rejecting entire reasoning steps, existing step-level methods still regenerate many rejected steps with little improvement, wasting valuable target compute. To address this challenge, we propose ARBITRAGE, a novel step-level speculative generation framework that routes generation dynamically based on the relative advantage between draft and target models. Instead of applying a fixed acceptance threshold, ARBITRAGE uses a lightweight router trained to predict when the target model is likely to produce a meaningfully better step. This routing approximates an ideal ARBITRAGE ORACLE that always chooses the higher-quality step, achieving near-optimal efficiency–accuracy trade-offs. Across multiple mathematical reasoning benchmarks, ARBITRAGE consistently surpasses prior step-level SD baselines, reducing inference latency by up to ∼ 2× at matched accuracy. † UC Berkeley ‡ ICSI § LBNL * Equal contribution Related readings and updates. Mirror Speculative Decoding: Breaking the Serial Barrier in LLM Inference December 11, 2025 research area Methods and Algorithms , research area Speech and Natural Language Processing Speculative decoding accelerates LLM inference by using a draft model to look ahead, but gains are capped by the cost of autoregressive draft generation: increasing draft size elevates acceptance rates but introduces additional latency overhead exacerbating the speed-accuracy tradeoff. Prior methods (Medusa, Hydra, EAGLE) partially reduce draft cost but either degrade acceptance or introduce overheads that limit scaling. We present Mirror… Read more Speculative Streaming: Fast LLM Inference Without Auxiliary Models November 19, 2024 research area Methods and Algorithms , research area Speech and Natural Language Processing conference EMNLP , Workshop at NeurIPS This paper was accepted at the Efficient Natural Language and Speech Processing (ENLSP) Workshop at NeurIPS 2024. Speculative decoding is a prominent technique to speed up the inference of a large target language model based on predictions of an auxiliary draft model. While effective, in application-specific settings, it often involves fine-tuning both draft and target models to achieve high acceptance rates. As the number of downstream tasks… Read more Discover opportunities in Machine Learning. Our research in machine learning breaks new ground every day. Work with us

tencent/hy3:free 自動生成