Ranking Speaker-Conditioning Designs Before Training Them

Zero-shot text-to-speech and voice conversion systems copy a new person's voice from a few seconds of reference audio, with no retraining. They work by turning the reference clip into a speaker embedding, a fixed-length vector from a pretrained speaker-recognition network, and feeding that vector into a speech generator. The decisions that most affect how well the voice is copied are architectural. Designers must choose which layers receive the embedding, how it is injected (added, used to scale features, or attended to), and how narrow the content pathway must be so that the source speaker's voice does not leak through. Today all of these choices are made by hand. Automated architecture search could make them, but speech searches have cost days of GPU time or required a fully trained shared "super-network" (AutoSpeech, LightSpeech).

We propose a cheap score that ranks speaker-conditioning designs without training them. The score asks whether a randomly initialized network preserves the geometry of real speaker embeddings in its outputs while keeping the content, and, for voice conversion, whether its content bottleneck structurally blocks speaker information. If the score's ranking agrees with the ranking obtained by fully training each design, conditioning search drops from GPU-days to minutes. We test this against a ground-truth table of fully trained designs that we build ourselves.

Core Claim

Existing "zero-cost proxies" score an architecture at random initialization from one minibatch. Examples are the condition number of the neural tangent kernel, counts of linear regions, and gradient signal-to-noise. These scores measure how trainable or expressive a network is, and they were validated on image classifiers (Understanding and Accelerating NAS With Training-Free and Theory-Grounded Metrics, SpiderNet, EZNAS). None of them asks the question that matters for zero-shot adaptation: does information about who is speaking reach the output, separately from what is said? Our claim is that this property is largely fixed by the wiring.

The wiring can destroy speaker information in several ways. A normalization layer can wipe out an additive embedding. A design can condition only the duration predictor. A content bottleneck can be too wide to stop leakage. In each case the damage is visible in a random network and predicts the speaker similarity reached after training.

This builds on On Random Weights and Unsupervised Feature Learning, which showed that key representational properties of convolutional networks follow from their structure rather than their learned weights. We extend that argument from invariances in the input to the routing of a conditioning signal.

The score has two parts. Let $f(x,s)$ be the output features of a randomly initialized candidate network for content input $x$ and real speaker embedding $s$. For a fixed $x$ and a batch of speakers, let $\mathrm{CKA}_{spk}$ be the centered kernel alignment between the pairwise-similarity matrix of the speaker embeddings and that of the outputs. Centered kernel alignment is a standard similarity between two sets of representations, ranging from 0 to 1. We average $\mathrm{CKA}_{spk}$ over content inputs. Symmetrically, for a fixed $s$ and a batch of texts, let $\mathrm{CKA}_{cont}$ be the alignment between the content inputs and the outputs. The conditioning score is

$$C = \frac{2\,\mathrm{CKA}_{spk}\,\mathrm{CKA}_{cont}}{\mathrm{CKA}_{spk}+\mathrm{CKA}_{cont}},$$

a harmonic mean. It penalizes designs that keep speaker geometry by drowning out content, as well as designs that keep content while ignoring the speaker.

For voice-conversion bottlenecks in the style of AutoVC, we compute a matching leakage score at the bottleneck. It is the alignment of the random content codes with speaker embeddings, which should be low, relative to their alignment with frame-level phone labels, which should be high.

Research Program

The work has three parts.

First, we build the ground truth that the field lacks. No paper in our file reports how any training-free proxy ranks speech generators, so without this table every claim would be unfalsifiable. We will build two small tabular benchmarks.

The first is a compact non-autoregressive TTS model on VCTK, conditioned by a frozen pretrained speaker encoder. Its search space covers roughly twelve candidate injection sites across the text encoder, duration and pitch predictors, and decoder. Each site takes one of four options: none, additive, feature-wise scale-and-shift, or cross-attention to reference frames as in P-Flow. Each block also chooses between separable convolution and self-attention. The convolution-versus-attention axis lets us test whether LightSpeech's single-speaker finding, that separable convolutions beat attention, survives multi-speaker zero-shot conditioning. We will fully train about 200 sampled configurations and evaluate each on held-out unseen speakers.

The second benchmark is the AutoVC bottleneck grid of downsampling factor by channel width, about 40 configurations, also fully trained. Both tables will be released.

Second, we validate the score. We measure Spearman and Kendall correlation and top-k recovery between $C$, its components, and trained outcomes. The trained outcomes are speaker similarity to the reference and intelligibility. Speaker similarity is the cosine similarity between speaker-encoder embeddings of output and reference, abbreviated SECS. Intelligibility is the word error rate (WER) of an automatic speech recognizer.

SECS must be computed with a verification model different from the conditioning encoder. Otherwise designs that overfit the conditioning encoder's embedding space would look good. YourTTS's consistency loss shows that a model can be optimized against a single encoder in exactly this way.

Third, we run the search. The score filters the full space down to a short list, which is trained to convergence. We compare the finalists with hand-designed and searched alternatives at matched total compute.

