arXiv:2501.00018cs.SDeess.AS2025-01AAAI被引 3

用结构熵优化语音编码,提升大模型语音处理效果

SECodec: Structural Entropy-based Compressive Speech Representation Codec for Speech Language Models

  • 基于语音图结构和二维熵最小化构建码本
  • 新量化方法降低码本受限时的音频失真
  • 适合语音大模型研究者与语音压缩开发者

随着大语言模型(LLMs)的快速发展,离散语音表示在将语音融入语言模型中变得至关重要。现有方法依赖预设码本大小和基于欧氏距离的量化,但码本大小影响编码性能与下游训练效率,且在合理范围内的码本可能导致音频失真。信息压缩中,结构信息与熵引导极为关键,但此前方法大多忽略。为此,我们从信息论角度提出SECodec,一种基于结构熵(SE)的语音表示编码器。首先将语音建模为图,对特征节点聚类,通过分层解耦最小化二维结构熵提取码本;其次提出新量化方法,在保持二维熵最小化原则下,自适应选择每个语音节点对应的最优词元。进一步构建基于结构熵的语音语言模型(SESLM)。实验表明,SECodec在语音重建上可媲美EnCodec,SESLM在零样本文本转语音任务中优于VALL-E。代码、演示语音、语音特征图、码本及模型已开源。

原文摘要 · Abstract (English)

With the rapid advancement of large language models (LLMs), discrete speech representations have become crucial for integrating speech into LLMs. Existing methods for speech representation discretization rely on a predefined codebook size and Euclidean distance-based quantization. However, 1) the size of codebook is a critical parameter that affects both codec performance and downstream task training efficiency. 2) The Euclidean distance-based quantization may lead to audio distortion when the size of the codebook is controlled within a reasonable range. In fact, in the field of information compression, structural information and entropy guidance are crucial, but previous methods have largely overlooked these factors. Therefore, we address the above issues from an information-theoretic perspective, we present SECodec, a novel speech representation codec based on structural entropy (SE) for building speech language models. Specifically, we first model speech as a graph, clustering the speech features nodes within the graph and extracting the corresponding codebook by hierarchically and disentangledly minimizing 2D SE. Then, to address the issue of audio distortion, we propose a new quantization method. This method still adheres to the 2D SE minimization principle, adaptively selecting the most suitable token corresponding to the cluster for each incoming original speech node. Furthermore, we develop a Structural Entropy-based Speech Language Model (SESLM) that leverages SECodec. Experimental results demonstrate that SECodec performs comparably to EnCodec in speech reconstruction, and SESLM surpasses VALL-E in zero-shot text-to-speech tasks. Code, demo speeches, speech feature graph, SE codebook, and models are available at https://github.com/wlq2019/SECodec.

语音编码结构熵语音大模型量化

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