آڈیو AI گائیڈ

وائس باکس فلو میچنگ اسپیچ جنریشن

Voicebox is a speech generation model from Meta AI, announced June 16, 2023, that learns one task, filling in masked stretches of speech given the surrounding audio and a transcript, and uses it for text-to-speech, editing, denoising and cross-lingual voice transfer.

اس گائیڈ کو سنیں۔اے آئی نے بیان کیا۔ · ~7 min

اس صفحہ پر8 min read
  1. جائزہ
  2. اہم نکات
  3. گہرا غوطہ
  4. Tracing a Voicebox-style speech edit
  5. حقیقی دنیا کا نفاذ
  6. وائس باکس فلو میچنگ اسپیچ جنریشن کا مستقبل
  7. اسے عملی جامہ پہنانا
  8. ذرائع اور مزید پڑھنا
  9. دریافت کرتے رہیں
  10. اکثر پوچھے گئے سوالات

جائزہ

It matters as an early large demonstration that flow matching, a faster alternative to diffusion, can power general-purpose speech generation, and as a case where the model was withheld over misuse risk.

اہم نکات

  1. Voicebox, from Meta AI in June 2023, learns to fill in masked speech from surrounding audio and a transcript, then reuses that skill for many tasks.
  2. It uses flow matching with straight-line optimal transport paths, generating all missing frames at once by solving an ODE.
  3. The audio model is a 24-layer Transformer with 330 million parameters, trained on 60,000 hours of English or 50,000 hours of multilingual audiobooks.
  4. Meta reported 1.9% word error rate for zero-shot text-to-speech versus 5.9% for VALL-E, and up to 20 times faster generation.
  5. Meta did not release Voicebox's model or code, citing potential misuse, and built a classifier to detect its generated speech.

گہرا غوطہ

Voicebox is a research model that generates speech. It was described in 'Voicebox: Text-Guided Multilingual Universal Speech Generation at Scale' by Matthew Le, Apoorv Vyas, Bowen Shi, Wei-Ning Hsu and colleagues, posted to arXiv on June 23, 2023 and accepted to NeurIPS 2023. Meta announced it on June 16, 2023. The core idea is that many speech tasks are the same problem in disguise. If a model can fill in a missing stretch of audio, given the audio around it and the words that should be spoken there, it can synthesize a sentence from scratch, fix a mistake, cover up noise, or continue a speaker's voice in another language.

The training task is called text-guided speech infilling. Each training clip comes with a transcript turned into phones, the basic sound units of a language, aligned to the audio frame by frame. During training, a large random chunk of the audio, usually 70% to 100% of its length, is hidden. The model sees the remaining audio and the full phone sequence and must produce the hidden part. Because the visible context carries the speaker's voice, emotion, microphone and background, the model learns to continue all of those in the missing region. Audio is represented as an 80-dimensional log Mel spectrogram at 100 frames per second, a compact picture of energy across frequencies over time, and a separate HiFi-GAN vocoder converts spectrograms back into waveforms.

Voicebox splits the work into two models. A duration model predicts how long each phone should last, which determines how many frames to generate. An audio model, a 24-layer Transformer with 330 million parameters, then generates the spectrogram frames. Unlike autoregressive systems that produce audio one token at a time from left to right, Voicebox is non-autoregressive: it produces all missing frames together and can use context from both before and after the gap.

The generative method is flow matching, introduced by Yaron Lipman and colleagues in a paper posted October 6, 2022. Like diffusion models, a flow-matching model turns random noise into data. Instead of learning to remove noise step by step, it learns a velocity field that tells each point how to move from noise toward data over an imaginary time running from 0 to 1. Voicebox uses the optimal transport path, in which each noise sample moves in a straight line toward its target. Training needs no simulation of the process, only a regression target at a random time. At inference, an ordinary differential equation (ODE) solver follows the learned velocity field from noise to speech. Each step is one function evaluation of the network, so the number of steps directly sets the cost, and a user can trade quality for speed at inference time without retraining.

The paper trained an English model on 60,000 hours of English audiobooks and a multilingual model on 50,000 hours of audiobooks in six languages. The paper stresses that this speech was neither filtered nor enhanced, so the model learned from audio with real-world noise and variation. Meta described the source as public domain audiobooks. Reported results include zero-shot text-to-speech with 1.9% word error rate and 0.681 speaker similarity, against 5.9% and 0.580 for VALL-E. For a 10-second clip with two function evaluations and no guidance, Voicebox took about 0.31 seconds, around 20 times faster than VALL-E; at 64 evaluations it was only 4% slower than VALL-E. On cross-lingual transfer it cut average word error rate from 10.9% to 5.2% compared with YourTTS.

