AI Logic

Datasets and Benchmarks

VCTK

Updated:

How VCTK was built and what it contains. The left side shows the pipeline: about 400 sentences chosen per speaker are recorded in a hemi-anechoic chamber with two microphones at 96 kHz, 24 bit, then converted to 48 kHz, 16 bit to produce VCTK 0.92 (110 speakers, about 44 hours, CC BY 4.0), followed by the speaker breakdown by gender, age, and accent. The right side shows the file layout, an example utterance, the audio format, missing files, and the absence of an official split

Overview

VCTK (CSTR VCTK Corpus) is a studio-quality multi-speaker speech corpus in which 110 English speakers with various accents each read about 400 sentences. It was created by Veaux, Yamagishi, and MacDonald at the Centre for Speech Technology Research (CSTR), University of Edinburgh, and is distributed for free on Edinburgh DataShare. The latest version, 0.92 (2019), provides 48 kHz audio under the CC BY 4.0 license.

It was originally built for HMM-based speech synthesis, where an "average voice" model is trained on many speakers and then adapted to a specific person with a small amount of recordings. The README states that it is also suitable for research on neural multi-speaker speech synthesis and waveform generation (vocoders). In practice, the WaveNet paper used it for multi-speaker speech generation, and many later speech synthesis papers, such as VITS and HiFi-GAN, have used it as well.

VCTK has three defining characteristics.

  • High recording quality: All speakers were recorded with the same setup (a hemi-anechoic chamber at the university, two microphones, 96 kHz, 24 bit). Compared with corpora built from audiobooks recorded at home, such as LibriTTS, the audio contains little noise and reverberation.
  • Diverse accents: Speakers come from many English-speaking regions, including England, Scotland, Ireland, the United States, and Canada.
  • Little data per speaker: Each speaker reads about 400 sentences, for about 44 hours in total. This is not enough to build a high-quality voice for a single person, but it suits training models that switch between many voices and research on differences between speakers.

There is no paper describing how VCTK was built or its statistics. Its contents are documented in the README on the distribution page and in the speaker list file (speaker-info.txt). According to the README, the sentence selection is described in the paper on the Voice Bank corpus by the same group (Veaux et al. 2013).

Contents: recordings, speakers, and format

Construction: Sentences chosen for each speaker are read aloud in the same studio with the same equipment.

  1. Select the sentences to read. Most come from the newspaper the Herald (Glasgow), used with the publisher's permission. A different set of sentences is chosen for each speaker with a greedy algorithm that maximizes coverage of phonemes and their contexts. In addition, all speakers read the same two passages: the "Rainbow Passage," widely used in research on English dialects, and the elicitation paragraph of the Speech Accent Archive.
  2. Record in a studio. Recording takes place in a hemi-anechoic chamber at the University of Edinburgh, using two microphones simultaneously: an omnidirectional microphone (DPA 4035) and a small-diaphragm condenser microphone with a wide bandwidth (Sennheiser MKH 800). The format is 96 kHz, 24 bit.
  3. Prepare for distribution. The audio is converted to 16 bit, downsampled to 48 kHz, and the start and end of each utterance are marked manually.

Only the two passages are read by every speaker; the newspaper sentences differ from speaker to speaker. As a result, there is very little parallel data (the same sentences read by all speakers).

Speakers: Counting speaker-info.txt gives the following breakdown. Ages range from 18 to 38, and half of the speakers are 22 or younger.

AccentSpeakers
England (English)33
United States (American)22
Scotland (Scottish)19
Ireland (Irish)9
Canada (Canadian)8
Northern Ireland (NorthernIrish)6
South Africa (SouthAfrican)4
India (Indian)3
Australia (Australian)2
Wales, New Zealand, Britain (British), unknown1 each

There are 63 female and 47 male speakers. speaker-info.txt lists each speaker's ID, age, gender, accent, and region (e.g., Southern England).

Versions differ in the number of speakers and the format.

VersionReleasedSpeakersAudioLicense
Old version (now marked "superseded")April 2017 (DataShare)109; p315 has no text48 kHz, 16 bit (a 96 kHz version is distributed separately)ODC-By 1.0
0.92November 2019 (DataShare)110 (new speaker s5 added)48 kHz, 16 bit, FLAC, both microphonesCC BY 4.0

