Patched multi-condition training for robust speech recognition
By training ASR models on patched signals created from combining clean and distorted speech, the method enhances robustness in noisy environments, achieving a substantial reduction in Word Error Rate, addressing the challenge of mismatched training and test conditions in ASR systems.
Patent Information
- Application Number
- GB2023000844
- Authority / Receiving Office
- GB · GB
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-03-17
- Filing Date
- 2023-01-19
- Publication Date
- 2024-10-30
- Estimated Expiration
- 2043-01-19
AI Technical Summary
Existing automatic speech recognition (ASR) systems struggle to generalize well from curated close-talk training datasets to real-world environments with additive noise and channel distortion, due to the mismatch between training and test conditions, and require diverse training data to enhance robustness.
The method involves obtaining a speech or audio signal, modifying it to create patched signals by combining clean and distorted versions, and using these patched signals to train models, which improves robustness in noisy reverberant scenarios through patched multi-condition training (pMCT).
This approach significantly reduces the Word Error Rate (WER) by 22.71% compared to traditional multi-condition training (MCT) on noisy reverberant datasets, demonstrating improved accuracy in real-world ASR applications.
Smart Images

Figure 00000001_0000 
Figure 00000001_0001 
Figure 00000002_0000
Abstract
Description
Technical Field The present invention relates to methods, apparatuses and computer programs for 5 training a model for use in speech and / or audio recognition, and to methods, apparatuses and computer programs for performing automatic speech recognition. Background With the rising integration of voice search and voice interaction systems in products 10 such as smart mobile devices and home appliances, there is an increasing need for developing robust automatic speech recognition (ASR) systems which perform well under a wide range of real-world noise and acoustic distorting conditions. One of the challenges associated with training such models arises from the mismatch between training and test conditions, since models trained on curated close-talk training 15 datasets do not generalize well to real-world environments with additive noise, channel distortion and reverberation [1]. Considering the number and variety of noise types observed in real-world scenarios, acquisition of sufficiently diverse training data is not trivial. Hence, data augmentation 20 is commonly utilized to diversify and enlarge the training corpus, acting as a regularizer to prevent overfitting and thus increasing overall model robustness. The invention is made in this context. 25 Summary of the Invention According to a first aspect of the present invention, there is provided a method of obtaining a patched signal for training a model for use in speech and / or audio recognition, the method comprising: obtaining a first signal, wherein the first signal is a speech and / or audio signal; modifying the first signal to obtain at least one second 30 signal; dividing the first signal and the at least one second signal respectively into a plurality of first patches and a plurality of second patches, such that each one of the plurality of first patches comprises a respective part of the first signal and each one of the plurality of second patches comprises a respective part of the at least one second signal; and mixing selected ones of the plurality of first patches and the plurality of 35 second patches to obtain a patched signal. In some embodiments according to the first aspect, mixing the selected ones of the plurality of first patches and the plurality of second patches comprises randomly selecting respective ones of the first and second patches, and combining said randomly selected first and second patches to obtain the patched signal. 5 In some embodiments according to the first aspect, said ones of the first and second patches are randomly selected according to at least one probability threshold, such that the at least one probability threshold defines a probability of one of the plurality of first patches being selected for a given part of the patched signal and a probability of one of 10 the plurality of second patches being selected for the given part of the patched signal. In some embodiments according to the first aspect, the at least one probability threshold is set in dependence on an identity of the current user, such that different values of the at least one probability threshold may be set for different users. 15 In some embodiments according to the first aspect, the at least one probability threshold is set in dependence on historical data associated with the identity of the current user. 20 In some embodiments according to the first aspect, modifying the first signal comprises convolving the first signal with a distortion function. In some embodiments according to the first aspect, the distortion function is a room impulse response, RIR, function. 25 In some embodiments according to the first aspect, he RIR function introduces a delay in the at least one second signal relative to the first signal, the method comprising removing the delay from the at least one second signal prior to obtaining the patched signal. 30 In some embodiments according to the first aspect, modifying the first signal comprises adding noise into the first signal. In some embodiments according to the first aspect, the noise comprises random noise. In some embodiments according to the first aspect, the noise comprises one or more recordings of background noise samples. In some embodiments according to the first aspect, the noise comprises one or more 5 synthesized noise samples. In some embodiments according to the first aspect, the at least one second signal comprises a plurality of second signals, and modifying the first signal to obtain the plurality of second signals comprises applying different modifications to the first signal 10 to obtain respective ones of the plurality of second signals. In some embodiments according to the first aspect, each of the first and second patches have the same length. 15 In some embodiments according to the first aspect, each of the first and second patches has a randomly determined length. In some embodiments according to the first aspect, a length of each of the first and second patches is randomly determined by randomly selecting a length L between a 20 predefined minimum length Lmm and a predefined maximum length Lmm. In some embodiments according to the first aspect, the first signal contains speech and a length of at least some of the first and second patches is set according to a speech content of the respective first or second patch, such that each first or second patch 25 contains at least one complete unit of speech. In some embodiments according to the first aspect, said unit of speech is a phoneme or sub-word. 30 In some embodiments according to the first aspect, each of the first and second patches has a length of between 1 and 1.5 seconds. In some embodiments according to the first aspect, the method comprises applying a predefined domain transformation to the first signal, prior to dividing the first signal, 35 so as to obtain a first spectrogram corresponding to the first signal, wherein dividing the first signal comprises dividing the first spectrogram to obtain the plurality of first patches, and applying the predefined domain transformation to the second signal, prior to dividing the second signal, so as to obtain a second spectrogram corresponding to the second signal, wherein dividing the second signal comprises dividing the second spectrogram to obtain the plurality of second patches. 5 In some embodiments according to the first aspect, the predefined domain transformation is a time-to-frequency domain transformation. In some embodiments according to the first aspect, the first spectrogram and the 10 second spectrogram are mel-spectrograms comprising a plurality of frequency bins associated with each one of a plurality of frames, each frame corresponding to a different time-domain portion of the respective first or second signal. In some embodiments according to the first aspect, each of the first and second patches 15 corresponds to at least one frequency bin and at least one frame. According to a second aspect of the present invention, there is provided a method for automatic audio and / or speech recognition, comprising performing automatic audio and / or speech recognition using a model trained on a dataset comprising a plurality of 20 patched signals obtained using the method according to any one of the preceding claims. In some embodiments according to the second aspect, the model is an automatic speech recognition (ASR) model and performing automatic audio and / or speech 25 recognition comprises performing ASR, the method comprising determining one or more features from input data, wherein performing ASR comprises using the ASR model to map the determined one or more features onto a sequence of most likely letters, and concatenating the sequence of most likely letters determined by the ASR model to obtain a most likely sequence of words. 30 In some embodiments according to the second aspect, concatenating the sequence of most likely letters determined by the ASR model to obtain the most likely sequence of words comprises using language probability to determine each of the plurality of words in dependence on one or more previously decoded words. According to a third aspect of the present invention, there is provided a non-transitory computer-readable storage medium adapted to store computer program instructions which, when executed, cause performance of a method according to the first aspect or the second aspect. 5 According to a fourth aspect of the present invention, there is provided apparatus for obtaining a patched signal for training a model for use in speech and / or audio recognition, the apparatus comprising: one or more processors; and memory adapted to store computer program instructions which, when executed by the one or more 10 processors, cause the apparatus to: obtain a first signal, wherein the first signal is a speech and / or audio signal; modify the first signal to obtain at least one second signal; divide the first signal and the at least one second signal respectively into a plurality of first patches and a plurality of second patches, such that each one of the plurality of first patches comprises a respective part of the first signal and each one of the plurality 15 of second patches comprises a respective part of the at least one second signal; and mix selected ones of the plurality of first patches and the plurality of second patches to obtain a patched signal. According to a fifth aspect of the present invention, there is provided apparatus for 20 automatic audio and / or speech recognition, the apparatus comprising a model for automatic audio and / or speech recognition, the model having been trained on a dataset comprising a plurality of patched signals obtained using the method according to the first aspect. 25 In some embodiments according to the fifth aspect, the model is an automatic speech recognition (ASR) model, the apparatus comprising: a feature extraction module configured to receive input data and determine one or more features from the received input data, wherein the ASR model is configured to map the determined one or more features onto a sequence of most likely letters; and a decoder configured to concatenate 30 the sequence of most likely letters determined by the ASR model to obtain a most likely sequence of words. In some embodiments according to the fifth aspect, the decoder is configured to use language probability to determine each of the plurality of words in dependence on one 35 or more previously decoded words. Brief Description of the Drawings Embodiments of the present invention will now be described, by way of example only, with reference to the accompanying drawings, in which: Figure 1 is a flowchart illustrating a method of obtaining a patched signal for training a 5 model for use in speech and / or audio recognition, according to an embodiment of the present invention; Figure 2 illustrates apparatus for obtaining a patched signal for training a model for use in speech and / or audio recognition, according to an embodiment of the present invention; io Figure 3 is a flowchart illustrating a patched multi-condition training (pMCT) pipeline, according to an embodiment of the present invention; Figure 4(a) is a flowchart illustrating an audio modification (noisy speech generation) operation in a multi-condition audio modification and patching (MAMP) method, according to an embodiment of the present invention; 15 Figure 4(b) is a flowchart illustrating a patching operation in the MAMP method, according to an embodiment of the present invention; Figure 5(a) illustrates a waveform of a sample clean speech signal x(n) of length n split in patches 0P with length Lp for p = 1, 2,..., 5, according to an embodiment of the present invention; 20 Figure 5(b) illustrates a waveform of a noisy signal y(n) comprising the signal x(n) of Fig. 5(a) with distortion (reverberation) and noise (obtained by equation (1)) split in patches {(pP}5P=i, according to an embodiment of the present invention; Figure 5(c) illustrates an augmented signal z(n) comprises segments from the clean signal x(n) of Fig. 5(a) and the distorted signal y(n) of Fig. 5(c), in which vertical 25 dashed lines indicate the limits of each patch of size Lp = 500 ms, Vp = 1, 2,..., 5, according to an embodiment of the present invention; Figure 6 illustrates four plots, as follows: the top plot shows an example of a mask H e {o, i}M*F used to create the MAMP mel-spectrogram (MAMP-M) signal z(n); the second plot shows the mel-spectrogram Vm e [F] of the clean signal x(n); the 30 third plot shows the mel-spectrogram Vm e [F] of the distorted signal y(n); the bottom plot displays the mel-spectrogram Vm e [M],fe [F] of MAMP-M signal z(n), according to an embodiment of the present invention; Figure 7 is a flowchart illustrating a pMCT pipeline for inference, according to an embodiment of the present invention; Figure 8 is a flowchart illustrating a pMCT pipeline containing data pre-processing & augmentation, feature extraction and speech / audio model and post-processing, according to an embodiment of the present invention; Figure 9 is a flowchart illustrating a method of mixing and matching multiple audio 5 modifications settings to the same audio signal during the patching stage of a pMCT pipeline, according to an embodiment of the present invention; Figure 10 illustrates a MAMP method with multiple audio modification settings in audio feature space, according to an embodiment of the present invention; Figure 11 illustrates models for four different rooms, Rt to R4, included in an evaluation 10 dataset of VOiCES, according to an embodiment of the present invention; and Figure 12 is a flowchart illustrating an ASR training pipeline using pMCT, according to an embodiment of the present invention. Detailed Description 15 In the following detailed description, only certain exemplary embodiments of the present invention have been shown and described, simply by way of illustration. As those skilled in the art would realise, the described embodiments may be modified in various different ways, all without departing from the scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature 20 and not restrictive. Like reference numerals designate like elements throughout the specification. The present disclosure proposes a novel patched multi-condition training (pMCT) method for robust ASR. The pMCT method employs multicondition audio modification 25 and patching (MAMP) to mix patches of the same utterance extracted from clean and distorted speech. This training approach using patch-modified signals improves robustness of models in noisy reverberant scenarios. The proposed pMCT is evaluated on the LibriSpeech datasets showing improvement over using vanilla multi-condition training (MCT). Moreover, the pMCT is employed for speech recognition on the 30 VOiCES dataset which is a noisy reverberant dataset generated based on the utterances of the LibriSpeech dataset. In the analyses, pMCT achieves 22.71% relative WER reduction compared to the MCT. Referring now to Fig. 1, a flowchart is shown illustrating a method of obtaining a 35 patched signal for training a model for use in speech and / or audio recognition, according to an embodiment of the present invention. Embodiments of the invention are described below in the context of automatic speech recognition (ASR), however, it should be appreciated that the same approach may be adopted to recognise other types of audio. 5 First, in step Slot a first signal is obtained, wherein the first signal is a speech and / or audio signal. In embodiments that are applied to ASR, the first signal may be referred to as a ‘speech signal’, and so references to ‘speech signals’ hereinafter should be understood as referring to the ‘first signal’ in the context of Fig. 1. Depending on the implementation, the first signal that is obtained in step Slot could be a signal that is 10 captured and processed substantially in real-time, or could be a signal that has been recorded previously, stored in a suitable recording medium, and subsequently retrieved in step Slot for further processing. Next, in step S102 the first signal is modified to obtain at least one second signal. For 15 example, the first signal may be modified by introducing noise to the signal, such that the resulting second signal(s) maybe referred to as ‘noisy signal(s). Methods of modifying the first signal are described in more detail below. Then, in step S103 the first signal and the at least one second signal are divided respectively into a plurality of first patches and a plurality of second patches, such that 20 each one of the plurality of first patches comprises a respective part of the first signal and each one of the plurality of second patches comprises a respective part of the at least one second signal. Depending on the implementation, the first and second signals may be divided in the time-domain, or may be divided in another domain (e.g. the frequency domain) after applying a suitable domain transformation to the first and 25 second signals. Then, in step S104 selected ones of the plurality of first patches and the plurality of second patches are mixed to obtain a patched signal. Mixing the selected first and second patches may comprise arranging the first and second patches in the same order 30 in which the respective portions of the first and second signals appear in the time domain, such that each portion of the patched signal contains either a part of the original first signal (which may be referred to as the ‘clean’ signal), or a part of the modified signal (e.g. the ‘noisy signal). As explained in more detail below, using patched signals obtained in this way to train an audio recognition model can help to 35 improve the accuracy of the model. In embodiments of the present invention, apparatus for implementing methods disclosed herein, including methods for obtaining patched signals and methods for automatic speech recognition (ASR), can be implemented in software. Accordingly, apparatus for implementing any of the method disclosed herein can have the form 5 shown in Fig. 2. Specifically, the apparatus 200 of Fig. 2 comprises one or more processors 201, and memory 202 adapted to store computer program instructions which, when executed by the one or more processors, cause the apparatus to perform the relevant method. The memory 202 may comprise any suitable transitory or non-transitory computer-readable storage medium adapted to store the computer program 10 instructions. The remainder of the present disclosure is organised as follows: related work is given in Section 2. Section 3 presents the method proposed in this disclosure. The evaluation setup and the results obtained are detailed in Section 4 and Section 5. Finally, in 15 Section 6 the conclusions are drawn. 2. Related Work 2.1. Traditional Signal Processing A number of approaches based on traditional signal processing have been proposed. 20 Simple time-domain augmentations include modifying the sampling rate by a small factor, such as ±10%, which changes pitch and duration of the audio [4]. Some approaches focus on augmenting speaker characteristics, e.g., Vocal Track Length Perturbation (VLTP) [5, 6] modifies the Vocal Track Length - a speech characteristic which varies from person to person. Speed perturbation [4], a widely used 25 augmentation, can be seen as emulating tempo perturbation and VTLP. As the variance in audio volume can be low in curated datasets, volume perturbation [7] has been used to randomly scale the training data. 2.2. Masking, Swapping and Mixing 30 Taking inspiration from data augmentation approaches developed for vision, some audio methods treat the log mel spectrogram as an image and apply transformations such as masking, swapping and mixing. Masking: SpecAugment [3] acts by randomly masking chunks of time (time masking) 35 or frequency channels (frequency masking) on log mel spectrograms - filling the masked areas with either zeros or average values. Recently, a number of variants of SpecAugment have been proposed. Splice-Out [8] can be seen as a more efficient version of SpecAugment - instead of masking splices of consecutive time-steps, Spliceout removes selected time blocks entirely from the audio and stitches together the remaining parts. SpecAugment++ [9] applies frequency and time masking not only to 5 the input spectrogram but also to the hidden space of the neural network. Systematic omission of frequency channels of the input spectrogram has been studied in [10,11]. Swapping: One of the approaches in SpecAugment++ proposes filling the masked out areas with the time frames and frequency channels of other samples within the mini- 20 batch. Similarly, SpecSwap
[12] swaps time blocks and frequency blocks, however the interchanged sections originate from the same audio. Some works
[13] propose learning to reorder the shuffled spectrogram patches, utilizing a fully-differentiable permutation loss. 15 Mixing: MixSpeech
[14] , an adaptation of Mixup
[15] for ASR, and Between-Class (BC) learning
[16] generate new training samples by interpolating multiple audio samples. SpeechMix can be seen as a generalization of BC, which also applies interpolations on the latent space. While earlier-mentioned approaches apply label-preserving transformations, MixSpeech, BC and SpeechMix all alter the labels, which has been 20 shown to result in training instabilities in some cases. Alignment for Data Generation: Estimated alignment information can be used to generate previously unseen combinations of utterances and speakers
[17] . Similarly,
[18] use alignments to sub-sample the training utterances in order to generate 25 more variants of target sequences. 2.3. Augmentations for Noise-Robustness Methods introduced so far make ASR models more robust by acting as regularizers and thus preventing overfitting. Another family of augmentation approaches specifically 30 targets improving performance in noisy and reverberant scenarios. Additive Noise: A common approach for diversifying the training corpus is to convolve noise from another source with the original waveform [19, 20], sampling the SNR levels from a random distribution. ImportantAug
[21] learns an importance 35 map for the audio and only adds noise to unimportant regions. Generating Additional Data: While traditional approaches apply noise directly to the original waveform, some works [22, 23] use Generative Adversarial Networks to match the noisy test conditions. 5 Simulating Room Impulse Response: In far-field scenarios, where the target talker is far from the microphone, the acoustic response of the environment can differ quite significantly from the typical close-talk recorded training data. Earlier works
[24] started by measuring or estimating the Room Impulse Response (RIR) of the target room and then generated reverberant training corpora by convolving clean-20 speech signals with the estimated RIR. Development of realistic room acoustic simulators [25, 26] allows for generating copies of a clean training sample under a range acoustic conditions. [27, 28, 29] Multi-condition training: Recently, Multi-Condition Training (MCT)[28, 27], also 15 referred to as Multistyle Training (MTR)[3o], which combines distorting the speech with real world room impulse response (RIR) with additive noise, has lead to creation of some of the most robust ASR models [28, 31]. 3. Patched Multi-Condition Training for Robust Speech Recognition 20 In this section, the proposed patched multi-condition training pipeline depicted in Figure 1 is described. The multi-condition audio modification and patching (MAMP) method is employed in pMCT to improve accuracy of ASR models in real-world ASR use-cases, such as in far field set-ups where reverberation and noise significantly distort the speech signal. In the next subsection, the theoretical motivation of the proposed 25 method is introduced. 3.1. Data Augmentation with Patches of Speech Manifolds for Robust Speech Recognition ASR algorithms always rely on prior knowledge via inductive biases e.g., by using 30 neural networks (NNs) when a data distribution P is unknown. Similarly, data augmentation (DA) strategies exploit known invariances of data, such as being invariant to phone-preserving transformations
[32] . Typical DA strategies exploit prior knowledge about what is in support o(P) of P. 35 However, particularly in real-world applications such as ASR in noisy, reverberant and far-field scenarios, the prior information may not be available in the o(P). Therefore, embodiments of the present invention may exploit prior knowledge about what is not in the o(P) while training ASR models. This information is often available for audio data. Specifically, it may be assumed that: 5 (1) there exists an alternative distribution Q with a different support o(Q); and (2) access to a procedure to efficiently sample from Q. Here, it should be appreciated that Q need not be explicitly defined (e.g., through an explicit density) - it may be implicitly defined by a dataset collected in these scenarios, or by a procedure that transforms samples from P into ones from Q by suitably altering their structure, such as by audio 10 modification to obtain y(n). According to the manifold hypothesis
[33] , utterances in speech signals lie on lowdimensional manifolds. Following
[34] , it maybe assumed that phonemes and utterances lie on Euclidean patches of the manifold. Thereby, P is supported on a low-25 dimensional manifold of the ambient (signal) space. This suggests that many DA strategies exist, such as sampling random or reverberant noise. DA is informative if its support is close (in a suitable metric) to 0(F)
[35] . These noisy samples will provide information on the (“boundary”) of o(P), which can be helpful in 20 ASR. Therefore, embodiments of the present invention do not need to perform computationally complex projections on low-dimensional manifolds as proposed in manifold learning methods
[34] to remove noise from samples. Instead, it is proposed to employ the inductive bias with DA on patches to improve robustness of samples to noise. 25 3.2. Audio Modification in MAMP As described in [27, 28, 30, 31], MCT may involve performing data augmentation by convolving a speech signal x(n) of length L (Fig. 5(a)) with a convolutive channel distortion h(n) to introduce distortion followed by adding a noise source v(n) to 30 generate the simulated speech y(n) (Figs. 4(a) and 4(b) and Fig. 5(b)) for each time index n y(n) = h(n)*x(n) + v(n) (1) 35 where * denotes the convolution operation. Applying this transformation on-the-fly generates highly diverse training scenarios without increasing storage. In some embodiments h(ri) maybe defined by Room Impulse Response (RIR), then h(n) introduces reverberation to x(n) and y(n) simulates far-field speech. The RIR function may introduce a delay in the at least one second signal relative to the first 5 signal, in which case the delay may be removed from the at least one second signal prior to obtaining the patched signal. For example, the RIR function may act as a filter, and the delay of the filter can be determined from the filter coefficients (i.e. the coefficients of the RIR function). The delay can be removed by chopping the first X ms (milliseconds) from the noisy signal after applying the RIR function, where Xis set 10 according to the filter delay as determined from the filter coefficients. However, in other embodiments, instead of removing the delay after obtaining the noisy signal, the filter (i.e. the RIR function) may be configured to remove the delay in the filter itself. In some embodiments, the step of modifying the speech signal may comprise adding 15 noise into the speech signal. For example, the noise may comprise random noise, and / or may comprise other forms of noise such as speech or other audio overlaid on top of the speech signal (i.e. the ‘first signal’). In some embodiments, the noise that is added to the speech signal to obtain the noisy signal may comprise one or more recordings of background noise samples, and / or one or more synthesized noise 20 samples. In some embodiments, the noise may comprise a transformation applied to a target audio signal, for example speech. As noted above, the transformation maybe additive, for example in the form of background noise overlaid on top of the target audio signal. 25 Instead of, or in addition to, an additive transformation such as overlaid background noise, the transformation may be configured to simulate a technical fault, such as intermittent loss of audio or reduction in audio quality due to a faulty sensor or microphone. 30 3.3. MAMP on Audio and Feature Space In this section, the proposed MAMP method is introduced. 3.3.1. MAMP on Audio Signal Space In an embodiment of the present invention, patches are extracted from audio signals 35 and mixed as follows: 1. Modification step: A clean speech signal x(n) (Fig. 5(a)) is modified to obtain y(n) using equation (1) (Fig. 5(b)). 2. Patch extraction step: The signals x(n) and y(n) are split into patches 6P and (pP respectively of size Lp where Lp = L, as depicted by the vertical dashed p p 5 lines in Fig. 3. Thereby, clean patches {0p}p_1 and distorted patches {(pp]p_1 are obtained, where P is the total number of patches. 3. Patch mixing step: The MAMP signal z(n) is obtained by first selecting each clean patch 6P with a probability n or the distorted patch cpp with the probability 1 - n. Then, the selected patches are mixed by 0p(n) = n9p + (1- n)(pP where 10 4>p(n) is the p* patch of the signal z(n) shown in Fig. 5(c). The delay of the response function (e.g. RIR) is removed in order to align the x(n) and y(n) signals so that they can be mixed. In the patch extraction step of the present embodiment (i.e. step 2 above), each of the 15 first and second patches have the same length (Lp). However, in other embodiments each of the first and second patches could have a randomly determined length. For example, a random patch length may be implemented by randomly selecting a length L between a predefined minimum length Lmm and a predefined maximum length Lmax. In other embodiments however only a minimum length or a maximum length may be set, 20 or no minimum or maximum length may be set when randomising the patch length. If random patch lengths are used, the first and second patches that correspond to the same part of the original signal (i.e. the ‘clean’ signal) should still have the same length, such that when the patches are mixed together the resulting signal still has the same overall length as the original signal. 25 In embodiments in which the first signal contains speech, a length of at least some of the first and second patches may be set according to a speech content of the respective first or second patch, such that each first or second patch contains at least one complete unit of speech. For example, the unit of speech may be a phoneme or sub-word, or may 30 be any other unit of speech including but not limited to: a triphone (i.e. three phonemes); an utterance; a word; or a sentence. In the patch mixing step of the present embodiment (i.e. step 3 above), patch mixing comprises randomly selecting respective ones of the first and second patches, and 35 combining said randomly selected first and second patches to obtain the patched signal. In the present embodiment, said ones of the first and second patches are randomly selected according to at least one probability threshold, such that the at least one probability threshold defines a probability of one of the plurality of first patches being selected for a given part of the patched signal and a probability of one of the plurality of 5 second patches being selected for the given part of the patched signal. For example, the probability threshold(s) may take any value between a lower limit and an upper limit, for example from o to 1. A number may then be randomly generated between the lower and upper limits, and the corresponding first patch or second patch 10 is selected according to whether the random number is above or below the respective threshold. If only one second signal is used, then a single probability threshold maybe used, for example 0.5. In this example, if the random number is between 0 and 0.5 then the corresponding first patch is selected for the given part of the patched signal, and if the random number is between 0.5 and 0.1 then the corresponding second patch 15 is selected for the given part of the patched signal. In this example, the probability (tt) of a first patch being selected is 0.5, and the probability (1 - tt) of a second patch being selected is the same (i.e. since 1 - 0.5 = 0.5). It will be appreciated that if a different threshold is used, e.g. 0.25 or 0.75, the probability of a first patch vs a second patch being selected will increase or decrease accordingly. 20 In some embodiments more than one second signal may be obtained. For example, Fig. 9 illustrates an embodiment in which multiple different audio modifications settings (i.e. different distortions) are applied to the same audio signal during the patching stage of a pMCT pipeline. 25 If more than one second signal is used, for example three second signals, a different probability threshold may be set for each second signal. In other words, a plurality of probability thresholds maybe used. For example, in the case of three second signals being generated (e.g. by applying three different distortions to the first signal), 30 respective thresholds maybe set at 0.25,0.5 and 0.75. For example: if the randomly-generated number lies between 0 and 0.25 then the corresponding first patch may be chosen; if the randomly-generated number lies between 0.25 and 0.5 then the corresponding patch from a first one of the second signals may be chosen; if the randomly-generated number lies between 0.5 and 0.75 then the corresponding patch 35 from a second one of the second signals may be chosen; and if the randomly-generated number lies between 0.75 and 1 then the corresponding patch from a third one of the second signals may be chosen. In this example the probability of any given patch being selected from the first signal or one of the second signals is the same, but it will be appreciated that the probability of a patch being selected from any given one of the first or second signals may be increased or decreased by setting different thresholds. 5 In some embodiments, the at least one probability threshold may be set in dependence on an identity of the current user, such that different values of the at least one probability threshold may be set for different users. For example, the at least one probability threshold may be set in dependence on historical data associated with the 10 identity of the current user. In this way, optimised thresholds may be set for the current user, increasing the accuracy of the audio recognition method (e.g. speech recognition in the case of an ASR model). As an example, the historical data associated with a user may be indicative of a 15 likelihood that any given recording of that user’s speech is a clean signal (i.e. relatively free from distortions such as reverberation, noise etc.). This approach can take into account the different ways in which users may use their devices. For example, in embodiments in which a speech signal is captured from a user’s mobile phone, one user may frequently use their phone in noisy environments whereas another user may tend 20 to use their phone more often in quieter environments. As such, speech signals of different users may have a different likelihood of being a noisy signal vs a clean signal. When the historical data indicates that the current user’s speech signal has a relatively high likelihood of being a clean signal, the probability threshold may be set such that for any given portion of the patched signal there is a higher probability that a first patch 25 is selected as opposed to a second patch. Another example of historical data that may be used to set the probability threshold can be historical data indicative of the accuracy of different models when applied to speech signals for the current user, where the different models comprise models that have been 30 trained on patched signals obtained using different respective probability thresholds. In this example, an independent measure of the accuracy (e.g. WER) may be used to assess the accuracy of each model, for example by displaying or otherwise outputting the most likely sequence of words that is obtained by each model to the user and asking them to confirm whether or not the sequence of words is correct. In this example, the 35 historical data may be used to identify which one of the different models produced the most accurate results for the current user, and the probability threshold that was used to generate the patched signals for training that model can be used as the probability threshold when generating new patched signals to be used when updating the model. In other embodiments, instead of randomly selecting first and second patches as 5 described above, the first and second patches could be selected in a non-random manner. For example, the first and second patches could be selected according to a predefined sequence, such as a pseudo-random sequence generated according to a predefined algorithm as opposed to being a truly random selection. 10 3.3.2. MAMP on Audio Feature Space The proposed MAMP can be employed on a space of mel-spectrogram features extracted from audio signals as shown in Fig. 6 and described as follows. 1. Computing features: Mel-spectrograms for the m-th frame and / -th frequency 15 bin and Yirn,f) of x(n) and y(n) are computed, respectively, Vm e [M]\ / G[n 2. Generating masks: A mask H e {0, t}MxF is generated by randomly drawing its elements from a distribution such as the uniform distribution. Each submatrix Hp e tM?xF? anc] e 0Mp*Fp of / y js shown by a white and black block at the top 20 of Fig. 6, respectively. 3. Patch extraction and mixing: The patches are extracted and mixed to compute the MAMP mel-spectrogram (MAMP-M) P(m,f) by ^m,f) = Q + (1- n)H(jn,f) Q (2) 25 where O denotes the Hadamard (element-wise) product. In the present embodiment, a time-to-frequency domain transformation is used to obtain a Mel-spectrogram. However, other types of domain transformation can be 30 applied to create the feature representation, such as a wavelet transformation or neural network based transformation. In general, a neural network based transformation is based on using a latent space of the ASR model. Here, the term ‘latent space’ refers to the output of a given layer in the neural network. For example, ASR models can have a few CNN layers at the beginning to process the audio, followed by some Transformer 35 blocks to extract linguistic features to get the estimated transcriptions. In this example, the output of the CNN layers could be taken as the wavelet-transformed signal, and these signals (i.e. the output of the CNN layers) can be divided to obtain the first and second patches for generating the patched signal. 5 When a domain transformation is applied prior to dividing the first and second signals, whether a time-to-frequency domain transformation or otherwise, dividing the first and second signals comprises dividing the respective first and second spectrograms obtained via the transformation so as to obtain the plurality of first and second patches. In other words, each patch comprises a part of the first or second spectrogram obtained 10 by applying the domain transformation to the respective first or second signal. In the case of the Mel-spectrogram, which comprises a plurality of frequency bins associated with each one of a plurality of frames, each frame corresponding to a different time-domain portion of the respective first or second signal, each of the first 15 and second patches may correspond to at least one frequency bin and at least one frame (i.e. as shown in the top of Fig. 4). In general terms, if the domain transformation produces a spectrogram comprising a vector with A components, then A components can be selected from either the function 20 of the first signal or from the function of the second signal to obtain the patched signal. Also, the principles discussed above in relation to embodiments in which a domain transformation is applied before dividing the first and second signals into patches may equally be applied to embodiments in which multiple different audio modification settings are applied in audio feature space (i.e. a domain-transformed signal). For 25 example, Fig. 10 illustrates a MAMP method with multiple audio modification settings in audio feature space, according to an embodiment of the present invention. 3.4. Patched Multi-condition Training The block diagram presented in Fig. 3 shows an embodiment of the pMCT pipeline, 30 comprising a database 301, pre-processing block 302, feature extraction block 303 and ASR model 304. Firstly the data is retrieved from a database 301 to be pre-processed. The pre-processing block 302, which may also be referred to as a ‘pre-processing module’ or ‘pre-processing unit’, applies the MAMP transformation 305 described in Section 3.3.1 followed by data augmentation techniques 306 such as SpecAugment. 35 The feature extraction block 303, which may also be referred to as a ‘feature extraction module’ or ‘feature extraction unit’, uses the pre-processed data and computes some features used by the ASR model 304. Typically, this feature extraction is carried out to reduce the dimensionality of the input data whilst preserving the relevant information for speech recognition. The ASR model maps these features into a sequence of most likely letters which is used to compute the loss against labelled data and perform back-5 propagation to update the model. During inference, as shown in Fig. 7, the feature extraction 702 is directly applied to the data from the database 701 which is then passed through the ASR model 703 to get the likelihood of multiple sequences of letters. The decoder 704 concatenates these 10 sequences of letters to create words and uses a language model 705 to apply language probability on each of them depending on the previously decoded words. Finally, the decoder returns the most likely sequence of words. Although Fig. 7 illustrates an embodiment configured for ASR, it will be appreciated 15 that similar principles may be applied to recognise other types of audio. Hence, in general terms embodiments of the present invention may be applied to any automatic audio and / or speech recognition method and apparatus. In the inference stage, the automatic audio and / or speech recognition is performed using a model trained on a dataset comprising a plurality of patched signals obtained using any of the methods 20 disclosed herein. In some embodiments features of the pipelines illustrated in the above-described embodiments may be combined. For example, Fig. 8 illustrates an embodiment of a pMCT pipeline comprising a database 801, a pre-processing and augmentation block 25 802 similar to that of the embodiment in Fig. 3, a feature extraction block 803, speech / audio model 804, and a post processing block 805 (e.g. a decoder similar to that of the embodiment in Fig. 7). Similarly, Fig. 12 illustrates an ASR training pipeline using pMCT comprising a database 1201, a pre-processing and augmentation block 1202 similar to that of the embodiment in Fig. 3, a feature extraction block 1203, ASR 30 model 1204, and a decoder 1205 similar to that of the embodiment in Fig. 7, according to an embodiment of the present invention. 35 4. Evaluation of pMCT in ASR Tasks 4-1. Experimental setup In the experiments, ASR models are implemented using the transformer recipe of SpeechBrain
[36] for LibriSpeech2. The recipe implements an end-to-end transformer ASR architecture with a Conformer encoder
[37] . The Conformer configuration follows 5 the Conformer (S) described in
[37] and we used a transformer language model. The loss is computed using a weighted average of the CTC loss and KL-divergence with label smoothing. The label smoothing parameter is 0.15. All the experiments implemented using the tooh dataset are reported using beam 10 search size of 1 to speed up the analyses, while final results on the 960b dataset are obtained using a beam search of 10. 4.2. Datasets 15 4.2.1. LibriSpeech Corpus LibriSpeech
[38] comprises a 960b dataset of English utterances obtained from audiobooks, sampled at 16kHz. Illustrative embodiments of the invention discussed herein make use of either train-clean-100 - a tooh subset, or the entire 960b dataset for training. The dev-clean, test-clean and test-other are employed for evaluation 20 purposes. Model performance is reported in terms of Word Error Rate (WER). 4.2.2. VOiCES VOiCES [2] is a dataset created by recording LibriSpeech utterances played in acoustically challenging conditions. Using this dataset for evaluation set allows 25 assessing accuracy of the proposed methods in noisy reverberant environments. The evaluation set for ASR comprises of 2oh of data originating from 98 different speakers. 4.2.3. Datasets used for Data Augmentation In the experimental analyses, reverberation is considered as a form of deformation. 30 Therefore, a set of RIRs gathered from three datasets is used, as described in
[27] , giving rise to 325 different RIRs. The level of reverberation ranges from -2 dB to 40 dB in terms of C50
[39] . A set of 843 noise samples obtained from the Freesound portion of the MUSAN corpus 35
[40] is used in the present disclosure. The signal-to-noise (SNR) is randomly sampled from a uniform distribution between 0 dB to 30 dB. 5. Experimental Analyses 5.1. Ablation Studies 5 In this section, ablation studies are provided to analyze the effect of using different patch selection probability n, patch length L and spectral augmentation policies on the accuracy of models. Librispeech tooh dataset was used to find the best hyperparameters of MCT, pMCT and pMCT-M. 10 5.1.1. Analyses of the Effect of n Firstly, it is investigated how model accuracy varies as a function of probability of having a clean patch n for pMCT in Table 1. In the table, rand indicates that the utterance is selected with a different probability value drawn from a uniform distribution. As shown in Table 1, in this particular embodiment it is found that best 15 WER is achieved using n = 0.5. However, it is to be expected that the optimum value of n may differ in other embodiments. Table 1: Comparison of WER of models on the dev-clean set for different values of a. 71 WER (%) 0 10.53 0.25 10.04 0.5 9.76 0.75 9-84 1 IO.91 rand 9-98 20 5.1.2. Analyses of the Effect ofL Next, it is investigated how varying the patch size, L, affects training. Different sizes are tested as indicated in Table 2, which suggests that in this particular embodiment 25 the best patch size is between 1 and 1.5 seconds. Again, it is to be expected that the optimum patch size may differ in other embodiments. For example, different patch lengths may be used when dealing with different languages. Table 2: Comparison ofWER of models on the dev-clean set for different of patch size L. L(s) WER (%) 0.5 9-79 0.75 9-78 1 9.76 t-5 9-76 2 9-98 5.1.3. Analyses of the Effect of Spectral Augmentation Policies 5 It is important to investigate whether the strength of SpecAugment should be modified when used in conjunction with pMCT. To check this, the inventors have experimented with modifying the masking strength of Adaptive SpecAugment
[30] , as shown in Table 3. High policy corresponds to the LibriFullAdapt policy
[30] , whereas the mid and low policies are obtained by dividing masking parameters, such as number masks and mask 10 length, by 2 and by 4, respectively. The inventors have found that when used in conjunction with pMCT, aggressiveness of pMCT can be lowered to achieve best accuracy. Hence, throughout the results discussed below, the mid policy is employed when using SpecAugment alongside pMCT, unless stated otherwise. 15 Table 3: Comparison of WER on the dev-clean set for different SpecAugment settings applied on top of pMCT. Setting WER (%) High 11-79 Mid 93 Low 9-96 5.1.4. Ablation for the pMCT-M 20 Previous analyses indicate that one of the best settings for pMCT is n = 0.5 and L = 1 which is the configuration used in the remaining experiments with pMCT. In the case of pMCT-M, there are three parameters that can be adjusted: the probability of clean patch selection n, the patch size along the time axis M and the patch size along the Mel-scale filters axis F. Similar to the analyses carried out for pMCT, different settings 25 were analysed but excluded from the present analysis due to space limitation. In this particular embodiment, the best settings found for pMCT-M are n = 0.5, M = 1 and F = 40 where F is limited by F < 80 due to the number of elements in filter bank applied to the input short-time Fourier transform in Mel scale. This setting achieved a WER on dev-clean of 9.62%. Also, different specAugment settings were applied achieving the 5 best WER on dev-clean of 9.52%. Again, it is to be expected that the optimum values for n, M, and F may differ in other embodiments. 5.1.5. Ablation for the MCT One of the baselines to compare pMCT is MCT. Three settings are explored for the 10 MCT implementation: probability of adding reverberation to the input signal pr, probability of adding noise to the signal pn and specAugment setting. In order to reduce the amount of combination we set pn = pr- Table 4 shows that in this particular embodiment the lowest WER is achieved with pn = 0.5 and pr = 0.5, and this is the setting used for MCT in the remaining of this disclosure. Again, it is to be expected that 15 the optimum values for pn and pr may differ in other embodiments. Results obtained by employing specAugment on MCT are shown in Table 5, indicating that in the present embodiment the best results are obtained for mid setting. 20 Table 4: WER of models on the dev-clean of MCT with different probabilities applied to noise pn and reverberation pr. Pn Pr WER (%) 0 0 IO.91 0.25 0.25 10.05 0.5 0.5 10.00 0.75 0.75 10.01 1 1 10.56 Table 5: Comparison of WER of models on the dev-clean set for different specAugment 25 settings applied on top of MCT. Policy WER (%) High 10.16 Mid 925 Low 9-59 5.1.6. Comparative Evaluation on the Test Datasets Table 6 summarizes all the results and extends the evaluation of the methods for other three datasets: test-clean, test-other and VOICES. The baseline in this case 5 corresponds to training models with LibriFullAdapt policy for specAugment, but without using MCT or pMCT. The results show that pMCT with specAugment provides the best results for the majority of the datasets, especially remarkable on VOiCES. Table 6: Summary ofWER (%) of models trained on theiooh dataset using a beam 10 size ofi. Method dev-clean testclean test-other VOiCES Baseline 9-42 9-56 24-51 75-07 MCT w / o specAug 10.00 9-23 24-74 36.79 pMCT w / o specAug 9-76 9-39 25-09 31-58 pMCT-M w / o specAug 9.62 9-13 25-03 32.58 MCT w / specAug 925 9-50 24.29 36.19 pMCT w / specAug 9-3 915 23.21 27-97 pMCT-M w / specAug 9-52 9.61 23-92 32.40 5.2. Analyses for Training Models on Larger-scale Datasets In this section, the different methods tested in Table 6 are trained with the full training 15 set of LibriSpeech. Table 7 shows that pMCT shows the best WER in the majority of the sets being quite noticeable for the noisy reverberant dataset VOiCES. As in the case for Table 6, the baseline in Table 7 refers to training models with LibriFullAdapt policy for specAugment but without using MCT or pMCT. 20 In addition, Table 7 also shows the importance of adding multi-condition samples in the training set since this provided more than a 50% relative WER reduction on VOiCES database in the worst case (i.e. MCT w / o specAug). The specAugment augmentation scheme can provide additional improvement when applied after MCT, pMCT or pMCTM as shown in Table 7. In most of the test cases, lower WER is achieved using specAugment. 5 Table 7: Summary of WER (%) of models trained on the g6oh dataset. Beam size 10. Method dev-clean testclean test-other VOiCES Baseline 2-59 2-74 6.51 33-30 MCT w / o specAug 2-43 2.72 7-07 14-85 pMCT w / o specAug 2-44 2.67 6.90 12.83 pMCT-M w / o specAug 2.37 2-59 6.98 13-88 MCT w / specAug 2.42 2.65 6-59 12.86 pMCT w / specAug 2.42 2.41 6.36 9.89 pMCT-M w / specAug 2-43 2-57 6-53 12.83 The audio samples of the VOiCES dataset were recorded in four rooms {7?i}4i=1, comprising models R, to R4 with layouts as illustrated in Fig. 11. 10 . The test WER of the models with the best WER were examined on the dev-clean dataset using samples collected in each room in Table 8. The results show that pMCT outperforms MCT in all rooms. It is also clear that the models perform better on smaller rooms CRi and Ra) due to the decrease of reverberation in these setups. 15 Table 8: Analyses of the models for the four different rooms included in evaluation dataset of VOiCES. Method R, R. r. R4 MCT w / specAug 5-70 5-68 24-13 15-19 pMCT w / specAug 4-74 5-18 15.34 13.78 20 Table 9 shows the WER provided by these best MCT and pMCT models for different noise types considered in the evaluation dataset of the VOiCES. In general, pMCT outperforms MCT for all types of noises. Moreover, babble noise tends to be the most challenging noise mainly due to the similarity with the target speech. Table 9: Analyses of the models for four noise types; no noise included (none), music (music), television sound (tele) and babble noise (babb). Method none music tele babb MCT w / specAug 15-33 7-94 7-93 15-84 pMCT w / specAug 10.02 6.67 7-17 14.81 5.3. Comparison of MCT and pMCT employed on State-of-the-art Robust ASR Models In order to examine the benefits of using pMCT compared to MCT in other methods proposed for robust ASR [30, 31], pMCT was employed to train these models and 10 compared the results with the MCT counterpart. Table 10 shows the WER achieved by using pMCT instead of using MCT in the method proposed in
[30] . The results indicate that using pMCT improves the WER over the MCT variant of the method. One of the reasons of observing the difference between the WER of pMCT and MCT is 15 that the multi-condition augmentation is only applied to 20% of the training data leaving the remaining 80% of the data clean. Thus, the difference in the final training data is reduced compared to applying multi-condition augmentation to the entire training set. 20 Table 10: Comparison of WER (%) of models trained on g6oh using the method proposed in
[30] with and without employing pMCT. Beam size is 10. Method dev-clean testclean test-other VOiCES
[30] w / o pMCT 2-55 2-73 6-35 13-15
[30] w / pMCT 2.32 2.5 6-3 13.09 6. Conclusions 25 The present disclosure presents pMCT, a data augmentation approach to improve the ASR performance especially in noisy reverberant conditions where a relative WER reduction of 22.71% compared to MCT was achieved. This solution is simple and requires negligible additional computation cost or no extra data compared to MCT. Experimental results show that it improves in clean conditions and noisy reverberant compared to the MCT baseline. Moreover, specAugment augmentation scheme was applied on top of pMCT achieving further improvements. The pMCT approach was also included in pipeline of other techniques that employ MCT such as
[30]
[31] showing 5 improvements of using pMCT over MCT. The contributions made by embodiments of the present invention can be summarized as follows: • A simple yet effective multi-condition method called patched multi- 20 condition training (pMCT) is disclosed, as depicted in Figure 3, which improves ASR accuracy, especially for noisy reverberant conditions. pMCT employs a novel method, called multi-condition audio modification and patching (MAMP), which mixes the same utterance patches extracted from clean and distorted speech (Figure 3). 15 • Experimentally, pMCT achieves 22.71% relative WER reduction compared to the MCT on VOiCES [2] - a dataset of samples collected in noisy, reverberant conditions. The method delivers particularly large improvements in terms of WER on speech recorded in large rooms. • The disclosed MAMP method can be combined with any data augmentation 20 method such as SpecAugment [3] to improve accuracy of pMCT. It has been found that employing pMCT with SpecAugment further improves WER on both clean (up to 3.5% WER) and noisy (up to 0.54% WER) datasets. Whilst certain embodiments of the invention have been described herein with reference 25 to the drawings, it will be understood that many variations and modifications will be possible without departing from the scope of the invention as defined in the accompanying claims. References 30 [1] E. Tsunoo, K. Shibata, C. Narisetty, Y. Kashiwagi, and S. Watanabe, “Data augmentation methods for end-to-end speech recognition on distant-talk scenarios,” 2021. [2] C. Richey, M. A. Barrios, Z. Armstrong, C. Bartels, H. Franco, M. Graciarena, A. Lawson, M. K. Nandwana, A. R. Stauffer, J. van Hout, P. Gamble, J. Hetherly, C. 35 Stephenson, and K. Ni, “Voices obscured in complex environmental settings (VOICES) corpus,” CoRR, vol. abs / 1804.05053, 2018. [Online]. Available: http: / / arxiv.org / abs / 1804.05 053 [3] D. S. Park, W. Chan, Y. Zhang, C. Chiu, B. Zoph, E. D. Cubuk, and Q. V. Le, “Specaugment: A simple data augmentation method for automatic speech recognition,” 5 in INTERSPEECH. ISCA, 2019, pp. 2613-2617. [4] T. Ko, V. Peddinti, D. Povey, and S. Khudanpur, “Audio augmentation for speech recognition,” in INTERSPEECH. ISCA, 2015, pp. 3586-3589. [5] N. Jaitly and G. E. Hinton, “Vocal tract length perturbation (vtlp) improves speech recognition,” in Proc. ICML Workshop on Deep Learning for Audio, Speech and 10 Language, vol. 117, 2013, p. 21. [6] C. Kim, M. Shin, A. Garg, and D. Gowda, “Improved vocal tract length perturbation for a state-of-the-art end-to-end speech recognition system.” in Interspeech, 2019, pp. 739-743- [7] V. Peddinti, D. Povey, and S. Khudanpur, “A time delay neural network architecture 15 for efficient modeling of long temporal contexts,” in INTERSPEECH. ISCA, 2015, pp. 3214-3218. [8] A. Jain, P. R. Samala, D. Mittal, P. Jyothi, and M. Singh, “Spliceout: A simple and efficient audio augmentation method,” CoRR, vol. abs / 2110.00046, 2021. [9] H. Wang, Y. Zou, and W. Wang, “Specaugment++: A hidden space data 20 augmentation method for acoustic scene classification,” CoRR, vol. abs / 2103.16858, 2021.
[10] G. Kovacs, L. T6th, D. V. Compernolle, and S. Ganapathy, “Increasing the robustness of CNN acoustic models using autoregressive moving average spectrogram features and channel dropout,” Pattern Recognit. Lett., vol. 100, pp. 44-50, 2017. 25
[11] L. T6th, G. Kovacs, and D. V. Compernolle, “A perceptually inspired data augmentation method for noise robust CNN acoustic models,” in SPECOM, ser. Lecture Notes in Computer Science, vol. 11096. Springer, 2018, pp. 697-706.
[12] X. Song, Z. Wu, Y. Huang, D. Su, and H. Meng, “Specswap: A simple data augmentation method for end-to-end speech recognition,” in INTERSPEECH. ISCA, 30 2020, pp. 581-585.
[13] A. N. Carr, Q. Berthet, M. Blondel, 0. Teboul, and N. Zeghidour, “Self-supervised learning of audio representations from permutations with differentiable ranking,” IEEE Signal Process. Lett., vol. 28, pp. 708-712, 2021.
[14] L. Meng, J. Xu, X. Tan, J. Wang, T. Qin, and B. Xu, “Mixspeech: Data 35 augmentation for low-resource automatic speech recognition,” in ICASSP. IEEE, 2021, pp. 7008-7012.
[15] H. Zhang, M. Cisse, Y. N. Dauphin, and D. Lopez-Paz, “mixup: Beyond empirical risk minimization,” in ICLR (Poster). Open-Review.net, 2018.
[16] Y. Tokozume, Y. Ushiku, and T. Harada, “Learning from between-class examples for deep sound recognition,” in ICLR (Poster). OpenReview.net, 2018. 5
[17] T. K. Lam, M. Ohta, S. Schamoni, and S. Riezler, “On-the-fly aligned data augmentation for sequence-to-sequence ASR,” 2021.
[18] T. Nguyen, S. Striker, J. Niehues, and A. Waibel, “Improving sequence-to-sequence speech recognition training with on-the-fly data augmentation,” in ICASSP. IEEE, 2020, pp. 7689-7693. 10
[19] D. Yu, M. L. Seltzer, J. Li, J. Huang, and F. Seide, “Feature learning in deep neural networks - A study on speech recognition tasks,” in ICLR, 2013.
[20] A. Y. Hannun, C. Case, J. Casper, B. Catanzaro, G. Diamos, E. Eisen, R. Prenger, S. Satheesh, S. Sengupta, A. Coates, and A. Y. Ng, “Deep speech: Scaling up end-to-end speech recognition,” CoRR, vol. abs / 1412.5567, 2014. 15
[21] V. A. Trinh, H. S. Kavaki, and M. I. Mandel, “Importantaug: a data augmentation agent for speech,” submitted to ICASSP 2022.
[22] A. Sriram, H. Jun, Y. Gaur, and S. Satheesh, “Robust speech recognition using generative adversarial networks,” in ICASSP. IEEE, 2018, pp. 5639-5643.
[23] E. Tsunoo, K. Shibata, C. Narisetty, Y. Kashiwagi, and S. Watanabe, “Data 20 augmentation methods for end-to-end speech recognition on distant-talk scenarios,” CoRR, vol. abs / 2106.03419, 2021.
[24] A. Sehr, C. Hofmann, R. Maas, and W. Kellermann, “Multi-style training of hmms with stereo data for reverberation-robust speech recognition,” in 2011 Joint Workshop on Hands-free Speech Communication and Microphone Arrays, 2011, pp. 196-200. 25
[25] J. B. Allen and D. A. Berkley, “Image method for efficiently simulating small-room acoustics,” The Journal of the Acoustical Society of America, vol. 65, no. 4, pp. 943-950,1979-
[26] E. A. Lehmann, A. M. Johansson, and S. Nordholm, “Reverberation-time prediction method for room impulse responses simulated with the image-source 30 model,” in 2007 IEEE Workshop on Applications of Signal Processing to Audio and Acoustics. IEEE, 2007, pp. 159-162.
[27] T. Ko, V. Peddinti, D. Povey, M. L. Seltzer, and S. Khudanpur, “A study on data augmentation of reverberant speech for robust speech recognition,” in 2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). 35 IEEE, 2017, pp. 5220-5224.
[28] C. Kim, A. Misra, K. Chin, T. Hughes, A. Narayanan, T. Sainath, and M. Bacchiani, “Generation of large-scale simulated utterances in virtual rooms to train deep-neural networks for far-held speech recognition in google home,” in Interspeech 2017, 2017, PP- 379-383- 5
[29] J. Li, L. Deng, Y. Gong, and R. Haeb-Umbach, “An overview of noise-robust automatic speech recognition,” IEEE ACM Trans. Audio Speech Lang. Process., vol. 22, no. 4, pp. 745-777, 2014.
[30] D. S. Park, Y. Zhang, C.-C. Chiu, Y. Chen, B. Li, W. Chan, Q. V. Le, and Y. Wu, “Specaugment on large scale datasets,” in ICASSP 2020-2020 IEEE International 10 Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2020, pp. 6879-6883.
[31] J. Kim, M. Kumar, D. Gowda, A. Garg, and C. Kim, “A comparison of streaming models and data augmentation methods for robust speech recognition,” 2021.
[32] S. Barreda, “Perceptual validation of vowel normalization methods for variationist 15 research,” Language Variation and Change, vol. 33, no. 1, p. 27-53, 2021.
[33] C. Fefferman, S. Mitter, and H. Narayanan, “Testing the manifold hypothesis,” Journal of the American Mathematical Society, vol. 29, no. 4, pp. 983-1049, Oct. 2016.
[34] C. Vaz and S. Narayanan, “Learning a speech manifold for signal subspace speech 20 denoising,” in Interspeech, Dresden, Germany, 2015, pp. 1735-1739.
[35] A. Sinha, K. Ayush, J. Song, B. Uzkent, H. Jin, and S. Ermon, “Negative data augmentation,” in International Conference on Learning Representations, 2021.
[36] M. Ravanelli, T. Parcollet, P. Plantinga, A. Rouhe, S. Cornell, L. Lugosch, C. Subakan, N. Dawalatabad, A. Heba, J. Zhong, J.-C. Chou, S.-L. Yeh, S.-W. Fu, C.-F. 25 Liao, E. Rastorgueva, F. Grondin, W. Aris, H. Na, Y. Gao, R. D. Mori, and Y. Bengio, “SpeechBrain: A general-purpose speech toolkit,” 2021, arXiv:2io6.O4624.
[37] A. Gulati, J. Qin, C.-C. Chiu, N. Parmar, Y. Zhang, J. Yu, W. Han, S. Wang, Z. Zhang, Y. Wu, and R. Pang, “Conformer: Convolution-augmented transformer for speech recognition,” 2020. 30
[38] V. Panayotov, G. Chen, D. Povey, and S. Khudanpur, “Librispeech: an ASR corpus based on public domain audio books,” in 2015 IEEE international conference on acoustics, speech and signal processing (ICASSP). IEEE, 2015, pp. 5206-5210.
[39] P- Peso Parada, D. Sharma, J. Lainez, D. Barreda, T. v. Waterschoot, and P. A. Naylor, “A Single-Channel Non-Intrusive C50 Estimator Correlated With Speech 35 Recognition Performance,” IEEE / ACM Transactions on Audio, Speech, and Language Processing, vol. 24, no. 4, pp. 719-732, 2016.
[40] D. Snyder, G. Chen, and D. Povey, “MUSAN: A Music, Speech, and Noise Corpus,” 2015.
Claims
1. A method of obtaining a patched signal for training a model for use in speech and / or audio recognition, the method comprising:5 obtaining a first signal, wherein the first signal is a speech and / or audio signal;modifying the first signal to obtain at least one second signal;dividing the first signal and the at least one second signal respectively into a plurality of first patches and a plurality of second patches, such that each one of the plurality of first patches comprises a respective part of the first signal and each one of io the plurality of second patches comprises a respective part of the at least one secondsignal; andmixing selected ones of the plurality of first patches and the plurality of second patches to obtain a patched signal.15 2. The method of claim 1, wherein mixing the selected ones of the plurality of firstpatches and the plurality of second patches comprises randomly selecting respective ones of the first and second patches, and combining said randomly selected first and second patches to obtain the patched signal.20 3. The method of claim 2, wherein said ones of the first and second patches arerandomly selected according to at least one probability threshold, such that the at least one probability threshold defines a probability of one of the plurality of first patches being selected for a given part of the patched signal and a probability of one of the plurality of second patches being selected for the given part of the patched signal.
254. The method of claim 3, wherein the at least one probability threshold is set in dependence on an identity of the current user, such that different values of the at least one probability threshold may be set for different users.30 5. The method of claim 4, wherein the at least one probability threshold is set independence on historical data associated with the identity of the current user.
6. The method of any one of the preceding claims, wherein modifying the firstsignal comprises convolving the first signal with a distortion function.
357. The method of claim 6, wherein the distortion function is a room impulse response, RIR, function.
8. The method of claim 7, wherein the RIR function introduces a delay in the at5 least one second signal relative to the first signal, the method comprising: removing the delay from the at least one second signal prior to obtaining the patched signal.
9. The method of any one of the preceding claims, wherein modifying the first10 signal comprises adding noise into the first signal.
10. The method of claim 9, wherein the noise comprises random noise.
11. The method of claim 9 or 10, wherein the noise comprises one or more15 recordings of background noise samples.
12. The method of claim 9,10 or 11, wherein the noise comprises one or more synthesized noise samples.20 13. The method of any one of the preceding claims, wherein the at least one secondsignal comprises a plurality of second signals, and modifying the first signal to obtain the plurality of second signals comprises applying different modifications to the first signal to obtain respective ones of the plurality of second signals.25 14. The method of any one of the preceding claims, wherein each of the first andsecond patches have the same length.
15. The method of any one of claims 1 to 13, wherein each of the first and second patches has a randomly determined length.3016. The method of claim 15, wherein a length of each of the first and second patches is randomly determined by randomly selecting a length L between a predefined minimum length L,„ and a predefined maximum length Lmax.35 17. The method of any one of the preceding claims, wherein the first signal containsspeech and a length of at least some of the first and second patches is set according to aspeech content of the respective first or second patch, such that each first or second patch contains at least one complete unit of speech.
18. The method of claim 17, wherein said unit of speech is a phoneme or sub-word.
519. The method of any one of the preceding claims, wherein each of the first andsecond patches has a length of between 1 and 1.5 seconds.
20. The method of any one of the preceding claims, comprising:10 applying a predefined domain transformation to the first signal, prior todividing the first signal, so as to obtain a first spectrogram corresponding to the first signal, wherein dividing the first signal comprises dividing the first spectrogram to obtain the plurality of first patches; andapplying the predefined domain transformation to the second signal, prior to 15 dividing the second signal, so as to obtain a second spectrogram corresponding to the second signal, wherein dividing the second signal comprises dividing the second spectrogram to obtain the plurality of second patches.
21. The method of claim 20, wherein the predefined domain transformation is a20 time-to-frequency domain transformation.
22. The method of claim 21, wherein the first spectrogram and the second spectrogram are mel-spectrograms comprising a plurality of frequency bins associated with each one of a plurality of frames, each frame corresponding to a different time-25 domain portion of the respective first or second signal.
23. The method of claim 22, wherein each of the first and second patchescorresponds to at least one frequency bin and at least one frame.30 24. A method for automatic audio and / or speech recognition comprising:performing automatic audio and / or speech recognition using a model trained on a dataset comprising a plurality of patched signals obtained using the method according to any one of the preceding claims.25- The method of claim 24, wherein the model is an automatic speech recognition (ASR) model and performing automatic audio and / or speech recognition comprises performing ASR, the method comprising:determining one or more features from input data,5 wherein performing ASR comprises using the ASR model to map thedetermined one or more features onto a sequence of most likely letters, and concatenating the sequence of most likely letters determined by the ASR model to obtain a most likely sequence of words.10 26. The method of claim 25, wherein concatenating the sequence of most likelyletters determined by the ASR model to obtain the most likely sequence of words comprises using language probability to determine each of the plurality of words in dependence on one or more previously decoded words.15 27. A non-transitory computer-readable storage medium adapted to store computerprogram instructions which, when executed, cause performance of a method according to any one of the preceding claims.
28. Apparatus for obtaining a patched signal for training a model for use in speech20 and / or audio recognition, the apparatus comprising: one or more processors; andmemory adapted to store computer program instructions which, when executed by the one or more processors, cause the apparatus to:obtain a first signal, wherein the first signal is a speech and / or audio signal;25 modify the first signal to obtain at least one second signal;divide the first signal and the at least one second signal respectively into a plurality of first patches and a plurality of second patches, such that each one of the plurality of first patches comprises a respective part of the first signal and each one of the plurality of second patches comprises a respective part of the at least one second30 signal; andmix selected ones of the plurality of first patches and the plurality of second patches to obtain a patched signal.
29. Apparatus for automatic audio and / or speech recognition, the apparatus35 comprising:a model for automatic audio and / or speech recognition, the model having been trained on a dataset comprising a plurality of patched signals obtained using the method according to any one of the preceding claims.5 30. The apparatus of claim 29, wherein the model is an automatic speechrecognition (ASR) model, the apparatus comprising:a feature extraction module configured to receive input data and determine one or more features from the received input data, wherein the ASR model is configured to map the determined one or more features onto a sequence of most likely letters; and10 a decoder configured to concatenate the sequence of most likely lettersdetermined by the ASR model to obtain a most likely sequence of words.
31. The apparatus of claim 30, wherein the decoder is configured to use language probability to determine each of the plurality of words in dependence on one or more 15 previously decoded words.
Citation Information
Patent Citations
Neural network training apparatus and method, and speech recognition apparatus and method
EP3166105A1
Acoustic Model Adaptation Using Splines
US20110238416A1
Techniques for updating an automatic speech recognition system using finite-state transducers
US20170125012A1
