Adaptive block switching with deep neural network

JP2024129002A5Active Publication Date: 2024-10-22DOLBY LABORATORIES LICENSING CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024075696
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2020-11-09
Filing Date
2024-05-08
Publication Date
2024-10-22
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

Adaptive block length encoding and decoding are not compatible with traditional decoding schemes due to varying numbers of transform coefficients, leading to inaccuracies in representing the original media signal.

Method used

A neural network system is used to predict transform coefficients by converting adaptive block length media signals into fixed-length blocks, considering block length information and time/frequency dependencies, enhancing the generative properties of the neural network to improve decoding accuracy.

Benefits of technology

The method reduces pre-echo distortion and improves the quality of decoded media signals by accurately representing the original signal, addressing the incompatibility of adaptive block lengths with traditional decoding schemes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a method for predicting, with a neural network, transform coefficients of an adaptive block length media signal, in particular, an adaptive block length general audio signal.SOLUTION: The method includes the steps of: receiving a frame including a quantized transform coefficient; converting at least one block having a second number of transform coefficients into a converted block having a first number of transform coefficients, the first number being larger than the second number; conditioning a conditioning neural network using information representing quantized transform coefficients of the converted block; conditioning a main neural network using at least one output variable of the conditioning neural network; and predicting at least one transform coefficient using at least one output variable of the main neural network.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application claims the benefit of priority to U.S. Provisional Patent Application No. 63 / 092,685, filed October 16, 2020, and European Patent Application No. 20206462.2, filed November 9, 2020, which are incorporated herein by reference.

[0002] [Technical field to which the invention pertains] The present invention relates to combining generative models with existing highly efficient coding schemes for media signals. In particular, the present invention relates to a method for predicting transform coefficients of an adaptive block length media signal using a trained neural network. [Background technology]

[0003] In low-rate adaptive block length encoding and decoding, the encoder is configured to optimize the trade-off between frequency and time resolution. This can be achieved by the encoder selecting a transform length for each signal sample block. In general, the encoder selects a long block with a larger number of transform coefficients for signal sample blocks representing signals with slowly evolving time characteristics, and selects a set of short blocks, each with a smaller number of transform coefficients, for signal sample blocks representing signals with rapidly evolving time characteristics.

[0004] A problem with encoding and decoding adaptive block length signals is that the blocks to be decoded may contain a different number of transform coefficients that represent the frequency content of the media signal over different durations of the media signal. Adaptive block lengths are therefore incompatible with conventional decoding schemes developed for fixed block length signals. It would also be beneficial to obtain at the decoder a more accurate representation of the original media signal that was sampled at the encoder to form signal sample blocks and adaptively divided into blocks of a different number of transform coefficients. Summary of the Invention

[0005] Based on the above, it is therefore an object of the present invention to provide a method for predicting transform coefficients of an adaptive block length media signal, in particular an adaptive block length generic audio signal, using a neural network.

[0006] According to a first aspect of the present invention, there is provided a method for predicting transform coefficients representative of frequency content of an adaptive block length media signal using a computer implemented neural network system, the method comprising the steps of receiving blocks of a frame, each block of the frame comprising at least one quantized transform coefficient (or set of quantized transform coefficients) representative of a partial time segment of the media signal, receiving block length information indicating a number of quantized transform coefficients for each block of the frame, the number of quantized transform coefficients being one of a first number or a second number, the first number being greater than the second number, determining that at least a first block of the frame has the second number of quantized transform coefficients, transforming the at least first block into a transformed block having the first number of quantized transform coefficients, and conditioning a trained main neural network to predict at least one output variable given at least one conditioning variable, the at least one conditioning variable being based on the conditioning information, The method includes the steps of: receiving a representation of the transformed block and a representation of block length information for the first block; and providing the at least one output variable to an output stage (output neural network) configured to provide at least one predicted transform coefficient from the at least one output variable.

[0007] As an alternative to quantized transform coefficients, the transform coefficients may be distorted or corrupted. The transform coefficients output by the output stage (output neural network) are enhanced in the sense that they closely resemble the original set of transform coefficients and / or that the enhanced transform coefficients transformed back to the time domain describe a media signal that is perceived as a higher quality media signal compared to the time domain media signal described by the quantized transform coefficients. Furthermore, a frame as referred to herein may include one or more blocks (e.g., a set of blocks).

[0008] The present invention is based, at least in part, on the realization that by transforming a (short) first block into a (long) transformed block with a first number of transform coefficients, the generative properties of a trained main neural network can be introduced into variable block switching decoding. Neural networks are not compatible with adaptive length blocks, since they have fixed dimensions in their output layer. By transforming a first block of quantized transform coefficients into a transformed block and conditioning the main neural network with a representation of the transformed block and a representation of block length information, the neural network can predict at least one (enhanced or non-quantized) transform coefficient in a dynamic manner based on the block length. That is, since a representation of block length information is included in the conditioning information (on which at least one conditioning variable is based), the main neural network will be trained to respond appropriately to a block transformed to include a first number of transform coefficients.

[0009] Additionally, it may be further determined that the block of the frame comprises a first number of quantized transform coefficients. Such (long) blocks may not be transformed into transformed blocks, instead a representation of the block with the first number of quantized transform coefficients is included in the conditioning information. In addition to not transforming the long blocks, the long blocks may be treated similarly to the determined short blocks. The transform coefficients output by the output stage comprise a first number of transform coefficients representing either a quantized transform coefficient block with the first number of transform coefficients or a transformed block of the first number of quantized transform coefficients, which represents at least one quantized transform coefficient block with a second number of transform coefficients.

[0010] The main neural network may predict at least one transform coefficient for each of the variable length blocks in turn, so that the main neural network takes into account time and / or frequency dependencies. The main neural network may have a memory function, so that previous inputs influence the current processing, and so that the prediction of the current (enhanced) at least one transform coefficient is influenced by the previous transform coefficient.

[0011] Adaptive length blocks represent a trade-off between frequency and time: longer blocks contain more transform coefficients and represent longer durations of the media signal, and shorter blocks contain fewer transform coefficients and represent shorter durations of the media signal.

[0012] According to a second aspect of the present invention, there is provided a method for obtaining at least one training block for training a computer-implemented neural network system to predict at least one transform coefficient of an adaptive block length media signal, the method comprising the steps of obtaining a set of transform blocks each including a number of transform coefficients representative of a frequency content of the media signal, the number of transform coefficients in each block being a first number or a second number, the first number being greater than the second number, determining that the first block includes the second number of transform coefficients, transforming the first block into a transformed block having the first number of transform coefficients, obtaining a target prediction block from the transformed block, quantizing the transformed block, and obtaining a training block from the quantized transformed block.

[0013] The obtained set of transform blocks may further represent a sequence of associated time domain window functions (short, long, bridge-in or bridge-out).