The file layout of 0.92 is txt/<speaker>/<speaker>_<number>.txt (text) and wav48_silence_trimmed/<speaker>/<speaker>_<number>_mic1.flac / _mic2.flac (audio from the two microphones). According to speaker-info.txt, mic2 is the MKH 800; p280 has no mic2 audio, and p315 has neither text nor mic2 audio. The torchaudio loader skips all utterances of p315, and also skips p280 when mic2 is selected.

Because each utterance was recorded simultaneously with two microphones, the corpus can serve as pairs of recordings that differ only in the microphone. The microphone changes the character of the sound, so check it as well when matching the conditions of a paper.

Evaluation conventions

VCTK has no official training, validation, or test split, and no fixed evaluation metric. Each paper defines its own split, and speech synthesis and vocoder work is compared mainly with the MOS (mean opinion score), in which listeners rate the naturalness of audio on a scale of 1 to 5.

MOS=1M∑m=1Msm\mathrm{MOS} = \frac{1}{M} \sum_{m=1}^{M} s_m

Here, sms_m is the score of each individual rating and MM is the number of ratings. The mean is reported together with its 95% confidence interval.

Splits fall into two types depending on what is being tested.

SplitWhat it testsExample
By utterance (all speakers are used for training; some utterances are held out for validation and testing)How naturally the model produces the voices of speakers seen in training for new sentencesVITS paper: random split into 43,470 training, 100 validation, and 500 test utterances
By speaker (some speakers are excluded from training)Whether the model handles voices of speakers never seen in trainingHiFi-GAN paper: 9 speakers are excluded from training, and MOS is measured on 50 utterances from those 9 speakers

Papers differ in the version used (109 or 110 speakers), the microphone, the sampling rate (48 kHz as is, or downsampled to 22.05 kHz, etc.), and the split. MOS also depends on the listeners and conditions, so do not compare values directly across papers; compare under matched conditions.

To reduce the cost of listening tests, MOS prediction models (such as UTMOS) and the word error rate (WER) obtained by running speech recognition on the synthesized audio are sometimes used as supplementary measures.

Usage and historical significance

VCTK is a standard dataset for neural multi-speaker voice generation since the earliest days of the field. The LibriTTS paper also notes that VCTK is often used for multi-speaker speech synthesis experiments because it contains studio-quality multi-speaker speech.

WaveNet (2016): The WaveNet paper used 109 speakers and 44 hours of VCTK to generate speech conditioned only on the speaker ID (a one-hot vector), without conditioning on text. A single model could produce the voices of all 109 speakers, and the paper reports that adding more speakers improved validation performance compared with training on a single speaker.

VITS (2021): The VITS paper downsampled VCTK to 22 kHz, split it by utterance, and trained a model with added speaker embeddings. Test MOS values (with 95% confidence intervals) are as follows.

ModelMOS
Ground truth4.38 (±0.07)
Tacotron 2 + HiFi-GAN3.14 (±0.09)
Tacotron 2 + HiFi-GAN (fine-tuned vocoder)3.19 (±0.09)
Glow-TTS + HiFi-GAN3.76 (±0.07)
Glow-TTS + HiFi-GAN (fine-tuned vocoder)3.82 (±0.07)
VITS4.38 (±0.06)

HiFi-GAN (2020): The HiFi-GAN paper excluded 9 speakers from training and tested whether waveforms could be generated from mel spectrograms of their voices. MOS on these unseen speakers is as follows.

ModelMOS
Ground truth3.79 (±0.07)
WaveNet (MoL)3.52 (±0.08)
WaveGlow3.52 (±0.08)
MelGAN3.50 (±0.08)
HiFi-GAN V13.77 (±0.07)
HiFi-GAN V23.69 (±0.07)
HiFi-GAN V33.61 (±0.07)

Even for the same ground-truth recordings, MOS is 4.38 in the VITS paper and 3.79 in the HiFi-GAN paper, showing how much MOS depends on the evaluation conditions.

Beyond speech synthesis, datasets made by artificially adding noise and reverberation to VCTK are distributed on the same DataShare and are used in research on speech denoising and dereverberation. The noisy version comes in two sets, with 28 or 56 training speakers. The README also lists spoofing detection datasets built from synthesized and voice-converted speech made with VCTK (ASVspoof 2015, 2019, etc.) as derivatives of VCTK.