The obvious comparison is VALL-E, described in a paper posted January 5, 2023. VALL-E treats speech as a language-modeling problem over discrete tokens from a neural audio codec, trained on 60,000 hours of English, and continues a 3-second prompt. That design generates left to right, so it cannot easily use future context for editing. Voicebox instead models continuous spectrograms and infills in both directions. Compared with diffusion-based speech models such as NaturalSpeech 2, the Voicebox paper notes it produces high-quality output with about 16 ODE steps where NaturalSpeech 2 uses 150 diffusion steps.

The limitations are stated in the paper itself. Training data is read audiobook speech, so the models may not transfer well to casual conversation with laughter and filler sounds. Voicebox depends on a phonemizer and a forced aligner to produce frame-level phone transcripts, and word-based phonemizers miss context-dependent pronunciations such as French liaisons. Style attributes are not separately controllable: a user cannot borrow the voice of one sample and the emotion of another. Meta also built a classifier to detect Voicebox audio. It separated original from generated audio perfectly in the paper's tests, most likely by spotting vocoder artifacts, but distinguishing Voicebox output from vocoder-resynthesized real speech was harder, with accuracy from 0.704 to 0.907 depending on how much was masked.

The largest practical constraint is access. Citing potential misuse, Meta did not release the Voicebox model or code, sharing only audio samples and the paper. Anyone wanting to use the approach must reimplement it and assemble tens of thousands of hours of transcribed speech, plus a vocoder and alignment tools. Generation cost depends on the number of ODE steps chosen, and classifier-free guidance, used to strengthen conditioning, doubles the computation per step.

04کام کی مثال

Tracing a Voicebox-style speech edit

  1. Start with a 6-second recording of 'I will meet you on Tuesday' and its transcript, where the speaker should have said Thursday.

  2. Convert the audio to an 80-bin log Mel spectrogram at 100 frames per second, giving about 600 frames.

  3. Align the phones to frames with a forced aligner, then replace the phones for 'Tuesday' with those for 'Thursday', using the duration model to set their length.

  4. Build the mask: mark the frames of the new word as missing and keep every other frame as context.

  5. Sample Gaussian noise for the masked frames and integrate the learned velocity field from t = 0 to 1 with about 32 solver evaluations.

  6. Splice the generated frames into the context and convert the full spectrogram to audio with the vocoder.

جو یہ دکھاتا ہے۔

A recording that says Thursday in the same voice, room sound and pace, with the rest of the sentence unchanged. Check it by transcribing the output with a speech recognizer to confirm the new word, and by comparing the unmasked portion against the original, which should match closely.

حقیقی دنیا کا نفاذ

Zero-shot text-to-speech: given a few seconds of an unseen speaker, Voicebox speaks new text in that voice; Meta reported 1.9% word error rate versus 5.9% for VALL-E.

Editing a recorded sentence by masking a misspoken word and regenerating only that span from corrected text, while the surrounding audio stays untouched.

Removing a burst of noise such as a car horn by masking the noisy segment and infilling clean speech that matches the speaker and transcript.

Cross-lingual style transfer across English, French, Spanish, German, Polish and Portuguese, where Meta reported average word error rate falling from 10.9% with YourTTS to 5.2%.

Generating diverse synthetic training data: a speech recognizer trained only on Voicebox output lost just 0.4 to 1.7 points of word error rate on LibriSpeech, per the paper.

وائس باکس فلو میچنگ اسپیچ جنریشن کا مستقبل

Meta's follow-up, Audiobox, posted December 25, 2023, extended the flow-matching approach to a unified model for speech and sound effects, added natural-language description prompts alongside example-based prompts, and reported that Bespoke Solvers sped up generation more than 25 times over the default ODE solver. That addresses one of Voicebox's stated gaps, independent control of voice, style and acoustic conditions. Other open problems are listed in the Voicebox paper: moving from read audiobooks to conversational speech, removing the dependence on phonemizers and forced aligners by taking raw text with punctuation, and covering more languages. On safety, the authors proposed embedding detectable fingerprints in generated speech rather than relying only on after-the-fact classifiers, since their own detector had a harder time separating generated speech from vocoder-resynthesized real speech. How openly to release voice-cloning models of this capability remains an open policy question, and Meta's June 2023 decision to withhold Voicebox is one documented reference point.

اسے عملی جامہ پہنانا

یہ کیوں اہمیت رکھتا ہے۔

  • رسائی اور رسائی. یہ نقل، بیان اور صوتی انٹرفیس کے ذریعے رسائی کو بہتر بناتا ہے۔
  • لاگت اور بجٹ. میڈیا ٹیمیں چھوٹے بجٹ کے ساتھ پالش آڈیو کو تیزی سے بھیج سکتی ہیں۔
  • رفتار اور پیمانہ. کسٹمر کا سامنا کرنے والے نظام بڑے پیمانے پر بولی جانے والی بات چیت پر کارروائی کر سکتے ہیں۔

