<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mayank Kumar Singh on Medium]]></title>
        <description><![CDATA[Stories by Mayank Kumar Singh on Medium]]></description>
        <link>https://medium.com/@mayank2220singh?source=rss-6fd350fc9cc2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*mtHLuNw-U1I9PLocCZh0wA.jpeg</url>
            <title>Stories by Mayank Kumar Singh on Medium</title>
            <link>https://medium.com/@mayank2220singh?source=rss-6fd350fc9cc2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 11:27:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mayank2220singh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Iteratively Improving Speech Recognition and Voice Conversion]]></title>
            <link>https://medium.com/@mayank2220singh/iteratively-improving-speech-recognition-and-voice-conversion-caf4b1ff2135?source=rss-6fd350fc9cc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/caf4b1ff2135</guid>
            <category><![CDATA[voice-conversion]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[audio]]></category>
            <dc:creator><![CDATA[Mayank Kumar Singh]]></dc:creator>
            <pubDate>Thu, 25 May 2023 07:53:53 GMT</pubDate>
            <atom:updated>2023-05-25T07:53:53.449Z</atom:updated>
            <content:encoded><![CDATA[<p>This is an article explaining the paper <a href="https://arxiv.org/pdf/2305.15055.pdf">Iteratively Improving Speech Recognition and Voice Conversion</a>.</p><p>For demo samples, please refer to the website: <a href="https://demosamplesites.github.io/IterativeASR/_VC/">https://demosamplesites.github.io/IterativeASR_VC/</a></p><p>Authors — Mayank Kumar Singh, Naoya Takahashi, Onoe Naoyuki</p><h3><strong>Introduction</strong></h3><p>Speech processing technologies such as voice conversion (VC) and automatic speech recognition (ASR) have dramatically improved in the past decade owing to the advancements in deep learning technologies. However, the task of training these models remains challenging on <strong>low resource domains</strong> as they suffer from over-fitting and do not generalize well for practical applications.</p><p>In this paper, we propose to iteratively improve a voice conversion model along with an automatic speech recognition model.</p><p>As VC models often rely on ASR model for extracting content features or imposing content consistency loss, degradation of ASR directly affects the quality of VC models. On the other hand, to improve the generalization capability of ASR model, a variety of data augmentation techniques have been proposed with voice conversion being one of them.</p><p>This creates a causality dilemma, wherein poor quality of ASR model affects VC model training which in turn leads to low quality data augmentation for training ASR models. Conversely, improving the ASR model should lead to better VC models, which should produce better data augmentation samples for improving the ASR models. Motivated from this, in this work we propose to iteratively improve the ASR model by using the VC model as a data augmentation method for training the ASR and simultaneously improve the VC model by using the ASR model for linguistic content preservation.</p><h3><strong>Proposed Method</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*MlpljCHgaK4TOu9WNRmpPA.png" /><figcaption>Figure 1: Overview of our proposed method. We first train an ASR model and a VC model with a default training regime. Then using the trained VC model as data augmentation for the ASR model, we further improve the ASR model. The updated ASR model is further used in the training of an improved VC model. This step is repeated until convergence of both the ASR and VC models.</figcaption></figure><p>The proposed iterative training framework is illustrated in Figure 1 and its pseudo code is shown in Algorithm 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*0yG280P3FCr6TlsHchdnmg.png" /><figcaption>Algorithm 1: Iterative training of ASR and VC models</figcaption></figure><h3><strong>Results and Experiments</strong></h3><p>For the results and experiments, we refer the reader to our paper which contains the detailed experimental details along with the insights that we drew from the experiments. <a href="https://arxiv.org/pdf/2305.15055.pdf">https://arxiv.org/pdf/2305.15055.pdf</a></p><h3><strong>Conclusions</strong></h3><p>We present a novel iterative framework for improving voice conversion models and automatic speech recognition models on low resource domains and verify its applications on the Hindi speech domain and English singing domain. We show improved speech preservation and MOS quality of the converted samples on voice conversion tasks as well as improved the word error rate on ASR tasks using this framework. <br>Future work includes further improving the content preservation of the one-shot VC models so as to bring WER of the VC converted samples closer to the WER on the ground truth samples which would also lead to better MOS quality. We would also like to investigate combining the ASR and VC training in an end-to-end system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caf4b1ff2135" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HIERARCHICAL DIFFUSION MODELS FOR SINGING VOICE NEURAL VOCODER]]></title>
            <link>https://medium.com/@mayank2220singh/hierarchical-diffusion-models-for-singing-voice-neural-vocoder-7323525d3e9a?source=rss-6fd350fc9cc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/7323525d3e9a</guid>
            <category><![CDATA[vocoder]]></category>
            <category><![CDATA[singing]]></category>
            <category><![CDATA[voice-conversion]]></category>
            <dc:creator><![CDATA[Mayank Kumar Singh]]></dc:creator>
            <pubDate>Tue, 11 Apr 2023 10:43:43 GMT</pubDate>
            <atom:updated>2023-04-11T10:43:43.221Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>This blog is based on the paper at <a href="https://arxiv.org/pdf/2210.07508.pdf">2210.07508.pdf (arxiv.org)</a> and has been accepted as a conference paper in ICASSP 2023. In this paper we propose a hierarchical diffusion model-based vocoder which improves upon the existing vocoders on singing voice domain. We will first cover what are neural vocoders and their applications and then move onto diffusion models and their limitations on the singing voice domain as vocoders. We will then give an overview of the proposed algorithm along with the results and the conclusion. For more details about our proposed method, please have a look at our paper on <a href="https://arxiv.org/pdf/2210.07508.pdf">2210.07508.pdf (arxiv.org)</a>.</p><h4><strong>What are neural vocoders and their applications?</strong></h4><p>Neural vocoders generate a waveform from acoustic features using neural networks and have become essential components for many speech processing tasks such as text-to-speech, voice conversion, and speech enhancement, as they often operate in acoustic feature domains for the efficient modeling of speech signals.</p><p>For example, in the paper “Robust One-shot Singing Voice Conversion” and “Nonparallel Emotional Voice Conversion for unseen speaker-emotion pairs using dual domain adversarial network &amp; Virtual Domain Pairing”, voice conversion is applied in the Mel-spectrogram domain and a neural vocoder finally converts the spectrogram to the waveform domain as illustrated in Figure 1.</p><figure><img alt="Use of Neural Vocoders in voice conversion algorithms" src="https://cdn-images-1.medium.com/max/1024/1*mfaROmuVjyvWxNHPHI2fOg.jpeg" /><figcaption>Figure 1: Use of Neural Vocoders in voice conversion algorithms</figcaption></figure><h4>What are diffusion models and their current limitations?</h4><p>Recently, diffusion models have become very popular and there is an excellent demonstration of how diffusion models work at [<a href="https://medium.com/@monadsblog/diffusion-models-4dbe58489a2f">Diffusion models. Diffusion probabilistic models are… | by m0nads | Medium</a>]. Diffusion models have been adopted to neural vocoders. Although they are shown to produce high-quality speech data, the inference speed is relatively slow compared with other non-autoregressive model-based vocoders as they require many iterations to generate the data. PriorGrad addresses this problem by introducing a data dependent prior, specifically, Gaussian distribution with a diagonal covariance matrix whose entries are frame-wise energies of the Mel-spectrogram. As the noise drawn from the data dependent prior is closer to the target waveform than the noise from standard Gaussian, PriorGrad achieves faster convergence and inference with superior performance. Koiszumi et al. SpecGrad further improve the prior by incorporating the spectral envelope of the Mel-spectrogram to introduce the noise that is more similar to the target signal.</p><p>However, many existing neural vocoders focus on speech signals. We found that state-of-the-art neural vocoders provide insufficient quality when they are applied to a singing voice, possibly due to the scarcity of large-scale clean singing voice datasets and the wider variety in pitch, loudness, and pronunciations owing to musical expressions, which is more challenging to model.</p><p>To overcome this problem, we propose a hierarchical diffusion model that learns multiple diffusion models at different sampling rates, as illustrated in Figure 2.</p><figure><img alt="Hierarchical Prior Grad Proposed Method Overview" src="https://cdn-images-1.medium.com/max/1024/1*RtAt4iY4_4CsLcrRJRwrwg.png" /><figcaption>Figure 2: Hierarchical Prior Grad Proposed Method Overview</figcaption></figure><h3>Proposed Method</h3><p>The diffusion models are conditioned on acoustic features and the data at the lower sampling rate and can be trained in parallel. During the inference, the models progressively generate the data from the low to high sampling rate. The diffusion model at the lowest sampling rate focuses on generating low frequency components, which enables accurate pitch recovery, while those at higher sampling rates focus more on high frequency details (Refer to Figure 3). This enables powerful modeling capability of a singing voice. In our experiment, we apply the proposed method to PriorGrad and show that the proposed model generates high-quality singing voices for multiple singers, outperforming the state-of-the-art PriorGrad and Parallel WaveGAN vocoders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0-VMoD1eZp22GNnx58c8sA.png" /></figure><h4>Proposed Method (Training Details)</h4><p>We use PriorGrad as a baseline model for our proposed method. Although PriorGrad shows promising results on speech data, we found that the quality is unsatisfactory when it is applied to a singing voice, possibly due to the wider variety in pitch, loudness, and musical expressions such as vibrato and falsetto. To tackle this problem, we propose to improve the diffusion model-based neural vocoders by modeling the singing voice in multiple resolutions. An overview is illustrated in Figure 2. Given multiple sampling rates f¹ₛ &gt; f²ₛ &gt; · · · &gt; fⁿₛ, the proposed method learns diffusion models at each sampling rate independently. The reverse processes at each sampling rate fᶦₛ are conditioned on common acoustic features c and the data at the lower sampling rate, except for the model at the lowest sampling rate, which is conditioned only on c. During the training, we use the ground truth data to condition the noise estimation models. Since the noise is linearly added to the original data and the model has direct access to the ground truth lower-sampling rate data, the model can more simply predict the noise for low-frequency components. This enables the model to focus more on the transformation of high-frequency components. At the lowest sampling rate (we use 6 kHz in our experiments), the data become much simpler than that at the original sampling rate, and the model can focus on generating low-frequency components, which is important for accurate pitch recovery of a singing voice. The training algorithm is illustrated in Figure 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*pDW7uQHPPROgUo7hKT8MJg.png" /><figcaption>Figure 4: Training algorithm</figcaption></figure><h4>Proposed Method (Inference Details)</h4><p>During inference, we start by generating the data at the lowest sampling rate and progressively generate the data at the higher sampling rate by using the generated sample at lower sampling rate as the condition. The inference algorithm is illustrated in Figure 5. In practice, we found that directly using the lower sampling rate prediction as the condition often produces noise around the Nyquist frequencies of each sampling rate, as shown in Figure 6(a). This is due to the gap between the training and inference mode; the ground truth data used for training the lower sampling rate model do not contain a signal around the Nyquist frequency owing to the anti-aliasing filter and the model can learn to directly use the signal upto the Nyquist frequency, while the generated sample used for inference may contain some signal around there due to the imperfect predictions and contaminate the prediction at a higher sampling rate. To address this problem, we propose to apply the anti-aliasing filter to the generated lower sampling-rate signal to condition the noise prediction model, as shown in Figure 6(b).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*IjA4a-6jXUzjN9OFMNSQhQ.png" /><figcaption>Figure 5: Inference algorithm</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*WgcLj2Of9Ww4Q28Z_LvMxA.png" /></figure><h3>Results</h3><p>We conducted objective as well as subjective evaluation to evaluate our model against the baseline Parallel WaveGAN and PriorGrad models. For the objective test, we calculate the voice/un-voice detection error (VDE), Multi-Resolution Shot Time Fourier Transform loss (MR-STFT), Mean Cepstral Distortion (MCD), Real-Time Factor (RTF) and Pitch Mean Absolute Error (PMAE). For the subjective test, we asked 20 human evaluators to rate the generated samples using a five-point scale (Mean Opinion Score: MOS). The results are shown in Table 1 and Table 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*ZAfhhvjci-EIL1fuHGL9xQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*vKgvYsC0b3WuZ7ILu5OyUA.png" /></figure><p>Audio Samples are demonstrated at a website at <a href="https://t-naoya.github.io/hdm/">https://t-naoya.github.io/hdm/</a></p><h3>Conclusion</h3><p>We proposed a hierarchical diffusion model for singing voice neural vocoders. The proposed method learns diffusion models in different sampling rates independently while conditioning the model with data at the lower sampling rate. During the inference, the model progressively generates a signal while taking care of the anti-aliasing filter. Our experimental results show that the proposed method applied to PriorGrad outperforms PriorGrad and Parallel WaveGAN at similar computational costs. Although we focus on singing voices in this work, the proposed method is applicable to any type of audio. Evaluating the proposed method on different types of audio such as speech, music, and environmental sounds will be our future work.</p><p>To access the paper visit <a href="https://arxiv.org/pdf/2210.07508.pdf">2210.07508.pdf (arxiv.org)</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7323525d3e9a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improving Voice Separation By Incorporating End-To-End Speech Recognition]]></title>
            <link>https://medium.com/analytics-vidhya/improving-voice-separation-by-incorporating-end-to-end-speech-recognition-c3dd57d80206?source=rss-6fd350fc9cc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3dd57d80206</guid>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[transfer-learning]]></category>
            <category><![CDATA[speech-separation]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Mayank Kumar Singh]]></dc:creator>
            <pubDate>Sat, 25 Apr 2020 12:12:51 GMT</pubDate>
            <atom:updated>2020-04-27T16:18:00.360Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j3CD2gR4uIGVjzX4H6rwgQ.png" /><figcaption>Separating monaural audio of 2 speaker case</figcaption></figure><p>This is an article explaining the paper <a href="https://ieeexplore.ieee.org/document/9053845">Improving Voice Separation By Incorporating End-To-End Speech Recognition</a>.</p><p>Authors — Naoya Takahashi, Mayank Kumar Singh, Sakya Basak, Parthasaarathy Sudarsanam, Sriram Ganapathy, Yuki Mitsufuji</p><h3>Understanding Voice Separation</h3><p>The problem of separating a voice from other sources, such as speech separation (separating multiple overlapping speech signals) and singing voice separation (separating vocals from other instrumental sounds) has been actively investigated for decades.</p><p>Let me give you a brief background of what we are trying to achieve in voice/music separation.</p><p>Voice/music can be represented as a time series of pressure values. They have wave properties and when two overlapping voices are generated, the wave values get added. The task of voice separation is to separate this single time series into two or more time series data having individual voice sources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pizApzfZqcIbzeQbZjBFnw.png" /><figcaption>Representation of monaural(Single Channel) audio, Pressure vs Time</figcaption></figure><p>Looking at a specific index of the time series data, the problem is very similar to finding <em>a</em> and <em>b</em> given <em>a + b</em> for a two speaker case. This has infinite solutions and hence at first glance looks impossible to solve. But this problem becomes solvable if we consider the entire time series and take into consideration that human voice or music is constrained to a low dimension space.</p><h3>Introduction</h3><p>In the literature, it has been a common practice to pre-process the audio samples by taking STFT(Short Time Fourier Transform) and then applying voice separation techniques. Recently <a href="https://arxiv.org/abs/1809.07454v3">Conv-TasNet: Surpassing Ideal Time-Frequency Magnitude Masking for Speech Separation</a> removed this pre-processing step, claiming learned basis representation to be better than STFT and achieved state-of-the-art results on voice separation on the WSJ data set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dIwV_1vfh4F6fKfsfeFaMQ.png" /><figcaption>Basic working of ConvTasNet. The Encoder is a 1-D Convolution Filter, the Separator is a stack of Temporal Convolutions and the decoder is 1-D Transpose Convolution Filter.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P82YT9cIkRIf-zVNt8pDWA.png" /><figcaption>Detailed architecture of the ConvTasNet model</figcaption></figure><p>End-to-end automatic speech recognition (E2EASR) systems aim to combine all sub modules in an ASR system such as acoustic models, pronunciation models and language models. Hence, they are designed to model longer dependencies, and hence E2EASR features are expected to contain longer linguistic information than conventional acoustic models which typically accept a few frames as input. The <a href="https://ieeexplore.ieee.org/document/8068205">Hybrid CTC/Attention Architecture for End-to-End Speech Recognition,</a> is an E2EASR model which leverages the CTC(Connectionist Temporal Classification) as well as the Attention mechanism to improve speech recognition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*fx-gTMcUBbT6XMFi2X1jiQ.png" /><figcaption>Architecture of the Hybrid CTC/Attention Architecture for End-to-End Speech Reconigition</figcaption></figure><p>The <strong>contributions of the paper of interest</strong> (Improving Voice Separation by Incorporating End-To-End Speech Recognition) are summarized as follows:</p><ul><li>They propose a transfer learning based approach to incorporate phonetic and linguistic nature of speech for voice separation. To this end, they propose the E2EASR features.</li><li>They evaluated the proposed method on a simultaneous speech separation and enhancement task using AVSpeech and Audio-Set datasets, whose audio is recorded in non-controlled environments, and show that<br>the proposed method significantly improves the separation accuracy over a model trained without E2EASR features and a model trained with visual features.</li><li>They further show that even though E2EASR is trained on standard speech, it transferred robustly for a singing voice separation task with limited amount of data.</li></ul><h3>Proposed Method</h3><p>The paper proposes to incorporate E2EASR features/Visual Features into the ConvTasNet network to further improve the separation Si-SNR(Scale invariant — Signal to Noise Ratio). The voice separation model is trained and evaluated on the <a href="https://arxiv.org/abs/1804.03619">AVSpeech</a> data set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KISOBo-P5-N2ee-5NfKU9A.png" /><figcaption>Oracle system: Incorporating E2EASR Features in the ConvTasNet framework. The Features are extracted from the Encoder output of the E2EASR model and concatenated before the separator model</figcaption></figure><p>For both the approaches, E2EASR features and Visual Features, a transfer learning approach is taken, and features are extracted from a pre-trained feature extractor model. The Visual Feature extractor model is basically an AutoEncoder with its decoder part removed. The E2EASR feature extractor model was trained on a different data set (LibriSpeech). The extracted features for each speaker are concatenated in the separator and the ConvTasNet model is trained while freezing the feature extractor model parameters. The model using E2EASR features is called the oracle model.</p><p>The visual feature extractor model is trained like an autoencoder on individual lip crops per frame of video available of the AVSpeech dataset. Adding visual features gives improvement of 1.2dB SI-SNR over audio only model.</p><h3>Limitations of the Oracle Model</h3><p>Though giving great improvements on the separation Si-SNR value(See the results table), the model incorporating E2EASR features does not have practical applications as it assumes that the separated voices are available beforehand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BNUpebHd06yNclD1cIAOGg.png" /><figcaption>For Calculating E2EASR features, separated voice is required before hand.</figcaption></figure><h3>Overcoming the limitations of the Oracle Model</h3><p>Instead of using the target separated voices as the input to the E2EASR model, the paper proposes to use a 2-Stage network, by using a basic ConvTasNet model to get intermediate separated voices, and using these to extract features which further enhance the separation Si-SNR.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-ZbMyCbZdB493kc3cw_XxA.png" /><figcaption>Estimated E2EASR features system: Using a basic ConvTasNet model, intermediate separated voices are calculated. These are fed to the E2EASR model to extract deep features which are fed to the oracle model.</figcaption></figure><p>Some key points to be noted are</p><ul><li>The 1st stage (basic ConvTasNet model) is pre-trained on AVSpeech data set and its weights are kept fixed.</li><li>The E2EASR model is pre-trained on LibriSpeech data set and its weights are kept fixed.</li><li>The 2nd stage model is pre-trained assuming oracle intermediate voice separation. Its weights are kept fixed in the estimated E2EASR features system.</li></ul><h3>Results</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*wrk5yyXF9Fl6AZUd8WI6jw.png" /></figure><h3>Conclusion</h3><p>They proposed a transfer learning approach to leverage the E2EASR model for voice separation. Experimental results on the simultaneous speech separation and enhancement task shows that the proposed E2EASR features provide a significant improvement over baselines including a model using visual cues. They further show that the E2EASR features improve the performance of Singing Voice Separation, demonstrating its robustness against limited data availability and domain mismatch.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3dd57d80206" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/improving-voice-separation-by-incorporating-end-to-end-speech-recognition-c3dd57d80206">Improving Voice Separation By Incorporating End-To-End Speech Recognition</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>