All models

S2VC

S2VC, an any-to-any voice conversion model that takes self-supervised speech features as input.

Audio and speech · 282 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (25 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
33.3M
Operations
282
Framework
PyTorch
Recurrent
No
Published
Interspeech (USB) (arXiv 2021)
Cited by
49 (as of 27 October 2026)
Authors
Jheng-hao Lin, Yist Y. Lin, Chung-Ming Chien, Hung-yi Lee
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19908
Graph hash
cc3905616f317169f3fe3d1b711039df860d8c25a13490b3f232821a8a124d0a
Skeleton hash
e6219e862f9dbc0f35c00d9c089d2524a3fdaed601f59279b3866d71d33259b9
Architecture hash
b9c25b77d1380f7b51f4e77f47c6fd9c23b8351b8872a8143ef849caa442f8c2
Diagram SHA-256
615dcffbd45d6549e61510072feb89f0aa8b7777fdf1c8ffce55d1d8ec1e653a
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

S2VC is a voice conversion model: it converts a source utterance so that it sounds as if spoken by a target speaker, while keeping the original phonetic content. It addresses the any-to-any setting, where the speakers may be seen or unseen during training. Its defining choice is to use self-supervised (SSL) speech features as both the source and the target features.

The framework evolves from FragmentVC, a model consisting of a source encoder, a target encoder, cross attention modules and a decoder. After cross attention between the two encoders' outputs, the decoder produces the converted Mel spectrogram. S2VC adds a self-attention pooling layer that extracts a representation from the target encoder and applies it to the source encoder. It also applies Instance Normalization and a bottleneck layer to the attention queries and keys, to lower the speaker information encoded in them. In the paper's setup the source encoder has 4 linear layers, the target encoder has 3 one-dimensional convolution layers, and the decoder has 3 conformer layers followed by a linear projection.

All models in the paper were trained on the CSTR VCTK Dataset. Five representations were tried as source or target features: Mel spectrogram, PPG, APC, CPC and wav2vec 2.0. In the paper's subjective test on conversion between unseen speakers, the model with CPC features on both sides outperformed the other baseline models on both quality and speaker similarity.

Key idea. S2VC uses self-supervised speech representations as both the source and the target features of an any-to-any voice conversion model that evolves from FragmentVC.

  • s2vc
  • voice conversion
  • any-to-any voice conversion
  • one-shot voice conversion
  • self-supervised speech representations
  • speaker timbre conversion
  • exemplar-based voice conversion

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{lin2021s2vcframeworkanytoanyvoice,
      title={S2VC: A Framework for Any-to-Any Voice Conversion with Self-Supervised Pretrained Representations}, 
      author={Jheng-hao Lin and Yist Y. Lin and Chung-Ming Chien and Hung-yi Lee},
      year={2021},
      eprint={2104.02901},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      url={https://arxiv.org/abs/2104.02901}, 
}