Apple proposes method to detect code-switching in speech without transcription
Researchers identify language-selective dimensions in speech encoders to flag multilingual utterances directly from audio, improving data curation for multilingual models.
1 source · cross-referenced
- Apple researchers propose a lightweight method to detect code-switching directly from speech using pretrained speech encoders.
- The approach uses frame-level language information to predict whether an utterance contains multiple languages without requiring transcription.
- On CS-FLEURS, Whisper-small achieves a mean F1 of 0.798 across 14 language pairs, outperforming CNN and HuBERT baselines.
Apple’s Machine Learning Research team describes a method to detect code-switching—alternating languages within a single utterance—directly from speech audio, bypassing the need for transcription. The technique leverages language-selective hidden-state dimensions in pretrained speech encoders, aggregating frame-level activations to predict whether both languages are present in an utterance.
To operationalize the approach, the team first identifies language-selective dimensions using monolingual recordings, then applies a small code-switching set to tune a decision rule. Evaluated on CS-FLEURS across 14 language pairs, the Whisper-small encoder achieves a mean F1 of 0.798, compared with 0.776 for a CNN baseline and 0.751 for a HuBERT linear baseline trained for monolingual language identification.
The authors argue that pretrained speech encoders already encode sufficient information to identify code-switching utterances, enabling a lightweight tool for building more representative multilingual corpora without the overhead of accurate multilingual transcription.
The work is situated within broader efforts to improve multilingual speech processing, where code-switching data scarcity limits model performance. Related Apple research includes an iterative pseudo-labeling approach for Mandarin-English code-switching ASR and prior work on end-to-end speech translation for code-switched speech.
- Oct 18, 2026 · Anthropic Research
Anthropic’s Claude traces origins of NIST ECDSA curve seeds to 1990s C library PRNG seeded by Unix timestamps
Trust79 - Oct 18, 2026 · Apple — Machine Learning Research
Apple pre-trains first tri-modal masked diffusion model from scratch across text, image-text, and audio-text
Trust84 - Oct 17, 2026 · Apple — Machine Learning Research
Apple proposes Selection-Based Structured Reasoning to cut multimodal agent inference costs
Trust79