TL;DR
This paper introduces PsiloQA, a novel, large-scale, multilingual dataset for detecting factual inaccuracies (hallucinations) at the span level in Large Language Model (LLM) outputs. PsiloQA addresses the limitations of existing English-centric and sequence-level benchmarks, enabling more robust and fine-grained evaluation of hallucination detection methods across 14 languages.
What Problem Does This Paper Address?
Large Language Models (LLMs) are increasingly used in critical applications, but they are prone to generating "hallucinations" – facts or statements that are not supported by evidence. Detecting these hallucinations is crucial for safe deployment. However, existing benchmarks for hallucination detection often suffer from several limitations:
- English-centric: Most datasets are limited to English, hindering evaluation in multilingual contexts.
- Sequence-level: Many benchmarks only identify if an entire generated text contains a hallucination, not where the specific factual errors occur.
- Lack of fine-grained annotation: Identifying the exact span of text that is incorrect is more challenging but essential for understanding and correcting misinformation.
- Costly human annotation: Creating high-quality, fine-grained, multilingual datasets is labor-intensive and expensive.
This paper tackles these issues by proposing a scalable, automated pipeline to create a multilingual, span-level hallucination dataset.
Methods
The authors developed an automated, four-stage pipeline to generate the PsiloQA dataset:
- QA Pairs Generation: They used GPT-4o to generate question-answer pairs from Wikipedia passages. To ensure varied complexity, they generated three pairs per passage with different difficulty levels.
- Hypothesis Generation: Various LLMs (both open-weight and proprietary) were prompted to answer the generated questions without access to the original Wikipedia passage. This encourages them to rely on their internal knowledge, which is more likely to lead to factual errors.
- Inconsistency Detection: GPT-4o was used again to compare the LLM-generated answers against the "golden" answers (also generated by GPT-4o from the passage) and the original passage. Any discrepancies were marked as hallucinations using
[HAL]tags. This step focuses on identifying factual inconsistencies at the word or span level. - Dataset Filtration: A combination of rule-based and prompt-based filtering was applied to remove incomplete, subjective, or unanswerable questions, as well as cases where the LLM refused to answer.
Datasets
The paper introduces PsiloQA, a new, large-scale, multilingual dataset for span-level hallucination detection.
- PsiloQA:
- Languages: 14 languages.
- Generation: Automated pipeline using GPT-4o and various LLMs.
- Annotation: Span-level hallucinations annotated by GPT-4o.
- Size: 63,792 training samples, with 100 samples per language/LLM for benchmarking, and a test split of 2,897 samples.
- Cost: Significantly cheaper to produce than human-annotated datasets.
The authors also used existing benchmarks for evaluation:
- Mu-SHROOM: A multilingual benchmark for 14 languages.
- FAVA-Bench: An English-language benchmark for hallucination detection and editing.
- HalluEntity: An English-language benchmark for entity-level hallucinations.
- RAGTruthQA: An English-language benchmark for RAG tasks.
Key Insights and Ideas
- Automated, Scalable Multilingual Data Generation: The core innovation is the development of a cost-effective and scalable pipeline for creating high-quality, multilingual, span-level hallucination data. This bypasses the bottleneck of expensive human annotation.
- Span-Level is Crucial: The paper emphasizes that while sequence-level detection is important, span-level annotation is critical for precise identification and correction of factual errors, especially in longer texts.
- Multilingual Models Excel: Fine-tuned multilingual encoder models (like mmBERT) significantly outperform models trained only on English or uncertainty-based methods, highlighting the importance of multilingual pre-training for cross-lingual generalization.
- Synthetic Data Transferability: PsiloQA, despite being synthetically generated, demonstrates strong cross-lingual transfer capabilities and outperforms human-annotated datasets like RAGTruth in knowledge transfer experiments.
Key Results
- Encoder Models Dominate: Fine-tuned encoder-based models, particularly multilingual ones like mmBERT, achieved the best performance across PsiloQA and other benchmarks, outperforming uncertainty quantification and LLM-based approaches.
- Cross-Lingual Transfer: Training mmBERT on the full multilingual PsiloQA dataset enabled robust cross-lingual transfer, outperforming language-specific training even for languages with different scripts.
- PsiloQA vs. RAGTruth: PsiloQA-trained models consistently outperformed RAGTruthQA-trained models on downstream benchmarks, showing the effectiveness of the synthetic dataset.
- Cost-Effectiveness: PsiloQA's automated generation is estimated to be over 17 times cheaper to produce than human-annotated datasets like RAGTruth.
- Span Boundary Challenge: Despite strong performance, the gap between AP (average precision) and IoU (intersection over union) metrics across all methods indicates that precise span-level boundary detection remains a significant challenge.
Limitations and Future Work
- Annotation Source Bias: PsiloQA relies solely on GPT-4o for generation and annotation, which could introduce model bias. Future work could involve using an ensemble of models or human-in-the-loop validation.
- Task Narrowness: The current version is limited to question-answering (QA). Future work could extend the pipeline to other generative tasks like summarization, dialogue, and data-to-text generation.
- Hallucination Type Coverage: PsiloQA captures natural LLM hallucinations but doesn't explicitly cover a diverse taxonomy of hallucination types (unlike datasets that inject controlled errors).
- Language Resource Imbalance: While covering 14 languages, the distribution is uneven, and lower-resource languages might have fewer high-quality examples. Many baselines are also English-optimized.
- Dependency on Wikipedia: Using Wikipedia as the sole context source limits topical, stylistic, and cultural diversity, potentially introducing biases.
The authors suggest future work could involve extending the PsiloQA pipeline to other generation tasks and exploring more diverse annotation sources.
Summary updated