[0014] According to a third aspect of the present invention, there is provided a computer implemented neural network system for predicting at least one transform coefficient representative of frequency content of an adaptive block length media signal, the neural network system comprising an adaptive block pre-processing unit configured to receive a frame including a set of quantized transform coefficients representative of a partial time segment of the media signal, receive block length information indicating a number of quantized transform coefficients for each block in the frame, the number of quantized transform coefficients being one of a first number or a second number, the first number being greater than the second number, determine that at least the first block has the second number of transform coefficients, and transform the at least first block into a transformed block having the first number of quantized transform coefficients. The neural network system further comprises a main neural network trained to predict at least one output variable given at least one conditioning variable based on conditioning information, the conditioning information including a representation of the transformed block and a representation of block length information for the first block, and an output stage configured to provide at least one predicted transform coefficient from the at least one output variable.

[0015] In some implementations, the neural network system described above is trained by using a set of target prediction blocks and a set of training blocks. The set of training blocks is an impaired representation of the target prediction blocks, and the training blocks include at least one training block with a first number of transform coefficients and at least one training block with a second number of transform coefficients. The set of training blocks is provided to an adaptive block pre-processing unit of the neural network system, and a set of prediction blocks from the set of training blocks is obtained from an output stage of the neural network system. A measure of the prediction block relative to the set of target prediction blocks is calculated, and the weights of the neural network system are modified to reduce the measure.

[0016] By modifying the weights of the neural network system in response to the scale of the predicted block, the neural network system is trained to predict (generate) at least one transform coefficient from at least one quantized transform coefficient. By training, the neural network system is trained to properly recognize at least one conditioning variable representing the short block(s) and to process it in such a way that the resulting at least one predicted transform coefficient closely resembles at least one transform coefficient of the media signal.

[0017] It should be appreciated that based on obtaining the measures, the neural network system may be trained, preferably iteratively, by modifying the parameters (e.g., weights) of each neural network until a satisfyingly small measure is achieved.

[0018] The invention according to the second and third aspects features the same or equivalent embodiments and advantages as the invention according to the first aspect. Furthermore, any functions described with respect to a method may have corresponding structural features in a system or code for performing such functions in a computer program product.

[0019] Experiments were performed to code and decode a reference media signal with fixed and adaptive block lengths. In the fixed block length case, a fixed length neural network system was implemented in the decoder, and in the adaptive block length case, a neural network system according to an implementation of the present invention was implemented in the decoder. The fixed block length coding used 256 MDCT coefficient blocks, and the adaptive block length coding used adaptive 256 / 128 MDCT coefficient blocks. A comparison of the decoded signals showed that adaptive block length switching using the neural network system of the present invention in the decoder reduced pre-echo distortion compared to the fixed block length counterpart. [Brief description of the drawings]

[0020] The present invention will now be described in more detail with reference to the accompanying drawings, which show presently preferred embodiments of the invention. [Figure 1] 1 illustrates an adaptive block length encoder and decoder implementing a neural network system according to an embodiment of the present invention. [Diagram 2] 1 illustrates a neural network system according to an embodiment of the present invention. [Figure 3a] denotes the merging process of the time window functions. [Figure 3b] denotes the merging process of the time window functions. [Figure 4] 2 shows a flowchart illustrating a method for predicting at least one transform coefficient from quantized transform coefficients according to an embodiment of the present invention. [Diagram 5] 1 shows a flowchart illustrating a method for obtaining training blocks for training a neural network system according to an embodiment of the present invention. [Figure 6] 1 shows a flowchart illustrating a method for obtaining training blocks for training a neural network system according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] FIG. 1 shows an adaptive block length encoder / decoder system including an encoder 1 and a decoder 2. A media signal is received at an input port at a transient detector 101. The media signal may be divided into a series of time domain frames and sub-divided into a number of time domain segments, each segment including some number of media signal samples. For example, a time domain frame includes 16000 signal samples and is divided into 4 segments of 4000 samples. The number of signal samples in the time domain frames and segments (and therefore also the number of segments in the time domain frames) is only exemplary and may be any number. The transient detector 101 is configured to optimize the trade-off between frequency and time resolution by selecting a transform length for each segment. In general, the transient detector 101 selects a long transform length for segments including signals with slowly evolving or stationary time characteristics and a shorter transform length for segments including signals with rapidly evolving time characteristics. By optimizing the "perceptual coding gain" for both short and long signal classes, this approach offers a fundamental advantage over coding with time-invariant transform lengths.

[0022] Depending on the temporal characteristics of the segments of the media signal, the transient detector 101 may select a requirement that the segment should be represented by a transform domain block with a first number of transform coefficients (for slowly evolving temporal signal segments) or a number of transform domain blocks each containing a second number of transform coefficients (for rapidly evolving temporal signal segments), where the first number is greater than the second number. For example, the transient detector 101 may select a requirement that a slowly evolving segment should be represented by a transform domain block with 256 transform coefficients X kThe rapidly growing segments are represented by a conversion factor of 128, X k Two sets of transform domain blocks or 64 transform coefficients X k The number of transform coefficients selected is not limited to the included examples and any number may be selected. The transient detector 101 may require the number of transform coefficients from among a set of block lengths, the set of block lengths including at least two lengths, such as 256 / 128. In some implementations, the set of block lengths includes at least three or more lengths, such as 256 / 128 / 64, from which the transient detector 101 may select an appropriate length for the block. For example, the transient detector 101 may require that a segment be represented by a combination of short blocks of various lengths. For example, a slowly evolving segment may be represented by a combination of 256 transform coefficients X k and the subsequent rapidly growing segments are represented by a conversion factor of 128, X k and 64 transformation coefficients X k The transient detector 101 determines the required number of transform domain blocks in which the time domain segment should be represented (and / or the number of transform coefficients X for each block). k The transient detector 101 generates block length information representing the number of transitions (number of transitions) between adjacent bits of the transient detector 101. The block length information is transmitted to the decoder 2. The transient detector 101 passes the block length information to the transformation unit 102.

[0023] The transform unit 102 transforms the segment according to the block length information to generate transform coefficients X k In the above example, the 16000 sample time frame divided into four segments of 4000 samples outputs an adaptive length transform block containing transform coefficients X kThese transform blocks may then form a transform domain frame (frame) in the encoder 1 and / or the decoder 2. In other words, a frame may be referred to as a set of one or more transform blocks and / or one or more segments. In some of the encoders 1 and decoders 2, the frame to which a transform block belongs may not be explicitly indicated or taken into account, since it is sufficient to treat the transform blocks consecutively regardless of their respective time or transform domain frame.

[0024] The received media signal is further received by a perceptual model 111 which calculates a masking threshold, which is passed to a bit allocation unit 112.

[0025] In the bit allocation unit 112, the bit allocation for the transform coefficients to be quantized is allocated based on the received perceptual masking threshold information received from the perceptual model 111. The bit allocation unit 112 may allocate bits to reduce or minimize quantization noise. The bit allocation unit 112 passes the bit allocation information to the quantizer 103.

[0026] The quantizer 103 quantizes the transform coefficients X of each block in the adaptive block length block by allocating bits to each transform coefficient according to the received bit allocation information. k quantize the transform coefficients

number

[0027] In the decoder 2, a neural network (NN) system 201 receives a frame, each block of which is encoded by at least one quantized transform coefficient X from the quantizer 103 of the encoder 1. ~k and block length information from the transient detector 101 of the encoder. The neural network system 201 includes a main neural network and the quantized transform coefficients X ~ k at least one conversion coefficient from at least one predicted conversion coefficient

