<?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 Michael Lomnitz on Medium]]></title>
        <description><![CDATA[Stories by Michael Lomnitz on Medium]]></description>
        <link>https://medium.com/@mllomnitz?source=rss-c0296194d4cb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pvM409d1rfV5dQzr</url>
            <title>Stories by Michael Lomnitz on Medium</title>
            <link>https://medium.com/@mllomnitz?source=rss-c0296194d4cb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 04:00:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mllomnitz/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[VOiCES at Speech Odyssey 2020 — part II: Advances in Speaker Verification]]></title>
            <link>https://medium.com/@mllomnitz/voices-at-speech-odyssey-2020-part-ii-advances-in-speaker-verification-eba8eacd7743?source=rss-c0296194d4cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/eba8eacd7743</guid>
            <dc:creator><![CDATA[Michael Lomnitz]]></dc:creator>
            <pubDate>Thu, 27 Aug 2020 17:41:24 GMT</pubDate>
            <atom:updated>2020-08-27T17:41:24.066Z</atom:updated>
            <content:encoded><![CDATA[<h3>VOiCES at Speech Odyssey 2020 — part II: Advances in Speaker Verification</h3><p>In collaboration with Jack Berkowitz</p><p>In our previous post on the VOiCES workshop at Speech Odyssey we covered some of the basics of speaker verification (SV) systems and focused on three accepted papers that studied different approaches to improve the front-end models used to extract deep speaker embeddings.</p><p>The second set of papers accepted to the <a href="http://www.odyssey2020.org/voices2020.html">VOiCES workshop</a> at Speaker <a href="http://www.odyssey2020.org/">Odyssey 2020</a> studied a variety of problems in far field SV: disentangling speaker embeddings, learnt scoring for improved back-ends and trainable beamforming for multi-channel SV systems.</p><h3>Empirical analysis of speaker embeddings</h3><p>Constructing an effective SV system hinges on capturing features that are relevant to distinguishing a specific speaker while being robust to other sources of variability that are unrelated to the speaker’s identity, for instance the acoustic environment, microphone characteristics, and even the lexical content of the speech.</p><p>In the paper “<a href="https://www.isca-speech.org/archive/Odyssey_2020/pdfs/82.pdf">An empirical analysis of information encoded in disentangled neural speaker representations</a>” Peri et al. discuss an extension of their previous work where they proposed an approach to induce such robustness by disentangling speaker-related factors from other factors. In this submission they focus on an in-depth analysis of the effect of utilizing such an approach on the VOiCES dataset as well as the extent at which these different factors are entangled in speaker embeddings.</p><p>The authors draw a distinction between three classes of sources that ultimately contribute when building a deep representation of human speech:</p><ul><li><em>Channel factors</em>: This category includes sources of variability coming from acoustic conditions, microphone characteristics, background noise, etc., and it has been extensively studied in literature related to SV in the context of building systems that are robust to this sort of variability.</li><li><em>Content factors</em>: These factors encode information about the spoken content itself, such as prosodic variations in speech, lexical content and sentiment. Previous work has shown, unsurprisingly, that these factors can be deeply entangled with speaker-specific factors.</li><li><em>Speaker factors</em>: These factors are, ideally, those that capture the identity of a specific person and are enough to fully distinguish one speaker from another.</li></ul><p>The authors analyzed the effect of entangled representations by comparing embeddings from a series of different approaches. As a baseline they used x-vectors from the publicly available <a href="https://kaldi-asr.org/">Kaldi</a> software package trained without any explicit disentangling of factors, and compared to models based on their previous work <a href="https://arxiv.org/abs/1911.00940">UAI</a> (illustrated in the Figure 1) trained to isolate speaker-specific characteristics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/0*nQbbJOwL3ktz_ead.png" /><figcaption>Fig. 1: Unsupervised adversarial invariance (UAI) applied for speaker recognition</figcaption></figure><p>The authors used these frameworks to study the amount of speaker, channel and content information in each of the embeddings. They trained a set of simple feed-forward networks to ingest these embeddings and predict different factors such as room, microphone, emotion, speaker, etc. The authors leveraged a series of datasets (<a href="https://voices18.github.io/">VOiCES</a>, <a href="https://sail.usc.edu/iemocap/">IEMOCAP</a>, <a href="https://www.ml.cmu.edu/research/dap-papers/S18/dap-liang-paul-pu.pdf">MOSEI</a>, <a href="https://www.crim.ca/perso/patrick.kenny/kong_interspeech_2015.pdf">RedDots</a> &amp; <a href="https://commonvoice.mozilla.org/en">Mozilla</a>) to study a total of nine factors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QxxvVSlmRjtxFnmv.png" /><figcaption>Table 1: Accuracy (%) of speaker embeddings to classify different factors. Robust speaker embeddings are expected to perform poorly.</figcaption></figure><p>Table 1 shows a breakdown of the model accuracy on predicting a given factor as well as the dataset used for the studies. Ideally, embeddings that have fully isolated the speaker-specific attributes from other factors should perform well in predicting speaker factors (gender and speaker) while doing a poor job on the task of classifying channel and content factors. The results from Peri et al. show precisely that, their disentangled UAI model embeddings have the lowest performance against all channel and content factors with a relatively small drop in accuracy on the prediction of speaker factors. These disentangled representations can provide more robust speaker embeddings, more interpretable predictions and potentially reduce model sizes by encoding only the necessary information.</p><h3>Learning to score in speaker verification systems</h3><p>As we discussed in the previous post, the current state-of-the-art approaches to SV consist of employing a neural network (NN)to extract speaker embeddings together with a back-end generative model tasked with determining whether or not a specific audio sample matches a target track.</p><p>For instance, in a common pipeline X-vectors (embeddings) are extracted from a test audio sample and then pre-processed using a variety of transformations (such as linear discriminant analysis, unit-length normalization, within-class normalization, etc.). The transformed embedding vectors are then modeled to determine whether they match an enrolled speaker. A common approach to score such similarity between a pair of enrollment and test embeddings is to model them using probabilistic linear discriminant analysis (<a href="https://www.crim.ca/perso/patrick.kenny/kenny_Odyssey2010.pdf">PLDA</a>)and compute the log likelihood ratio between them.</p><p>In “<a href="https://www.isca-speech.org/archive/Odyssey_2020/pdfs/39.pdf">NPLDA: A Deep Neural PLDA Model for Speaker Verification</a>” Ramoji et al. discuss a novel approach to replace the PLDA back-end with a NN that jointly performs pre-processing and scoring trained using a SV cost, dubbed neural PLDA (NPLDA).</p><p>To train their neural backend, the authors used the publicly available <a href="http://www.robots.ox.ac.uk/~vgg/data/voxceleb/">VoxCeleb</a>(1&amp;2) datasets which consist of speech extracted from celebrity interviews available on YouTube. X-vectors were extracted by training a time delay neural network (<a href="https://pdfs.semanticscholar.org/dae7/c5e90bbe1538192d85282757068fef79fafa.pdf?_ga=2.171223072.1486652463.1597268974-1696249618.1597268974">TDNN</a>) to discriminate among the nearly 7000 speakers in the corpus. Once trained, 512 dimensional embeddings were extracted from the second to last layer and used to determine whether a target and enrollment sample matched.</p><p>In the proposed pairwise discriminative network (Figure 2) the authors replace the pre-processing steps from a traditional LDA with an affine transformation layer, unit length normalization with a non-linear activation function and PLDA centering and diagonalization as a second affine transformation. The final, pair-wise scoring is implemented as a quadratic layer, and the whole pre-processing + scoring backend in NLPDA is learned using backpropagation. The authors experimented with two different cost functions:</p><ul><li>Binary Cross Entropy (BCE) is used as a baseline due to its simplicity to implement and differentiable nature. However, this loss alone is prone to overfit in such tasks.</li><li>To improve on the results from using BCE, the authors propose a differentiable approximation to the <a href="http://lands.let.ru.nl/literature/leeuwen.2007.12.pdf">normalized detection cost</a> (DCF) dubbed soft detection cost. Using the soft detection cost allows to weigh the cost of both miss and false alarms in training the back end and reduce overfitting.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*g5rAhUCFawPFoEFr.png" /><figcaption>Figure 2: Neural PLDA Net Architecture: The two inputs xe and xt are the enrollment and test x-vectors respectively.</figcaption></figure><p>The NLPDA backend was compared to a series of previously used back-ends: Generative Gaussian PLDA (<a href="https://www.researchgate.net/publication/287681074_Gaussian_PLDA_for_speaker_verification_and_joint_estimation">GLPDA</a>), Discriminative PLDA (<a href="https://www.researchgate.net/publication/220733103_Discriminatively_trained_Probabilistic_Linear_Discriminant_Analysis_for_speaker_verification">DLPDA</a>) and a Pairwise Gaussian Backend (<a href="http://cs.uef.fi/odyssey2014/program/pdfs/8.pdf">GB</a>). The systems were trained using randomly selected (gender matched) pairs from the VoxCeleb corpus with and without data augmentation, and the performance was tested on the <a href="http://www.speech.sri.com/projects/sitw/">Speakers in the Wild</a> eval set as well as the VOiCES dev and eval sets provided as part of the Interpseech 2019 <a href="https://voices18.github.io/Interspeech2019_SpecialSession/">VOiCES at a Distance Challenge</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rmeLl16ZBlbPEmBi.png" /><figcaption>Table 2: Performance of systems on SITW Eval Core-Core, VOiCES Dev and VOiCES Eval using the GPLDA baseline model, Gaussian backend, Discriminative PLDA (DPLDA) and the proposed NPLDA model. The best scores are highlighted.</figcaption></figure><p>Table 2 shows the performance of the different systems on the datasets mentioned. The results show that, across the board, the learnt NPLDA approach (with soft detection cost) outperforms all other SV backends. These results illustrate the advantages of using a single, trained back-end to simplify both pre-processing and classification in SV systems, and sets the stage for future research into incorporating the front and back-end into a single, end-to-end SV system.</p><h3>Beamforming techniques and the VOiCES challenge</h3><p>Most of the accepted papers for the VOiCES workshop focused on single source audio for SV. However, even state-of-the-art approaches encounter difficulties when it comes to far-field audio, in particular in noisy and reverberant environments. Solving this problem by employing multichannel (microphone) approaches has received a great deal of attention, both within industry and academic research. One such approach focuses on using a beamforming front-end to de-noise and de-reverb the original multi-channel audio to produce a sanitized, single channel input prior to extracting speaker embeddings. In “<a href="https://www.isca-speech.org/archive/Odyssey_2020/pdfs/80.pdf">Utilizing VOiCES dataset for multichannel speaker verification with beamforming</a>” Mošner et al. leveraged the VOiCES dataset to benchmark their own NN <a href="https://ieeexplore.ieee.org/document/4244540">generalized eigenvalue</a> (GEV) beamformer.</p><p>As a baseline the authors use a weighted delay-and-sum beamformer implemented in <a href="https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.474.9137&amp;rep=rep1&amp;type=pdf">BeamformIt</a> toolkit, a fixed beamformer that doesn’t require any training. This baseline was compared with an adaptive GEV which estimates the beamforming weights via the learnt estimation of the input data statistics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/0*-ywsFLoXtq63OhB0.png" /><figcaption>Figure 3: GEV beamformer with integrated neural network. Green block represent trainable parts, blue ones are fixed. Computation flow is illustrated for a single frquency bin. M stands for the number of channels. ΦNN and Φxx represent noise and speech power spectral density in matrices.</figcaption></figure><p>The full beamforming process is illustrated in Figure 3. NN’s are used to predict masks corresponding to the prevalence of noise or speech in the input audio. These predicted masks are then mean-pooled and applied to mask out noise or speech. The resulting matrices are fed to a generalized eigenvalue solver and the principal eigenvector is used as the beamforming weight vector. The authors studied two procedures to optimize the beamforming front end:</p><ul><li><em>BCE</em>: The original procedure trains the NN’s by directly minimizing the binary cross-entropy (BCE) between the predicted and ideal noise and speech masks. Since this problem requires knowledge of the ideal binary masks for both noise and speech, the VOiCES corpus could not be used for training. Instead, the authors leveraged simulated data that resembled the VOiCES data via room simulation and addition of positional sources of noise.</li><li><em>MSE</em>: Using <a href="https://ieeexplore.ieee.org/document/9003932">Cholesky decomposition</a> to solve the eigenvalue decomposition allows backpropagation through GEV solver so it can be an integral part of the optimization procedure. The system can then be directly trained on the output of the beamformer. Here the objective function is the mean squared error (MSE) between the beamformer output and the clean speech audio. This approach has the added benefit that it can be trained directly on the VOiCES data.</li></ul><p>In both of these approaches the NN-supported beamformer architecture is left unchanged and they vary only in the training procedure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*h6JOM3T4GkIagwlm.png" /><figcaption>Table 3: SV results of a single-channel system, and multichannel systems on the VOiCES trial set. Performance is displayed in terms of equal error rate (EER) and minimum detection cost.</figcaption></figure><p>Table 3 summarizes the results of their experiments evaluated on the VOiCES data. Both of their models, BCE and MSE, outperform the single channel system as well as fixed beamformer baseline from BeamformIt. The results also indicate that the BCE model performs better than the MSE trained system, suggesting that the task of learning how to mask the noise from optimizing directly on the MSE of the outputs is more complex. Furthermore, the BCE model also seems to have generalized better, most likely due to the fact that the simulation procedure allows to train using a more varied set of conditions.</p><p>Finally, motivated by a desire to identify poorly performing microphones that can degrade the performance, the authors used a single channel x-vector extractor to do a per-mic study. They found a strong dependence on the distance between the microphones and the source, and identified two particularly poor channels: the worst (microphone 12) was placed on the wall and fully obstructed, and the second worst (microphone 6) is an omni-directional lavalier placed far from the source. In line with these studies, the authors removed these two channels from their evaluation and found a sizable improvement on the performance.</p><p>Speaker verification algorithms continue to improve due to advances in both the back and front-end of the system pipelines. In particular, the combination of traditional signal processing and modern deep learning techniques have proven extremely successful and delivered some of the more recent state-of-the-art implementations. It is exciting and rewarding to see in the papers we have discussed over these two blogposts, how the availability of a large corpus reflecting realistic acoustic environments can be leveraged to build robust systems that will perform accurately in extremely challenging conditions.</p><h4>Helpful links</h4><p>If you are interested in learning more about the VOiCES dataset, the Interspeech 2019 challenge or our upcoming VOiCES vol. 2 release we encourage you to either reach out, or follow any of the following helpful links:</p><ul><li>VOiCES: The final release: <a href="https://gab41.lab41.org/voices-the-final-release-f28d00a87395">https://gab41.lab41.org/voices-the-final-release-f28d00a87395</a></li><li>Interspeech 2019 VOiCES from a distance challenge: <a href="https://gab41.lab41.org/interspeech-2019-voices-from-a-distance-challenge-21ffd6ee5ef7">https://gab41.lab41.org/interspeech-2019-voices-from-a-distance-challenge-21ffd6ee5ef7</a></li><li>VOiCES: Closing one chapter and starting a second: <a href="https://gab41.lab41.org/voices-closing-one-chapter-and-starting-a-second-1c67d32ac888">https://gab41.lab41.org/voices-closing-one-chapter-and-starting-a-second-1c67d32ac888</a></li><li>VOiCES: SRI International and IQT Labs collaborate on advancing speech research for far-field application: <a href="https://medium.com/dish/voices-sri-international-and-iqt-labs-collaborate-on-advancing-speech-research-for-far-field-bbec59fccbe4">https://medium.com/dish/voices-sri-international-and-iqt-labs-collaborate-on-advancing-speech-research-for-far-field-bbec59fccbe4</a></li><li>VOiCES website: <a href="https://voices18.github.io/">https://voices18.github.io/</a></li><li>VOiCES took-kit repo: <a href="https://github.com/IQTLabs/VOiCES_Toolkit">https://github.com/IQTLabs/VOiCES_Toolkit</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eba8eacd7743" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interspeech 2019 VOiCES from a Distance Challenge]]></title>
            <link>https://medium.com/@mllomnitz/interspeech-2019-voices-from-a-distance-challenge-21ffd6ee5ef7?source=rss-c0296194d4cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/21ffd6ee5ef7</guid>
            <category><![CDATA[speech]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[audio]]></category>
            <dc:creator><![CDATA[Michael Lomnitz]]></dc:creator>
            <pubDate>Mon, 04 Nov 2019 18:22:38 GMT</pubDate>
            <atom:updated>2019-11-04T18:22:38.046Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*NW7Tt0sUdFfgXEHHcZ0e2Q.jpeg" /><figcaption>This photo by <a href="https://unsplash.com/@danieljschwarz">Daniel J. Schwarz</a> on <a href="https://unsplash.com/s/photos/graz-austria">Unsplash</a></figcaption></figure><p>Interspeech 2019, held in Graz Austria, saw experts from around the world gathering to discuss some of the most recent advances in technologies at the crossroads of speech and language. Sessions on automatic speech recognition (ASR), speaker identification (SID) and speech generation, among many others, were full of exciting updates.</p><p>At Lab41 we were excited to co-host, together with <a href="http://www.speech.sri.com/">SRI International</a>, one of 10 special sessions and challenges, the VOiCES from a distance challenge. The challenge focused on benchmarking and improving the state-of-the-art technologies in the area of speaker recognition and automatic speech recognition for far-field speech using Lab41’s own VOiCES dataset. The dataset includes speech recorded in highly reverberant environments, multiple microphones as well as additional noise such as babble, television or music.</p><p>First a quick intermission. If you would like to know more about the VOiCES dataset you can checkout our previous <a href="https://gab41.lab41.org/using-realistic-audio-data-in-machine-learning-49ef034b93a3">blogs</a>, watch a quick <a href="https://www.youtube.com/watch?v=R4rjYwQhzAE">explainer video</a> or visit the official <a href="https://voices18.github.io/">website</a>. If you are really excited, you can download it for free from AWS <a href="https://registry.opendata.aws/lab41-sri-voices/">Open Data Registry</a>. Now back to the show…</p><p>The challenge was also intended to study the performance of models in constrained settings where data was scarce, and as such we included two tracks:</p><ul><li>In the fixed system, training data was limited to certain existing datasets as well as a subset of VOiCES.</li><li>The open system removed these constraints and allowed participants to use any external dataset (private or public).</li></ul><p>All in all, 60 teams participated in the challenge, out of which 24 were ultimately evaluated on the two tasks. The resulting submissions had many elements in common, and in some cases insightful tricks and approaches that are worth noting. In this blog post we would like to point out some of the most useful insights we heard from our top two teams in each track.</p><h3>TL;DR</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JyPvybVeH9fZsSmsC7BbVQ.png" /><figcaption><a href="http://wiobyrne.com/tldr-e1364482885839/">This Photo</a> by Unknown Author is licensed under <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA</a></figcaption></figure><p>The rest of this post will go into depth on each of the submissions. Though I encourage you all read the rest of the post, I have decided to spare some of our readers time and anguish and put some of the most interesting/valuable insights from the competition up front.</p><ul><li>The winning teams included a mix of traditional signal processing as well as machine learning for acoustic and language modeling.</li><li>Every team used weight prediction error (WPE) de-reverberation in their systems. Some explored other alternatives, including neural network approaches, but found that WPE performed the best.</li><li>Kaldi, Kaldi, Kaldi… Our winners all used some element of Kaldi in at least one piece of their systems. The speaker embeddings (x-vectors) were particularly impactful for both the SID and ASR tasks.</li><li>Data augmentation was also particularly important, especially given the fact that the training data-set was limited in size.</li><li>Both teams observed that downsampling the MFFCs from 16 kHz to 8 kHz had a strong, negative impact on the performance on the SID task.</li><li>Although the teams did an impressive job given the conditions of the audio, the results are far from what the state-of-the-art can obtain on clean audio.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*cQ2ElQOGH1dkZy_53TKzOg.png" /></figure><p>We are also excited to announce that VOiCES will be hosting another special session in the upcoming <a href="http://www.odyssey2020.org/index.html">Speaker Odyssey 2020</a>. So keep following for more updates and novel research on far field audio.</p><h3>Speaker identification</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4GqIzkOXBTvBFTr5ugFudg.jpeg" /><figcaption><a href="https://www.pexels.com/photo/finger-print-on-enter-key-of-keyboard-163017/">This photo</a> by Pixabay on Pexels</figcaption></figure><p>The first challenge focused on testing the ability to identify a person’s voice from noisy audio. Audio from rooms #1 and #2 of the VOiCES dataset were used to enroll and verify the speakers during development. The submissions were then evaluated using samples from room #3 to enroll new speakers and room #4 for verification.</p><p>The results of the competition are shown in the next figure. The figure showing the actual detection cost function (actDCF) and minimum detection cost function (minDCT) for the different teams (lower is better). For more details on the evaluation and definitions for actDCF and minDCTF please read more in this <a href="https://www.isca-speech.org/archive/Interspeech_2019/pdfs/1837.pdf">paper</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*Al2z8gYr8xxN8PmAZUbSSw.png" /><figcaption>Actual and minimum DCF for the closed and open condition in SID challenge</figcaption></figure><h4>First place: STC-innovations</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*BPd2SQFaDFTZE4RWX5vX4g.png" /><figcaption><a href="https://speechpro.com/">STC Innovations</a></figcaption></figure><p>For their SID system, <a href="https://arxiv.org/abs/1904.06093">STC-innovations</a> combined a series of components:</p><ul><li><em>Front end:</em> The first step was to use the Weighted Prediction Error (WPE) method to for de-reverberation to improve the signal quality before extracting the Mel Frequency Cepstral Coefficients (MFFCs). The MFFCs were then post-processed using a local Cepstral Mean Normalization (CMN) as well as Cepstral Mean and Variance Normalization (CMVN) over the entire utterance. The post-processed features were then fed into a Speech Activity Detection (SAD) systems to select sections with speech.</li><li><em>Speaker embeddings:</em> STC explored use of two different deep neural network to generate embeddings for the individual speakers. They compared using x-vectors from the <a href="https://kaldi-asr.org/doc/index.html">Kaldi </a>system and c-vectors from a Speaker Residual Net.</li><li>Speakers were discriminated in this DNN-embeddings space using a <a href="https://www.researchgate.net/publication/220745463_Cosine_Similarity_Metric_Learning_for_Face_Verification">Cosine Similarity Metric Learning (CSML)approach</a>. This approach is based on learning a linear transformation on the speaker embeddings such that the cosine similarity between two samples from the same speaker is maximal.</li></ul><p>STC tested a series of different systems combining different combinations of MFFCs, normalization, speakers embeddings, etc. Some interesting insights form the results from their studies are:</p><ul><li>Downsampling the MFFCs from 16000 Hz to 8000 Hz has a substantial effect on the performance of the models, even when trained over larger datasets.</li><li>Systems based on deeper x-vector embeddings from Kaldi performed better than those using c-vectors from the SpeakerResNet.</li><li>Using ASR based speech detection also helped achieve the best results.</li></ul><h4>Second place: Brno University of Technology (BUT)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*IYRUD_9kyUVhTZ0frKh5dw.png" /><figcaption><a href="https://www.vutbr.cz/en/?aid_redir=1">Brno University of Technology</a></figcaption></figure><p>The submission from <a href="https://www.isca-speech.org/archive/Interspeech_2019/pdfs/2471.pdf">BUT</a> shared many features with the systems submitted by STC.</p><ul><li><em>Input features:</em> BUT experimented with a series of different input features such as 16 kHz MFCCs, filter banks and Perceptual linear predictive (PLP) analysis from both Kaldi and <a href="http://htk.eng.cam.ac.uk/docs/faq.shtml">HTK</a>. The features were pre-processed using short time mean normalization over 3 second windows. BUT also experimented with a neural net (NN) and an energy based SAD system to isolate sections with speech.</li><li><em>Speaker embeddings: </em>BUT compared using two sets of speaker embeddings. After applying WPE for de-reverberation they extracted gender independent identity vectors (<a href="https://www.researchgate.net/publication/224166071_Front-End_Factor_Analysis_for_Speaker_Verification">i-vectors</a>) as well as the x-vectors from Kaldi.</li><li><em>Back end:</em> The i-vectors were scored using a heavy-tailed probabilistic discriminant analysis (<a href="https://www.fit.vutbr.cz/research/groups/speech/publi/2011/matejka_icassp2011_4828.pdf">HT-PLDA</a>) while for the x-vectors they trained a Gaussian PLDA. Each system provided log-likelihood ratio scores that could be subjected to score normalization. These scores were first calibrated and then passed into the fusion. Calibration and fusion was trained on the labeled VOiCES development data.</li></ul><p>BUT participated in both Speakers in the Wild (<a href="http://www.speech.sri.com/projects/sitw/">SITW</a>) and VOiCES challenges and hence were able to compare how the state-of-the-art has evolved in the past 3 years.</p><ul><li>SITW equal error rate (EER) has improved from 5.85% with i-vectors to 1.65% with x-vectors. The new systems have a large improvement on VOiCES as well(12.65% versus 4.86%)</li><li>BUT also observed that switching from 8 kHz features to 16 kHz led to a dramatic improvement in the performance of their systems.</li><li>As well as the x-vectors, BUT identified another reason for their improvement: the availability of the <a href="http://www.robots.ox.ac.uk/~vgg/data/voxceleb/">VOXCELEB</a> dataset that is large both in terms of amount of speakers and audio.</li></ul><h3>Automatic Speech Recognition</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*7r1UR1ay83jG9R7j-2bH6w.png" /><figcaption><a href="https://www.flickr.com/photos/diongillard/497795204/">This Photo</a> by Unknown Author is licensed under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY</a></figcaption></figure><p>In the ASR task the goal is to convert an audio sample into a matching transcript, and the submissions were evaluated according to their word error rate (WER). This is a substantially harder task and, in the end, only 6 teams submitted to this challenge.</p><p>The WER for the teams that competed in this challenge are shown in the following bar plot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*sBcZqPcVR0gLxVjN0eHeeg.png" /><figcaption>WER for teams that participated in the ASR challenge.</figcaption></figure><h4>First place: STC-innovations</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*BPd2SQFaDFTZE4RWX5vX4g.png" /><figcaption><a href="https://speechpro.com/">STC Innovations</a></figcaption></figure><p>The submission from <a href="https://www.researchgate.net/publication/335829354_The_STC_ASR_System_for_the_VOiCES_from_a_Distance_Challenge_2019">STC</a> took first place in the ASR challenge as well. Their system built on the Kaldi system trained for LibriSpeech, shown in the following schematic diagram:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*X3hg1MX4uJKAYvlEK6XaUw.png" /><figcaption>Schematic diagram of the STC ASR system</figcaption></figure><ul><li><em>Data augmentation:</em> Data augmentation was used to increase the amount of training data as well as to reduce the mismatch between training and development sets. STC explored two types of data augmentation. Firstly, they simulated a series of Room Impulse Responses (RIR) in time and frequency domains. Along with the RIR simulations, the original data were modified by adding various noises from <a href="https://arxiv.org/abs/1510.08484">MUSAN</a>, <a href="https://www.researchgate.net/publication/221480453_The_AURORA_experimental_framework_for_the_performance_evaluations_of_speech_recognition_systems_under_noisy_condition">AURORA</a>, <a href="https://eprints.qut.edu.au/85240/">QUT-NOISE</a> and about 20 hours of television. The original data was augmented 24 times resulting in 1894 hours of audio, and at each augmentation step 10% of the utterances were randomly selected and left unchanged. Finally, they applied WPE de-reverberation on both the development and simulated datasets.</li><li><em>Acoustic modeling: </em>For the acoustic modeling the authors experiment with a series of different deep learning architectures, ultimately settling on a 7-layer Convolutional Neural Network (CNN) followed by a 9-layer Factorized Time Delay Neural Network (TDNN-F) for best performance. From previous experience, STC noted that using speaker adaptation is extremely useful for distant ASR. Hence, they applied modern x-vector speaker embeddings for the speaker adaptation on the WPE processed simulated data. To account for the room acoustics they build a RIR classifier and extracted 512 dimensional r-vectors. Combining speaker and room adaptation yielded another 3% improvement on their WER.</li><li><em>Language models:</em> The final step is to apply neural networks based language models (NLMM)to predict the text associated to the processed audio. STC’s top ranking submission included a combination of three state-of-the-art NNLMs: a <a href="https://arxiv.org/abs/1901.02860">Transformer-XL</a> trained on <a href="https://aaltodoc.aalto.fi/handle/123456789/11836">Morfessor</a> subwords, a Transformer-XL trained on <a href="https://arxiv.org/abs/1508.07909">BPE</a> subwords and Frequency Agnostic word Embedding (<a href="https://arxiv.org/abs/1809.06858">FRAGE</a>) trained on word level tokens. This ultimate system obtained a WER of 12.4% on the development set and 14.7% during evaluation.</li></ul><h4>Second place: I2R</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*sMMG2ONesMfRoJTdzvHu_Q.jpeg" /><figcaption><a href="https://www.a-star.edu.sg/i2r">Institute for Infocomm Research I2R</a></figcaption></figure><p>Our runner up in the ASR challenge was a submission form <a href="https://www.isca-speech.org/archive/Interspeech_2019/pdfs/2130.pdf">I2R</a></p><ul><li>I2R’s system used multi-style training and data augmentation to account for the differences between training and development data in acoustic modeling. They simulated reverberation in the training data as well as three different types of point source noise: foreground noise (free-sound subset from MUSAN), babble (<a href="http://www.lrec-conf.org/proceedings/lrec2012/pdf/698_Paper.pdf">TEDLIUM</a> corpus) and music (MUSAN). Data was also augmented by adjusting the speaking rates 0.9, 1.0 and 1.1. The ultimate training data-set was 27x larger in total.</li><li>Following a similar approach, I2R applied WPE de-reverberation as a front-end pre-processing step. and noted that the use of WPE for de-reverberation led to a reduction in the WER on a benchmark ASR system of 4.5% on average.</li><li>For a language model I2R used the Kaldi-RNNLM toolkit due to its fast runtime during both training and inference, as well as high flexibility to include additional features such as sub-words, which are particularly useful in sparse data situations. This language model was used to rescore the output of the ASR systems.</li><li>To improve their performance they built a series of ASR systems with a variety of architectures including explored included CNNs, LSTMs and TDNNs stacked in different configurations. The lattice produced by the ASR systems were combined (weighted by the systems relative performance) and decoded to produce the minimum WER. The ASR systems were trained using 40-dimensional MFCCs and 100-dimensional i-vectors. Overall, their ultimate WER was, on average, 27.04%</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LLqvTgNiC9JJbpUf--oxRw.jpeg" /><figcaption><a href="https://www.pexels.com/photo/letters-on-yellow-tiles-forming-the-end-text-1888004/">This photo</a> by Ann H on Pexels</figcaption></figure><h3>Lab41 is a Silicon Valley challenge lab where experts from the U.S. Intelligence Community (IC), academia, industry, and In-Q-Tel come together to gain a better understanding of how to work with — and ultimately use — big data.</h3><h3>Learn more at <a href="http://www.lab41.org/">lab41.org</a> and follow us on Twitter: <a href="https://twitter.com/_lab41">@_lab41</a></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21ffd6ee5ef7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Truth, Trust & Transparency in Synthetic Media]]></title>
            <link>https://medium.com/@mllomnitz/truth-trust-transparency-in-synthetic-media-a21ba7c8b24e?source=rss-c0296194d4cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a21ba7c8b24e</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[deepfakes]]></category>
            <category><![CDATA[responsibility]]></category>
            <dc:creator><![CDATA[Michael Lomnitz]]></dc:creator>
            <pubDate>Fri, 06 Sep 2019 17:49:00 GMT</pubDate>
            <atom:updated>2019-11-08T22:04:17.231Z</atom:updated>
            <content:encoded><![CDATA[<h4>In collaboration with <a href="https://gab41.lab41.org/@felipeamejia">Felipe Mejia</a> and <a href="https://medium.com/@vishal_s">Vishal Sandesara</a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*RRa6E0vUgklp9m8tS397UQ.png" /><figcaption>Photo by <a href="https://www.shutterstock.com/es/g/JoPanuwatD">Jo Panuwat D</a> on Shutterstock</figcaption></figure><p>Generative Adversarial Networks (GANs) have become increasingly popular in machine learning due to their ability to mimic any distribution of data. By pitting two neural networks against each other, they are able to learn ever more subtle differences between real and synthetic data, which in turn drives the generation of ever more life-like examples, otherwise known as deep fakes. This vast potential and success has been accompanied with a rise of synthetic media generation and their dissemination. At <a href="https://www.iqt.org/labs/">IQT Labs</a> we forecast this trend to continue such that synthetic media will play an ever increasing and significant role in our lives going forward. While many innovative companies and organizations have learned to leverage synthetic media generation capability in legitimate ways, there has also been an increase in manipulative and misleading synthetic media designed to be used for nefarious purposes. Synthetic media has been proven to be both incredibly powerful for the greater good, when used to recover voices or missing information, and dangerous when used to alter truth or spread misinformation. As a result, IQT Labs is concerned about this burgeoning capability yet finds good reasons for the technology to continue to be developed and leveraged in various legitimate settings.</p><p>Towards this end we believe that synthetic media technology is an important capability that warrants safe and responsible usage guidelines and standards, such that academia and industry are able to continue research and commercial development of this technology, while minimizing its potential for misuse.</p><p>We are proud to announce that <a href="https://www.lab41.org/">Lab41</a> (one of our IQT Labs) is a supporting member of the <a href="http://aithos.technology/">AITHOS Coalition</a>, a collection of organizations developing ethics in synthetic media. The purpose of our involvement is to create and contribute to a body of knowledge focused on socially responsible development and usage of synthetic media technology. AITHOS has authored a continually evolving <a href="http://aithos.technology/#guide">introductory guide</a> to help synthetic media companies think through some of the important questions that arise when considering technological development in this realm. We encourage that you take a look and <a href="http://aithos.technology/#join">get involved in the conversation</a>.</p><p>In addition, we have launched a series of projects within Lab41 dedicated to researching how best to preserve truth, trust, and transparency in connection with synthetic media generation, dissemination and use.</p><p><strong>Leveraging Synthetic Media</strong></p><p>Although synthetic media poses a huge problem in the hands of bad actors, it also has the potential to be beneficial to society. From helping people recover their voice, to allowing super-resolution when previously not possible, GANs and synthetic data can be used for numerous meaningful purposes. For example, synthetic media can even help overcome one of the most common pain-points in machine learning — amassing a large, good quality dataset to train machine learning models. Whether trying to get data on dangerous driving conditions to train autonomous vehicles, or data on diagnosing rare diseases, there are crucial cases where data is rare or dangerous to collect. Autonomous vehicle companies have already built their own AI simulation platforms, for example Google’s Waymo has Carcraft to simulate driving conditions in various localities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*Zx2wDa1QNOLHUVeMCEGkbg.png" /><figcaption><a href="https://www.scitecheuropa.eu/artificial-intelligence-detects-fake-reviews/89248/">Photo</a> by Unknown Author is licensed under <a href="https://creativecommons.org/licenses/by-nd/3.0/">CC BY-ND</a></figcaption></figure><p>We are also interested in learning how to use synthetic data wisely when training our machine learning models. There are several factors that affect how useful a dataset will be for training a machine learning model. A common refrain in the machine learning community is to use as much data as possible and make sure that the data is reflective of the real use case application. So how does synthetic data fit into these data requirements? How similar does the synthetic data have to be to the real-world application to be useful? Are there training techniques that we can incorporate to help aid a model generalize from synthetic data? These are just some of the questions we are working to answer alongside our <a href="http://aithos.technology/">AITHOS coalition partners</a>.</p><p><strong>In defense of the Truth</strong></p><p>One obvious concern regarding the recent advances in synthetic data generation is its potential to erode our trust in media in our everyday lives. As these deep fakes facilitate the generation of audio, images and even video we need to develop more sophisticated techniques to validate the provenance of our data. At Lab41 we are investigating two approaches to this problem: first we are investigating the use of deep neural networks to add signatures to media to mark their origin, otherwise known as watermarking. Using deep networks allows us to hide and recover these watermarks in media, leveraging their complexity to make the watermarks nearly undetectable while maintaining the fidelity of the original media. Furthermore, recovering the watermark is susceptible to manipulation, enabling us to detect if the data has been tampered with in any way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*xQEDTwltvsvP7Y339vbq1w.png" /><figcaption>Photo by <a href="https://unsplash.com/photos/HK8IoD-5zpg">Stefan Steinbauer</a> on Unsplash</figcaption></figure><p>Our second approach is more general and equally ambitious. We wonder whether there are subtle signatures in the distributions of synthetic data that are different from those that are coming from real life, as even the state-of-the-art can only approximate reality. This might be an arms race between the generation and detection of synthetic data, but at Lab41 we believe it is fundamental to understand the limitations of this technology from both perspectives. For instance: is it possible that by exposing a detector to a large enough variety of generated images that we can identify a fundamental difference that can be used to stay one step ahead of future iterations of deep fake generators? Either way, knowing the answer to that question would have great impact for policy makers in the years to come.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*gJ88OxFWlNzizGkfmrlNXQ.png" /><figcaption><a href="http://flickr.com/photos/hendrikjangrievink/2265204646">Photo</a> by Unknown Author is licensed under <a href="https://creativecommons.org/licenses/by-nc-nd/3.0/">CC BY-NC-ND</a></figcaption></figure><p>If any of the ongoing projects at Lab41 sound interesting to you, or if you want to get involved or just learn more, let us know in the comments.</p><p><strong>Lab41 is a Silicon Valley challenge lab where experts from the U.S. Intelligence Community (IC), academia, industry, and In-Q-Tel come together to gain a better understanding of how to work with — and ultimately use — big data.</strong></p><p><strong>Learn more at </strong><a href="http://www.lab41.org/?source=post_page---------------------------"><strong>lab41.org</strong></a><strong> and follow us on Twitter: </strong><a href="https://twitter.com/_lab41?source=post_page---------------------------"><strong>@_lab41</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a21ba7c8b24e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VOiCES: closing one chapter and starting a second]]></title>
            <link>https://medium.com/@mllomnitz/voices-closing-one-chapter-and-starting-a-second-1c67d32ac888?source=rss-c0296194d4cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c67d32ac888</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[voices]]></category>
            <category><![CDATA[dataset]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Michael Lomnitz]]></dc:creator>
            <pubDate>Tue, 06 Aug 2019 17:55:31 GMT</pubDate>
            <atom:updated>2019-08-06T17:55:31.273Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZtvL6aKgIgERnrhUyaVYUA.png" /><figcaption>Lab41 &amp; SRI International VOiCES corpus</figcaption></figure><p>Midway through 2018 <a href="https://www.lab41.org/">Lab41</a>, in collaboration with <a href="https://www.sri.com/">SRI International</a>, introduced the Voices Obscured in Complex Environmental Settings (<a href="https://gab41.lab41.org/introducing-the-voices-obscured-in-complex-environmental-settings-voices-corpus-b7990d080176">VOiCES</a>) data-set. The driving force behind the collection was to construct a representative and open source solution to enable a variety of voice related tasks for machine learning. Potential applications include: speech recognition, audio de-noising and speaker identification.</p><p>The corpus focused on delivering two particularly novel aspects:</p><ul><li>The recordings occurred in a series of real, furnished rooms capturing the complexity of their acoustic profiles and reverberations.</li><li>Each room included 12 different microphones placed in the walls, ceiling and floor at different distances, whereas most available datasets focus on microphones placed at close range.</li></ul><p>We put together a brief video describing how the VOiCES data-set was constructed.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FR4rjYwQhzAE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DR4rjYwQhzAE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FR4rjYwQhzAE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fd787cf0045da896cb25dd5658e35fe5/href">https://medium.com/media/fd787cf0045da896cb25dd5658e35fe5/href</a></iframe><p>The first 2 rooms of the VOiCES data set have been <a href="https://registry.opendata.aws/lab41-sri-voices/">available</a> on the Amazon AWS Registry of Open Data since July 2018, and we are planning to upload data from two additional rooms later this year.</p><p>However, when we set out to collect and release VOiCES we couldn’t have predicted exactly how successful it would ultimately be!</p><h3>VOiCES at a distance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MmAnDuqWHKrda6imByaQ8Q.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@priscilladupreez?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Priscilla Du Preez</a> on <a href="https://unsplash.com/search/photos/speaking?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>The <a href="https://voices18.github.io/Interspeech2019-Special-Session/">VOiCES from a distance challenge</a> was one of the several featured challenges at Interspeech 2019 aiming to foster research on single channel, far-field audio in noisy conditions. The challenge involved 60 teams out of which 24 were ultimately evaluated on two different tasks: speaker recognition and automatic speech recognition.</p><h4>Speaker Recognition</h4><p>The speaker recognition task tests the ability to identify a person’s voice from noisy audio. For development, audio from room #1 and room #2 of the VOiCES dataset were provided for enrollment and verification respectively. Submissions were then evaluated using samples from room #3 for enrollment and room #4 for verification. Teams submitting to the <em>fixed</em> condition were only allowed to train using a series of freely available data-sets while the <em>open</em> track removed all restrictions.</p><p>Twenty-one teams successfully submitted their scores to the competition with a total of fifty submissions to the <em>fixed</em> track and eight to the <em>open</em> one. Teams were ranked according to a cost function (<em>C_primary</em>) based on the equally-weighted sum of the missed (false positive) and false-alarm (false negative) error probabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*LFJuZ6C6I0HlQ9NgNxHD0w.png" /><figcaption>Figure 1: Actual and minimum C_primary for both tracks</figcaption></figure><p>Figure 1 summarizes the results submitted to the speaker identification challenge. Both the minimum and actual value of C_primary are shown.</p><p>There were a set of common approaches and systems amongst the most competitive teams: speech activity detection, de-reverberation, feature extraction and linear discriminant analysis for the classification.</p><p>System calibration was also crucial among the top teams due to the significant mismatch between the acoustic profiles of the development data-set versus the evaluation-set.</p><p><strong>Automatic Speech Recognition (ASR)</strong></p><p>In the ASR task the goal is to convert an audio sample into a matching transcript. The submissions were evaluated according to their word error rate (WER) and again, two tracks were provided:</p><ul><li>In the <em>fixed</em> condition, teams were only allowed to train on roughly 80-hours of the <a href="http://www.openslr.org/12">LibriSpeech</a> corpus, with no overlap with the speakers in VOiCES. The participants were, however, allowed to use external non-speech resources for data augmentation.</li><li>In the <em>open </em>track teams could use any open or proprietary data-sets in addition to the fixed condition with exception of previously released VOiCES data and the overlapping LibriSpeech data.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*M7-T3WV1IC9I_T6AaxTseA.png" /><figcaption>Figure 2: ASR evaluation using word error rate (%)</figcaption></figure><p>A total of six teams submitted systems to the ASR challenge, with only one submitting to the <em>open</em> condition. It is interesting to note that the top team’s performance was quite impressive given the limited amount of training data available and the challenging acoustic environment during evaluation.</p><p>Ultimately VOiCES has been incredibly successful and has attracted a large amount of interest from academia and industry. Fifty participants registered for the VOiCES workshop, with twenty-five submitted papers and twelve accepted to a <a href="https://www.interspeech2019.org/program/special_sessions_and_challenges/">special session</a> at Interspeech.</p><h3>The story continues…</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9hApeGBENr8-fak7ogIGCg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@d1n?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Danylo Suprun</a> on <a href="https://unsplash.com/search/photos/chapter?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>The release of VOiCES illustrated how powerful open sourced data-sets can be in impulsing research in the community as a whole, and allowed us at Lab41 to better understand the needs and gaps in existing collections. With this experience behind us we are excited to move forward in piloting a new collection in collaboration with SRI International, VOiCES II.</p><p>In VOiCES II we want to move a step further in developing an even more representative data-set for real world applications. Some of the features we are hoping to incorporate are:</p><h4>Real conversations</h4><p>Single speaker, read speech can only take us so far, and improving on this is central to VOiCES II. Our plan is to collect conversations between two, three and four speakers in a real room together with the corresponding transcript. This ambitious task has potential for innumerable tasks including speaker diarization, speaker separation, multi-turn conversation understanding, etc.</p><h4>Multi-modal collection</h4><p>As A.I. assistants and robots become more popular and powerful, they may be able to leverage data from multiple sensors to increasingly improve their performance, and at Lab41 we wanted to build a data-set with this in mind. As well as recording the audio on multiple microphones in the walls, ceiling and floor (as was done in VOiCES) the new collection will include synchronized data streams from video and lidar sensors of the speakers and room.</p><h4>Synthetic audio</h4><p>Another aspect we are keenly interested in at Lab41 is synthetic data, both for its use in training machine learning systems and to potentially develop tools to detect extremely well crafted deep fakes. With this in mind when designing in VOiCES II we plan to include synthetic audio generated with deep learning models played back in our conversations to spur research in this field.</p><h4>A wealth of meta-data</h4><p>To squeeze this data of all of its uses VOiCES II will include a variety of meta-data for machine learning applications. As well as the conversation transcripts, we will include information on the speaker demographics and a variety of tasks to train question answering systems, including intent detection and slot filling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DlwE2AYnA3Kimg1lJ5bcSA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@d1n?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Danylo Suprun</a> on <a href="https://unsplash.com/search/photos/ambitious?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4>Stay tuned!</h4><p>Exciting as this sounds, satisfying all of these demands is a formidable task. Later this summer, we will pilot the program to fully understand the challenges associated with such a data-set and perfect our approach for a full collection towards the end of this year. We encourage you all to follow our progress and reach out to Lab41 with any suggestions, comments and words of encouragement.</p><h3>Lab41 is a Silicon Valley challenge lab where experts from the U.S. Intelligence Community (IC), academia, industry, and In-Q-Tel come together to gain a better understanding of how to work with — and ultimately use — big data.</h3><h3>Learn more at <a href="http://www.lab41.org/">lab41.org</a> and follow us on Twitter: <a href="https://twitter.com/_lab41">@_lab41</a></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c67d32ac888" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You have one voice, defend it]]></title>
            <link>https://medium.com/@mllomnitz/you-have-one-voice-defend-it-2649366c7c49?source=rss-c0296194d4cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/2649366c7c49</guid>
            <category><![CDATA[audio]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Michael Lomnitz]]></dc:creator>
            <pubDate>Mon, 17 Jun 2019 18:43:45 GMT</pubDate>
            <atom:updated>2019-06-17T18:44:53.912Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Fending off membership inference attacks</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8vzFgAdsFR0oPsC7tCOY2Q.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@designedbyjoey?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">joey graham</a> on <a href="https://unsplash.com/search/photos/valuable?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Machine Learning (ML) models are increasingly becoming more ubiquitous in our everyday lives, many of the models built using personal and sensitive data. For instance, ML models now regularly use unique biometric data to identify us, such as our voices, our fingerprints, faces or iris’. They unlock our bank accounts, access our social platforms and guard our smartphones or computers with the wealth of personal data therein. In the never-ending arms race against malicious actors, we need to understand how private and secure our data really is and how to safeguard our most prized possession: our identity.</p><p>In this scenario, any amount of information leaked to an adversary can have dire consequences, and the many security vulnerabilities in an ML pipeline have been thoroughly <a href="https://arxiv.org/abs/1705.00564">discussed</a>. At Lab41 we wanted to explore one such case, where an adversary wants to determine whether a specific piece of data was used in training a speaker identification (SID) system. SID systems are commonly used in identity verification. In contrast to traditional membership <a href="https://gab41.lab41.org/membership-inference-attacks-on-neural-networks-c9dee3db67da">inference attacks</a>, we shifted our focus to what we considered a more significant attack: instead of determining whether a specific utterance was used in training we imagine a setting where an adversary inquires whether a speaker was enrolled in the model. A successful attack would leak your identity from and SID system and inform the adversary on whether a person has an account at a bank, is employed at a company, etc. with important implications.</p><p><strong>Membership inference attacks</strong></p><p>Before we move on, it is worth-while to spend some time detailing what is involved in a membership inference attack. Membership inference attacks aim to determine whether a specific piece of data was used during training of an ML model. These attacks take advantage of the fact that ML models encode their knowledge not only in the learned parameters, but also in the posteriors when they make predictions. When they encounter an example they have previously seen, the algorithms tend to produce confident answers; and when they encounter novel examples the algorithm will be less self-assured. This is particularly important in models that have memorized the training examples, known as overfitting.</p><p>We investigated <a href="https://arxiv.org/abs/1806.01246">three potential adversaries </a>with different constraints on the degree of knowledge they have regarding the data distribution under attack:</p><p><em>Attack 1</em>: In this scenario it is assumed that the adversary has access to data with the same overall distribution as the training data used in the target model under attack. The adversary uses the data it has access to train a classifier and then uses this <em>shadow network</em> to synthesize examples to train a membership inference model. Using the shadow network, the adversary can process in-training and out-of-training examples and produce predictions together with membership status labels (X, Y). These (X, Y) pairs are used to train another classifier, the attack network, that can determine the membership status of examples. Once trained, the attack network is applied on the original target.</p><p><em>Attack 2</em>: In this second scenario we loosen the assumptions and no longer require that the attacker have access to data from the same distribution. Instead, the shadow network is trained on a completely different data-set (shadow data-set), which is then used to follow the same procedure as in attack 1. We train the attack network to infer the membership status of in-training and out-of-training examples on this shadow network and finally transfer the attack to the original data-set.</p><p><em>Attack 3</em>: The final adversary does away with the data and training altogether and relies solely on the distributions of the posteriors of the predictions produced and setting a threshold for how confident a model has to be for the data point to be considered in the training set.</p><p><strong>Attack set-up</strong></p><p>To test these attacks, we looked at two data-sets: <a href="http://www.openslr.org/12">LibriSpeech</a> and Lab41’s own Voices Obscured in Complex Environments (<a href="https://www.isca-speech.org/archive/Interspeech_2018/pdfs/1454.pdf">VOiCES</a>). However, as you might expect, we had to be particularly careful with our training and test data to avoid cross-contamination between the samples used by the target (victim) and the attacker. To this end, we first split each data-set into two subsets each with half of the speakers and keeping the number of male and female speakers balanced in each set.</p><ul><li>The first subset was used to train the target model with an 80/20 split (splits [0] and [1]) for training and validation.</li><li>The second subset is split in half again (splits [2] and [3]). Split [2] is simultaneously used to train the shadow network and for the in-training set for the attacker, and split [3] is used as the out-of-training set for the attacker.</li><li>Finally, to evaluate the efficacy of the attack we used a subset of split [1] as the in-training set (split [4]) and completely independent set of speakers for the out-of-training set [5].</li></ul><p>These splits are summarized in the following image (Figure 1):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-rfGjSOwG5jA_dNQ3__CQQ.png" /><figcaption>Figure 1 : Data-set split set-up implemented to test membership inference attacks</figcaption></figure><p>For the preprocessing of the data we took three second sound bites from the speaker data and applied a short-time Fourier Transformation (STFT) to extract key frequency and time features from their voices. The output is a complex valued function where the magnitude is the contribution from each frequency and the imaginary argument represents their relative phases. The next figure shows an example of the output of this pre-processing step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*Hn8byVXSAIATMREvl5D2tg.png" /><figcaption>Figure 2: Example spectrogram used as input for the speaker identification models.</figcaption></figure><p>For both the speaker identification (SID) and the membership inference (adversaries 1 and 2) we relied on relatively simple deep learning (DL) models. The SID models consisted of three 1D convolutional blocks followed by two fully connected layers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*fNyqCMRWos5fuDc2rMUVbg.png" /><figcaption>Figure 3: Model architecture used for speaker identification.</figcaption></figure><p>These models performed well on the SID task with greater than 99%/95% (test/train) accuracy on clean audio (LibriSpeech) and 98%/77% on VOiCES. The adversary networks used the output of the SID models as input and used two fully connected layers to determine the membership.</p><p><strong>Loosing your voice</strong></p><p>With all the pieces in place, we now simulate the membership inference attacks. We targeted the LibriSpeech dataset with all three adversaries (Table 1) and found that these attacks were highly efficient in all three scenarios! In fact, even when the adversary has close to no knowledge of the model itself and/or the data-set used to train said model they can very accurately infer the membership status of individual speakers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*Z1mlewxUpOTDarn2zd2LsQ.png" /><figcaption>Table 1: Adversary performance on SID model trained with LibriSpeech data-set</figcaption></figure><p>We performed the same evaluation on VOiCES using the first two adversaries with similar results. In fact, these attacks are more accurate than the speaker verification itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*DDsM2jeXZuKD19NGsvSuIg.png" /><figcaption>Table 2: Adversary performance on SID model trained with VOiCES data-set</figcaption></figure><p><strong>One last thing to say…</strong></p><p>Fortunately, the defender may have one last thing to say: we can defend against these sorts of attacks. We implemented four different defense strategies and evaluated the effect they had on the attacks for adversaries 1 and 3, the two extremes. The four defenses we tested are:</p><p><em>Regularization: </em>One reason that DL models might be susceptible to membership inference is that they might <a href="https://arxiv.org/abs/1610.05820">have memorized</a> specific instances of the training data. In other words: they are overfit. This suggests that techniques that encourage better generalization could produce models that are more robust to these attacks. As an example, we considered a commonly used strategy: <em>L2 regularization</em></p><p><a href="https://arxiv.org/abs/1807.05852"><em>Adversarial regularization</em></a><em>: </em>Another regularization technique, adversarial regularization anticipates the membership inference attack and focuses not only on reducing overfitting but also explicitly trains the SID model to minimize the amount of useful information it provides to the adversary. This a commonly used strategy in other aspects of secure machine learning and is known to usually require some trade-off between the average accuracy and robustness to attacks. It is also costly to train a model in an adversarial regime so we didn’t employ it on the VOiCES data-set.</p><p><em>Distillation training: </em>Model distillation was originally proposed as a way to “shrink” models to perform in computationally constrained environments. In <a href="https://arxiv.org/abs/1511.04508">defensive distillation</a> we keep the model architecture fixed and train a DL network (student) to reproduce the output of a trained network (teacher). A central idea is to include a distillation temperature in the <em>softmax </em>layer that produces the outputs of both the teacher and student. During training this temperature is taken to be some large value and at inference it is set to 1, forcing the student to produce probability vectors with large values for each class and potentially breaking the ability of the adversary to obtain information about the membership.</p><p><em>Obfuscation: </em>Another commonly used defense, especially in ML as a service, is to simply reduce the amount of information provided to a user or adversary that queries the system, hence protecting the model’s “privacy”. As an example of this approach, we tested the attacks in the scenario where the victim only returns the ranking of the different classes and not the probability associated to each.</p><p>The next two figures (4 &amp; 5) show the effect of these different defenses on the target and attack (adversary 1) accuracy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*-iMwakaqFmN0lnE-mRkdig.png" /><figcaption>Figure 4: Target and adversary 1 baseline performance on LibriSpeech and after applying different defenses.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*c8s3W2aOJQRdqmL6K5wEag.png" /><figcaption>Figure 5: Target and adversary 1 baseline performance on VOiCES and after applying different defenses.</figcaption></figure><p><strong>The gist of it …</strong></p><p>We can say couple things from these results:</p><ul><li><em>L2 Regularization </em>reduced the attack accuracy although the effect was small. In the case of LibriSpeech there was little to no effect on the target though for VOiCES the SID model suffered more.</li><li>Adversarial regularization reduces the efficacy of attacks but is costly during training and leads to a reduction in the target’s performance as well.</li><li><em>Obfuscation</em> and <em>defensive distillation</em> (at high temp.) can both reduce the attack accuracy to essentially random (50%), in both cases with little to no effect on the target’s performance.</li></ul><h4>Lab41 is a Silicon Valley challenge lab where experts from the U.S. Intelligence Community (IC), academia, industry, and In-Q-Tel come together to gain a better understanding of how to work with — and ultimately use — big data.</h4><h4>Learn more at <a href="http://www.lab41.org/">lab41.org</a> and follow us on Twitter: <a href="https://twitter.com/_lab41">@_lab41</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2649366c7c49" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>