[Paper Review] Using Ternary Rewards to Reason over Knowledge Graphs with Deep Reinforcement Learning.
This paper proposes a ternary reward mechanism for deep reinforcement learning agents in knowledge graph question-answering, replacing binary rewards with three outcomes: correct answer, incorrect answer, or abstention. By training agents to avoid answering when uncertain, the method significantly improves answer precision with minimal loss in recall, outperforming standard metrics that fail to model confidence in real-world settings.
In this paper, we investigate the challenges of using reinforcement learning agents for question-answering over knowledge graphs for real-world applications. We examine the performance metrics used by state-of-the-art systems and determine that they are inadequate for such settings. More specifically, they do not evaluate the systems correctly for situations when there is no answer available and thus agents optimized for these metrics are poor at modeling confidence. We introduce a simple new performance metric for evaluating question-answering agents that is more representative of practical usage conditions, and optimize for this metric by extending the binary reward structure used in prior work to a ternary reward structure which also rewards an agent for not answering a question rather than giving an incorrect answer. We show that this can drastically improve the precision of answered questions while only not answering a limited number of previously correctly answered questions. Employing a supervised learning strategy using depth-first-search paths to bootstrap the reinforcement learning algorithm further improves performance.
Motivation & Objective
- To address the inadequacy of existing performance metrics in evaluating question-answering agents over knowledge graphs, especially in handling unanswerable questions.
- To design a new evaluation metric that better reflects practical deployment conditions where confidence and abstention are critical.
- To develop a reinforcement learning framework that optimizes for this new metric using a ternary reward structure.
- To improve agent performance by enabling abstention when uncertain, thus increasing precision without sacrificing too much recall.
- To enhance learning efficiency by bootstrapping with supervised depth-first-search paths.
Proposed method
- Extends the standard binary reward setting to a ternary reward structure: +1 for correct answers, -1 for incorrect answers, and 0 for abstaining when no confident answer is available.
- Reformulates the reinforcement learning objective to prioritize minimizing incorrect answers and maximizing correct answers and abstentions.
- Introduces a confidence-aware policy that learns to refrain from answering when uncertainty is high, modeled through the ternary reward signal.
- Uses supervised fine-tuning on depth-first-search paths from knowledge graphs to initialize the agent’s policy, accelerating convergence.
- Employs deep Q-networks (DQN) with a modified reward function to train the agent end-to-end on question-answering tasks.
- Evaluates performance using a new metric that penalizes incorrect answers and rewards abstention, better reflecting real-world deployment needs.
Experimental results
Research questions
- RQ1How do standard binary reward metrics fail to reflect real-world question-answering scenarios where unanswerable questions are common?
- RQ2Can a ternary reward structure that includes abstention improve the precision and reliability of knowledge graph QA agents?
- RQ3To what extent does introducing abstention as a valid action reduce incorrect answers without significantly reducing the number of questions answered?
- RQ4How does bootstrapping with supervised DFS paths affect the convergence and performance of the ternary-reward RL agent?
- RQ5Does the proposed metric better reflect practical deployment conditions than existing evaluation benchmarks?
Key findings
- The ternary reward mechanism significantly improves answer precision by enabling agents to abstain from answering when uncertain, reducing incorrect responses.
- The method maintains high recall, answering nearly all questions that were previously answered correctly, with only a limited number of new abstentions.
- The new evaluation metric better captures real-world performance by accounting for confidence and unanswerable questions, unlike standard metrics.
- Bootstrapping with supervised DFS paths accelerates learning and improves final performance, especially in early training phases.
- Agents trained with the ternary reward outperform those trained with binary rewards in both precision and confidence calibration.
- The approach demonstrates that rewarding abstention is a viable and effective strategy for improving robustness in knowledge graph question-answering systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.