[论文解读] FastSLM: Hierarchical Frame Q-Former for Effective Speech Modality Adaptation
FastSLM 引入 HFQ-Former,积极将长篇语音压缩为紧凑令牌,在严格 FLOPs 约束下实现高效且具竞争力的长上下文语音理解,结合大语言模型。
Although Multimodal Large Language Models (MLLMs) have demonstrated remarkable capabilities in vision, language, and video understanding tasks, scaling them to long-form speech remains a critical bottleneck due to the explosive growth of input tokens. Existing speech-language models typically project high-frame-rate acoustic features directly into the LLM input space, rendering long-context processing computationally prohibitive as audio duration increases. In this paper, we present FastSLM, a token-efficient architecture designed to overcome this scalability limit through extreme temporal compression. At its core is the Hierarchical Frame Querying Transformer (HFQ-Former), which progressively distills local acoustic details into compact, semantically rich representations across multiple temporal scales. This hierarchical abstraction reduces the speech representation rate to just 1.67 tokens per second, achieving a 93 percent reduction in tokens compared to standard frame-level adapters, while preserving the critical context required for complex reasoning. Experimental results demonstrate that FastSLM achieves competitive performance with state-of-the-art models on long-form benchmarks, despite operating with significantly lower FLOPs and parameter counts. Our findings establish that extreme token compression is a viable pathway to making real-time, long-context speech understanding feasible for LLMs, even under strict computational constraints. The source code and model checkpoints are available at https://anonymous.4open.science/r/FastSLM-8BD3
研究动机与目标
- 通过引入极端时间压缩解决将长篇语音整合到 LLM 时的令牌爆炸问题。
- 提出 HFQ-Former,在多个时间尺度上对帧级语音进行分层蒸馏,得到紧凑的语义令牌。
- 开发一个经济高效的三阶段训练策略,利用标准 ASR 数据使 LLM 适应长篇语音。
- 证明极端令牌压缩在较低 FLOPs 和内存使用下也能达到最先进或具有竞争力的性能。
提出的方法
- 提出 HFQ-Former,采用三阶段分层设计:局部声学特征提取、通过下采样进行时序聚合、跨阶段的语义抽象。
- 在每个阶段使用可学习的查询,与高帧率编码器特征进行跨注意力,产生多尺度表示。
- 在最终阶段使用一组固定的小查询集进行语义蒸馏,生成可用于 LLM 输入的紧凑令牌。
- 在 LLM 解码前加入 Detail Recovery 注意力块,从原始多尺度特征中检索细粒度信息。
- 采用三阶段训练策略(对短篇语音进行预训练、使用 ASR 数据进行长篇适应、以及指令微调),并利用 LoRA 提高效率)。
实验结果
研究问题
- RQ1分层跨注意力压缩(HFQ-Former)是否能将语音表示降至约 1.67 个令牌/秒而不牺牲性能?
- RQ2极端令牌压缩是否能以较低 FLOPs 和内存实现对长篇语音理解的竞争力(SSUM、SQQA)相较于密帧方法?
- RQ3是否三阶段、基于 ASR 的训练策略就足以在没有昂贵的长篇指令数据的情况下使 LLM 适应长上下文语音?
- RQ4分层架构与训练阶段对长篇语音任务的影响是什么?
主要发现
- HFQ-Former 相对于帧级特征实现约 93% 的令牌压缩,降至约每秒 1.67 个令牌。
- HFQ-Former 在准确性与效率之间取得有利的平衡,相较于先前基线将 LLM FLOPs 提升约 41% 的效率,同时在基准测试上实现强的 ASR/WER/准确性。
- FastSLM 以紧凑的 4B 参数骨干在 ASR、AST、SSUM、SQQA 任务上取得具有竞争力或最先进的结果。
- 一种三阶段的 LoRA 实现的训练策略,利用标准 ASR 数据实现对长篇语音的有效适应,避免对昂贵的长篇指令数据的依赖。
- 消融研究表明去除 Downsampler 或分层注意力会显著降低性能,证实分层压缩方法的必要性。
- FastSLM 在消费级硬件上展示了几近线性的显存扩展和可扩展的延迟(TTFT)来处理超长语音输入。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。