Skip to main content
QUICK REVIEW

[Paper Review] Compiling Language Models from a Linguistically Motivated Unification Grammar

Manny Rayner, Beth Ann Hockey|ArXiv.org|Jun 9, 2000
Natural Language Processing TechniquesComputer Science4 references10 citations
TL;DR

This paper investigates the feasibility of compiling linguistically motivated unification grammars into practical language models for speech recognition. By incrementally expanding a grammar and compiling it via the Gemini system into finite-state language models, the study identifies that complex syntactic rules—particularly relative clause modification—cause severe performance degradation, leading to high memory usage and slow recognition speed, though a simplified compromise version maintains acceptable performance with only moderate slowdown.

ABSTRACT

Systems now exist which are able to compile unification grammars into language models that can be included in a speech recognizer, but it is so far unclear whether non-trivial linguistically principled grammars can be used for this purpose. We describe a series of experiments which investigate the question empirically, by incrementally constructing a grammar and discovering what problems emerge when successively larger versions are compiled into finite state graph representations and used as language models for a medium-vocabulary recognition task.

Motivation & Objective

  • To assess whether linguistically principled unification grammars can be practically compiled into usable language models for medium-vocabulary speech recognition.
  • To identify the specific syntactic constructs within unification grammars that cause performance bottlenecks during compilation into finite-state language models.
  • To evaluate the trade-offs between linguistic expressiveness and computational efficiency in grammar-based language model compilation.
  • To explore whether a compromise grammar can maintain recognition accuracy while reducing resource overhead from complex syntactic rules.

Proposed method

  • The study uses the Gemini compiler to translate unification grammar rules into context-free grammars (CFGs), which are then compiled into probabilistic finite state graphs (PFSGs) by the Nuance Toolkit.
  • A systematic, incremental approach is used: starting from a minimal grammar, coverage is expanded step-by-step to identify where performance degrades.
  • Three versions of the language model are evaluated: one without relative clause rules, one with full rules, and one with a simplified version that removes critical features from the relative clause rule.
  • Recognition performance is measured using real-time speed (xRT), false reject rate (FRej), memory usage (Mem), and word error rate (WER) on a corpus of 41 utterances with and without relative clauses.
  • Empirical evaluation is conducted across eight speakers, with results averaged after excluding extreme values to reduce skew.
  • The analysis focuses on identifying the root cause of performance degradation, particularly in the relative clause rule, and evaluating a feature-removal compromise to mitigate it.

Experimental results

Research questions

  • RQ1Can linguistically motivated unification grammars be successfully compiled into usable language models for speech recognition?
  • RQ2Which syntactic rules in unification grammars cause the most significant performance degradation during compilation into finite-state language models?
  • RQ3To what extent can a simplified version of a complex rule (e.g., relative clause modification) maintain recognition accuracy while reducing computational overhead?
  • RQ4Is there a practical trade-off between linguistic expressiveness and recognition efficiency in grammar-based language modeling?

Key findings

  • The relative clause rule was identified as the primary source of performance degradation, causing a 4.76x increase in recognition time (xRT) compared to a version without it.
  • The full grammar version (rels) had a 16.1% false reject rate on non-relative-clause utterances, more than double the 9.0% rate of the simplified version (no_rels).
  • The full grammar consumed significantly more memory, with 1.1% of utterances failing due to memory limits, compared to no memory failures in the no_rels version.
  • The word error rate (WER) was slightly lower for the full grammar (5.7%) than for the simplified version (6.0%) on non-relative-clause utterances, indicating better accuracy at the cost of efficiency.
  • For utterances with relative clauses, the full grammar (rels) achieved a lower WER (3.5%) than the simplified version (unlinked, 5.4%), but rejected more utterances (26.7% vs. 20.0%).
  • The compromise version (unlinked), which removes critical features from the relative clause rule, achieved recognition performance close to the baseline (no_rels) while reducing the xRT from 4.76 to 2.60, showing a viable trade-off between expressiveness and efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.