paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Refl-Spanners: A Purely Regular Approach to Non-Regular Core Spanners

Refl-Spanners:一种处理非正则核心 Spanner 的纯正则方法
LMCS vol.Volume 20, Issue 42024匹配度 2/10 · 论文属于形式语言、自动机与字符串查询的静态分析,虽然涉及静态分析与查询求值上界,但研究对象不是 ML/Agent 程序,也不涉及 LLM、浮点程序分析或贝叶斯程序分析,与用户核心研究方向关联很弱。引用 1 inbox
Markus L. Schmid, Nicole Schweikardt
crossref: 2026-09-10

AI 速览

一句话:将字符串相等选择内嵌进正则语言,提出 Refl-Spanners,以略弱表达力换取更好的静态分析与查询求值上界。

正则 Spanner(可由 vset-自动机刻画)对并、连接和投影封闭,具有良好的算法性质。核心 Spanner 在此基础上加入字符串相等选择,用于刻画 IBM SystemT 中 AQL 查询语言的核心功能,但已有工作表明这会导致静态分析与查询求值问题复杂度很高甚至不可判定。本文提出 Refl-Spanners:不再把字符串相等选择视为对正则 Spanner 抽出表施加的代数操作,而是将其直接并入表示底层正则 Spanner 的正则语言。由此得到核心 Spanner 的一个片段,其表达力比完整核心 Spanner 略弱,但仍能覆盖信息抽取中字符串相等选择的直观应用,并且静态分析和查询求值的典型问题具有更好的复杂度上界。

问题
核心 Spanner 加入字符串相等选择后表达力强,但静态分析与查询求值复杂度过高甚至不可判定;如何在保留信息抽取所需表达力的同时获得更好的算法性质。
方法
将字符串相等选择直接编码进表示正则 Spanner 的正则语言,而不是作为对抽取表的代数操作,从而定义 Refl-Spanners,并研究其表达力与复杂度。
评估
理论分析:证明 Refl-Spanners 是核心 Spanner 的片段,表达力略弱但覆盖直观应用,并给出静态分析与查询求值典型问题更好的复杂度上界。
原文摘要(Abstract)

The regular spanners (characterised by vset-automata) are closed under the algebraic operations of union, join and projection, and have desirable algorithmic properties. The core spanners (introduced by Fagin, Kimelfeld, Reiss, and Vansummeren (PODS 2013, JACM 2015) as a formalisation of the core functionality of the query language AQL used in IBM's SystemT) additionally need string-equality selections and it has been shown by Freydenberger and Holldack (ICDT 2016, Theory of Computing Systems 2018) that this leads to high complexity and even undecidability of the typical problems in static analysis and query evaluation. We propose an alternative approach to core spanners: by incorporating the string-equality selections directly into the regular language that represents the underlying regular spanner (instead of treating it as an algebraic operation on the table extracted by the regular spanner), we obtain a fragment of core spanners that, while having slightly weaker expressive power than the full class of core spanners, arguably still covers the intuitive applications of string-equality selections for information extraction and has much better upper complexity bounds of the typical problems in static analysis and query evaluation.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot2706,
  title = {Refl-Spanners: A Purely Regular Approach to Non-Regular Core Spanners},
  author = {Markus L. Schmid and Nicole Schweikardt},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 20, Issue 4},
  year = {2024},
  doi = {10.46298/lmcs-20(4:16)2024}
}