پر نگاہ رکھیں

  • رضامندی غائب ہونے پر آواز کے غلط استعمال اور نقالی کے خطرات بڑھ جاتے ہیں۔
  • درستگی لہجوں، بولیوں، یا شور والے ماحول میں گر سکتی ہے۔
  • واضح لیبلنگ کے بغیر مصنوعی آڈیو کو مستند تقریر کے لیے غلط سمجھا جا سکتا ہے۔

اگلے اقدامات

  1. آواز کی گرفتاری، کلوننگ اور دوبارہ استعمال کے لیے واضح رضامندی حاصل کریں۔
  2. متنوع اسپیکرز اور پس منظر کے حالات میں معیار کی جانچ کریں۔
  3. وضاحت کریں کہ جب ایک انسان کو آؤٹ پٹس کا جائزہ لینا یا منظور کرنا ضروری ہے۔
  4. مصنوعی آڈیو کو لیبل کریں اور جوابدہی کے لیے پرووینس ریکارڈ رکھیں۔

ذرائع اور مزید پڑھنا

  1. arXiv (NeurIPS 2023)Voicebox: Text-Guided Multilingual Universal Speech Generation at Scale
  2. Meta AIIntroducing Voicebox: The first generative AI model for speech to generalize across tasks with state-of-the-art performance
  3. arXivFlow Matching for Generative Modeling
  4. arXivنیورل کوڈک لینگویج ماڈلز زیرو-شوٹ ٹیکسٹ ٹو اسپیچ سنتھیسائزرز ہیں
  5. arXivAudiobox: Unified Audio Generation with Natural Language Prompts

دریافت کرتے رہیں

مفت نیوز لیٹر

روزانہ AI بریفنگ حاصل کریں

ہر ہفتے کے دن صبح تین تصدیق شدہ AI کہانیاں، سادہ انگریزی میں لکھی گئیں۔ ہمیشہ کے لیے مفت، کوئی اشتہار نہیں۔

ہر ہفتے کے دن ایک ای میل۔ ایک کلک میں ان سبسکرائب کریں۔ ہم کبھی بھی آپ کا پتہ فروخت یا شیئر نہیں کرتے۔

اپنے آپ کو جانچیں۔

Take the Voicebox Flow-Matching Speech Generation quiz

ہر جواب پر فوری فیڈبیک، اور کورس پاس کرنے کے بعد قابلِ تصدیق ID کے ساتھ شیئر کرنے کے قابل سرٹیفکیٹ۔

کوئز شروع کریں۔

مفت AI تعلیم کی حمایت کریں۔ AI Understanding ایک 501(c)(3) غیر منافع بخش ادارہ ہے — کوئی اشتہار نہیں، کوئی پے وال نہیں، کبھی نہیں۔ عطیہ کریں۔

اکثر پوچھے گئے سوالات

What is Voicebox Flow-Matching Speech Generation?

Voicebox is a speech generation model from Meta AI, announced June 16, 2023, that learns one task, filling in masked stretches of speech given the surrounding audio and a transcript, and uses it for text-to-speech, editing, denoising and cross-lingual voice transfer. It matters as an early large demonstration that flow matching, a faster alternative to diffusion, can power general-purpose speech generation, and as a case where the model was withheld over misuse risk.

وائس باکس کس واحد تربیتی کام کے لیے موزوں ہے؟

وائس باکس کو ارد گرد کے آڈیو اور ٹیکسٹ کا استعمال کرتے ہوئے تقریر کے نقاب پوش حصوں کو بھرنے کی تربیت دی جاتی ہے، جو کہ زبان کے ماڈلز سے متاثر سیاق و سباق کی تشکیل ہے۔

وائس باکس پھیلاؤ کے بجائے کون سی تخلیقی تکنیک استعمال کرتا ہے؟

وائس باکس مشروط بہاؤ مماثلت کا استعمال کرتا ہے، ایک رفتار فیلڈ سیکھتا ہے جو شور کو تقریر کی خصوصیات میں منتقل کرتا ہے اور اسے ODE سولور کے ساتھ مؤثر طریقے سے حل کیا جا سکتا ہے۔

How does Voicebox condition speech generation on a target speaker without retraining?

The paper demonstrates zero-shot speech generation by using reference audio as context; this is an inference-time condition rather than model retraining.

What efficiency result did the Voicebox paper report for its zero-shot TTS comparison?

The authors report up to 20× faster generation than VALL-E in their comparison; this is a paper-specific result and setup.

Meta نے ابتدائی طور پر وائس باکس کے مکمل ماڈل کو کیوں روکا؟

چونکہ ماڈل قائل طور پر آوازوں کو کلون کر سکتا ہے، Meta نے اسے روک دیا اور مصنوعی تقریر کا پتہ لگانے پر تحقیق پر زور دیا۔