number

[0028] At least one predicted conversion coefficient X ― k is at least one predicted transform coefficient X for each transform domain block. ― k into a time domain segment (i.e., a predicted time domain segment). The inverse transform unit 202 may receive the block length information from the transient detector 101 of the encoder 1 in some implementations.

[0029] As explained above, at least one predicted transform coefficient X arrives as a block to the inverse transform unit 202. ― k may be of a static, predetermined length, even though some blocks represent one or more quantized blocks of shorter original (pre-transform) length. Since the inverse transform unit 202 receives this information of the original transform domain block length in the form of block length information, the inverse transform unit 202 can perform the necessary inverse transform pre-processing steps. For example, in response to a predicted long block being associated with an original short block that was upsampled to form a transformed block in the transform unit, the inverse transform unit 202 may downsample the predicted long block to the predicted short block prior to inverse transforming the short block to the time domain. In another example, the quantized transform coefficients X ~ k At least two short blocks having the same length are transformed into a single transformed block in the transform unit, and at least one predicted transform coefficient X ― k In such a case, the inverse transform unit 202 may determine from the block length information that the predicted long block is in fact a prediction based on at least two short blocks (combined), and in response perform an inverse transform pre-processing step, such as splitting or performing an inverse transform procedure, i.e., the inverse of the transform performed in the neural network system 201, to obtain a predicted block of the same length as that determined by the transient detector 101 in the encoder 1. The inverse transform pre-processing step may be performed by a separate (not shown) unit preceding the inverse transform unit for any existing coding scheme for adaptive block length media signals. For example, the neural network system (together with the inverse transform pre-processing) may be implemented with any existing codec, e.g., to refine AC-4 transform coefficients, or it may be used with a new codec designed for decoding by the neural network system 201.

[0030] In a further implementation, the inverse transform unit 202 transforms each predictive block (of static length) into the time domain, for example, when the set of predictive blocks is from a static length media signal. In such an implementation, the inverse transform unit does not need to consider block length information, and the neural network system effectively transforms the adaptive block switching media signal into a static block length media signal. The neural network system 201 is trained to receive blocks of various lengths and output fixed length blocks. The inverse transform unit 202 transforms the static length blocks into the time domain media signal.

[0031] The inverse transform unit 202 outputs a time domain media signal (or a sequence of time domain media signal blocks) suitable for playback by a playback device (not shown). The neural network system 201 is configured to receive at least one quantized transform coefficient in the block and to predict at least one transform coefficient.

[0032] Referring to Figure 2, one embodiment of the computer-implemented neural network system 201 of Figure 1 is shown in more detail. The neural network system 201 generates quantized transform coefficients X, which represent the frequency content of partial time segments of a media signal. ~ kand block length information 21 indicating a number of quantized transform coefficients for each block in the frame 20, the number of quantized transform coefficients being one of a first number or a second number. The computer-implemented neural network system 201 further comprises a transform stage 11 configured to determine that at least the first block has the second number of quantized transform coefficients and to transform at least the first block into a transformed block having the first number of quantized transform coefficients. If the frame 20 has at least one block with the second number of quantized transform coefficients from the frame 20 to the transform stage 11, the transform stage generates an output frame 20', where all output blocks in the output frame have the first number of quantized transform coefficients.

[0033] The neural network system 201 further receives block length information 21 indicating the number of quantized transform coefficients for each block in the frame 20. The block length information 21 thereby indicates a sequence of blocks containing a first or second number of transform coefficients. The block length information 21 may be a sequence of integers or symbols, each integer or symbol representing a block, and the value of each integer (or type of symbol) indicates the number of quantized transform coefficients X of that block. ~ k Represents the number of.

[0034] The block length information 21 may include three or more alternative block lengths. In some implementations, the second number of transform coefficients X k The transformation coefficient X of the first number preceding the block with k may be labeled as a bridge-in block, and the block with the second number of transform coefficients X k The first number of transformation coefficients X k may be labeled as a bridge-out block. Thus, the block length information 21 may be a sequence of four (or more) different integers, and the length of a long block (the first number of transform coefficients X k ), short block (conversion factor of the second number x k), one for each of the bridge-in block, and bridge-out block.

[0035] The neural network system 201 forms at least one conditioning variable 15 based on conditioning information, which comprises at least two components: (i) information representative of a transformed block (or a block comprising a first number of quantized transform coefficients) and (ii) information representative of a block length information 21. In a simple case, the information representative of a transformed block is itself the quantized transform coefficients X ~ k and the block length information representation is an integer. The at least one conditioning variable 15 and the main neural network 16 may feature a separate dimension for each conditioning information or may feature a single dimension onto which each conditioning information is projected.

[0036] The at least one conditioning variable 15 is used to condition a main neural network 16. The main neural network 16 is trained to predict at least one output variable given the at least one conditioning variable 15, which makes a final prediction of at least one transform coefficient (i.e., at least one predicted transform coefficient X) given the at least one output variable from the main neural network 16. ― k The output neural network 17 is provided to an output neural network 17 that is trained to (output)

[0037] The main neural network 16 may be any type of neural network, for example a deep neural network, a recurrent neural network, or any neural network system. The main neural network 16 may be a regression model. The media signal may be any type of media signal, including an audio signal or a video signal. If the media signal is an audio signal, the main neural network 16 functions in a preferred embodiment as a general audio generation model in the transform domain. The main neural network 16 is configured to operate in the transform domain and is trained to predict at least one output variable given at least one conditioning variable. The at least one output variable, which may be considered a hidden state, is provided to the output neural network 17, which is configured (e.g., trained) to output at least one predicted transform coefficient given the at least one output variable. The output neural network 17 may be implemented together with the main neural network 16 as a single unit, for example as an output stage of the main neural network 16, or as a separate neural network. In any case, the output neural network 17 and the main neural network 16 exchange hidden state information. Thus, at least one transform coefficient X ― k is generated by the main neural network 16 and the output neural network 17 for at least one quantized transform coefficient X by understanding the time and / or frequency dependence of the representation of the quantized transform coefficient. ~ kThat is, the main neural network 16 and the output neural network 17 may be trained such that previous representations of transform coefficients processed by the main neural network 16 may influence the prediction of at least one current transform coefficient. Additionally or alternatively, the main neural network 16 and the output neural network 17 may be trained such that interdependencies between transform coefficients in a current block and transform coefficients in past blocks are taken into account. Since transform coefficients represent frequency content, the main neural network 16 and the output neural network 17 may be trained to predict at least one transform coefficient by learning how frequency content (represented in the transform coefficients) of a first frequency band affects frequency content of a second frequency band.

[0038] In some implementations, the neural network system 201 further comprises an additional neural network, such as a conditioning neural network 12 connected to receive the output from the transformation unit 11 and to receive the block length information from the block length information neural network 14. The conditioning neural network 12 and the block length information neural network 14 are used to predict the respective conditioning information and may be any type of neural network, for example, a convolutional layer, and the use of one type does not require the other type.

