mlsanityData to 7 Oct 2026

Text-to-SPARQL Generation with Reinforcement Learning: A GRPO-based Approach on DBLP

arXiv 2605.20066 ↗First posted 19 May 2026cs.CLcited by 1

On the map: LLM reasoning → Reinforcement learning for reasoning

Abstract (arXiv)

Knowledge graph question answering seeks to translate natural language questions into executable queries over knowledge graphs, but existing approaches often rely on large models or full supervision in the form of gold query annotations. This study examines whether reinforcement learning with outcome-based rewards can train a small instruction-tuned language model to perform zero-shot Text-to-SPARQL generation in the scholarly domain. Group-Relative Policy Optimization (GRPO) is applied to the Qwen3-1.7B model on DBLP-QuAD, using prompts that combine natural language questions with symbolic hints about entities and relations. Training relies on execution feedback, structural constraints, and answer-level rewards, with an additional variant that incorporates gold-query-based shaping. The resulting models are compared to the unmodified zero-shot baseline and to a supervised DoRA-finetuned baseline across answer-level accuracy, execution accuracy, category-wise scores, and generalization to held-out templates. GRPO substantially improves over the zero-shot baseline and exhibits competitive generalization, while supervised DoRA finetuning achieves higher overall accuracy on the same model scale. Ablation analyses indicate that execution-based rewards account for most gains, with additional shaping yielding limited additional benefit, suggesting that outcome-based reinforcement learning is a viable training strategy when gold queries are unavailable for token-level supervision.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 19 of its 34 references that are in the map. First posted on arXiv 19 May 2026.

Builds on

19 of 34 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025OctoThinker: Mid-training Incentivizes Reinforcement Learning Scaling25 Jun
  2. 2025Spurious Rewards: Rethinking Training Signals in RLVR12 Jun
  3. 2025Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRs3 Mar

Other references · 16

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  2. 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 740
  3. 2024KG-Agent: An Efficient Autonomous Agent Framework for Complex Reasoning over Knowledge Graphcited by 90
  4. 2020Domain-specific Knowledge Graphs: A surveycited by 68
  5. 2025Reasoning-SQL: Reinforcement Learning with SQL Tailored Partial Rewards for Reasoning-Enhanced Text-to-SQLcited by 59
  6. 2022QALD-9-plus: A Multilingual Dataset for Question Answering over DBpedia and Wikidata Translated by Native Speakerscited by 39
  7. 2022Modern Baselines for SPARQL Semantic Parsingcited by 34
  8. 2023DBLP-QuAD: A Question Answering Dataset over the DBLP Scholarly Knowledge Graphcited by 18
  9. 2025Sparks of Tabular Reasoning via Text2SQL Reinforcement Learningcited by 9
  10. 2020Question Answering on Scholarly Knowledge Graphscited by 7
  11. 2025Efficient and Transferable Agentic Knowledge Graph RAG via Reinforcement Learningcited by 5
  12. 2022A Copy Mechanism for Handling Knowledge Base Elements in SPARQL Neural Machine Translationcited by 4
4 more
  1. 2023PSYCHIC: A Neuro-Symbolic Framework for Knowledge Graph Question-Answering Groundingcited by 3
  2. 2025KnowCoder-A1: Incentivizing Agentic Reasoning Capability with Outcome Supervision for KBQAcited by 3
  3. 2025Learning to Refine: An Agentic RL Approach for Iterative SPARQL Query Constructioncited by 2
  4. 2025ConstrainedSQL: Training LLMs for Text2SQL via Constrained Reinforcement Learningcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Transformation-Augmented GRPO for Enhancing Exploration in Reasoning of Large Language Models
  2. 2025KBQA-R1: Reinforcing Large Language Models for Knowledge Base Question Answering
  3. 2026Search-GRT: Guided Retrieval Training of Search Agents to Optimize for Complex Question Answering
  4. 2025R1-ShareVL: Incentivizing Reasoning Capability of Multimodal Large Language Models via Share-GRPO
  5. 2026GRPO Training Dynamics for Small Language Models
  6. 2025Multi-Layer GRPO: Enhancing Reasoning and Self-Correction in Large Language Models
  7. 2025Evaluating the Scalability and Adversarial Generalization of GRPO-Trained NLI Models
  8. 2025Plan Then Retrieve: Reinforcement Learning-Guided Complex Reasoning over Knowledge Graphs