Abstract
Spoken Question Answering (SQA) systems often suffer from error propagation in traditional Automatic Speech Recognition (ASR) pipelines. Furthermore, most research focuses on short factoid extraction rather than fluent, full-length responses. We present ConfNet2Seq, a novel architecture that leverages confusion networks—compact graph representations of ASR hypotheses—to generate natural language answers. By encoding the uncertainty of spoken input directly into a pointer-generator framework, ConfNet2Seq demonstrates superior robustness and generalization, particularly in cross-domain scenarios where standard "best hypothesis" models fail.
Introduction
Most Question Answering (QA) systems are designed for text. When applied to speech, they typically follow a "pipeline" approach: an ASR converts audio to text, and a QA model processes that text. The primary flaw in this method is error propagation; if the ASR makes a mistake, the downstream QA model has no way to recover. Additionally, in real-world conversational AI, users expect full, natural sentences (e.g., "The capital of France is Paris") rather than simple factoid spans (e.g., "Paris"). ConfNet2Seq addresses these challenges by generating fluent responses while managing the inherent uncertainty of spoken input.
Methods
ConfNet2Seq utilizes a pointer-generator architecture modified to handle graph-based inputs rather than linear text strings.
The model's core components include:
- Confusion Network (ConfNet) Encoding: Instead of taking the single "best" guess from an ASR, the model uses a Confusion Network. This is a weighted directed acyclic graph where parallel arcs represent time-aligned word alternatives.
- The Encoder: A specialized encoder transforms this 2D graph into a 1D sequence of embeddings. It calculates a weighted sum of the parallel arcs based on ASR probabilities and a trainable relevance parameter, effectively "flattening" the uncertainty into a rich vector representation.
- Pointer-Generator Mechanism: The decoder is a Seq2Seq model that can either generate a word from a fixed vocabulary or "copy" a word from the input. Crucially, it can copy from two sources: the encoded spoken question and the textual factoid answer.
- Clean ConfNet: To improve performance, the authors implemented a pruning step to remove "noise" arcs (like [noise] or uh) from the ASR graphs, creating a "Clean ConfNet" representation.
Results and Evaluation
The model was trained on a dataset of 258,478 samples derived from SQuAD and HarvestingQA, with speech synthesized via Google TTS. Evaluation was conducted on in-domain data and two out-of-domain sets: NewsQA and Freebase.
As shown in the results table, while the "Best Hypothesis" model performed better on the in-domain SQuAD data (60.26 BLEU), the ConfNet approach proved superior in cross-domain environments. On NewsQA, the Clean ConfNet achieved a BLEU of 56.86, significantly outperforming the Best Hypothesis model's 49.98. Similarly, on Freebase, the Clean ConfNet reached a ROUGE-L of 66.39, surpassing the baseline's 64.98. These results suggest that the confusion network model is less sensitive to domain-specific noise and generalizes better to the variability of real-world speech.
Conclusion
ConfNet2Seq demonstrates that treating ASR uncertainty as a feature rather than an error allows for more robust spoken language generation. By utilizing confusion networks, the model can potentially "rescue" correct words that were not the ASR's top choice. Future work will explore more advanced attention mechanisms to choose between multiple time-aligned hypotheses and testing on natural, human-recorded speech to further validate the system's robustness.
Summary updated