We expect the score to work within a backbone family, where it ranks conditioning wiring, and less well across very different backbones. We will report both settings rather than only the favorable one. If the score at initialization is weak, the planned fallback computes the same $C$ after a small number of training steps. This hybrid stays meaningful even when the generated audio is still unintelligible.

Baselines

The naive reference is uniform conditioning: inject the embedding at every site, as SC-GlowTTS does across its flow blocks and duration predictor and YourTTS does across encoder, flow, and vocoder. This design is part of our table, so it is trained under exactly the same recipe as every other candidate. Beating it means a found design with higher held-out SECS at no worse WER, or equal quality with fewer conditioning parameters. The point of reference from the literature is SC-GlowTTS-Trans at SECS 0.8046 on VCTK, against 0.731 for Attentron (SC-GlowTTS). Because SECS depends on which verification encoder is used, we compare only against our own re-implementation of that conditioning pattern, not against the printed number.

The strongest search competitor for wiring is differentiable placement search. Following Adaptable Adapters, we place Gumbel-Softmax switches at each site and train them jointly with the generator. Adaptable Adapters reports a GLUE average of 51.28 against 44.87 for uniform adapters in the 100-example setting, though that result is from NLP, not speech. We run it with the same data and a total GPU-hour budget equal to our score plus finalist training. It gets the same tuning sweep over its temperature schedule. A second search competitor is a supernet with a gradient-boosted-tree predictor as in LightSpeech, which searched 214 million single-speaker candidates in 4 hours on 4 GPUs after supernet training. A third is budgeted early-stopped evaluation in the spirit of Rethinking Performance Estimation in NAS. We also include off-the-shelf zero-cost proxies (tangent-kernel condition number, linear regions, gradient signal-to-noise) and random search at equal compute.

For ranking quality, no reported result was found on Lacuna for any zero-cost proxy on conditioned speech generators. Every proxy number will therefore come from our table. For voice conversion, published MOS references are YourTTS at 4.20 against AutoVC at 3.54 (YourTTS). Our bottleneck experiments compare against AutoVC's published bottleneck setting retrained in our pipeline.

Three ablations isolate the key ingredient. One replaces real speaker embeddings with Gaussian vectors of equal norm, which tests whether the speaker manifold matters. The second drops the content term. The third drops the speaker term.

Why not just…?

Why not just learn the placement with differentiable switches? This is the most serious threat. Adaptable Adapters shows that switches can find which layers need adaptation. But switch-based search inherits weight entanglement within the shared network, and DARTS-style relaxations are known to collapse toward parameter-free choices. The analogue here is collapse to "no conditioning" or to "condition everywhere." The matched-compute comparison settles the question directly. If switches find designs as good as ours at similar cost, the contribution narrows to the benchmark and the analysis, and we will say so.

Why not just train each candidate briefly and measure speaker similarity early? Early in training the generated audio is often unintelligible. A verification encoder's cosine score on such audio is noisy and may reward timbre-like artifacts. We will plot rank correlation against compute for early-stopped SECS and for $C$ computed at the same step. Our hypothesis is that the feature-level score becomes reliable earlier than audio-level SECS. If it does not, short training is the better tool and we will report it as such.

Why not just use existing zero-cost proxies? They measure trainability and expressivity of a single input stream. A design that conditions only the duration predictor can be perfectly trainable yet copy no timbre. The file notes that their ranking ability degrades outside vision classifiers, and no speech-generator correlation has been reported. The table tests them head to head.

Why not just condition everywhere and skip search? That is what YourTTS does, and it may be close to optimal for quality. If uniform conditioning sits within noise of the best design in our table, the honest conclusion is that placement search is unnecessary for quality. The remaining value would then lie in the bottleneck axis. There, AutoVC documents that small sizing errors cause either leakage or unintelligible output, and uniform injection offers no answer. Evidence that the decoder side matters at all comes from SC-GlowTTS: holding the speaker encoder fixed while changing the backbone shifted both SECS and real-time factor.

Proposed Experiments

The decisive check is held-out rank correlation on the TTS table. $C$ at initialization must exceed every off-the-shelf proxy. Its Gaussian-embedding ablation must fall clearly below it. Its top-10 must contain designs within noise of the table's best trained SECS at equal or better WER, and computing it must take minutes rather than the roughly five GPU-days of AutoSpeech.

The second check is transfer. Rankings computed on VCTK should predict trained outcomes for a subset of configurations retrained on LibriTTS train-clean-360 and tested on LibriSpeech test-clean, following the split P-Flow reports (WER 2.6%, SECS 0.544 for its own system).

The third check is the bottleneck grid. The leakage score should identify the sizing band that trained models confirm best balances speaker leakage against WER, which AutoVC's authors found by hand.

Finalists from each search method, at matched compute, will receive a small comparative listening test against the uniform-conditioning baseline. The released tables will let others test new proxies without repeating the 200 trainings.