TL;DR
This paper introduces FoRAG, a novel approach to web-enhanced long-form question answering that tackles the critical issues of factual accuracy and logical coherence in generated answers. By combining an outline-enhanced generation strategy with a doubly fine-grained Reinforcement Learning from Human Feedback (RLHF) framework, FoRAG significantly improves answer quality and factuality, even outperforming larger models with fewer parameters.
What Problem Does This Paper Address?
Retrieval Augmented Generation (RAG) has become a popular technique for question answering, especially for generating long, detailed answers by leveraging search engines. However, existing web-enhanced RAG systems, like Bing Chat, suffer from two major drawbacks: a lack of factual accuracy (only about half of generated statements are supported by retrieved references) and unclear logical structure in their long-form answers. This unreliability poses a significant threat to their trustworthiness. The paper aims to address these limitations by developing a more systematic and effective method for generating factually accurate and logically coherent long-form answers from web sources.
Methods
The authors propose a two-pronged approach:
- Outline-Enhanced Generator: This novel generator first creates an outline for the answer before generating the full response. It involves two stages:
- Outline Stage: The model drafts an organizational pattern (e.g., cause-effect, compare-contrast) and then generates a concise outline with key points, referencing specific parts of the provided materials.
- Expansion Stage: The model uses this outline as a blueprint to construct a comprehensive and informative answer, ensuring a clear logical flow. This approach is inspired by how humans typically structure their thoughts before writing.
- Doubly Fine-Grained RLHF Framework: To optimize factuality, the authors introduce a new RLHF framework that goes beyond traditional holistic evaluation. This framework features:
- Fine-Grained Evaluation: Answers are evaluated at multiple granularities: holistic (entire answer), sentence-level, and subclaim-level (individual factual assertions).
- Fine-Grained Reward Modeling: The reward model is also designed to provide feedback at these different granularities, creating a denser and more informative training signal for the generation model. This framework unifies existing fine-grained RLHF methods and allows for flexible optimization of factuality.
Datasets
The paper introduces two new outline-enhanced LFQA datasets, constructed using queries and relevant passages from existing datasets. They also mention collecting additional Chinese data to address sample imbalance.
- Outline-enhanced LFQA datasets: Created by applying their outline-enhanced generation technique using GPT-4 to existing WebCPM (Chinese) and WebGLM-QA (English) datasets. These new datasets feature longer, more logically structured answers.
Key Insights and Ideas
- Human-like Generation Process: The idea of an "outline-enhanced generator" mimics human writing processes, suggesting that explicitly structuring thoughts before generating text can lead to more coherent and logical outputs.
- Granularity Matters for Factuality: Traditional RLHF uses a single score for an entire answer, which is too sparse for long-form generation. The paper demonstrates that breaking down evaluation and reward signals into finer granularities (sentence, subclaim) significantly improves factuality by providing more precise feedback.
- Efficiency Through Optimization: By optimizing for factuality and coherence, FoRAG achieves superior performance with significantly fewer parameters than existing state-of-the-art models, highlighting the importance of targeted optimization over sheer model size.
- Bilingual Capability: The development of both English and Chinese datasets and models demonstrates the framework's applicability across languages, addressing a common challenge in cross-lingual NLP research.
Key Results
- Superior Performance: FoRAG-L-7B (trained on Llama2-7B-chat) outperforms WebGPT-175B on coherence, helpfulness, and factuality metrics, despite having only 1/24th of the parameters.
- Improved Coherence and Helpfulness: The outline-enhanced generator significantly boosts coherence and helpfulness, as shown by comparisons in Table 4.
- Enhanced Factuality: The doubly fine-grained factuality optimization method substantially improves factuality at both answer and sentence levels.
- Dataset Impact: The new outline-enhanced datasets lead to longer answers with better logic structures compared to original datasets.
- Training Efficiency: While fine-grained RLHF incurs some additional training time (up to ~67.7% for the subclaim version), the paper suggests that implementation optimizations can mitigate this cost.
Limitations and Future Work
- Training Efficiency Cost: The doubly fine-grained RLHF framework, particularly the subclaim version, increases training time. The authors suggest that implementation improvements (e.g., multi-head reward layers) can reduce this overhead.
- Dataset Imbalance: The initial imbalance between English and Chinese samples in the training data was noted as a potential difficulty, though addressed by collecting more Chinese data.
- Future Work: The paper suggests that the proposed doubly fine-grained RLHF framework can be generalized to other RLHF tasks beyond web-enhanced RAG. The authors also make their datasets and models publicly available to encourage further research.
Summary updated