Caveats

License: Version 0.92 is released under CC BY 4.0. Commercial use is allowed, but attribution is required. The README asks that it be cited as the "CSTR VCTK Corpus" by Veaux, Yamagishi, and MacDonald.

The old version (the 109-speaker version released in 2017) is licensed under ODC-By 1.0, which differs from 0.92. Papers and comparison tables of other datasets sometimes list the old version's license. Check the license of the version you use on the distribution page. In addition, speech synthesis models trained on VCTK can produce speech resembling the voices of real speakers. Even though the license permits commercial use, avoid presenting a specific speaker's voice as if it were that person, or using it for impersonation.

Do not take the sampling rate stated in papers at face value: The README says the audio is distributed downsampled to 48 kHz, yet the VITS and HiFi-GAN papers state "44 kHz" and then downsample to 22 kHz. Check the sampling rate of your files, and convert to the same rate as the paper before comparing.

Some speakers and files are missing: p315 has no text, and p280 and p315 have no mic2 audio. According to the torchaudio documentation, p362 is also missing some audio. Keep this in mind when counting speakers or choosing a microphone.

Little data per speaker: With about 400 sentences per speaker, a single speaker's data is not enough to build high-quality speech synthesis. For a single voice, a dataset with tens of hours from one person, such as LJ Speech, is a better fit.

Read speech only: The corpus consists of newspaper sentences and fixed passages read aloud, and contains almost no conversational or strongly emotional speech.

Accent imbalance: Speakers from England, the United States, and Scotland make up about two-thirds of the total, and speakers with African or Asian accents are few. Ages are also limited to 18–38. When comparing performance across accents or ages, note that results for groups with few speakers tend to fluctuate.

Comparison with similar datasets

Representative English and Japanese speech synthesis datasets compare as follows.

DatasetLanguageSpeakersDurationMain useAudio formatLicense
VCTKEnglish110 (109 in the old version)About 44 hoursMulti-speaker speech synthesis, vocoders, denoising48 kHz, FLAC (0.92)CC BY 4.0 (0.92)
LibriTTSEnglish2,456About 586 hoursMulti-speaker speech synthesis, vocoders24 kHz, WAVCC BY 4.0
LJ SpeechEnglish1About 24 hoursSingle-speaker speech synthesis22.05 kHz, WAVPublic domain
JVSJapanese100About 30 hoursMulti-speaker speech synthesis, voice conversion24 kHz, WAVAudio: research, non-commercial, and personal use (commercial use by arrangement)

(Values for LibriTTS, LJ Speech, and JVS are taken from their respective articles.)

Guidelines for choosing:

  • To compare multi-speaker English speech synthesis or vocoders on studio-quality audio with other papers, use VCTK.
  • To build a model robust to any voice by increasing the number of speakers and the amount of data, use LibriTTS. It has more than 10 times as much data as VCTK, but recording quality varies by speaker.
  • For single-speaker English speech synthesis, use LJ Speech.
  • To handle multiple speakers in Japanese, use JVS.

PyTorch example

Show code
python
import random

import torch
import torchaudio
from torch.utils.data import DataLoader

"""
Load VCTK 0.92 with torchaudio and build training/test sets split by speaker
Layout: VCTK-Corpus-0.92/txt/<speaker>/<speaker>_<number>.txt
        VCTK-Corpus-0.92/wav48_silence_trimmed/<speaker>/<speaker>_<number>_mic1.flac (and _mic2.flac)
mic_id: 'mic1' (DPA 4035) or 'mic2' (MKH 800, default). p315 is skipped because it has no text; with mic2, p280 is skipped too
"""

ds = torchaudio.datasets.VCTK_092(root='data', mic_id='mic1', download=False)  # True downloads about 11 GB
wav, sr, text, speaker, utt = ds[0]
print(sr, speaker, utt, text)  # 48000 p225 001 Please call Stella.

