arXiv:2606.11886cs.SDcs.OS2026-06中稿 · RTAS 2026

让语言模型实时同步音乐演奏,实现精准伴奏生成

Real-Time Language Model Jamming: A Case Study for Live Music Accompaniment Generation

论文配图:Real-Time Language Model Jamming: A Case Study for Live Music Accompaniment Generation
图 1 · 摘自论文原文
  • 基于客户端-服务器架构,按外部信号流实时触发模型推理
  • 在不同网络环境下均实现低延迟同步,音乐质量与实时性正相关
  • 开源系统支持多种部署场景,适合实时交互式创作应用

语言模型已成为现代生成建模的主流范式。尽管提升速度是实时部署的重点,但许多实际应用如同步翻译和语音合成,还需在内容和时间上与外部信号精确对齐,我们称之为‘帧同步流式推理’。为此,我们提出StreamMUSE,一种在客户端-服务器架构下响应外部信号流进行语言模型生成的推理系统。客户端根据最新输入高频发送推理请求,并接收与外部时钟同步的输出;服务器执行模型推理。通过实时音乐伴奏任务验证框架,展示了在不同部署环境(含各异往返延迟)下实现实时同步的能力。我们进一步建模系统超参数与往返延迟的关系,评估不同环境对最优配置的影响。实验表明,系统实时性能与音乐质量具有一致对应关系,证明了该框架的有效性。项目开源,代码及最新更新见https://stream-muse-webpage.vercel.app/#audio-library。

原文摘要 · Abstract (English)

Language models (LMs) have become one of the most prominent paradigms in modern generative modeling. While making them faster has been the main focus of real-time deployment, speed alone is not enough. Many real-world applications, such as synchronized translation and voice synthesis, also require precise alignment between generation and external signals, both in terms of generation content and timing. We refer to this problem as \textit{frame-synchronous streaming inference}. To address it, we present StreamMUSE, an inference system that performs LM generation in response to an external signal stream within a client-server architecture. The client continuously sends high-frequency inference requests based on the most recent inputs and receives outputs synchronized to the external clock, while the server executes model inference. We demonstrate the framework through a live music accompaniment task, showing how real-time synchronization can be achieved across different deployment environments with varying round-trip latencies. We further model the relationship between system hyperparameters and round-trip latency, and evaluate how different environments affect optimal configurations to achieve real-time performance. Experimental results show a consistent correspondence between system real-time performance and music quality, demonstrating the effectiveness of the proposed framework. The project is open source. Relevant code and the latest updates are available at https://stream-muse-webpage.vercel.app/#audio-library.

语言模型实时生成音乐伴奏流式推理

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