TRANSMISSION // 2605.27376v2

Teaching Text-to-Speech to Change Style Mid-Sentence

Source published

A preprint describes inference-time techniques for smoothly adjusting a synthetic voice’s style between utterances and during a single utterance, while revealing trade-offs in control and speaker similarity.

AI-generated conceptual illustration for Teaching Text-to-Speech to Change Style Mid-Sentence
AI-generated conceptual illustration; not documentary evidence.

Text-to-speech systems can often follow prompts such as “speak quickly” or “use a higher pitch,” but changing style smoothly—and changing it partway through a sentence—is harder. Researchers report ways to adjust style without retraining, and examine why a voice may resist a mid-sentence change.

Text-to-speech systems are increasingly able to follow written instructions about how a voice should sound. But a prompt such as “speak slowly” typically sets one overall style for an utterance. It may not offer a smooth choice between fast and slow, or make a voice start quickly and then ease into a slower pace.

A preprint by Jaehoon Kang and colleagues explores both kinds of control. Their methods work during generation, without additional model training. The study tests changes in gender presentation, pitch and speaking speed, and examines how a generated voice can shift style within one utterance while retaining speaker similarity.

Moving between styles

For changes between utterances, the researchers manipulate representations of paired, contrasting text prompts—for example, prompts that differ in whether the voice is described as fast or slow. They calculate a direction between the prompts’ style representations and adjust how far generation moves along it. In principle, that provides a slider rather than a choice between two fixed descriptions.

The team tested this approach with Parler-TTS-mini on 400 sentences from the LibriTTS-R test-clean set. They reported that the changes generally tracked the adjustment strength. At the settings reported in the paper, gender conversion reached 99–100% success in the two directions. Pitch shifted by up to about 36 hertz, and speaking rate changed by up to 1.6 syllables per second. These are results for the tested model, prompts and evaluation—not a guarantee that every TTS system or wording will respond the same way.

Why changing style mid-utterance is harder

A straightforward idea for a mid-sentence change is to replace the style prompt as generation proceeds. In the researchers’ tests, that did not reliably work. Their analysis points to what they call “style self-referencing”: early generated audio appears to establish a style that later parts of the model’s generation continue to follow, reducing the influence of a new prompt.

To counter this, the team combines two inference-time interventions. One swaps part of the decoder’s key-value cache—the stored information used to generate later audio—with a cache prepared under the target style. The other restricts attention so later audio can draw on the new-style starting region and a limited window of recent audio, rather than the whole earlier sequence. The goal is to let the style change while preserving nearby speech context.

In tests of within-utterance pitch and speed transitions, the results depended on the size of that attention window. Smaller windows generally produced stronger changes and higher rates at which listeners detected the intended transition. But they also reduced speaker similarity. For the reported settings, similarity scores ranged from 0.81 to 0.91; perceptual smoothness ratings ranged from 3.48 to 4.48 on a five-point scale. Larger windows tended to sound smoother, while weaker transitions were more likely. The paper therefore describes a trade-off, not a single setting that maximizes every quality.

The researchers also tested the method on IndexTTS 2, a different autoregressive system with categorical emotion labels. Across five tested emotion transitions, the reported change rates were 71–87%, with speaker-similarity scores of 0.88–0.92. This offers evidence beyond the main model, but it does not establish that the approach works across all speech-generation architectures.

What the results do—and don’t—show

The experiments suggest that a model’s existing representations and decoding process can be adjusted to provide more control without retraining. The team reports that its dual-decoder setup added about 0.77 seconds in a particular latency test on one NVIDIA V100 GPU. That measurement is specific to the study’s setup, not a general estimate of deployment cost.

There are important boundaries. The main tests focused on pitch, speed and gender presentation, with a limited extension to categorical emotions. Other features, such as intonation and emphasis, remain untested. The method also requires two decoder inferences for a mid-utterance transition, and its behavior depends on tuning the attention window. The authors note that identifying style attributes in free-form prompts automatically remains future work; whether the approach applies to non-autoregressive or diffusion-based models is also open.

Finally, the reported outcomes combine acoustic measurements, automated classifiers, speaker-embedding similarity and human ratings. Each captures a different aspect of speech, and none alone establishes that a generated voice will sound natural or retain identity in every setting. This work is an arXiv preprint, so its claims should be treated as research findings awaiting further scrutiny rather than settled evidence. The authors also warn that voice-style controls could be misused for impersonation or manipulation.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.