scimeatlas

Research map / Large language models / Reasoning and chain of thought

Cypher-RI: Reinforcement Learning for Integrating Schema Selection into Cypher Generation

Hanchen Su, Xuyuan Li, Yan Zhou, zhuoyi lu, Ziwei Chai, Haozheng Wang, Chen Zhang, Yang Yang

NeurIPS 2025Large language models › Reasoning and chain of thoughtapproach: Test-time compute scalingopen problems in this approach0 citations (OpenAlex)

Zhejiang University · Zhejiang Createlink Technology · Westlake University · DT Master Carbon · Hong Kong University of Science and Technology

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
6improved
1no clear effect
4hurt
In one sentence

Cypher-RI uses reinforcement learning to jointly train schema selection and Cypher query generation for text-to-Cypher translation over graph databases.

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Problem

Translating natural language into Cypher queries for graph databases is difficult, and schema selection, which is critical for query generation in relational text-to-SQL, has been under-explored for graph databases.

Approach

Integrates schema selection into Cypher generation and trains the combined pipeline with reinforcement learning, drawing on insights from schema selection in text-to-SQL.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add schema selection to RL rollouts (ablation)Cypher-RI (Qwen2.5-Coder-7B) · CypherBench testEX: 58.35 -> 69.59Improved
add schema selection to RL rollouts (ablation)Cypher-RI (Qwen2.5-Coder-7B) · CypherBench testPSJS: 66.55 -> 75.21Improved
use RL instead of SFT on self-generated trajectories (ablation)Cypher-RI (Qwen2.5-Coder-7B) · CypherBench testEX: 44.34 -> 69.59Improved
use RL instead of SFT (ablation)Qwen2.5-Coder-7B · CypherBench training dataEX: 85.66 -> 84.59Hurt
add schema selection to RL rollouts (ablation)Cypher-RI · CypherBench training dataEX: 80.89 -> 84.59Hurt
train with Cypher-RIQwen2.5-Coder-7B · CypherBenchEX: 13.12 -> 69.59Improved
train with Cypher-RIQwen2.5-Coder-7B · CypherBenchexecutable %: 62.95 -> 99.28Improved
Cypher-RI (7B) vs GPT-4oCypher-RI · CypherBenchEX: 60.18 -> 69.59Improved
Cypher-RI (7B) vs GPT-4oCypher-RI · CypherBenchPSJS: 76.87 -> 75.21Hurt
Cypher-RI (7B) vs GPT-4oCypher-RI · Neo4j-Text2CypherEX: 31.73 -> 30.61No clear effect
Cypher-RI vs GPT-4o on Google-BLEUCypher-RI · Neo4j-Text2CypherGoogle-BLEU: 62.93 -> 60.13Hurt

Open problems in test-time compute scaling

When does spending more compute at inference pay off, and how should it be spent?

All 4 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy