arXiv:2501.00868cs.CL2025-01AAAI被引 4

让大模型自己决定何时输出,实现低延迟实时生成

Large Language Models Are Read/Write Policy-Makers for Simultaneous Generation

  • 用大模型自主决策输出时机,替代传统复杂算法
  • 在流式翻译和语音识别中达到顶尖性能,延迟更低
  • 适合需要实时响应的对话系统、会议转录等场景

同步生成模型在读取流式输入的同时生成结果,需依赖策略制定者决定输出时机。现有方法多采用传统编码器-解码器架构,通过复杂的动态规划学习生成与策略制定能力。尽管大语言模型在文本生成上表现优异,但传统训练方式难以使其胜任策略制定角色,限制了其在同步生成中的应用。为此,我们提出一种全新的大模型驱动同步生成(LSG)框架,使现成的大模型可自主决定输出时机并实现并发生成。具体而言,LSG以最小化延迟的策略为基线,参考该基线,使大模型设计出更优的生成策略,在延迟与生成质量间取得更好平衡,并据此输出结果。在同步翻译和流式自动语音识别任务上的实验表明,该方法利用开源大模型即可达到当前最优性能,并展现出在真实场景中的实用性。

原文摘要 · Abstract (English)

Simultaneous generation models write generation results while reading streaming inputs, necessitating a policy-maker to determine the appropriate output timing. Existing simultaneous generation methods generally adopt the traditional encoder-decoder architecture and learn the generation and policy-making capabilities through complex dynamic programming techniques. Although LLMs excel at text generation, they face challenges in taking on the role of policy-makers through traditional training methods, limiting their exploration in simultaneous generation. To overcome these limitations, we propose a novel LLM-driven Simultaneous Generation (LSG) framework, which allows the off-the-shelf LLM to decide the generation timing and produce output concurrently. Specifically, LSG selects the generation policy that minimizes latency as the baseline policy. Referring to the baseline policy, LSG enables the LLM to devise an improved generation policy that better balances latency and generation quality, and writes generation results accordingly. Experiments on simultaneous translation and streaming automatic speech recognition tasks show that our method can achieve state-of-the-art performance utilizing the open-source LLMs and demonstrate practicality in real-world scenarios.

大模型同步生成实时推理策略决策

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。