[0039] The conditioning neural network 12 and / or the block length information neural network 14 may be trained to predict at least one output variable of each, where at least one conditioning variable 15 is then obtained as the sum of the respective at least one predicted output variable. Furthermore, the at least one conditioning variable 15 (e.g., the sum of at least one output variable from the conditioning neural network 12 and the block length neural network 14) passed to the main neural network 16 may be considered as a hidden neural network layer. In addition to establishing an inner dimension (as a hyperparameter) for the hidden layer that matches the input dimension of the main neural network 16, the neural network system 201 may be operated (and trained) without any constraint on the interpretability of the hidden layer. For example, the representation of the conditioning information and the block length information representing the quantized transform coefficients may each be at least one output variable in the form of a matrix of dimensions that match the inner dimension. The at least one conditioning variable 15 may be a sum of at least one matrix output variable. In a further example, a matrix may be two-dimensional and contain a single row or column (ie, a vector).

[0040] The conditioning neural network 12 receives the quantized transform coefficients X ~ k The conditioned neural network 12 is trained to predict a representation of a block from the output frame 20′ given the quantized transform coefficients X. By using the conditioned neural network 12, trained to predict a representation, to predict the representation of the quantized transform coefficients of the transformed block, a representation that is easier to predict by the main neural network 16 can be achieved. ~ k The static transformation function that transforms the information representing ~ kIn contrast to assigning a representation to the input signal, the conditioning neural network 15 may be trained to predict a representation that facilitates the final prediction by the main neural network 16 and the output neural network 17.

[0041] In a similar manner, the block length information neural network 14 is trained to predict a representation of the block length information given the block length information 21. By implementing the block length neural network 14 trained to predict a representation of the block length information given the block length information 21 of at least a first block, the conditioning information used to condition the main neural network 16 is the conversion of at least one transformation coefficient X by the main neural network 16 and the output neural network 17. ― k The transform coefficients X quantized in the first block in a form that facilitates prediction of ~ k In one example, the block length neural network 14 conveys information indicative of the number of transform coefficients X k Thus, the main neural network 16 outputs a representation of block length information indicating a block having a first number of transform coefficients X ~ k The represented quantized transform coefficients X from a transformed or quantized block having ~ k When x is 1, it will be conditioned differently and will respond differently. The main neural network 16 and the output neural network 17, together with the transform unit 11, generate the quantized transform coefficients X ~ k Since the prediction of the at least one transform coefficient may be achieved regardless of how the transformed block was constructed from the at least first block, the prediction of the at least one transform coefficient may be achieved regardless of how the transformed block was constructed from the at least first block.

[0042] For example, in contrast to conditioning the block-length neural network with an integer from a sequence of integers, some implementations of the neural network system 201 include a one-hot encoder 13 that converts the block-length information 21 into a one-hot vector that is used to condition the block-length neural network 14. The block-length information is categorical, indicating a distinct state (e.g., long, short, bridge-in, or bridge-out) for each block. With one-hot encoding, these categories are separated into individual vector elements, which facilitates training and prediction of the block-length neural network 14 by clearly distinguishing between different possible states. For example, one-hot encoding promotes a strong spatial dependency between at least one predicted output variable and which input element of the input layer of the block-length neural network received the one-hot (on-state) vector element.

[0043] In some implementations, the neural network system 201 further receives, for each block, perceptual model coefficients pEnvQ and / or a spectral envelope. Thus, the conditioning information may further include additional information that is a representation of the perceptual model coefficients pEnvQ and / or the spectral envelope information. The perceptual model coefficients pEnvQ and / or the spectral envelope may be processed in parallel with the block length information and the quantized transform coefficients and combined with other information in at least one conditioning variable 15 or provided to the main neural network 16 as side information of another dimension.

[0044] The set of perceptual model coefficients pEnvQ may be derived from the perceptual model as it occurs in the encoder. The perceptual model coefficients pEnvQ are calculated for each frequency band and, for ease of processing, are preferably mapped to the same resolution as the frequency coefficients of the block.

[0045] In implementations where a single short block is transformed into a transformed block, the pEnvQ coefficients are transformed into an equivalent long block representation by a similar transformation procedure and used as conditioning information. For example, if the short block is upsampled, the pEnvQ coefficients are upsampled in the same way.

[0046] It should be noted that in a "trained" neural network system 201 implementation featuring more than one neural network, all of the neural networks in the system are trained together during at least a portion of the training. For example, the block length neural network 14 may be trained together with the main neural network 16, with the internal parameters (e.g., weights) of each neural network 14, 16 being trained based on the original unquantized transform coefficients X k Compare the predicted at least one transform coefficient X with some target predicted at least one transform coefficient such as ― k The block length neural network 14 is then trained to output at least one conditioning variable 15 that causes the predicted at least one transform coefficient of the main neural network 16 and the output neural network 17 to match as closely as possible to the original transform coefficient. k At least one conversion factor X that is as close as possible to ― k are simultaneously trained to predict

[0047] The transformation in the transformation unit 11 of the block having the second number of transform coefficients is performed by transforming the first number of quantized transform coefficients X ~ kThe upsampling may include linearly or polynomially interpolating (and optionally extrapolating) the second number of quantized transform coefficients to the first number of quantized transform coefficients. Alternatively, upsampling to form the transformed block may include repeating each quantized transform coefficient a predetermined number of times, adding zero elements between non-zero elements, or multiplying the quantized transform coefficients X ~ k Alternatively, any other suitable upsampling, extension, or interpolation technique can be applied. In some implementations, transform unit 11 simply interleaves the quantized transform coefficients X ~ k to a main neural network 16, which is trained to predict at least one output parameter of an output neural network 17. In this case, the main neural network 16 transfers a second number of quantized transform coefficients X ~ k It learns to recognize blocks with and assimilates them by training the converter's capabilities.

[0048] In the transform unit 11, a second number of quantized transform coefficients X ~ k a first block containing a second number of quantized transform coefficients X ~ k Instead of transforming the first block and the second block into at least two blocks, a first block and a second block containing a first number of quantized transform coefficients X ~ k Thus, the main neural network 16 and the output neural network 17 can be transformed together into a transformed block containing a first number of quantized transform coefficients X ~ k Given a representation of a transformed block containing at least one transform coefficient X ― k, and the quantized transform coefficients X ~ k is a quantized transform coefficient X of at least a first block and a second block. ~ k It comes from.

[0049] In general, a second number of quantized transform coefficients X ~ k At least a first block having a second number of quantized transform coefficients X ~ k , where the first number is a multiple N of the second number. The N consecutive blocks are then divided into quantized transform coefficients X ~ k The adaptive block switching media signal may be transformed into a transformed block having a first number of quantized transform coefficients X ~ k and a second number equal to 128, i.e., N=2. If the first number is equal to 256 and N=4, then each of the 64 quantized transform coefficients X ~ k In yet a further example, if N=8 and the first number of transform coefficients is 1024, then the quantized transform coefficients X ~ k The second number is 128.

[0050] Transforming at least the first block and the second block into a transformed block may include concatenating at least the first and second blocks into the transformed block. Concatenation is an efficient and easily implemented method of transforming at least the first block and the second block into a transformed block.

[0051] In some implementations, the transform unit 11 receives, for each block, a representation of a respective time-domain window function, where the window functions of the first block and the second block partially overlap.

