Language Modeling with Functional Head Constraint for Code Switching Speech Recognition

Ying Li, Pascale Fung

Code-switching (CS)—the practice of alternating between two or more languages in a single conversation—presents a significant challenge for modern Automatic Speech Recognition (ASR) systems. While monolingual data is abundant, transcribed code-switched data is notoriously scarce, leading to high Word Error Rates (WER) when bilingual speakers transition between languages. This paper, originally presented at EMNLP 2014, introduces a novel approach that leverages linguistic theory to constrain the search space of ASR systems, effectively compensating for the lack of training data.

The Functional Head Constraint (FHC)

Rather than relying solely on data-driven N-gram models, the authors incorporate the Functional Head Constraint (FHC). This linguistic rule posits that code-switching is not random; specifically, a "functional head" (such as a determiner, conjunction, or auxiliary verb) and its "complement" must be in the same language.

Figure 1: A syntactic tree illustrating the structural constraints in a code-switched sentence where Chinese and English elements are mixed.

By baking these structural rules into the language model, the system can prune grammatically impossible transitions. As shown in the figure above, the syntactic relationship between words (like "important" and "something") dictates where a language switch is permissible, allowing the model to focus on linguistically valid hypotheses.

Implementation: Sequential vs. Tight Coupling

The authors implemented this constraint within a Weighted Finite State Transducer (WFST) framework using two primary methods:

  1. Sequential-coupling (Lattice Parsing): The ASR system generates a word lattice of possible transcriptions, which is then re-scored by a syntax parser to filter out FHC violations.
  2. Tight-coupling (Partial Parsing): The parser is integrated directly into the decoding process. The system builds syntactic trees incrementally and discards hypotheses that violate FHC rules in real-time, preventing the model from committing to incorrect language paths early on.

To bridge the gap between monolingual models, a translation model was used to project potential English switches into a Chinese search network, which were then validated against the FHC rules.

Experimental Results

The system was evaluated on two datasets: academic Lecture Speech (16% English) and informal Lunch Conversations (20% English). The results demonstrated that structural linguistic priors can significantly improve performance when data is limited.

Figure 5: Performance comparison across different language modeling techniques, showing the superiority of Tight Coupling in switch-point detection metrics.

As seen in the table above, the Tight Coupling method consistently outperformed standard baselines. On the lecture task, it achieved a 33.70% WER, a notable improvement over the 35.17% WER of a standard Mixed Language Model. Furthermore, the models showed a nearly 10% increase in F-measure for switch-point detection, proving they are much more adept at identifying exactly where a speaker changes languages.

Conclusion

This research highlights that in an era dominated by "big data," structural linguistic constraints remain a powerful tool for solving "small data" problems. By defining where a switch cannot occur, the model becomes significantly more accurate at predicting where a switch does occur. While computationally more intensive than simple N-gram lookups, the Tight Coupling approach offers a robust path forward for bilingual ASR in diverse linguistic environments.

Summary updated

BibTeX
@inproceedings{li2014language,
  author = {Ying Li and Pascale Fung},
  title = {{Language Modeling with Functional Head Constraint for Code Switching Speech Recognition}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2014},
  doi = {10.3115/v1/d14-1098},
}
Figure