arXiv:2610.03063cs.CLOct 2026

Manuscript Offprint

arXiv:2610.03063

HARPO: Hallucination-Aware Reinforcement Learning for Faithful and Creative Language Generation

Tiezheng Yu, Yuxin Jiang, Jinpeng Li, Shuning Sun, Fei Mi, Haoli Bai, Lifeng Shang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large Language Models (LLMs) are prone to generating hallucinated content, which compromises their reliability in knowledge-intensive tasks. To address this challenge without sacrificing creativity, we propose HARPO, a reinforcement learning framework designed to jointly optimize faithfulness and creativity. HARPO incorporates a Hallucination-Aware Generative Reward Model (HA-GRM), trained via verifiable feedback, to assess both faithfulness and writing quality. A Selective Activation Mechanism (SAM) activates writing rewards only for outputs judged hallucination-free by HA-GRM, while a data curriculum progressively shifts training from creative writing to hallucination-centric tasks. On RAGTruth, our Qwen3-4B-based HA-GRM achieves a response-level F1 score of 78.08%, compared with 66.37% for the supervised fine-tuning baseline. Experiments on Qwen2.5 and Qwen3 models from 1.7B to 8B parameters show improvements in both faithful generation and writing quality. On Qwen3-4B, HARPO reduces the HA-GRM-judged hallucination rate on MultiHopRAG from 3.29% to 1.02%, while increasing the Arena-Hard-v2.0 creative-writing score from 16.95% to 27.54%.

1 Introduction

Large Language Models (LLMs) have demonstrated impressive capabilities in generating fluent, human-like text. However, their reliability remains a critical concern due to hallucinated outputs that are unfaithful with respect to a given source (Ji et al., 2023). Such inaccuracies undermine the trustworthiness and utility of LLMs, particularly in high-stakes applications.

While reinforcement learning (RL) techniques have been widely adopted to boost the performance of large language models (LLMs) (Wei et al., 2026), optimizing for a single capability often comes at the cost of degraded performance in other dimensions. For instance, the RLMR framework (Liao et al., 2026) underscores the inherent challenge of preserving subjective textual quality while adhering to rigid objective constraints. Similarly, Damani et al. (2026) show that conventional RL can impair calibration on out-of-domain benchmarks and propose RLCR to jointly optimize correctness and calibration.

In this paper, we address the conflict between hallucination mitigation and creative generation. Mitigating hallucinations demands precision and caution, whereas creative writing requires richness and novelty. Existing methods struggle to balance these competing objectives: single-reward strategies fail to improve both simultaneously, while naive data mixing often leads to interference between faithful adherence and expressive quality.

To address this problem, we introduce HARPO (Hallucination-Aware Reinforcement for Policy Optimization), a framework designed to jointly optimize faithfulness and creativity. Prior work has established reinforcement learning with verifiable span-level rewards for hallucination detection (Su et al., 2026). HARPO combines hallucination evaluation and writing preference evaluation in a Hallucination-Aware Generative Reward Model (HA-GRM), trained using Reinforcement Learning with Verifiable Rewards (RLVR) (Shao et al., 2024). We combine response-level classification with an auxiliary reward based on hallucinated-span prediction to supervise faithfulness evaluation. By incorporating pairwise preference data for creative writing, HA-GRM also learns to evaluate stylistic quality.

To effectively utilize these signals during policy optimization, we propose a Selective Activation Mechanism (SAM). Unlike traditional fixed-weight scalarization, prone to reward conflicts, SAM acts as a conditional gate: the writing reward is activated only if HA-GRM judges the response to be hallucination-free. Finally, to stabilize the training process, we design a data curriculum strategy that gradually shifts the data distribution from creative writing instructions to hallucination-focused scenarios. This approach mitigates the catastrophic forgetting often observed in single-objective alignment, preserving broad linguistic proficiency while sharpening evidential rigor.

HA-GRM achieves higher Overall response-level F1 than the base model and SFT, while SFT remains stronger on QA detection and the base model retains a higher D2T F1. We evaluate HARPO on Qwen2.5 and Qwen3 models from 1.7B to 8B parameters. Relative to the base Qwen3-4B model, HARPO reduces the HA-GRM-judged summarization hallucination rate by over 85% while increasing creative-writing scores. Compared with linear reward mixing on Qwen3-4B, HARPO has a lower summarization hallucination rate and a higher General score, with a slightly higher MultiHopRAG hallucination rate and a lower creative-writing score. The curriculum comparison similarly shows a trade-off between hallucination rates and writing performance.

The contributions are as follows:

• We introduce HARPO, a framework that combines hallucination-aware reward modeling, conditional reward aggregation, and a creative-to-faithful data curriculum to jointly optimize faithful generation and writing quality.

• We train HA-GRM with response-level labels, span-level annotations, and writing preferences, and use SAM to activate writing rewards for responses predicted to be hallucination-free by HA-GRM.

• Extensive experiments demonstrate that HARPO consistently enhances performance across various model families and scales, confirming its effectiveness.