Towards Faithful and Robust LLM Specialists for Evidence-Based Question-Answering

Tobias Schimanski, Jingwei Ni, Mathias Kraus, Elliott Ash, Markus Leippold

Introduction

Large Language Models (LLMs) are increasingly deployed in Retrieval-Augmented Generation (RAG) systems to provide evidence-based answers. However, even state-of-the-art models often struggle with "faithfulness"—the ability to ground answers strictly in provided evidence. They frequently cite irrelevant sources or "hallucinate" information not present in the text. While closed-source models like GPT-4 perform reasonably well, open-source models typically lag behind. This research introduces a method to transform general-purpose open-source LLMs into "Evidence-Based QA specialists" that rival or exceed the performance of proprietary models through high-quality synthetic data fine-tuning.

Methodology: The SynSciQA Pipeline

The researchers developed the SynSciQA pipeline to generate and refine synthetic training data. The process begins with generating scientific topics, questions, and source paragraphs using GPT-3.5 and GPT-4.

Overview of the SynSciQA++ pipeline, illustrating the automated quality filtering process and subsequent model evaluation.

The core innovation lies in Automated Quality Filtering. Rather than using all generated data, the pipeline applies two rigorous filters to create the high-quality SynSciQA++ dataset:

  1. Source Filter: Ensures the model cites only relevant sources while ignoring "distractor" (irrelevant) paragraphs.
  2. Attributability Filter: Uses Natural Language Inference (NLI) models (specifically attrscore-flan-t5) to verify that every sentence in a generated answer is actually supported by the cited source.

Models such as Llama-2-13b-chat and Zephyr-7b-β were then fine-tuned using QLoRA on different versions of this data to test the impact of filtering.

Datasets and Evaluation

The models were evaluated on a spectrum of benchmarks ranging from synthetic to real-world:

  • SynSciQA / SynSciQA++: Primary synthetic datasets used for training and in-distribution testing.
  • GenSearch-test: A semi-synthetic benchmark derived from real generative search engine results.
  • ChatReport-test & ClimateQA-test: Real-world out-of-distribution (OOD) datasets involving corporate sustainability reports and IPCC climate reports.

Key Results: Quality Over Quantity

The study's most significant finding is that data quality matters far more than quantity. Fine-tuning on the small, filtered SynSciQA++ set (~600 samples) consistently outperformed results from the larger, unfiltered dataset (~2,100 samples).

Answer Attributability scores for Zephyr and Llama models across various benchmarks, showing that SynSciQA++ fine-tuning allows open-source models to approach or exceed GPT-4 performance.

As shown in the results, the fine-tuned open-source models achieved massive gains in attributability. On the SynSciQA-test, the Zephyr model improved from a baseline of ~13% to over 80%, nearly erasing the performance gap with GPT-4 (~86%). Crucially, these improvements generalized to real-world tasks like ChatReport and ClimateQA, proving that faithfulness is a transferable skill that can be learned in one domain and applied to others.

Insights and Future Directions

The research demonstrates that synthetic benchmarks can serve as reliable proxies for real-world performance. However, the authors noted that finding the optimal training duration (around 2 epochs) is vital to prevent overfitting and maintain robustness.

Future work will explore the trade-off between "faithfulness" and "helpfulness"—ensuring that strictly grounded answers still fully satisfy user intent. Additionally, the team suggests exploring Reinforcement Learning from Human Feedback (RLHF) to further refine the reasoning and helpfulness of these specialized models.

Summary updated

BibTeX
@inproceedings{schimanski2024towards,
  author = {Tobias Schimanski and Jingwei Ni and Mathias Kraus and Elliott Ash and Markus Leippold},
  title = {{Towards Faithful and Robust LLM Specialists for Evidence-Based Question-Answering}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.105},
}
Figure