Abstract
In this paper we present ONTOSCORE, a system for scoring sets of concepts on the basis of an ontology. We apply our system to the task of scoring alternative speech recognition hypotheses (SRH) in terms of their semantic coherence. We conducted an annotation experiment and showed that human annotators can reliably differentiate between semantically coherent and incoherent speech recognition hypotheses. An evaluation of our system against the annotated data shows that it successfully classifies 73.2% in a German corpus of 2,284 SRHs as either coherent or incoherent (given a baseline of 54.55%).
Introduction
Automatic Speech Recognition (ASR) systems typically generate an "n-best list" of candidate hypotheses. Standard ranking methods rely on acoustic scores and language models that prioritize word sequence frequency. However, these models often lack semantic awareness, potentially ranking nonsensical but common phrases (e.g., "I would the map one Good Bye") higher than meaningful ones (e.g., "I would the map one see again").
To address this, we introduce ONTOSCORE, a knowledge-based system that evaluates the semantic coherence of speech recognition hypotheses. By leveraging a domain ontology, ONTOSCORE acts as a "sanity check," identifying interpretations that align with a structured world model.
Methodology
ONTOSCORE calculates a coherence score for a set of concepts extracted from a hypothesis. The system operates through several stages:
- Concept Mapping: Words in an SRH are mapped to ontology concepts via a specialized lexicon.
- Graph Transformation: The ontology—comprising approximately 730 concepts and 200 relations—is converted into a directed graph. To facilitate bidirectional traversal, the graph is enriched with
parent-ofrelations alongside standardsubclass-ofedges. - Pathfinding and Scoring: Using Dijkstra’s algorithm, the system determines the shortest path between all pairs of concepts. Shorter average path lengths indicate higher semantic coherence.
- Word/Concept Ratio: To account for hypotheses with very few recognizable concepts, a heuristic ratio ($V = N_c / N_w$) is applied. Hypotheses falling below a specific threshold are flagged as incoherent.
Evaluation and Results
The system was evaluated on a German corpus of 2,284 SRHs collected from 29 subjects across eight dialogue domains. Human annotators established a gold standard for coherence, achieving a Kappa score of 0.7.
While a baseline of guessing the most frequent class ("coherent") yielded 54.55% accuracy, ONTOSCORE significantly improved performance:
- Path-based scoring alone: 65.11% accuracy.
- Full ONTOSCORE (Path + Word/Concept Ratio): 73.2% accuracy.
The following table demonstrates how the system distinguishes between a coherent hypothesis ($SRH_1$) and an incoherent one ($SRH_2$) for the same utterance. Lower scores in the "According to $S$" column represent better semantic coherence.
Discussion and Conclusion
A key finding is that ONTOSCORE effectively mitigates the "one-concept trap," where sparse hypotheses appear artificially coherent. The integration of the Word/Concept Ratio was crucial in penalizing these instances. Furthermore, the requirement for bidirectional reasoning in the ontology graph highlights the difference between hierarchical inheritance and semantic relatedness.
Limitations and Future Work
Current limitations include the lack of discourse context—evaluating turns in isolation—and the reliance on manually crafted, domain-specific ontologies. Future research will focus on integrating word sense disambiguation and utilizing coherence drops to detect domain changes in multi-topic dialogues.
Summary updated