Adaptive Text2GQL: Integrating Structural Twig Linking and Evolutionary In-Context Learning
Fang Niu, Chaokun Wang, Hang Zhang, Songyao Wang
摘要
While large language models have revolutionized Text-to-SQL tasks, translating natural language into Graph Query Languages (Text2GQL) remains underexplored due to the topological heterogeneity and syntactic diversity of graph query languages (e.g., Cypher, Gremlin, SPARQL). Existing approaches often struggle with structural hallucinations and lack adaptability in cold-start scenarios. In this paper, we present a unified, trainingfree Text2GQL framework. First, Structural Twig Linking elevates schema grounding to the identification of semantic substructures ("twigs"), providing robust topological priors. Second, addressing data scarcity, Evolutionary In-Context Learning operates in a Tabula Rasa setting to implicitly construct a selfgrowing repository of verified examples driven by syntactic utility. Finally, our Adversarial Execution-Guided Correction agent enforces fidelity through synergistic static critique and dynamic verification. Experiments demonstrate significant improvements over baselines in both accuracy and executability across diverse GQLs. The code is available at https: //github.com/nf202/Text2Graph .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Negative Feedback Really Matters: Signed Dual-Channel Graph Contrastive Learning Framework for Recommendation 引用了 PLForge: Enhancing Language Models for Natural Language to Procedural Extensions of SQL
- Negative Feedback Really Matters: Signed Dual-Channel Graph Contrastive Learning Framework for Recommendation 引用了 LAGCL4Rec: When LLMs Activate Interactions Potential in Graph Contrastive Learning for Recommendation
- LAGCL4Rec: When LLMs Activate Interactions Potential in Graph Contrastive Learning for Recommendation 引用了 Negative Feedback Really Matters: Signed Dual-Channel Graph Contrastive Learning Framework for Recommendation
它引用的 Paper5
- ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-ThoughtHanchong Zhang, Ruisheng Cao, Lu Chen, Hongshen Xu 等EMNLP Findings 2023 · 54 次引用
- Grounding Natural Language to SQL Translation with Data-Based Self-ExplanationsYuankai Fan, Tonghui Ren, Can Huang, Zhenying He 等ICDE 2025 · 7 次引用
- Negative Feedback Really Matters: Signed Dual-Channel Graph Contrastive Learning Framework for RecommendationLeqi Zheng, Chaokun Wang, Zixin Song, Cheng Wu 等NeurIPS 2025 · 6 次引用
- LAGCL4Rec: When LLMs Activate Interactions Potential in Graph Contrastive Learning for RecommendationLeqi Zheng, Chaokun Wang, Canzhi Chen, Jiajun Zhang 等EMNLP Findings 2025 · 1 次引用
- PLForge: Enhancing Language Models for Natural Language to Procedural Extensions of SQLHang Zhang, Chaokun Wang, Hongwei Li, Cheng Wu 等SIGMOD 2026
相关 Paper
- R³-NL2GQL: A Model Coordination and Knowledge Graph Alignment Approach for NL2GQLYuhang Zhou, Yu He, Siyu Tian, Yuchen Ni 等EMNLP Findings 2024 · 5 次引用
- GQLBench: A Large-Scale Cross-Domain, Cross-Dialect Benchmark for NL2GQLYanning Su, Yuhang Zhou, Yang Fang, Sen Liu 等ACL 2026
- SAFE-SQL: Self-Augmented In-Context Learning with Fine-grained Example Selection for Text-to-SQLJimin Lee, Ingeol Baek, Byeongjeong Kim, Hyunkyung Bae 等EMNLP 2025 · 1 次引用
- MARS-SQL: A Multi-Agent Reinforcement Learning Framework For Text-To-SQLHaolin Yang, Jipeng Zhang, Zhitao He, Alexander Zhou 等ICML 2026 · 12 次引用
- Cypher-RI: Reinforcement Learning for Integrating Schema Selection into Cypher GenerationHanchen Su, Xuyuan Li, Yan Zhou, Zhuoyi Lu 等NeurIPS 2025 · 1 次引用
