TL;DR
Neural LCS is a novel, soft-sequence alignment framework designed to accurately map dysfluent and disordered speech to its intended reference text. By leveraging a siamese network architecture to capture phonetic and morphological similarities, it overcomes the limitations of traditional exact-match algorithms, significantly improving speech segmentation and dysfluency detection for clinical applications like diagnosing Primary Progressive Aphasia (PPA).
What Problem Does This Paper Address?
Automating the diagnosis of neurodegenerative speech disorders, such as Primary Progressive Aphasia (PPA), relies heavily on analyzing the discrepancies between what a patient intends to say (lexical text) and what they actually utter (dysfluent speech). These discrepancies manifest as sound repetitions, insertions, deletions, and substitutions.
Traditional speech-text alignment tools (forced aligners) typically assume fluent speech with strong monotonicity and exact element-wise matching. When applied to disordered speech, these algorithms fail. For instance, if a patient substitutes a /B/ sound for a /P/ sound due to a voicing error, a standard aligner treats them as entirely distinct, unrelated tokens rather than recognizing a partial, imperfect match. Previous attempts to use the Longest Common Subsequence (LCS) algorithm helped ignore irrelevant insertions but still suffered from this "hard matching" limitation, treating phonetically similar sounds as completely different.
Methods
The authors introduce Neural LCS, a robust framework designed to perform soft subsequence alignment by learning context-aware similarity mappings between reference and dysfluent sequences.
1. Text-to-Text Alignment
Neural LCS uses a siamese network architecture:
- Feature Encoder: Dual token sequences (the reference text and the dysfluent transcription) are passed through a shared T5 feature encoder with a fully visible mask, allowing all tokens to attend to one another.
- Predictor: The resulting sequence representations are concatenated and fed into a 1D CNN followed by Multi-Layer Perceptrons (MLPs) with ReLU activations.
- Training Objective: The network outputs alignment labels (indicating aligned boundaries, dysfluent units, or missing tokens) and is optimized using Focal Loss to counteract severe class imbalance (since fluent text naturally dominates the data).
2. Speech-to-Text Alignment (STA)
To align raw audio directly to text, the authors build the STA model:
- A
wav2vec 2.0feature extractor combined with a Conformer and a projection layer acts as an acoustic model, trained via Connectionist Temporal Classification (CTC) loss to output a dysfluent phoneme sequence from the audio. - Greedy decoding collapses this frame-level matrix into a phoneme sequence.
- Finally, the Neural LCS module aligns this collapsed dysfluent sequence back to the original reference text, effectively mapping the reference text directly to the audio timeline.
Datasets
The model was trained and evaluated using three distinct datasets, including two newly simulated corpora designed to mimic acoustic and structural speech disorders:
- Simulated Text-Text Data: Generated by probabilistically injecting phonemic dysfluencies into the VCTK text corpus based on heuristic articulatory categories (e.g., grouping similar plosives or fricatives together).
- LLM Disorder Dataset (Text-Speech): To create more natural dysfluent speech, the authors prompted an LLM (Claude 3.5 Sonnet) to generate realistic text-level speech disorders. These texts were converted to audio using a VITS Text-to-Speech (TTS) model, yielding 1,152.86 hours of audio across 50 simulated speakers.
- PPA Speech Dataset: A real-world clinical dataset consisting of approximately 1 hour of audio recordings from 38 participants diagnosed with Primary Progressive Aphasia reading the standard "grandfather passage."
Key Insights and Ideas
- Soft vs. Hard Matching: The core "aha moment" is transitioning sequence alignment from a rigid discrete problem to a continuous similarity learning problem. Neural LCS successfully learns that phonemes like
/K/and/G/or words like "plays" and "playing" share underlying acoustic or morphological traits, allowing the alignment path to hold steady through errors. - LLMs as Clinical Data Simulators: Relying purely on random rule-based injections creates artificial patterns. Leveraging LLMs to generate the underlying text structure before synthesis produces a significantly more realistic proxy for clinical speech disorders.
Key Results
Text-to-Text Alignment Accuracy
Neural LCS drastically outperformed Dynamic Time Warping (DTW) and traditional Hard LCS on simulated datasets:
- Phoneme-level (LLM Text): Neural LCS achieved 90.96% accuracy, compared to just 43.53% for Hard LCS and 54.80% for DTW.
- Word-level (LLM Text): Neural LCS reached 75.07% accuracy, outperforming Hard LCS (60.67%).
Speech-to-Text Segmentation
When evaluated on boundary precision using Boundary Loss (BL, measured in milliseconds), the STA model was compared against the state-of-the-art YOLO-Stutter baseline:
- On the LLM Disorder dataset, the STA model cut repetition boundary error down to 10ms (from 27ms) and insertion error to 23ms (from 50ms).
- On real PPA Speech, the STA model achieved a lower overall boundary loss of 17ms compared to YOLO-Stutter's 21ms.
Limitations and Future Work
While Neural LCS showed sweeping improvements, the authors noted that its deletion detection performance (27ms BL) lagged slightly behind the YOLO-Stutter baseline (13ms BL) on the simulated dataset.
For future work, the team aims to explore advanced decoding strategies and integrate explicit articulatory kinematics (vocal tract movement modeling) or gestural systems to better capture the physical constraints of disordered speech production.
Summary updated