Reproduce “Enhancing Text2Cypher with Schema Filtering” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Makbule Gulcin Ozsoy

Researchers at Neo4j introduced schema filtering techniques for the Text2Cypher task, demonstrating a significant reduction in prompt token length and associated computational costs. This approach improved query generation performance for smaller language models while maintaining or slightly adjusting performance for larger models.

Key insights

  • Schema filtering substantially reduces prompt token length for Text2Cypher, directly leading to significant computational cost savings for LLM inference.
  • Smaller LLMs (e.g., Llama-3.1-8B) generally exhibit improved query generation performance (both lexical and execution-based) with shorter, filtered prompts.
  • Larger LLMs with extensive context windows (e.g., Gemini-1.5-Flash) primarily benefit from the cost reduction offered by schema filtering, showing minimal performance changes or slight declines in execution accuracy.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.