arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.16309cs.AI
收藏

MedRule-KG:一种由知识图谱引导的轻量级验证器支持的数学推理框架

MedRule-KG: A Knowledge-Graph--Steered Scaffold for Mathematical Reasoning with a Lightweight Verifier

Crystal Su

AI总结:

MedRule-KG通过结合知识图谱和轻量级验证器,提升数学推理的准确性和规则一致性。

摘要:

大型语言模型(LLMs)常常在推理步骤中产生流畅的步骤,但违反简单的数学或逻辑约束。我们介绍了MedRule-KG,一种紧凑的类型知识图谱,结合了符号验证器,旨在在推理任务中强制执行可解释的数学规则。MedRule-KG编码实体、关系和三个领域启发的规则,而验证器检查预测并应用最小的修正以保证一致性。在90个示例的FDA衍生基准上,基于MedRule-KG,精确匹配(EM)从0.767提高到0.900,添加验证器后达到1.000的EM,同时完全消除规则违规。我们展示了MedRule-KG如何为安全的数学推理提供通用的支架,讨论了消融实验,并发布了代码和数据以促进可重复性。

英文摘要:

Large language models (LLMs) often produce fluent reasoning steps while violating simple mathematical or logical constraints. We introduce MedRule-KG, a compact typed knowledge graph coupled with a symbolic verifier, designed to enforce mathematically interpretable rules in reasoning tasks. MedRule-KG encodes entities, relations, and three domain-inspired rules, while the verifier checks predictions and applies minimal corrections to guarantee consistency. On a 90-example FDA-derived benchmark, grounding in MedRule-KG improves exact match (EM) from 0.767 to 0.900, and adding the verifier yields 1.000 EM while eliminating rule violations entirely. We demonstrate how MedRule-KG provides a general scaffold for safe mathematical reasoning, discuss ablations, and release code and data to encourage reproducibility.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