[0052] The window function is the quantized transform coefficient X ~ k Alternatively, the window function may be constructed from the block length information 21 (passed to transform unit 11). Or, the window function may be constructed by using the correlation between the number of quantized transform coefficients in a block and the sequence of blocks with at least a first number and a second number of quantized transform coefficients in each block to determine the quantized transform coefficients X ~ k For example, a first number of quantized transform coefficients X ~ k is associated with a long window function and a second number of transformed and quantized coefficients X ~ k In a further example, a block having a first number of quantized transform coefficients X ~ k A block having a second number of quantized transform coefficients X ~ k If it precedes a block with

[0053] 2, all of the functions and units described as operating upstream of the (optional) conditioning neural network 12 and the (optional) block length information neural network 14 may be referred to as pre-processing units or adaptive block pre-processing units. Thus, a pre-processing unit may, for example, process the block length information 12 and the quantized transform coefficients X ~ k and receiving the quantized transform coefficients X as separate information (at least one variable) or combined information (at least one variable). ~ k and outputs information representing the block length information 12.

[0054] With further reference to Figure 6, a flow chart illustrating a method for training a neural network system, such as the embodiment shown in Figure 2, is shown. At S311, a set of adaptive length target prediction (true) blocks is provided. This is done in parallel with providing at S321 a set of training blocks that are corrupted representations (e.g., quantized representations) of the target prediction blocks. The target prediction blocks are represented by transform coefficients X k The training blocks are provided to the neural network system 201 and processed to obtain a set of predicted blocks in S331. ― k A measure of similarity is obtained, for example, at S332 by comparing the output predicted block including (x,y) with the target predicted block. The measure may be an error measure, with a low error measure indicating a high level of similarity. The measure may be a negative likelihood, such as a negative log-likelihood (NLL), with a low measure indicating a high level of similarity. The measure may be a mean absolute error (MAE) or a mean squared error (MSE), with a high level of similarity indicated by a low MAE or MSE. At S333, the measure is used to modify the weights of the neural network system 201 to reduce or minimize the measure.

[0055] In one example, the measure is called a loss function or "loss" because it is calculated directly as the NLL as follows:

number

[0056] When calculating the NLL loss, at least one predicted conversion factor X ― k is at least one predicted transform coefficient X ― k Thus, the NLL function is expressed by at least one predicted conversion coefficient X ― kThe at least one distribution parameter is applied to at least one predicted transformation coefficient X ― k Parameterize the probability distribution for at least one of

[0057] In other implementations, the loss is calculated as the MSE according to the following formula:

number

number

[0058] When calculating the MSE and MAE losses, at least one predicted conversion factor X ― k is used as is.

[0059] In some cases, a prediction block may represent two or more training blocks (and associated target prediction blocks) with a single predicted transformed block, in which case the prediction block may be inverse transformed into blocks that individually correspond to the training blocks (and associated target prediction blocks) so that measures may be computed.

[0060] Referring to Figure 3a, a sequence of time domain window functions 31, 32a, 32b, 33 is shown. Figure 3a shows the window sequence of a typical 2:1 block length switch. A first long window 31 is followed by two short windows 32a, 32b, which are followed by a second long window 33. The short time domain window functions 32a, 32b may overlap by 50%, where adding the squared short window functions results in a unity for the overlap. Additionally, the sum of the squares of each window function 31, 32a, 32b, 33 results in a unity for all overlaps.

[0061] In some implementations, the long windows 31, 33 may further be bridge-in and bridge-out windows 31, 33 that are specifically adapted to precede and follow the short windows 32a, 32b, respectively. The window functions 31, 32a, 32b, 33 are at least partially overlapping in time. Each window function 31, 32a, 32b, 33 is associated with a set of transform coefficient blocks, the long transform coefficient blocks with the long window functions 31, 33 and the short transform coefficient blocks with the short window functions 32a, 32b.

[0062] In some additional implementations, when the number of transform coefficients in each block is one of three or more options (e.g., one of 256, 128, and 64 coefficients as described above), the bridge-in window 31 and bridge-out window 33 functions may include three or more bridging window functions, e.g., one for each type of transition between variable length blocks. When the blocks have a length of one of 256, 128, and 64, in and out bridging window functions may be defined for each of 256 to 128, 256 to 64, and 128 to 64.

[0063] With further reference to FIG. 3b, there is shown a long transformed window 32 (with an associated long transformed block) which is the result of transforming the two short window functions 32a, 32b (and the two short transform coefficient blocks).

[0064] By inverse transforming the quantized transform coefficients of the first and second (short) blocks (whose respective window functions are shown as 32a and 32b in FIG. 3a) into a windowed time domain representation, they may be merged into a long transformed block. This may be achieved by overlap-adding the windowed time domain representations of the first and second blocks and transforming the overlap-added time domain representations of the first and second blocks into a transformed block having a first number of quantized transform coefficients.

[0065] For example, if the transform coefficients are Modified Discrete Cosine Transform (MDCT) coefficients, the intervening short blocks (associated with window functions 32a, 32b) may be merged into a single long block by inverting the MDCT on the short time domain segments and overlap-adding the short time domain segments. A DCT type 4 may then be used to calculate the transform coefficients of the equivalent transformed long block 32 with a flat-top window. The window sequence after this merge / transform operation is shown in FIG. 3b. It is further noted that this transform procedure may be accomplished while maintaining the perfect reconstruction properties of the transform coefficients (in the absence of quantization).

[0066] Referring to Fig. 4, a flow chart showing a method for predicting at least one transform coefficient from a quantized transform coefficient according to an embodiment of the present invention is shown. In S111, a neural network system receives a frame including quantized transform coefficients. In S112, the neural network system determines that at least one block of the frame includes a second number of transform coefficients, and subsequently, in S113, transforms the at least one block with the second number of transform coefficients into a transformed block with a first number of transform coefficients. The information representing the quantized transform coefficients of the transformed block is one information on which at least one conditioning variable used to condition the main neural network in S131 is based. Optionally, the method includes the steps of conditioning the conditioning neural network with the information representing the quantized transform coefficients of the transformed block in S114, and conditioning the main neural network using at least one output variable of the conditioning neural network in S131.

[0067] The method further includes receiving block length information at S121. A representation of the block length information is used as one piece of information for conditioning the main neural network at S131. Optionally, the block length information is first used to condition the block length neural network at S123, and at least one predicted output variable of the block length neural network is used to condition the main neural network at S131. Some embodiments also include one-hot coding of the block length information at S122, and the one-hot coded block length information is used to condition the block length neural network at S123 or is used as information that is part of the information used to condition the main neural network at S131.

[0068] At S131, the main neural network predicts at least one output variable given at least one conditioning variable, and the at least one output variable is provided to an output stage (e.g., an output neural network) at S132. The output stage at S132 predicts at least one transform coefficient.

[0069] FIG. 5 shows a flow chart illustrating a method for obtaining training blocks (training blocks for input and target prediction blocks for comparison with output) for training a neural network system for predicting transform coefficients of an adaptive block length media signal according to an embodiment of the present invention. In S211, a set of transform blocks is obtained. For example, a batch of waveforms or a media signal is divided into a set of time domain segments (e.g. forming time domain frames), and each time domain segment is transformed into a set of transform blocks (e.g. transform domain frames) of various lengths. Alternatively, the batch of waveforms or the media signal is processed using a transient detector as described above to determine the length of each block. In S212, it is determined that the first block includes a second number of transform coefficients, and this block is transformed into a transformed block having the first number of transform coefficients in S213. In S221, a target prediction block is obtained. The target prediction block obtained in S221 may be the transformed block itself.

