Introduction
Air travel in Canada is governed by a complex web of regulations that often leave passengers confused and underserved when disruptions occur. While international standards exist, Canadian domestic policies are notoriously difficult to navigate. When flights are delayed or luggage is lost, travelers frequently turn to human volunteer groups, which are currently overwhelmed by the sheer volume of inquiries.
Automation offers a potential solution, but the stakes in the legal and regulatory domain are exceptionally high. A recent high-profile incident involving an Air Canada chatbot—which provided a passenger with incorrect refund information that the airline was later legally compelled to honor—underscores the danger of "hallucinations" in Large Language Models (LLMs). In high-stakes environments, a chatbot that is "mostly right" is a significant liability. This research presents a specialized chatbot designed to provide factually bulletproof assistance by prioritizing authoritative retrieval over generative summarization.
System Architecture and Methodology
To address the complexities of passenger rights, the researchers developed a modified Retrieval-Augmented Generation (RAG) architecture. Unlike standard RAG systems that use an LLM to synthesize an answer from retrieved text, this system intentionally bypasses the generation phase to eliminate the risk of model-induced falsehoods.
The pipeline consists of three primary stages:
- Input Understanding: Utilizing GPT-4, the system performs decontextualization to resolve ambiguous pronouns and decomposition to break compound user narratives into atomic sub-queries. For example, a story about both a cancellation and lost luggage is split into two distinct search tasks.
- Document Retrieval: The system employs dense retrieval, converting queries into high-dimensional vectors to identify the most relevant passages from a curated knowledge base using cosine similarity.
- Answer Presentation: In a strategic departure from traditional AI, the chatbot presents the raw, authoritative passages and direct source links to the user. This "No-Generation" approach ensures that the information provided is 100% faithful to the source material.
Knowledge Base and Data Curation
The system’s intelligence is rooted in a specialized Knowledge Base (KB) comprising 88 high-value web pages. These include practical guides from AirPassengerRights.ca, regulatory details from the Canadian Air Passenger Protection website, and legal glossaries. Documents were segmented by HTML headers to ensure that retrieved snippets provided sufficient context without overwhelming the user with irrelevant text.
Key Results and Evaluation
The effectiveness of the system was measured against both standard generative RAG models and traditional information-seeking methods like Google Search.
Accuracy and Hallucination Rates
The most significant finding was the elimination of hallucinations. While a standard RAG system (which summarizes answers) exhibited a 27.5% hallucination rate, the authors' system achieved a 0% hallucination rate. Furthermore, the retrieval mechanism proved highly accurate, maintaining a Mean Average Precision (MAP@5) of 0.88.
User Experience
In a user study involving 15 participants, the chatbot consistently outperformed Google Search across several key usability metrics. Users found the chatbot significantly more satisfying and useful for navigating specific legal scenarios.
Participants reported that the chatbot was more convenient because it directly surfaced specific legal clauses relevant to their unique situations, whereas Google Search required them to manually sift through multiple, often conflicting, search results.
Discussion and Future Work
The core insight of this research is that in legal domains, the "Generation" in RAG can be a bug rather than a feature. By acting as a sophisticated routing engine for authoritative text, the tool maintains total fidelity to the law. The study also highlights that users value authoritative evidence—such as direct quotes and links—over conversational friendliness when financial compensation or travel rights are at stake.
Future iterations of the system aim to address current limitations, such as the lack of multi-turn clarification. The authors plan to implement "probing" questions to help users provide necessary details (like flight origin) that impact legal eligibility. Additionally, they are exploring ways to provide simplified summaries alongside the original text to aid comprehension without reintroducing the risk of hallucination.
Summary updated