Reward Engineering for Generating Semi-structured Explanation
Jiuzhou Han, Wray Buntine, Ehsan Shareghi
TL;DR
The paper tackles the challenge of generating semi-structured explanations (SEG) alongside answers, arguing that supervised fine-tuning alone falls short for producing explicit reasoning graphs. It introduces reward engineering within a reinforcement learning framework, combining a reward model and graph-based metric rewards, and optimizes via PPO to align SEG with ground-truth explanations. Across ExplaGraph and COPA-SSE, the proposed SFT+RL approach achieves new state-of-the-art results, with Graph-BERTScore emerging as a particularly effective metric for guiding learning. The work also provides a detailed analysis of reward-hacking risks, the impact of reward-aggregation settings, and human evaluation insights, highlighting both the potential and challenges of RL for SEG. Overall, the approach offers a principled path to improving the fidelity and interpretability of reasoning graphs in semi-structured explanations, with practical implications for evaluating and deploying SEG-enabled systems.
Abstract
Semi-structured explanation depicts the implicit process of a reasoner with an explicit representation. This explanation highlights how available information in a specific query is utilised and supplemented with information a reasoner produces from its internal weights towards generating an answer. Despite the recent improvements in generative capabilities of language models, producing structured explanations to verify a model's true reasoning capabilities remains a challenge. This issue is particularly pronounced for not-so-large LMs (e.g., FLAN-T5-XXL). In this work, we first underscore the limitations of supervised fine-tuning (SFT) in tackling this challenge, and then introduce a carefully crafted reward engineering method in reinforcement learning (RL) to better address this problem. We investigate multiple reward aggregation methods and provide a detailed discussion which sheds light on the promising potential of RL for future research. Our proposed method on two semi-structured explanation generation benchmarks (ExplaGraph and COPA-SSE) achieves new state-of-the-art results.