[0070] In S231, the transformed block is quantized to form a quantized block. That is, the quantized block does not represent the complete information originally present in the determined first block, and therefore the quantized block may be called a corrupted block that the neural network should learn to use for predicting the uncorrupted block. In S232, a training block is obtained from the quantized block obtained in S231. The training block may be such a quantized block. In some implementations, the method further includes using a target training block as an input to the neural network during training and using a target prediction block as training.

[0071] The block determined to include the first number of transform coefficients may be similarly processed to obtain a training block and a target prediction block, and step S213 may be omitted.

[0072] In some implementations, a batch of media signals or waveforms is processed using a transient detector to determine the transform length as described above, so that the set of transform blocks includes all the different types of blocks and window functions.

[0073] The above describes possible methods of training and operating a deep learning based system for determining an indication of audio quality of an input audio sample, as well as possible implementations of such a system. In addition, the present disclosure also relates to an apparatus for performing these methods. Examples of such an apparatus may comprise a processor (e.g., a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), one or more application specific integrated circuits (ASICs), one or more radio frequency integrated circuits (RFICs), or any combination thereof) and a memory coupled to the processor. The processor may be adapted to perform some or all of the steps of the methods described throughout the present disclosure.

[0074] An apparatus may be a server computer, a client computer, a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a mobile phone, a smart phone, a web appliance, a network router, a switch or bridge, or any machine capable of executing instructions (sequential or otherwise) that specify actions to be taken by the apparatus. Furthermore, the present disclosure relates to any set of apparatuses that individually or jointly execute instructions to perform any one or more of the methods described herein.

[0075] The present disclosure further relates to a program (eg, a computer program) comprising instructions that, when executed by a processor, cause the processor to perform some or all of the steps of the methods described herein.

[0076] The present invention also relates to a computer-readable (or machine-readable) recording medium having the above program recorded thereon, where the term "computer-readable storage medium" includes, but is not limited to, data repositories in the form of solid-state memories, optical media, and magnetic media.

[0077] Unless otherwise indicated, and as will be apparent from the following description, throughout this disclosure, descriptions utilizing terms such as "processing," "computing," "calculating," "determining," "analyzing," and the like, will be understood to refer to operations and / or processes of a computer or computing system, or similar electronic computing device, that manipulates and / or transforms data represented as physical quantities, such as electronic quantities, into other data similarly represented as physical quantities.

[0078] Similarly, the term "processor" may refer to any device or part of a device that processes electronic data, e.g., from registers and / or memory, and converts the electronic data into other electronic data, which may be stored, e.g., in registers and / or memory. A "computer" or "computing machine" or "computing platform" may include one or more processors.

[0079] The methods described herein, in one exemplary embodiment, are executable by one or more processors that accept computer-readable (also referred to as machine-readable) code that includes a set of instructions that, when executed by one or more of the processors, perform at least one of the methods described herein. Any processor capable of executing a set of instructions (sequential or otherwise) that specify actions to be performed is included. Thus, an example is a typical processing system that includes one or more processors. Each processor may include one or more of a CPU, a graphics processing unit, and a programmable DSP unit. The processing system may further include a memory subsystem that includes a main RAM and / or a static RAM, and / or a ROM. A bus subsystem may be included for communication between components. The processing system may further be a distributed processing system with processors coupled by a network. If the processing system requires a display, such a display may be included, for example, a liquid crystal display (LCD) or a cathode ray tube (CRT) display. If manual data entry is required, the processing system also includes one or more of an input device, for example, an alphanumeric input unit such as a keyboard, a pointing control device such as a mouse, and the like. The processing system may also include a storage system, such as a disk drive unit. The processing system in some configurations may include a sound output device and a network interface device. The memory subsystem thus includes a computer-readable carrier medium carrying computer-readable code (e.g., software) that includes a set of instructions for performing one or more of the methods described herein when executed by one or more processors. It should be noted that if a method includes several elements, e.g., several steps, no order of such elements is implied unless specifically stated. The software may reside in a hard disk, or may reside completely or at least partially in a RAM and / or in a processor during its execution by the computer system.Thus, the memory and the processor also constitute a computer-readable carrier medium carrying computer-readable code. Further, the computer-readable carrier medium may form, or be included in, a computer program product.

[0080] In alternative exemplary embodiments, the one or more processors may operate as stand-alone devices or may be connected, e.g., networked, to other processors in a networked deployment, and the one or more processors may operate as a server or user machine in a server-user network environment or as a peer machine in a peer-to-peer or distributed network environment. The one or more processors may form a personal computer (PC), tablet PC, personal digital assistant (PDA), mobile phone, web appliance, network router, switch or bridge, or any machine capable of executing a set of instructions (sequential or otherwise) that specify actions that the machine is to perform.

[0081] It should be noted that the term "machine" should also be interpreted to include any collection of machines that individually or jointly execute a set (or sets) of instructions for performing any one or more of the methods discussed herein.

[0082] Thus, one exemplary embodiment of each of the methods described herein is in the form of a computer-readable carrier medium carrying a set of instructions, e.g., a computer program for execution on one or more processors, e.g., one or more processors that are part of a web server arrangement. Thus, as will be appreciated by those skilled in the art, the exemplary embodiments of the present disclosure may be embodied as a method, an apparatus, such as a dedicated device, an apparatus, such as a data processing system, or a computer-readable carrier medium, e.g., a computer program product. The computer-readable carrier medium carries computer-readable code, which when executed on one or more processors, causes the one or more processors to execute the method. Thus, aspects of the present disclosure may take the form of a method, an entirely hardware exemplary embodiment, an entirely software exemplary embodiment, or an exemplary embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a carrier medium (e.g., a computer program product on a computer-readable storage medium) carrying computer-readable program code embodied in the medium.

[0083] The software may also be transmitted or received over a network via a network interface device. Although the carrier medium is a single medium in an exemplary embodiment, the term "carrier medium" should be interpreted to include a single medium or multiple media (e.g., a centralized or distributed database and / or associated caches and servers) that store one or more sets of instructions. The term "carrier medium" should also be interpreted to include any medium that is capable of storing, encoding, or carrying a set of instructions for execution by one or more of the processors, causing the one or more processors to perform any one or more of the methods of the present disclosure. The carrier medium may take many forms, including, but not limited to, non-volatile media, volatile media, and transmission media. Non-volatile media include, for example, optical disks, magnetic disks, and magneto-optical disks. Volatile media include dynamic memory, such as main memory. Transmission media include coaxial cables, copper wire, and fiber optics, including the wires that make up a bus subsystem. Transmission media may also take the form of acoustic or light waves, such as those generated during radio wave and infrared data communications. As a result, for example, the term "carrier medium" shall be taken to include, but is not limited to, computer products embodied in solid-state memories, optical and magnetic media, media carrying at least one processor or a propagated signal detectable by one or more processors and representing a set of instructions that, when executed, perform a method, and transmission media within a network carrying a propagated signal detectable by at least one of the one or more processors and representing a set of instructions.

