Research Papers 论文研究 4h ago Updated 2h ago 更新于 2小时前 49

Search-on-Graph-R1: Training Large Language Models to Search Knowledge Graphs with Reinforcement Learning Search-on-Graph-R1:使用强化学习训练大型语言模型搜索知识图谱

Search-on-Graph-R1 internalizes complex knowledge graph navigation into a compact 8B parameter model, eliminating the need for expensive frontier-scale inference. The method employs a two-stage training process combining Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) to optimize search efficiency and accuracy. A novel teacher-student scaffolding technique uses gold SPARQL queries to guide a frontier teacher model, generating high-quality, grounded trajectories via live Freebase ser 提出Search-on-Graph-R1 (\sogrone{}),通过SFT结合强化学习将知识图谱导航能力内化至8B紧凑模型。 利用黄金SPARQL查询引导前沿教师模型在真实Freebase服务器上生成轨迹,确保数据 grounded。 在WebQSP、CWQ和GrailQA基准上超越所有冻结的前沿LLM系统,并在CWQ上创下最强记录。 推理阶段无需辅助模块或LLM Judge,且RL训练显著减少了达到答案所需的Search调用次数。

65
Hot 热度
75
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • Search-on-Graph-R1 internalizes complex knowledge graph navigation into a compact 8B parameter model, eliminating the need for expensive frontier-scale inference.
  • The method employs a two-stage training process combining Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) to optimize search efficiency and accuracy.
  • A novel teacher-student scaffolding technique uses gold SPARQL queries to guide a frontier teacher model, generating high-quality, grounded trajectories via live Freebase server calls.
  • The 8B model outperforms all frozen frontier-LLM baselines on WebQSP, CWQ, and GrailQA datasets, achieving state-of-the-art results on CWQ without auxiliary modules or LLM judges.
  • RL training specifically reduces the number of Search calls required to find answers compared to the initial SFT model, demonstrating improved reasoning efficiency.

Why It Matters

This research addresses the critical bottleneck of cost and latency in deploying advanced Reasoning models for Knowledge Graph Question Answering (KGQA). By proving that a smaller, specialized 8B model can surpass larger frontier models through efficient RL-based training, it offers a scalable and economically viable path for enterprises to integrate sophisticated graph reasoning into production systems without relying on massive computational resources.

Technical Details

  • Model Architecture: Utilizes a compact 8B parameter Large Language Model, trained via a pipeline of Supervised Fine-Tuning (SFT) followed by Reinforcement Learning (RL).
  • Training Strategy: Implements a teacher-student framework where the teacher is scaffolded with gold SPARQL queries. The teacher traverses known answer-bearing paths using a live Search tool against the Freebase server, ensuring trajectories are strictly grounded in the knowledge graph.
  • Reinforcement Learning: The RL phase optimizes the student model to minimize the number of Search calls needed to reach the correct answer, showing complementary gains over SFT alone.
  • Evaluation Benchmarks: Tested on standard KGQA datasets including WebQSP, CWQ (ComplexWebQuestions), and GrailQA.
  • Inference Efficiency: Operates without auxiliary modules during inference and does not require an LLM judge during training, simplifying the deployment stack while maintaining superior performance.

Industry Insight

  • Cost-Effective Scaling: Organizations should consider distilling complex reasoning capabilities into smaller, domain-specific models using RL rather than relying solely on scaling up model size, significantly reducing inference costs.
  • Grounded Trajectory Generation: Using gold-standard queries to generate training data via live environment interactions is a robust method for ensuring model outputs remain faithful to structured data sources like knowledge graphs.
  • Efficiency Over Raw Power: Optimizing for step-efficiency (fewer tool calls) via RL can yield better performance metrics than raw model capacity, suggesting that training objectives should prioritize reasoning efficiency alongside accuracy.

TL;DR

  • 提出Search-on-Graph-R1 (\sogrone{}),通过SFT结合强化学习将知识图谱导航能力内化至8B紧凑模型。
  • 利用黄金SPARQL查询引导前沿教师模型在真实Freebase服务器上生成轨迹,确保数据 grounded。
  • 在WebQSP、CWQ和GrailQA基准上超越所有冻结的前沿LLM系统,并在CWQ上创下最强记录。
  • 推理阶段无需辅助模块或LLM Judge,且RL训练显著减少了达到答案所需的Search调用次数。

为什么值得看

该研究解决了依赖大规模前沿模型进行知识图谱问答的高成本部署难题,证明了小型模型通过特定训练策略可达到甚至超越大模型性能。它为降低AI推理成本、提升垂直领域(如KGQA)效率提供了极具价值的技术路径。

技术解析

  • 模型架构与训练流程:采用8B参数量的紧凑模型,先进行监督微调(SFT),随后进行强化学习(RL)训练,两个阶段贡献互补增益。
  • 数据生成策略:利用每个问题的黄金SPARQL查询作为脚手架,引导教师模型使用实时Search工具遍历已知的答案路径,而非让模型自行探索路径。
  • 环境接地性:所有Search调用均针对真实的Freebase服务器执行,确保生成的轨迹在构建上即与知识图谱紧密关联(grounded)。
  • 性能表现:在WebQSP、CWQ和GrailQA三个主流基准测试中表现优异,特别是在CWQ数据集上取得了对比系统中最好的结果。

行业启示

  • 小模型专用化潜力:通过RL和高质量轨迹数据,小型模型可以在特定复杂任务(如图搜索)上匹敌甚至超越通用大模型,降低了对算力资源的依赖。
  • 强化学习在Agent领域的深化应用:RL不仅用于对齐人类偏好,更被证明能有效优化Agent的工具调用效率(减少Search次数),提升了实际部署的可行性。
  • 去依赖化的推理架构:无需外部LLM Judge或辅助模块的端到端训练方案,简化了系统架构,有利于工业界快速落地高可靠性的垂直领域AI应用。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Training 训练 Research 科学研究 Agent Agent