Textless Dependency Parsing by Labeled Sequence Prediction

Shunsuke Kando, Yusuke Miyao, Jason Naradowsky, Shinnosuke Takamichi

Abstract

Traditional spoken language processing relies on a cascading pipeline: Automatic Speech Recognition (ASR) followed by a text-based parser. This paradigm is susceptible to error propagation and ignores rich acoustic features like prosody. We explore a "textless" approach that predicts dependency structures directly from raw audio using labeled sequence prediction. While cascading models currently lead in overall accuracy, particularly for long-distance dependencies, the textless model excels at resolving syntactic ambiguities through prosodic cues and offers a more efficient training process.

The Challenge: Error Propagation and Information Loss

In standard Spoken Language Processing (SLP), the dependency between ASR and NLP creates a bottleneck. If the ASR system misidentifies or omits a word, the subsequent parser receives corrupted input, leading to a "doomed" analysis.

Error propagation in cascading systems: an ASR deletion error causes a shift in word indices, resulting in incorrect dependency mapping.

Beyond error propagation, text transcriptions are inherently lossy. They strip away prosody—the rhythm, stress, and intonation of speech—which humans naturally use to disambiguate meaning. For example, the stress on a specific word can distinguish a main verb from an auxiliary, a distinction often lost in plain text.

Proposed Methodology

The researchers compared two distinct architectural philosophies for extracting syntactic trees from speech.

Comparison of the cascading Wav2tree baseline (left) and the proposed textless Labeled Sequence Prediction model (right).

1. Wav2tree (Cascading Baseline)

This system represents the standard pipeline approach. It utilizes a pre-trained wav2vec 2.0 model to generate speech representations. A Connectionist Temporal Classification (CTC) layer predicts word sequences, which are then used to segment the audio into "audio word embeddings." These embeddings are processed by a bi-LSTM to predict part-of-speech (POS) tags and dependency relations.

2. Labeled Sequence Prediction (Proposed Textless Method)

The proposed model bypasses explicit word segmentation. It treats the entire dependency tree as a single interleaved string of words and metadata (e.g., LE<DET><R1><spe>).

  • Architecture: It employs wav2vec 2.0 followed by a Feed-Forward Network (FFN) and a CTC loss function to predict this complex sequence directly from the acoustic signal.
  • Key Advantage: By remaining "textless," the model can theoretically leverage the entire acoustic context, including prosodic contours, for every parsing decision without being constrained by intermediate ASR errors.

Evaluation and Results

The models were evaluated on the Orfeo Treebank (French, 130 hours) and the Switchboard corpus (English, 48 hours).

Performance Trade-offs

  • Accuracy: The cascading model remains superior in raw metrics, achieving a 79.8% Labeled Attachment Score (LAS) on Switchboard compared to the textless model's 75.7%. A similar gap was observed in the French dataset.
  • The Prosody Edge: Qualitative analysis revealed that the textless model correctly identifies the root of a sentence when acoustic emphasis is present. In cases like "go buy me some strawberries," the stress on "buy" allows the textless model to correctly identify it as the root, whereas text-only models often default to "go."
  • Structural Limitations: The textless model struggles with long-distance dependencies. Without explicit word boundaries, the model has difficulty maintaining a global structural map over long durations, leading to a sharp drop in accuracy as the distance between head and dependent increases.
  • ASR Performance: Interestingly, the textless model's Word Error Rate (WER) was slightly higher than the cascading model (10.3% vs 9.7% on English), likely due to the multi-task nature of optimizing for both transcription and parsing simultaneously.

Efficiency

The textless approach is significantly more streamlined. It is up to 3x faster to train and requires fewer parameters, as it avoids the need for complex intermediate parsing networks and the "oracle" data augmentation typically required to make cascading parsers robust to ASR errors.

Conclusion and Future Directions

While the cascading approach currently holds the edge in accuracy due to its explicit lexical priors, the textless model proves that syntactic structure can be learned directly from audio. The primary hurdle remains the "conditional independence" assumption of the CTC loss, which is ill-suited for the highly dependent nature of syntax.

Future work will focus on integrating attention-based Encoder-Decoder architectures to better capture long-range dependencies. The ultimate goal is a hybrid system that fuses explicit word-level representations for structure with sentence-level prosodic contours for disambiguation.

Summary updated

BibTeX
@inproceedings{kando2024textless,
  author = {Shunsuke Kando and Yusuke Miyao and Jason Naradowsky and Shinnosuke Takamichi},
  title = {{Textless Dependency Parsing by Labeled Sequence Prediction}},
  booktitle = {Interspeech},
  year = {2024},
  doi = {10.21437/interspeech.2024-783},
}
Figure