[0084] It will be appreciated that the steps of the described method are performed, in one exemplary embodiment, by a suitable processor (or processors) of a processing (e.g., computer) system executing instructions (computer-readable code) stored in storage. It will also be appreciated that the present disclosure is not limited to any particular implementation or programming technique, and that the present disclosure may be implemented using any suitable technique for implementing the functions described herein. The present disclosure is not limited to any particular programming language or operating system.

[0085] Throughout this disclosure, reference to "one example embodiment," "some example embodiments," or "an example embodiment" means that a particular feature, structure, or characteristic described in connection with an example embodiment is included in at least one example embodiment of the disclosure. Thus, the appearances of the phrases "in one example embodiment," "some example embodiments," or "in an example embodiment" in various places throughout this disclosure do not necessarily all refer to the same example embodiment. Furthermore, particular features, structures, or characteristics may be combined in any suitable manner in one or more example embodiments, as would be apparent to one of ordinary skill in the art from this disclosure.

[0086] As used herein, unless otherwise specified, the use of the ordinal adjectives "first," "second," "third," etc. to describe a common object is intended merely to indicate that different instances of a similar object are being referred to, and is not intended to imply that the objects so described must be in a given order, temporally, spatially, in ranking, or in any other manner.

[0087] In the following claims and the description of this specification, any one of the terms "comprising", "comprised of", or "which comprises" is an open term meaning to include at least the element / feature that follows it, but not to exclude others. Thus, the term "comprising", when used in the claims, should not be interpreted as being limited to the means or elements or steps that are listed thereafter. For example, the scope of the expression "a device comprising A and B" should not be limited to a device consisting of only elements A and B. Also, the terms "including", "which includes", or "that includes" as used in this specification are all open terms meaning to include at least the element / feature that follows it, but not to exclude others. Thus, including is synonymous with and means the same as comprising.

[0088] In the above description of exemplary embodiments of the present disclosure, it should be understood that various features of the present disclosure may be grouped together in a single exemplary embodiment, figure, or description thereof in order to streamline the disclosure and aid in understanding one or more of the various inventive aspects. However, this method of disclosure should not be interpreted as reflecting an intention that the claims require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed exemplary embodiment. Thus, the claims that follow this specification are expressly incorporated into this specification, with each claim standing on its own as a separate exemplary embodiment of the present disclosure.

[0089] Furthermore, some exemplary embodiments described herein include some features included in other exemplary embodiments but not other features, and as will be understood by one of ordinary skill in the art, combinations of features of different exemplary embodiments are intended to be within the scope of the present disclosure and form different exemplary embodiments. For example, in the following claims, any of the exemplary embodiments recited in the claims may be used in any combination.

[0090] In the description provided herein, numerous specific details are set forth. However, it is understood that exemplary embodiments of the present disclosure may be practiced without these specific details. In other instances, well-known methods, structures, and techniques have not been shown in detail in order not to obscure an understanding of this description.

[0091] Thus, while what is believed to be the best mode of the disclosure has been described, those skilled in the art will recognize that other and further modifications may be made without departing from the spirit of the disclosure, and it is intended to claim all such changes and modifications as are within the scope of the disclosure. For example, any formulas given above are merely representative of procedures that may be used. Functions may be added or deleted from the block diagrams, and operations may be interchanged between functional blocks. Steps may be added or deleted to methods described within the scope of the disclosure.

[0092] Various aspects of the invention can be seen from the following listing of enumerated exemplary embodiments (EEE):

[0093] EEE1. A method for predicting at least one transform coefficient representing frequency content of an adaptive block length media signal using a computer implemented neural network system, comprising: receiving blocks of frames, each block of the frames including a set of quantized transform coefficients representing a partial time segment of the media signal; receiving block length information indicating a number of quantized transform coefficients for each block of a frame, the number of quantized transform coefficients being one of a first number or a second number, the first number being greater than the second number; determining that at least a first block of a frame has the second number of quantized transform coefficients; transforming at least the first block into a transformed block having the first number of quantized transform coefficients; conditioning the trained main neural network to predict at least one output variable given at least one conditioning variable, the at least one conditioning variable being based on conditioning information, the conditioning information including a representation of the transformed block and a representation of block length information for the first block; providing said at least one output variable to an output stage configured to provide at least one predicted transform coefficient from said at least one output variable; The method includes:

[0094] EEE2. The method of EEE1, further comprising the step of receiving a set of perceptual model coefficients for each block of the frame, the conditioning information further comprising said set of perceptual model coefficients.

[0095] EEE3. The method of EEE1, further comprising the step of receiving a spectral envelope for each block of said frame, and wherein the conditioning information further comprises said spectral envelope.

[0096] EEE4. Conditioning a block length neural network with the representation of block length information for the first block, the block length neural network being trained to output the representation of block length information for the first block given block length information. The method of EEE1, further comprising:

[0097] EEE5. The method of EEE4, wherein conditioning a block length neural network with said block length information comprises encoding said block length information as a one-hot vector; and conditioning said block length neural network with said one-hot vector.

[0098] EEE6. Conditioning a conditioning neural network with the quantized transform coefficients of the transformed block, the conditioning neural network being trained to output the representation of the transformed block given the quantized transform coefficients. The method of EEE1, further comprising:

[0099] EEE7. The method of EEE1, wherein transforming at least the first block into the transformed block includes upsampling the first block.

[0100] EEE8. The method of EEE1, further comprising the step of determining that at least the first block and a subsequent second block have the second number of transform coefficients, and wherein transforming at least the first block into the transformed block comprises transforming at least the first block and the second block into a transformed block.

[0101] EEE9. Any of the preceding EEE methods, wherein the quantized transform coefficients representing frequency content are discrete cosine transform (DCT) coefficients.

[0102] EEE10. An inverse transform unit receiving the predicted transform coefficients and the block length information; converting the predicted transform coefficients into a time domain signal; Any of the preceding EEE methods further comprising:

[0103] EEE11. The step of determining that the first number is a multiple N of the second number and that at least the first block and the subsequent second block have quantized transform coefficients of the second number comprises: determining that N consecutive blocks of a frame have said second number of quantized transform coefficients; Including, the method of EEE8.

[0104] EEE12. The method of EEE8, wherein transforming at least the first block and the second block into the transformed block comprises concatenating at least the first block and the second block into a transformed block.

[0105] EEE13. The step of receiving block length information comprises: receiving a representation of a respective time domain window function for each block of a frame, the window functions of the first block and the second block partially overlapping; Including, the method of EEE8.

[0106] EEE14. The step of transforming at least the first block and the second block into the transformed block comprises: inverse transforming the quantized transform coefficients into a windowed time domain representation of the first block and the second block; overlap-adding windowed time domain representations of the first block and the second block; transforming the overlap-added time domain representations of the first block and the second block into a transformed block having the first number of quantized transform coefficients; The method of EEE13, including:

