arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.08481cs.LGcs.AIcs.DBcs.SE
收藏

PIPE-Cypher:面向文本到Cypher系统的自动企业基准生成

PIPE-Cypher: Automatic Enterprise Benchmark Generation for Text-to-Cypher Systems

Halıcıoğlu School of Data Science and Computing, University of California, San Diego(加利福尼亚大学圣迭戈分校哈勒乔卢数据科学与计算学院);Independent Researcher(独立研究员)

Suraj Ranganath, Anish Raghavendra

AI总结:

提出PIPE-Cypher流水线,利用本地大模型从企业属性图自动生成平衡的NL-to-Cypher基准,通过模式分析、逆向查询约束生成和执行验证等步骤,实现可重复的基准构建。

摘要:

企业属性图在模式结构、内部术语、领域假设、治理约束和用户交互模式上差异很大。因此,与部署相关的Text2Cypher基准反映了用户和代理实际对该图提出的问题。创建这样的基准很困难,因为模式和值是唯一的,且图结构随时间变化。每个自然语言查询对必须可执行、使用真实图实体、保持多样性,并在查询类型和难度级别上保持平衡。我们提出PIPE-Cypher,一个本地基准生成流水线,它将实时属性图和来自客户问题、分析师日志或代理工具调用的可选种子查询转化为平衡的NL-to-Cypher基准。PIPE-Cypher结合了模式分析、逆向查询接地、约束生成、确定性Cypher治理、执行验证、编辑、多样性控制以及校准的本地大语言模型评判器。使用本地Qwen3.5-9B生成和评判,PIPE-Cypher导出了3000个可接受的FinBench/SNB示例,完成了三个审计消融套件,用人类标签校准评判器行为,并评估了11个本地下游模型。生成的基准具有明确的区分性:零样本迁移效果弱,而少样本控制表明,特定模式的示例库可以帮助兼容的模型家族。总之,PIPE-Cypher使Text2Cypher基准测试成为一个可重复的过程,随图、用户和目标工作负载而演变。

英文摘要:

Enterprise property graphs vary widely in schema structure, internal terminology, domain assumptions, governance constraints, and user interaction patterns. A deployment-relevant Text2Cypher benchmark therefore reflects the questions users and agents actually ask of that graph. Creating such a benchmark is difficult because schemas and values are unique, and graph structure changes over time. Each NL-query pair must also be executable, use real graph entities, preserve diversity, and remain balanced across query types and difficulty levels. We present PIPE-Cypher, a local benchmark-generation pipeline that turns a live property graph and optional seed queries from customer questions, analyst logs, or agent tool calls into balanced NL-to-Cypher benchmarks. PIPE-Cypher combines schema profiling, reverse-query grounding, constrained generation, deterministic Cypher governance, execution validation, redaction, diversity controls, and a calibrated local LLM judge. Using local Qwen3.5-9B generation and judging, PIPE-Cypher exports 3,000 accepted FinBench/SNB examples, completes three audited ablation suites, calibrates judge behavior with human labels, and evaluates 11 local downstream models. The resulting benchmark is deliberately discriminative: zero-shot transfer is weak, while a few-shot control shows that schema-specific example banks can help compatible model families. Together, PIPE-Cypher makes Text2Cypher benchmarking a repeatable process that evolves with the graph, its users, and its target workloads.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