arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.18563cs.DScs.DBcs.FL
收藏

重审加权信息抽取:一种更简单快速的排序枚举算法

Revisiting Weighted Information Extraction: A Simpler and Faster Algorithm for Ranked Enumeration

Pawel Gawrychowski, Florin Manea, Markus L. Schmid

AI总结:

针对加权信息抽取的排序枚举问题,研究利用最短路径枚举结果得到更优延迟的简单算法,还通过结合多领域工具的舍入技术,实现高概率下线性预处理与输出线性延迟的算法,显著提升了该问题的求解效率。

摘要:

从文本数据中进行信息抽取(查询由有限转换器表示,任务是无重复地枚举所有结果)及其加权扩展场景(每个输出元素都有权重,需按权重排序枚举输出元素),是数据库理论中重要且被广泛研究的问题。一方面,前一种框架已经涵盖了著名的正则文档扳手(regular document spanners)场景,而后一种设置则涵盖了若干无法在无权重设置下描述的实际相关任务。\n 已知在无权重场景下,该问题可以通过数据复杂度为线性时间的预处理$O(|D|)$和输出线性延迟$O(|s|)$解决,其中$D$为输入数据,$s$为当前输出元素。对于加权场景,Bourhis、Grez、Jachiet和Riveros[ICDT 2021]近期设计了一种线性时间预处理的算法,但其$O(|s| \cdot \log|\mathsf{D}|)$的延迟取决于数据规模。\n 我们首先展示了如何利用现有最短路径枚举的相关结果,得到一种简单的替代算法,其具备线性预处理复杂度,且第$i$个输出元素$s_i$的延迟为$O(|s_i| + \min\{ \log i, \log|\mathsf{D}|\})$(数据复杂度下),从而大幅改进了此前的算法。接下来,我们开发了一种技术上较为复杂的舍入技术,借此设计出一种高概率下具备线性时间预处理和输出线性延迟$O(|s|)$的算法。为此,我们结合了代数、高维几何和线性规划领域的工具。

英文摘要:

Information extraction from textual data, where the query is represented by a finite transducer and the task is to enumerate all results without repetition, and its extension to the weighted case, where each output element has a weight and the output elements are to be enumerated sorted by their weights, are important and well studied problems in database theory. On the one hand, the first framework already covers the well-known case of regular document spanners, while the latter setting covers several practically relevant tasks that cannot be described in the unweighted setting. It is known that in the unweighted case this problem can be solved with linear time preprocessing $O(|D|)$ and output-linear delay $O(|s|)$ in data complexity, where $D$ is the input data and $s$ is the current output element. For the weighted case, Bourhis, Grez, Jachiet, and Riveros [ICDT 2021] recently designed an algorithm with linear time preprocessing, but the delay of $O(|s| \cdot \log|\mathsf{D}|)$ depends on the size of the data. We first show how to leverage the existing results on enumerating shortest paths to obtain a simple alternative algorithm with linear preprocessing and a delay of $O(|s_i| + \min\{ \log i, \log|\mathsf{D}|\})$ for the $i^{\text{th}}$ output element $s_i$ (in data complexity); thus, substantially improving the previous algorithm. Next, we develop a technically involved rounding technique that allows us to devise an algorithm with linear time preprocessing and output-linear delay $O(|s|)$ with high probability. To this end, we combine tools from algebra, high-dimensional geometry, and linear programming.

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

↑