[0107] EEE15. A method for obtaining at least one training block for training a computer-implemented neural network system to predict at least one transform coefficient of an adaptive block length media signal, comprising: obtaining a set of transform blocks each including a number of transform coefficients representative of frequency content of the media signal, the number of transform coefficients in each block being a first number or a second number, the first number being greater than the second number; determining that the first block includes a second number of transform coefficients; transforming a first block into a transformed block having a first number of transform coefficients; obtaining a target prediction block from the transformed block; quantizing the transformed block; obtaining training blocks from the quantized transformed blocks; The method includes:

[0108] EEE16. A computer implemented neural network system for predicting transform coefficients representing frequency content of an adaptive block length media signal, comprising: receiving a frame including a set of quantized transform coefficients representing a partial time segment of a media signal; receiving block length information indicating a number of quantized transform coefficients for each block in the frame, the number of quantized transform coefficients being one of a first number or a second number, the first number being greater than the second number; determining that at least a first block has said second number of transform coefficients; transforming at least the first block into a transformed block having the first number of quantized transform coefficients; an adaptive block pre-processing unit configured to: a main neural network trained to predict at least one output variable given at least one conditioning variable based on conditioning information, the conditioning information including a representation of the transformed block and a representation of block length information for the first block; an output stage configured to provide at least one predicted transform coefficient from the at least one output variable; A neural network system comprising:

[0109] EEE17.A neural network decoder comprising a computer implemented neural network system of EEE16.

[0110] EEE18. Further comprising an inverse conversion unit; The inverse transformation unit is receiving the at least one predicted transform coefficient and block length information; converting the at least one predicted transform coefficient into a time domain signal; The neural network decoder of EEE17 is configured to:

[0111] EEE19. The above neural network system providing a set of target prediction blocks; providing a set of training blocks to the adaptive block pre-processing unit, the set of training blocks including at least one training block having the first number of transform coefficients and at least one training block having the second number of transform coefficients, the set of training blocks being an impaired representation of the set of target prediction blocks; obtaining from said output stage a set of prediction blocks from said set of training blocks; calculating measures of a set of prediction blocks relative to the set of target prediction blocks; Modifying the weights of the neural network system to reduce the scale. The EEE16 neural network system is trained by performing the following steps.

[0112] EEE20. The neural network system of EEE19, where the measure is one of negative likelihood, mean squared error, or absolute error.

Claims

1. 1. A method for generating at least one representation of transform coefficients representative of frequency content of an adaptive block length media signal using a computer implemented neural network system, comprising: receiving a frame including one or more blocks, each block of the frame including a set of quantized transform coefficients representing a partial time segment of the media signal; receiving block length information; transforming at least a first block of the frame into a transformed block having a first number of quantized transform coefficients based on the block length information; conditioning a trained neural network to predict at least one output variable given conditioning information including at least a representation of the transformed block and / or a representation of block length information for the first block; providing the at least one output variable to an output stage configured to provide the at least one predicted representation of transform coefficients from the at least one output variable; The method includes:

2. The method of claim 1 , wherein the block length information indicates a number of quantized transform coefficients for each block of the frame.

3. The method of claim 2 , further comprising: the number of quantized transform coefficients being one of the first number or a second number, the first number being greater than the second number.

4. The method of claim 3 further comprising the step of determining that at least a first block of the frame has the second number of quantized transform coefficients.

5. 5. The method of claim 4, further comprising, prior to said transforming step, determining that at least said first block of said frame has said second number of quantized transform coefficients.

6. 6. The method of claim 1, further comprising the step of receiving a set of perceptual model coefficients for each block of the frame, the conditioning information further comprising the set of perceptual model coefficients.

7. The method of claim 1 , further comprising the step of receiving a spectral envelope for each block of the frame, and wherein the conditioning information further comprises the spectral envelope.

8. conditioning a block length neural network with the representation of the block length information for the first block, the block length neural network being trained to output the representation of the block length information for the first block given block length information. The method of claim 1 , further comprising:

9. 9. The method of claim 8, wherein conditioning the block length neural network with the block length information comprises: encoding the block length information as a one-hot vector; and conditioning the block length neural network with the one-hot vector.

10. conditioning a conditioning neural network with the quantized transform coefficients of the transformed block, the conditioning neural network being trained to output the representation of the transformed block given the quantized transform coefficients. The method of claim 1 , further comprising:

11. The method of claim 1 , wherein transforming at least the first block into the transformed block comprises upsampling the first block.

12. The method of claim 1 , wherein the quantized transform coefficients representing frequency content are Modified Discrete Cosine Transform (MDCT) coefficients.

13. an inverse transform unit receiving the predicted transform coefficients and the block length information; converting the predicted transform coefficients into a time domain signal; 13. The method of claim 1, further comprising:

14. 14. The method of claim 1 when dependent on claim 3, further comprising determining that at least the first block and a subsequent second block have the second number of transform coefficients, and wherein transforming at least the first block into the transformed block comprises transforming at least the first block and the second block into a transformed block.

15. The step of determining that the first number is a multiple N of the second number and that at least the first block and the subsequent second block have the second number of quantized transform coefficients comprises: determining that N consecutive blocks of said frame have said second number of quantized transform coefficients; 15. The method of claim 14, comprising:

16. 16. The method of claim 14 or 15, wherein transforming at least the first block and the second block into the transformed block comprises concatenating at least the first block and the second block into a transformed block.

17. The step of receiving block length information includes: receiving a representation of a respective time-domain window function for each block of the frame, the window functions of the first block and the second block partially overlapping; 17. The method of any one of claims 14 to 16, comprising:

18. Transforming at least the first block and the second block into the transformed block includes: inverse transforming the quantized transform coefficients into a windowed time domain representation of the first block and the second block; overlap-adding the windowed time domain representations of the first and second blocks; transforming the overlap-added time domain representations of the first block and the second block into a transformed block having the first number of quantized transform coefficients; 20. The method of claim 17, comprising:

19. 1. A computer implemented neural network system for generating at least one representation of transform coefficients representative of frequency content of an adaptive block length media signal, comprising: - receiving a frame comprising one or more blocks, each block of the frame comprising a set of quantized transform coefficients representing a partial time segment of a media signal; receiving block length information; - transforming at least a first block into a transformed block having a first number of quantized transform coefficients based on said block length information; an adaptive block pre-processing unit configured to: a neural network trained to predict at least one output variable given conditioning information including at least a representation of the transformed block and / or a representation of block length information for the first block; an output stage configured to provide said at least one predicted representation of a transform coefficient from said at least one output variable; A neural network system comprising:

20. 20. The neural network system of claim 19, wherein the block length information indicates a number of quantized transform coefficients for each block in the frame.

21. 21. The neural network system of claim 20, further comprising: a number of the quantized transform coefficients being one of the first number or a second number, the first number being greater than the second number.

22. 22. The neural network system of claim 21, wherein the adaptive block pre-processing unit is further configured to determine, prior to the transforming step, that at least the first block has the second number of transform coefficients.

23. A neural network decoder comprising a computer implemented neural network system according to any one of claims 19 to 22.

24. Further comprising an inverse conversion unit, The inverse transformation unit comprises: receiving said at least one representation of predicted transform coefficients and block length information; - transforming said at least one representation of predicted transform coefficients into a time domain signal; 24. A neural network decoder as claimed in claim 23, configured to: