potentialpaper

Changanya Ndimi: Code-Switched Speech Generation via a Diffusion Prior and Linguistic Constraints

Peter Ochieng

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. We consider the problem of generating code-switched speech by editing monolingual utterances using a pre-trained generative prior and a set of linguistic constraints. In our setting, the prior is a diffusion-based speech synthesis model trained independently on monolingual data, while the constraints are differentiable functions that guide the insertion of foreign language segments. These constraints include a multilingual language classifier and a contrastively trained segment encoder, which together ensure that inserted content is linguistically plausible, semantically coherent, and socio-linguistically grounded.By iteratively modifying the noisy speech representation and conditioning on segment-level constraints, our model performs targeted segment replacements without requiring parallel code-switched data. We evaluate our system on a semantically aligned speech corpus spanning five African languages from three major phyla. The resulting speech achieves a COMET score of 0.815 and a LaBSE similarity of 0.880 at the segment level, while preserving speaker identity with an Equal Error Rate of 6.7%. It also reproduces natural code-switching patterns in frequency, position, and alternation rate without explicit supervision.To our knowledge, this is the first approach that enables controlled multi-language infusion in a single utterance, producing fluent, coherent, and sociolinguistically realistic code-switched speech. Our work demonstrates that guided diffusion is a promising plug-and-play mechanism for cross-lingual and low-resource speech generation tasks.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…