Method and device for rate-quality scalable coding using generative model
By generating a neural network to decode the audio signal, and using the conversion and quantification technology of the adjustment information, the challenge of multi-bit rate operation of the deep neural network at a low bit rate is solved, multiple quality-to-code rate compromise points are achieved, and the encoding efficiency is improved. Decoder flexibility and efficiency.
Patent Information
- Application Number
- CN201980071838.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2039-10-29
AI Technical Summary
Existing deep neural network-based audio generation models struggle to operate effectively at multiple bitrates at low bitrates, and codecs present challenges at the tradeoff between bitrate and quality.
Use a generative neural network to convert from the target bitrate format to the default bitrate format based on the adjustment information, expand the dimensionality by zero padding or predicting missing parameters, and use a coarser quantizer for quantization to achieve multiple quality pairs of bitrates compromise point.
It achieves operation at multiple bit rates without increasing the complexity of the generation model, and provides meaningful code rate quality tradeoffs, such as achieving quality versus code rate tradeoff points of 5.6kbps and 6.4kbps at 8kbps.
Smart Images

Figure CN112970063B_ABST
Abstract
Description
[0001] CROSS REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the following priority application: U.S. Provisional Application No. 62 / 752,031 (reference: D18118USP1), filed on October 29, 2018, which is incorporated herein by reference. Technical Field
[0003] The present invention generally relates to a method of decoding an audio or speech signal, and more particularly to a method providing rate-quality scalable coding using a generative model. The present invention further relates to an apparatus and a computer program product for implementing the method and to a corresponding encoder and system.
[0004] Although some embodiments will be described herein with specific reference to the present invention, it will be appreciated that the invention is not limited to this field of use and may be applicable in a wider context. Background Art
[0005] Any discussion of the background art throughout the present invention should in no way be considered as an admission that this art is widely known or forms part of the common general knowledge in the field.
[0006] Recently, audio generative models based on deep neural networks (such as WaveNet and SampleRNN) have provided significant progress in natural-sounding speech synthesis. The main application is in the field of text-to-speech, where the models replace the vocoding component.
[0007] Generative models can be conditioned by global and local latent representations. In the context of speech conversion, this facilitates natural separation of conditioning into static speaker identifiers and dynamic language information. However, despite advances, there is still a need to provide audio or speech coding that employs generative models, particularly at low bit rates.
[0008] While the use of generative models can improve encoding performance, especially at low bitrates, the application of such models remains challenging in situations where it is desired for a codec to facilitate operation at multiple bitrates (allowing multiple trade-off points between bitrate and quality). Summary of the invention
[0009] According to a first aspect of the present invention, a method for decoding an audio or speech signal is provided. The method may include (a) a step of receiving, by a receiver, an encoded bitstream comprising the audio or speech signal and conditioning information. The method may further include (b) a step of providing, by a bitstream decoder, decoded conditioning information in a format associated with a first bit rate. The method may further include (c) a step of converting, by a converter, the decoded conditioning information from the format associated with the first bit rate to a format associated with a second bit rate. And the method may include (d) a step of providing, by a generative neural network, a reconstruction of the audio or speech signal according to a probability model conditioned by the conditioning information in the format associated with the second bit rate.
[0010] In some embodiments, the first bit rate may be a target bit rate and the second bit rate may be a default bit rate.
[0011] In some embodiments, the adjustment information may include an embedded portion and a non-embedded portion.
[0012] In some embodiments, the adjustment information may include one or more adjustment parameters.
[0013] In some embodiments, the one or more adjustment parameters may be vocoder parameters.
[0014] In some embodiments, the one or more tuning parameters may be uniquely assigned to the embedded portion and the non-embedded portion.
[0015] In some embodiments, the adjustment parameters of the embedded part may include one or more of the following: reflection coefficients from a linear prediction filter, or a vector of subband energies ordered from low frequency to high frequency, or coefficients of a Karhunen-Loeve transform or coefficients of a frequency transform.
[0016] In some embodiments, the dimensionality of the embedded portion of the adjustment information associated with the first bit rate, which may be defined as the number of adjustment parameters, may be lower than or equal to the dimensionality of the embedded portion of the adjustment information associated with the second bit rate, and the dimensionality of the non-embedded portion of the adjustment information associated with the first bit rate may be the same as the dimensionality of the non-embedded portion of the adjustment information associated with the second bit rate.
[0017] In some embodiments, step (c) may further include: (i) extending the dimensionality of the embedded portion of the conditioning information associated with the first bit rate to the dimensionality of the embedded portion of the conditioning information associated with the second bit rate by means of zero padding; or (ii) extending the dimensionality of the embedded portion of the conditioning information associated with the first bit rate to the dimensionality of the embedded portion of the conditioning information associated with the second bit rate by predicting any missing conditioning parameters based on available conditioning parameters of the conditioning information associated with the first bit rate.
[0018] In some embodiments, step (c) may further include converting, by the converter, the non-embedded portion of the conditioning information from the conditioning information associated with the first bit rate to corresponding conditioning parameters of the conditioning information associated with the second bit rate by copying values of the conditioning parameters.
[0019] In some embodiments, the adjustment parameters of the non-embedded portion of the adjustment information associated with the first bit rate may be quantized using a coarser quantizer than the corresponding adjustment parameters of the non-embedded portion of the adjustment information associated with the second bit rate.
[0020] In some embodiments, the generative neural network may be trained based on the conditioning information in the format associated with the second bit rate.
[0021] In some embodiments, the generative neural network may reconstruct the signal by performing sampling from a conditional probability density function that is conditioned using the conditioning information in the format associated with the second bit rate.
[0022] In some embodiments, the generative neural network may be a SampleRNN neural network.
[0023] In some embodiments, the SampleRNN neural network may be a four-layer SampleRNN neural network.
[0024] According to a second aspect of the present invention, a device for decoding an audio or speech signal is provided. The device may include (a) a receiver for receiving an encoded bitstream including the audio or speech signal and adjustment information. The device may further include (b) a bitstream decoder for decoding the encoded bitstream to obtain decoded adjustment information in a format associated with the first bit rate. The device may further include (c) a converter for converting the decoded adjustment information from a format associated with the first bit rate to a format associated with a second bit rate. And the device may include (d) a generating neural network for providing a reconstruction of the audio or speech signal according to a probability model adjusted by the adjustment information in the format associated with the second bit rate.
[0025] In some embodiments, the first bit rate may be a target bit rate and the second bit rate may be a default bit rate.
[0026] In some embodiments, the adjustment information may include an embedded portion and a non-embedded portion.
[0027] In some embodiments, the adjustment information may include one or more adjustment parameters.
[0028] In some embodiments, the one or more adjustment parameters may be vocoder parameters.
[0029] In some embodiments, the one or more tuning parameters may be uniquely assignable to the embedded portion and the non-embedded portion.
[0030] In some embodiments, the adjustment parameters of the embedded part may include one or more of: reflection coefficients from a linear prediction filter, or a vector of subband energies ordered from low frequency to high frequency, or coefficients of a Karolinen-Loewy transform or coefficients of a frequency transform.
[0031] In some embodiments, the dimensionality of the embedded portion of the adjustment information associated with the first bit rate, defined as the number of adjustment parameters, may be lower than or equal to the dimensionality of the embedded portion of the adjustment information associated with the second bit rate, and the dimensionality of the non-embedded portion of the adjustment information associated with the first bit rate may be the same as the dimensionality of the non-embedded portion of the adjustment information associated with the second bit rate.
[0032] In some embodiments, the converter may be further configured to: (i) expand the dimensionality of the embedded portion of the conditioning information associated with the first bit rate to the dimensionality of the embedded portion of the conditioning information associated with the second bit rate by means of zero padding; or (ii) expand the dimensionality of the embedded portion of the conditioning information associated with the first bit rate to the dimensionality of the embedded portion of the conditioning information associated with the second bit rate by predicting any missing conditioning parameters based on available conditioning parameters of the conditioning information associated with the first bit rate.
[0033] In some embodiments, the converter may be further configured to convert the non-embedded portion of the conditioning information from the conditioning information associated with the first bit rate to corresponding conditioning parameters of the conditioning information associated with the second bit rate by copying values of the conditioning parameters.
[0034] In some embodiments, the adjustment parameters of the non-embedded portion of the adjustment information associated with the first bit rate may be quantized using a coarser quantizer than the corresponding adjustment parameters of the non-embedded portion of the adjustment information associated with the second bit rate.
[0035] In some embodiments, the generative neural network may be trained based on the conditioning information in the format associated with the second bit rate.
[0036] In some embodiments, the generative neural network may reconstruct the signal by performing sampling from a conditional probability density function that is conditioned using the conditioning information in the format associated with the second bit rate.
[0037] In some embodiments, the generative neural network may be a SampleRNN neural network.
[0038] In some embodiments, the SampleRNN neural network may be a four-layer SampleRNN neural network.
[0039] According to a third aspect of the present invention, there is provided an encoder comprising a signal analyzer and a bitstream encoder, wherein the encoder can be configured to provide at least two operating bit rates, including a first bit rate and a second bit rate, wherein the first bit rate is associated with a lower reconstruction quality level than the second bit rate, and wherein the first bit rate is lower than the second bit rate.
[0040] In some embodiments, the encoder may be further configured to provide conditioning information associated with the first bit rate, including one or more conditioning parameters uniquely assigned to embedded and non-embedded portions of the conditioning information.
[0041] In some embodiments, the number of dimensions of the embedded portion of the conditioning information and the non-embedded portion of the conditioning information, which may be defined as the number of conditioning parameters, may be based on the first bit rate.
[0042] In some embodiments, the adjustment parameters of the embedded part may include one or more of: reflection coefficients from a linear prediction filter, or a vector of subband energies ordered from low frequency to high frequency, or coefficients of a Karolinen-Loewy transform or coefficients of a frequency transform.
[0043] In some embodiments, the first bit rate may belong to a set of multiple operating bit rates.
[0044] According to a fourth aspect of the invention, there is provided a system having an encoder and an apparatus for decoding an audio or speech signal.
[0045] According to a fifth aspect of the invention, there is provided a computer program product comprising a computer readable storage medium having instructions adapted to, when executed by a device having processing capabilities, cause the device to perform a method of decoding an audio or speech signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Example embodiments of the present invention will now be described, by way of example only, with reference to the accompanying drawings, in which:
[0047] Figure 1a A flow chart illustrating an example of a method for decoding an audio or speech signal using a generative neural network.
[0048] Figure 1b A block diagram illustrating an example of an apparatus for decoding an audio or speech signal using a generative neural network.
[0049] Figure 2a A block diagram illustrating an example of a converter that converts conditioning information from a target rate format to a default rate format by comparing embedded parameters to non-embedded parameters with padding.
[0050] Figure 2b A block diagram illustrating an example of the operation of a converter employing dimensionality conversion of conditioning information.
[0051] Figure 3a A block diagram illustrating an example of a converter that converts adjustment information from a target rate format by comparing a default format.
[0052] Figure 3b A block diagram illustrating an example of the operation of a converter employing coarse quantization instead of the use of fine quantization.
[0053] Figure 3cBlock diagram illustrating an example of the operation of a converter that performs dimensionality conversion through prediction.
[0054] Figure 4 Block diagram illustrating an example of the padding operation of a converter that explains the embedded portion of the adjustment information.
[0055] Figure 5 Block diagram illustrating an example of an encoder configured to provide adjustment information in a target bitrate format.
[0056] Figure 6 Description of the results of the hearing test. Detailed Description
[0057] Rate-Distortion Scalable Coding Using a Generative Model
[0058] Provided is a coding structure trained to operate at a specific bitrate. This provides the following advantages: There is no need to train a decoder for a set of predefined bitrates (which would likely require increasing the complexity of the underlying generative model), nor is there a need to further use a set of decoders, where each of the decoders would have to be trained and associated with a specific operating bitrate, which would also significantly increase the complexity of the generative model. In other words, if one wishes for the codec to operate at multiple bitrates, e.g., R1 < R2 < R3, then one would need to collect the generative models for each corresponding bitrate (the generative models for R1, R2, and R3) or capture a larger model that captures the complexity of operating at multiple bitrates.
[0059] Thus, as described herein, since the generative model is not trained (or only a limited portion is retrained), the complexity of the generative model is not increased to facilitate operation at multiple bitrates related to the quality-versus-bitrate tradeoff. In other words, the present invention provides operation of the coding scheme at bitrates for which it has not been trained using a single model.
[0060] The effect of the coding structure as described can be derived, for example, from Figure 6 As Figure 6 shown in the example of
[0061] the coding structure includes an embedding technique that facilitates a meaningful quality-versus-bitrate tradeoff. Specifically, in the provided example, the embedding technique facilitates achieving multiple quality-versus-bitrate tradeoff points (5.6 kbps and 6.4 kbps) using a generative neural network trained to cooperate with the adjustment operation at 8 kbps.
[0062] Reference Figure 1aThe example of , illustrates a flow chart of a method for decoding an audio or speech signal. In step S101, a coded bit stream including an audio or speech signal and adjustment information is received by a receiver. Then, the received coded bit stream is decoded by a bitstream decoder. Therefore, the bitstream decoder provides decoded adjustment information in a format associated with the first bit rate in step S102. In an embodiment, the first bit rate may be a target bit rate. In addition, in step S103, the adjustment information is then converted from a format associated with the first bit rate to a format associated with a second bit rate by a converter. In an embodiment, the second bit rate may be a default bit rate. In step S104, a reconstruction of the audio or speech signal is provided by a generative neural network based on a probability model adjusted by the adjustment information in a format associated with the second bit rate.
[0063] The method described above may be implemented as a computer program product comprising a computer-readable storage medium having instructions adapted to, when executed by a device having processing capabilities, cause the device to carry out the method.
[0064] Alternatively or additionally, the method described above may be implemented by a device for decoding an audio or speech signal. Figure 1b The example of the invention is a device for decoding an audio or speech signal using a generative neural network. The device may be a decoder 100 that facilitates operation within a certain operating bit rate range. The device 100 includes a receiver 101 for receiving an encoded bit stream including an audio or speech signal and adjustment information. The device 100 further includes a bit stream decoder 102 for decoding the received encoded bit stream to obtain the decoded adjustment information in a format associated with the first bit rate. In an embodiment, the first bit rate may be a target bit rate. The bit stream decoder 102 may also be considered to provide a reconstruction of the adjustment information at the first bit rate. The bit stream decoder 102 may be configured to facilitate operation of the device (decoder) 100 within a certain operating bit rate range. The device 100 further includes a converter 103. The converter 103 is configured to convert the decoded adjustment information from a format associated with the first bit rate to a format associated with a second bit rate. In an embodiment, the second bit rate may be a default bit rate. Therefore, the converter 103 may be configured to process the decoded adjustment information to convert it from a format associated with the target bit rate to a format associated with the default bit rate. And the apparatus 100 comprises a generating neural network 104. The generating neural network 104 is configured to provide a reconstruction of the audio or speech signal according to a probability model conditioned by conditioning information in a format associated with the second bit rate. The generating neural network 104 may therefore operate on a default format of the conditioning information.
[0065] Adjustment Information
[0066] like Figure 1bAs illustrated in the example of , and as described above, the device 100 includes a converter 103 configured to convert the adjustment information. The device 100 described in the present invention may utilize a special construction of the adjustment information that may include two parts. In an embodiment, the adjustment information may include an embedded part and a non-embedded part. Alternatively or in addition, the adjustment information may include one or more adjustment parameters. In an embodiment, the one or more adjustment parameters may be vocoder parameters. In an embodiment, the one or more adjustment parameters may be uniquely assigned to the embedded part and the non-embedded part. The adjustment parameters assigned to the embedded part or included in the embedded part may also be represented as embedded parameters, and the adjustment parameters assigned to the non-embedded part or included in the non-embedded part may also be represented as non-embedded parameters.
[0067] The operation of the coding scheme may be, for example, frame-based, wherein a frame of the signal may be associated with the adjustment information. The adjustment information may comprise an ordered set of adjustment parameters or an n-dimensional vector representing the adjustment parameters. The adjustment parameters within the embedded part of the adjustment information may be ordered according to their importance, for example according to decreasing importance. The non-embedded part may have a fixed dimensionality, wherein the dimensionality may be defined as the number of adjustment parameters in the respective part.
[0068] In an embodiment, the dimensionality of the embedded portion of the adjustment information associated with the first bit rate may be lower than or equal to the dimensionality of the embedded portion of the adjustment information associated with the second bit rate, and the dimensionality of the non-embedded portion of the adjustment information associated with the first bit rate may be the same as the dimensionality of the non-embedded portion of the adjustment information associated with the second bit rate.
[0069] From the embedded portion of the adjustment information associated with the second bit rate, one or more adjustment parameters may be further discarded according to their importance from the least important toward the most important. For example, this may be done in the following way: based on some of the most important adjustment parameters that are available, an approximate reconstruction (decoding) of the embedded portion of the adjustment information associated with the first bit rate is still possible. As described above, one advantage of the embedded portion is that it promotes a quality-to-bitrate tradeoff. (Such a tradeoff can be achieved by the design of the embedded portion of the adjustment. Examples of such designs are provided in additional embodiments in the description). For example, discarding the least important adjustment parameters in the embedded portion will reduce the bit rate required to encode this portion of the adjustment information, but will also reduce the reconstruction (decoding) quality in the encoding scheme. Therefore, when the adjustment parameters are stripped from the embedded portion of the adjustment information, for example at the encoder side, the reconstruction quality will be moderately degraded.
[0070] In an embodiment, the conditioning parameters in the embedded portion of the conditioning information may include one or more of the following: (i) reflection coefficients derived from a linear prediction (filter) model representing the encoded signal; and (ii) a vector of subband energies ordered from low frequency to high frequency; (iii) coefficients of a Karolinen-Loewy transform (e.g., arranged in descending order of eigenvalues) or (iv) coefficients of a frequency transform (e.g., MDCT, DCT).
[0071] Reference now Figure 2a , a block diagram illustrating an example of a converter that converts adjustment information from a target bit rate format to a default bit rate format by employing padding to compare embedded parameters with non-embedded parameters. In particular, the converter can be configured to convert the adjustment information from a format associated with a target bit rate to a default format for which a neural network has been trained. As illustrated, in Figure 2a In an example of , the target bit rate may be lower than the default bit rate. In this case, the embedded part 201 of the adjustment information may be expanded to a predefined default dimension 203 by padding 204. The dimensions 202, 205 of the non-embedded part are unchanged. In an embodiment, the converter is configured to convert the non-embedded part of the adjustment information from the adjustment information associated with the first bit rate to the corresponding adjustment parameters of the adjustment information associated with the second bit rate by copying the values of the adjustment parameters.
[0072] exist Figure 2b The example further schematically illustrates the result of performing a padding operation 204 on the adjustment parameters in the embedded part of the adjustment information with a dimension 201 associated with the target (first) bit rate to produce a dimension 203 of the adjustment parameters in the embedded part of the adjustment information associated with the default bit rate (second bit rate).
[0073] exist Figure 3a In an example of FIG. 1 , a block diagram of an example of a converter for converting adjustment information from a target bit rate format by comparing a default format is illustrated. Figure 3a In the example of , the target bit rate is equal to the default bit rate. In this case, the converter may be configured to pass the adjustment parameters 301, 302 in the embedded part and the adjustment parameters 303, 304 in the non-embedded part, ie, the adjustment parameters correspond.
[0074] Reference now Figure 3b, a block diagram illustrating an example of the actions of a converter that employs coarse quantization in lieu of fine quantization. A second, non-embedded portion of adjustment information may achieve a rate-quality tradeoff by adjusting the coarseness of the quantizer. In an embodiment, adjustment parameters 305 of the non-embedded portion of adjustment information associated with a first bit rate may be quantized using a coarser quantizer than corresponding adjustment parameters 306 of the non-embedded portion of adjustment information associated with a second bit rate. In the case where a target bit rate (the first bit rate) is lower than a default bit rate (the second bit rate), the converter may provide a coarse reconstruction (conversion) of the adjustment parameters within the non-embedded portion of the adjustment information in their corresponding positions (where otherwise fine quantized values would be expected to be in the default format of the adjustment information).
[0075] Reference now Figure 3c , a block diagram illustrating an example of the actions of a converter employing dimensionality conversion by prediction. In an embodiment, the converter may be configured to expand the dimensionality 301 of an embedded portion of conditioning information associated with a first bit rate to the dimensionality 302 of an embedded portion of conditioning information associated with a second bit rate by, for example, predicting 307 any missing conditioning information 308 by a predictor based on available conditioning parameters of the conditioning information associated with the first bit rate (target bit rate).
[0076] Further references Figure 4 , a block diagram illustrating an example of padding actions of a converter of an embedded portion of conditioning information. The padding operation of the reconstruction (conversion) may be configured to behave differently depending on the construction of the embedded portion of conditioning information. Padding may involve appending a variable sequence with zeros to a default dimension. This may be used in cases where the embedded portion includes reflection coefficients ( Figure 4 ). The padding operation may include inserting a predefined null symbol indicating the absence of adjustment information. Such null symbols may be used in cases where the embedded portion of the adjustment information comprises: (i) a vector of subband energies ordered from low frequency to high frequency; (ii) coefficients of a Karolinen-Loewe transform; (iii) coefficients of a frequency transform (e.g., MDCT, DCT). In an embodiment, the converter may therefore be configured to expand the dimension 401 of the embedded portion of the adjustment information associated with the first bit rate to the dimension 402 of the embedded portion of the adjustment information associated with the second bit rate by means of zero padding 403.
[0077] Generate Neural Network
[0078] In an embodiment, a generative neural network may be trained based on conditioning information in a format associated with a second bitrate. In an embodiment, the generative neural network may reconstruct a signal by performing sampling from a conditional probability density function that is conditioned using conditioning information in a format associated with a second bitrate. In an embodiment, the generative neural network may be a SampleRNN neural network.
[0079] For example, SampleRNN is a deep neural generative model that can be used to generate raw audio signals. It consists of a series of multi-bitrate recurrent layers that are capable of modeling sequential dynamics at different time scales. SampleRNN models the probability of an audio sample sequence by decomposing the joint distribution into a product of individual audio sample distributions conditioned on all previous samples. The joint probability distribution of a waveform sample sequence X = {x1, …, x T} can be written as:
[0080]
[0081] At inference, the model predicts one sample at a time by randomly sampling from p(x i |x1, …, x i-1 ). Recursive conditioning is then performed using the previously reconstructed samples.
[0082] In the absence of conditioning information, SampleRNN is only capable of "babbling" (i.e., random synthesis of signals). In an embodiment, one or more conditioning parameters may be vocoder parameters. The decoded vocoder parameters h f may be provided as conditioning information to the generative model. Thus, the above equation (1) becomes:
[0083]
[0084] where h f represents the vocoder parameters corresponding to the audio sample at time i. It can be seen that due to the use of h f , the model facilitates decoding.
[0085] In a K-layer conditional SampleRNN, the k-th layer (1 < k ≤ K) operates on non-overlapping frames of length FS (k) samples at a time, and the lowest layer (k = 1) predicts one sample at a time. The waveform sample and the decoded vocoder conditioning vector h fis the input to the k-th layer. When k < K, the output from the (k+1)-th layer is an additional input. Linearly sum all the inputs up to the k-th layer. The k-th RNN layer (1 < k ≤ K) consists of a gated recurrent unit (GRU) layer and a learned upsampling layer that performs temporal resolution alignment between the layers. The lowest (k = 1) layer consists of a multi-layer perceptron (MLP) with 2 hidden fully-connected layers.
[0086] In an embodiment, the SampleRNN neural network can be a four-layer SampleRNN neural network. In a four-layer configuration (K = 4), the frame size of the k-th layer is FS (k) . The following frame sizes can be used: FS (1) = FS (2) = 2, FS (3) = 16 and FS (4) = 160. The top layer can share the same temporal resolution as the vocoder parameter adjustment sequence. The learned upsampling layer can be implemented by a transposed convolutional layer, and in the second, third, and fourth layers, the upsampling rates can be 2, 8, and 10 respectively. The recurrent layer and the fully-connected layer can each contain 1024 hidden units.
[0087] Encoder
[0088] Now refer to Figure 5 for an example of a block diagram of an encoder configured to provide adjustment information in a target bitrate format. The encoder 500 can include a signal analyzer 501 and a bitstream encoder 502.
[0089] The encoder 500 is configured to provide at least two operating bitrates, including a first bitrate and a second bitrate, where the first bitrate is associated with a lower reconstruction quality level than the second bitrate, and where the first bitrate is lower than the second bitrate. In an embodiment, the first bitrate can belong to a group of multiple operating bitrates, i.e., n operating bitrates. The encoder 500 can be further configured to provide adjustment information associated with the first bitrate, including one or more adjustment parameters uniquely assigned to an embedded portion and a non-embedded portion of the adjustment information. The one or more adjustment parameters can be vocoder parameters. In an embodiment, the dimension of the number of adjustment parameters defined as the embedded portion of the adjustment information and the non-embedded portion of the adjustment information can be based on the first bitrate. Additionally, in an embodiment, the adjustment parameters of the embedded portion can include one or more of the following: reflection coefficients from a linear prediction filter, a vector of subband energies sorted from low frequency to high frequency, coefficients of a Karhunen-Loeve transform, or coefficients of a frequency transform.
[0090] Note that the methods described herein can also be implemented by a system such as the encoder described above and a device for decoding an audio or speech signal.
[0091] In the following, the encoder is described by way of example, which is not intended to be limiting. The encoder scheme may be based on a wideband version of a linear predictive coding (LPC) vocoder. Signal analysis may be performed frame by frame, and it results in the following parameters:
[0092] i) M-order LPC filter;
[0093] ii) LPC residual RMS level;
[0094] iii) tone f0; and
[0095] iv) Voice vector v of k-band.
[0096] The speech components v(i), i=1,...,k give the fraction of periodic energy within a frequency band. All these parameters can be used for the tuning of SampleRNN as described above. The signal model used by the encoder is intended to describe only clear speech (talker with no background being active at the same time).
[0097]
[0098]
[0099] Table 1: Operating points of encoders (k=6)
[0100] The analysis scheme can operate on 10ms frames of signals sampled at 16kHz. In the described example of encoder design, the order M of the LPC model depends on the operating bit rate. A standard combination of source coding techniques can be used to achieve coding efficiency through appropriate perceptual considerations, including vector quantization (VQ), predictive coding, and entropy coding. In this example, for all experiments, the operating points of the encoder are as defined in Table 1. In addition, standard tuning practices are used. For example, the spectral distortion of the reconstructed LPC coefficients remains close to 1dB.
[0101] The LPC model can be encoded in the line spectral pair (LSP) domain using prediction and entropy coding. For each LPC order M, a Gaussian mixture model (GMM) is trained on the WSJ0 training set to provide probabilities for the quantization units. According to the union principle of the grid, each GMM component has The final selection of the quantization unit is based on the rate-distortion weighted criterion.
[0102] A hybrid approach can be used to quantize the residual level s in the dB domain. Low-level inter-frame changes are detected, signaled by one bit, and encoded by a prediction scheme using fine uniform quantization. In other cases, the encoding may be memoryless, with large but uniform step sizes covering a wide level range.
[0103] Similar to level, a hybrid approach of prediction and memoryless coding can be used to quantize pitch. Uniform quantization is employed but performed in the distorted pitch domain. Pitch is quantized by f w = cf0 / (c+f0) warping, where c = 500 Hz and 10 bits / frame are used to quantize and encode f w .
[0104] Speech can be encoded by memoryless VQ in the distorted domain. Each speech component is encoded by Warped. 9-bit VQ is trained in the warped domain on the WSJ0 training set.
[0105] The feature vector h used to adjust SampleRNN can be constructed as follows f . The quantized LPC coefficients can be converted to reflection coefficients. The vector of reflection coefficients can be concatenated with the other quantized parameters, namely f0, s and v. Either of two constructions of the adjustment vector can be used. The first construction can be a simple concatenation as described above. For example, for M=16, the vector h f The total dimension of is 24; for M=22, it is 30. A second construction can be to embed the lower rate adjustments into the higher rate format. For example, for M=16, a 22-dimensional vector of reflection coefficients is constructed by padding 16 coefficients with 6 zeros. The remaining parameters can be replaced with their coarsely quantized (low bit rate) versions, which is possible because they are now in h f The position inside is fixed.
[0106] explain
[0107] In general, various example embodiments as described in the present invention may be implemented in hardware or dedicated circuits, software, logic, or any combination thereof. Some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device. Although various aspects of the example embodiments of the present invention are described as block diagrams, flow charts, or using some other graphical representation, it will be appreciated that the blocks, devices, systems, techniques, or methods described herein may be implemented as non-limiting examples in hardware, software, firmware, dedicated circuits or logic, general purpose hardware or controllers or other computing devices, or some combination thereof.
[0108] In addition, the various blocks shown in the flowchart may be viewed as method steps, and / or operations resulting from the operation of computer program code, and / or a plurality of coupled logic circuit elements constructed to perform (several) associated functions. For example, an embodiment includes a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program containing program code configured to perform the method as described above.
[0109] In the context of the present invention, a machine-readable medium may be any tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include an electrical connection with one or more wires, a portable computer floppy disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0110] The computer program code for implementing the method described herein can be written in any combination of one or more programming languages. These computer program codes can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code causes the function / operation specified in the flow chart and / or block diagram to be implemented when the processor of the computer or other programmable data processing device executes. The program code can be executed completely on the computer, partly on the computer, as an independent software package, partly on the computer and partly on the remote computer or completely on the remote computer or server. The program code can be distributed on a special programming device, which can be generally referred to as a "module" in this article. The software component of the module can be written in any computer language and can be a part of the overall code base, or can be developed with more discrete code parts, such as usually in an object-oriented computer language. In addition, the module can be distributed across multiple computer platforms, servers, terminals, mobile devices, etc. A given module can even be implemented so that the described function is executed by a separate processor and / or computing hardware platform.
[0111] As used in this application, the term "circuitry" refers to all of the following: (a) hardware circuit implementations only (e.g., implementations only in analog and / or digital circuitry); and (b) combinations of circuits and software (and / or firmware), such as, if applicable: (i) combinations of (several) processors or (ii) portions of (several) processors / software (including (several) digital signal processors)), software, and (several) memories that work together to cause a device such as a mobile phone or server to perform various functions; and (c) circuits that require software or firmware to operate (e.g., (several) microprocessors or portions of (several) microprocessors), even if the software or firmware is not physically present. In addition, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
[0112] In addition, although the operations are depicted in a particular order, this should not be understood as requiring to perform such operations in the particular order shown or in a sequential order, or to perform all described operations to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Similarly, although the above discussion contains some specific implementation details, these details should not be interpreted as limiting the scope or the content that may be claimed, but should be interpreted as a description of the features that may be specific to a particular embodiment. Some of the features described in this specification in the context of a separate embodiment may also be implemented in combination in a single embodiment. On the contrary, the various features described in the context of a single embodiment may also be implemented individually in multiple embodiments or in any suitable sub-combination.
[0113] Various modifications and adaptations of the foregoing example embodiments may become apparent to those skilled in the relevant art in view of the foregoing description when read in conjunction with the accompanying drawings. Any and all modifications will still fall within the scope of the non-limiting and example embodiments. In addition, other embodiments will occur to those skilled in the art to which these embodiments relate having the benefit of the teachings presented in the foregoing description and the accompanying drawings.
Claims
1. A method for decoding an audio or speech signal, the method comprising the following steps: (a) receiving, by a receiver, an encoded bit stream comprising the audio or speech signal and adjustment information; (b) providing, by a bitstream decoder, decoded adjustment information in a format associated with the first bit rate; (c) converting, by a converter, the decoded adjustment information from the format associated with the first bit rate to a format associated with a second bit rate, the first bit rate being lower than the second bit rate; and (d) providing, by a generative neural network, a reconstruction of the audio or speech signal according to a probability model conditioned by the decoded conditioning information in the format associated with the second bit rate, wherein the generative neural network reconstructs the signal by performing sampling from a conditional probability density function conditioned using the conditioning information in the format associated with the second bit rate, and wherein the generative neural network is a SampleRNN neural network; wherein the adjustment information includes an embedded part and a non-embedded part; wherein the adjustment information includes one or more adjustment parameters; and wherein the dimensionality of the embedded portion of the conditioning information associated with the first bit rate, defined as the number of conditioning parameters, is lower than or equal to the dimensionality of the embedded portion of the conditioning information associated with the second bit rate, and wherein the dimensionality of the non-embedded portion of the conditioning information associated with the first bit rate is the same as the dimensionality of the non-embedded portion of the conditioning information associated with the second bit rate. 2 . The method of claim 1 , wherein the first bit rate is a target bit rate and the second bit rate is a default bit rate.
3. The method of claim 1 or 2, wherein the one or more adjustment parameters are vocoder parameters. 4 . The method of claim 1 , wherein the one or more tuning parameters are uniquely assigned to the embedded portion and the non-embedded portion.
5. A method according to claim 4, wherein the adjustment parameters of the embedded part include one or more of the following: reflection coefficients from a linear prediction filter, or a vector of subband energies ordered from low frequency to high frequency, or coefficients of a Karolinen-Loewen transform or coefficients of a frequency transform.
6. The method of claim 4, wherein step (c) further comprises: (i) extending the dimensionality of the embedded portion of the conditioning information associated with the first bit rate to the dimensionality of the embedded portion of the conditioning information associated with the second bit rate by means of zero padding; or (ii) extending the dimensionality of the embedded portion of the conditioning information associated with the first bit rate to the dimensionality of the embedded portion of the conditioning information associated with the second bit rate by predicting any missing conditioning parameters based on available conditioning parameters of the conditioning information associated with the first bit rate.
7. The method of claim 4, wherein step (c) further comprises converting, by the converter, the non-embedded portion of the conditioning information from the conditioning information associated with the first bit rate into corresponding conditioning parameters of the conditioning information associated with the second bit rate by copying the values of the conditioning parameters.
8. The method of claim 7, wherein the adjustment parameters of the non-embedded portion of the adjustment information associated with the first bit rate are quantized using a coarser quantizer than the corresponding adjustment parameters of the non-embedded portion of the adjustment information associated with the second bit rate.
9. The method of claim 1 or 2, wherein the generative neural network is trained based on conditioning information in the format associated with the second bit rate.
10. The method according to claim 1 or 2, wherein the SampleRNN neural network is a four-layer SampleRNN neural network.
11. An apparatus for decoding an audio or speech signal, wherein the apparatus comprises: (a) a receiver for receiving a coded bit stream comprising the audio or speech signal and the conditioning information; (b) a bitstream decoder for decoding the encoded bitstream to obtain decoded adjustment information in a format associated with the first bit rate; (c) a converter for converting the decoded adjustment information from a format associated with the first bit rate to a format associated with a second bit rate, the first bit rate being lower than the second bit rate; and (d) a generative neural network for providing a reconstruction of the audio or speech signal according to a probability model conditioned by the decoded conditioning information in the format associated with the second bit rate, wherein the generative neural network reconstructs the signal by performing sampling from a conditional probability density function conditioned using the conditioning information in the format associated with the second bit rate, and wherein the generative neural network is a SampleRNN neural network; wherein the adjustment information includes an embedded part and a non-embedded part; wherein the adjustment information includes one or more adjustment parameters; and wherein the dimensionality of the embedded portion of the conditioning information associated with the first bit rate, defined as the number of conditioning parameters, is lower than or equal to the dimensionality of the embedded portion of the conditioning information associated with the second bit rate, and wherein the dimensionality of the non-embedded portion of the conditioning information associated with the first bit rate is the same as the dimensionality of the non-embedded portion of the conditioning information associated with the second bit rate.
12. The apparatus of claim 11, wherein the first bit rate is a target bit rate and the second bit rate is a default bit rate.
13. Apparatus according to claim 11 or 12, wherein the one or more adjustment parameters are vocoder parameters.
14. The apparatus of claim 11 or 12, wherein the one or more tuning parameters are uniquely assigned to the embedded portion and the non-embedded portion.
15. An apparatus according to claim 14, wherein the adjustment parameters of the embedded part include one or more of the following: reflection coefficients from a linear prediction filter, or a vector of subband energies ordered from low frequency to high frequency, or coefficients of a Karolinen-Loewy transform or coefficients of a frequency transform.
16. The apparatus of claim 14, wherein the converter is further configured to: (i) extending the dimensionality of the embedded portion of the conditioning information associated with the first bit rate to the dimensionality of the embedded portion of the conditioning information associated with the second bit rate by means of zero padding; or (ii) extending the dimensionality of the embedded portion of the conditioning information associated with the first bit rate to the dimensionality of the embedded portion of the conditioning information associated with the second bit rate by predicting any missing conditioning parameters based on available conditioning parameters of the conditioning information associated with the first bit rate.
17. The apparatus of claim 14, wherein the converter is further configured to convert the non-embedded portion of the conditioning information from the conditioning information associated with the first bit rate to corresponding conditioning parameters of the conditioning information associated with the second bit rate by copying values of the conditioning parameters.
18. The apparatus of claim 17, wherein the adjustment parameters of the non-embedded portion of the adjustment information associated with the first bit rate are quantized using a coarser quantizer than the corresponding adjustment parameters of the non-embedded portion of the adjustment information associated with the second bit rate.
19. The apparatus of claim 11 or 12, wherein the generative neural network is trained based on conditioning information in the format associated with the second bit rate.
20. The apparatus according to claim 11 or 12, wherein the SampleRNN neural network is a four-layer SampleRNN neural network.
21. An encoder comprising a signal analyzer and a bitstream encoder, wherein the encoder is configured to provide at least two operating bit rates, including a first bit rate and a second bit rate, wherein the first bit rate is associated with a lower reconstruction quality level than the second bit rate, and wherein the first bit rate is lower than the second bit rate; wherein the encoder is further configured to provide conditioning information for conditioning of the SampleRNN neural network, the conditioning information being associated with the first bit rate and comprising one or more conditioning parameters uniquely assigned to an embedded portion and a non-embedded portion of the conditioning information; And wherein a dimension of the embedded portion of the conditioning information and the non-embedded portion of the conditioning information defined as the number of conditioning parameters is based on the first bit rate.
22. An encoder according to claim 21, wherein the adjustment parameters of the embedded part include one or more of the following: reflection coefficients from a linear prediction filter, or a vector of subband energies ordered from low frequency to high frequency, or coefficients of a Karolinen-Loewy transform or coefficients of a frequency transform.
23. An encoder according to claim 21 or 22, wherein the first bit rate belongs to a set of a plurality of operating bit rates.
24. A system having an encoder according to any of claims 21 to 23 and an apparatus for decoding an audio or speech signal according to any of claims 11 to 20.
25. A computer program product comprising a computer-readable storage medium having instructions adapted to, when executed by a device having processing capabilities, cause the device to perform the method of any one of claims 1-10.
Citation Information
Patent Citations
Low bit rate music signal coding method
CN101159136A
Rate control model adaptation based on slice dependencies for video coding
CN102067610A
