TL;DR
This paper introduces a reinforced co-adaptation framework designed to eliminate critical hallucinations—especially fabricated URLs—in high-stakes industrial advertising QA. By combining graph-based parallel retrieval with multi-dimensional reinforcement learning via Group Relative Policy Optimization (GRPO), the system achieves a 72% reduction in offline hallucinations and a 92.7% drop in online URL hallucinations, and has been successfully deployed in production at Tencent.
What Problem Does This Paper Address?
Deploying Retrieval-Augmented Generation (RAG) in industrial customer service for online advertising is a high-stakes endeavor. Factual errors or fabricated URLs can directly cause compliance violations, user dissatisfaction, and severe financial losses.
Standard RAG pipelines fall short in this domain for three reasons:
- Relational Knowledge: Industrial ad policies and procedures are inherently process-driven and interconnected, making single-shot keyword or vector retrieval blind to multi-hop dependencies.
- The "Lost in the Middle" Effect: Simply stuffing long retrieved documents into a Large Language Model (LLM) often causes it to ignore crucial evidence.
- The Retrieval-Generation Gap: Treating retrieval and generation as isolated stages means the generator isn't explicitly trained to adhere to strict domain formatting, safety constraints, or to resist hallucinating structured items like links when the context is insufficient.
Methods
The authors bridge this gap using a two-pronged "co-adaptation" approach that optimizes both retrieval and generation:
1. Graph-Aware Parallel Retrieval
To capture complex dependencies without incurring massive computational overhead, the authors introduce a High-Citation Knowledge Base. They analyze production query logs to calculate a "citation heat" indicator for each knowledge chunk, keeping only the top-N% most frequently cited items to form a compact subgraph.
Retrieval happens across two parallel channels:
- GraphRAG Channel: Performs asynchronous graph traversal over the high-citation subgraph for multi-hop reasoning.
- Traditional RAG Channel: Uses standard BGE embedding + BM25 hybrid retrieval combined with query rewriting to break down complex questions.
2. Evidence-Constrained Generation via GRPO
Instead of relying solely on Supervised Fine-Tuning (SFT), the generator (Qwen3-32B) is aligned using Group Relative Policy Optimization (GRPO). This eliminates the memory overhead of a separate critic model while stabilizing training against noisy rewards.
The model is tuned using a multi-dimensional reward function:
- Evidence Faithfulness ($R_f$): Evaluates factual alignment with ground-truth answers via an LLM-as-judge.
- Style Compliance ($R_s$): Enforces advertising domain conventions (tone, professionalism).
- Safety ($R_a$): Detects platform policy violations.
- URL Validity ($R_h$): Strictly rewards valid links and penalizes hallucinated ones. A URL is deemed valid only if it exists in the retrieved evidence or belongs to a pre-approved pool with a valid HTTP status code (200, 301, 302).
Datasets
- Advertising QA Dataset: An internal Chinese advertising customer-service dataset consisting of 3,000 expert-annotated question-answer pairs.
- FaithEval: A public benchmark used to evaluate out-of-domain generalization, specifically testing model faithfulness when confronted with unanswerable questions, counterfactual contexts, and inconsistent information.
Key Insights and Ideas
- Traffic-Driven Graph Pruning: GraphRAG is notoriously slow for production scales. Pruning the knowledge graph based on real-world "citation heat" allows the system to preserve multi-hop reasoning capabilities while drastically reducing traversal complexity.
- Hard Constraints via RL: SFT often fails to suppress edge-case hallucinations. Introducing a strict programmatic reward penalty for invalid URLs forces the model to learn a hard constraint that fine-tuning on text alone cannot achieve.
- Distinct Optimization Speeds: Training dynamics show that the model learns hard constraints (faithfulness and URL validity) very rapidly in the first 100 steps, whereas soft constraints like style and safety improve more gradually.
Key Results
- Offline Evaluation: The framework achieved a 72% relative reduction in hallucination rate compared to the SFT baseline. When paired with GraphRAG, the RL-tuned model outperformed commercial flagships like GPT-5.2 and DeepSeek-V3.2 on hallucination metrics.
- Online Production Impact: A two-week A/B test on 50% of live traffic revealed a 28.6% increase in user 'like' rate, a 46.2% decrease in 'dislike' rate, and an outstanding 92.7% reduction in URL hallucinations.
- Latency Trade-off: End-to-end latency increased from 2.5 seconds to 3.1 seconds (+24%). While higher, this remains well within acceptable production thresholds for streaming chat interfaces.
Limitations and Future Work
- GraphRAG Bottleneck: Even with high-citation pruning, the GraphRAG retrieval step remains the single largest latency contributor (852ms out of the 3130ms total pipeline). Further optimization of graph traversal efficiency is a priority.
- LLM-as-Judge Reliance: The reinforcement learning loop relies heavily on an automated LLM judge (Hunyuan TurboS) to evaluate style, safety, and faithfulness, which can introduce subtle biases or evaluation noise compared to human ground truth.
Summary updated