Adaptive Codebook for Neural Network-Based Audio Codec
AssigneeTencent America LLC
InventorsSheng LIN, Xin ZHAO, Shan LIU
Life of this patent
Estimating the term…
Abstract
This disclosure relates generally to audio coding and particularly to methods and systems for audio coding based on neural networks. In particular, feature vectors generated by a neural network audio encoder may be quantized using adaptive codebooks and/or grouped codebooks. Correspondingly, the encoded bitstream may be processed via a dequantization process using the adaptive codebooks and/or grouped codebooks. The adaptive codebooks or grouped code books may be selected to preserve a maximum bitrate and potentially increase coding efficiency
Claims20
A method for encoding an audio segment, comprising:
- generating a set of feature vectors by processing the audio segment using a pretrained neural-network audio encoder;
- and
- quantizing the set of feature vectors using at least one codebook to generate, for the set of feature vectors, a set of codebook indexes to feature vector entries in the at least one codebook as part of an encoded bitstream for the audio segment,
- wherein the at least one codebook is adaptively selected and the adaptive selection is indicated in the encoded bitstream by explicit signaling or implicitly.
An electronic device comprising a memory for storing instructions and at least one processor configured to execute the instructions to:
- receive an encoded bitstream of an audio segment;
- determine at least one codebook;
- decode from the encoded bitstream a set of codebook indexes to entries in the at least one codebook;
- generate a set of feature vectors of the audio segment according to the at least one codebook and the set of codebook indexes;
- and
- process the set of feature vectors to generate a decoded audio segment using a neural-network audio decoder,
- wherein the at least one codebook is adaptively selected based on explicit signaling or implicit derivation from the encoded bitstream.
A method for processing an audio segment, comprising converting the audio segment to an encoded audio bitstream, wherein the encoded audio bitstream comprises:
- an indication that the audio segment is encoded based on N adaptively selected codebooks each containing entries of audio feature vectors, N being a positive integer;
- and
- N groups of encoded indexes corresponding to the N adaptively selected codebooks, the N groups of encoded indexes being associated with a set of feature vectors of the audio segment.
Dependencies are inferred from the claim text.