# There is no official split. Here we split by speaker to evaluate on speakers unseen in training (the count is an example)
speakers = sorted({sid for sid, _ in ds._sample_ids})  # IDs of speakers with text (uses the internal list)
random.Random(0).shuffle(speakers)
test_speakers = set(speakers[:9])
train_idx = [i for i, (sid, _) in enumerate(ds._sample_ids) if sid not in test_speakers]
test_idx = [i for i, (sid, _) in enumerate(ds._sample_ids) if sid in test_speakers]

speaker_index = {s: i for i, s in enumerate(sorted(set(speakers) - test_speakers))}  # index into the speaker embedding table

resample = torchaudio.transforms.Resample(orig_freq=48000, new_freq=22050)  # downsample to match the paper (the rate is an example)
mel = torchaudio.transforms.MelSpectrogram(sample_rate=22050, n_fft=1024, hop_length=256, n_mels=80)


def to_features(i):
  wav, sr, text, speaker, _ = ds[i]
  assert sr == 48000
  feats = torch.log(mel(resample(wav)).clamp(min=1e-5)).squeeze(0).t()  # [frames, 80]
  return text, feats, speaker


def collate(batch):
  texts, feats, speakers = zip(*batch)
  lengths = torch.tensor([f.shape[0] for f in feats])
  padded = torch.nn.utils.rnn.pad_sequence(feats, batch_first=True)  # [batch, max frames, 80]
  return list(texts), padded, lengths, list(speakers)


train_loader = DataLoader([to_features(i) for i in train_idx[:64]], batch_size=16, shuffle=True, collate_fn=collate)
# During training, pass speaker_index[speaker] through the speaker embedding and feed it to the model
# Test speakers are not in the embedding table, so evaluate with a model that extracts speaker features from reference audio (e.g., a speaker encoder)

FAQ

Q. Does VCTK have 109 or 110 speakers?
A.

It depends on the version. The old version released in 2017 has 109 speakers, and version 0.92 (2019) added a new speaker, s5, for a total of 110. However, p315 has no text files, so even in 0.92 only 109 speakers can be used as text–audio pairs. The WaveNet, VITS, and HiFi-GAN papers report 109 speakers.

Q. Which should I use, mic1 or mic2?
A.

There is no rule. mic1 is an omnidirectional microphone (DPA 4035) and mic2 is a wide-bandwidth condenser microphone (MKH 800); both recorded the same utterances simultaneously. mic2 lacks audio for p280 and p315, so mic1 is easier if you want to use all speakers. torchaudio's VCTK_092 reads mic2 by default, so specify mic_id and state which microphone the paper used.

Q. Can VCTK alone be used to build single-speaker speech synthesis?
A.

Each speaker has only about 400 sentences (about 44 hours divided by 109 speakers, roughly 25 minutes on average), so training on one speaker's voice alone makes it hard to reach high quality. Either train a multi-speaker model on all of VCTK and generate that speaker's voice, or use a dataset with about 24 hours from one person, such as LJ Speech.

References

  1. Yamagishi, J., Veaux, C., & MacDonald, K. (2019). CSTR VCTK Corpus: English Multi-speaker Corpus for CSTR Voice Cloning Toolkit (version 0.92). University of Edinburgh, The Centre for Speech Technology Research (CSTR).
  2. Veaux, C., Yamagishi, J., & MacDonald, K. (2017). CSTR VCTK Corpus: English Multi-speaker Corpus for CSTR Voice Cloning Toolkit (old version, superseded). University of Edinburgh.
  3. van den Oord, A., Dieleman, S., Zen, H., et al. (2016). WaveNet: A Generative Model for Raw Audio. arXiv:1609.03499.
  4. Kim, J., Kong, J., & Son, J. (2021). Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech. ICML 2021.
  5. Kong, J., Kim, J., & Bae, J. (2020). HiFi-GAN: Generative Adversarial Networks for Efficient and High Fidelity Speech Synthesis. NeurIPS 2020.
  6. Zen, H., Dang, V., Clark, R., Zhang, Y., Weiss, R. J., Jia, Y., Chen, Z., & Wu, Y. (2019). LibriTTS: A Corpus Derived from LibriSpeech for Text-to-Speech. Interspeech 2019.
  7. Valentini-Botinhao, C. (2017). Noisy speech database for training speech enhancement algorithms and TTS models. University of Edinburgh.
  8. PyTorch. torchaudio.datasets.VCTK_092 (API reference).