Selective Retrieval Routing用于知识图谱修复:LLM代理按需调用检索降本增效
Selective Retrieval Routing for Multi-Violation Knowledge Graph Repair
arXiv上一套知识图谱修复方案,用一个router决定LLM代理什么时候去外部检索证据,六套测试里token更省、修复F1还更高,做图谱的可以看看
论文提出一个知识图谱迭代修复框架:一个LLM修复代理负责探索和编辑图谱,一个router控制其访问负责外部检索的researcher代理的时机,避免每次都付出检索成本。作者扩展violation-injection框架,生成带多个兼容违规和已知参考修复的案例,用修复结果作为监督信号训练部署专属的router。在两个楼宇自动化数据集、六套评估配置上,router的修复期token消耗低于始终开启检索的方案,且修复F1在六套中的五套高于始终关闭检索的方案。
Selective Retrieval Routing for Multi-Violation Knowledge Graph Repair
Knowledge graphs often contain missing or inconsistent facts that undermine the applications built on them. Schema validation detects such violations but does not identify which of several valid repairs recovers the intended graph. External corpora can supply the evidence needed to identify the intended repair, but retrieving from them is costly and not always successful. We propose a framework for selective retrieval in iterative graph repair. An LLM repair agent explores and edits the graph, while a router controls its access to a researcher agent that retrieves external evidence. We extend a violation-injection framework to generate cases with multiple compatible violations and known reference repairs. The agent's repair outcomes on these cases provide supervision for training the deployment-specific router. On two building-automation datasets, researcher access improves repairs for some violations and degrades them for others, with effects differing across deployments. The router uses fewer repair-time tokens than always enabling access in all six evaluation suites. It achieves higher repair $F_1$ than always disabling access in five of six suites.