Skip to content
简体中文

切换主题

arXiv 2611.09709 · cs.LG · 2026-11-06

RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill

Dylan Johnston, Robert P. Smith

Approximate Science

在最新榜 #670 本站收录于 2026-11-11

一句话要点

RidgeFill通过在模型未训练的情况下,利用闭式解法的岭回归预测上层输入,实现预填充加速,在多个模型和任务中均表现出显著的时间提升,且不影响最终性能。

RidgeFill accelerates prefill without training by predicting upper-layer inputs via closed-form ridge regression, achieving speedups across models with minimal performance degradation.

要点

  • 在预填充阶段,RidgeFill跳过大部分上层网络计算,仅保留底层网络运行至分层点,通过岭回归预测后续各层输入,实现高效缓存填充。
  • 该方法无需训练,仅需一次遍历校准文本即可完成岭回归参数拟合,所有层的投影保持原生不变,仅在最后数千token和解码阶段运行完整模型。
  • 在Qwen3.8-27B上A100平台测试中,预填充时间提升1.25至1.31倍,RULER和LongBench等基准任务性能变化在置信区间内,未显著劣化。
  • 在Qwen3.8-Flash-Next上vLLM环境中,速度提升达1.50至1.60倍,部分任务如针式检索精度接近原模型,但新token的困惑度略有上升,表明存在细微误差。
English overview

RidgeFill introduces a training-free method to accelerate prefill by predicting upper-layer inputs via ridge regression fitted from calibration text. It operates without modifying model weights or dropping tokens, using only closed-form inference. Performance is preserved across benchmarks, with speedups ranging from 1.25x to 1.60x depending on model size and token length, though minor performance fluctuations are observed in some tasks.

只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。

3HF 点赞
1GitHub stars
0引用(Semantic Scholar)
17.7热度分

阅读 arXiv 原文 PDF Hugging Face 讨论 代码仓库 项目页

相关论文

数据说明

元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。

要点由本站根据摘要自写,不转载摘要原文,请阅读原文。

数据更新于:最新 AI 论文(北京时间)