arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1307.6789cs.DScs.IR
收藏

最优Top-k文档检索

Optimal Top-k Document Retrieval

Gonzalo Navarro, Yakov Nekrich

摘要:

令$\mathcal{D}$是$D$文档的集合,这些文档是长度为$σ$的字母表上的字符串,总长度为$n$。我们描述了一个数据结构,使用线性空间和报告$k$最相关的文件,其中包含一个查询模式$P$,这是一个字符串的长度$p$,在时间$O(p/\log_σn+k)$,这是最佳的RAM模型中的一般情况下,其中$\lg D = Θ(\log n)$,并涉及到一个新的RAM最佳后缀树搜索。我们的建筑支持一系列重要的相关措施... [剪辑]当$\lg D = o(\log n)$,我们展示了如何减少空间的数据结构从$O(n\log n)$到$O(n(\logσ+\log D+\log\log n))$位. [clip]我们还考虑了动态场景,其中可以从集合中插入和删除文档。我们得到线性空间和查询时间$O(p(\log\log n)^2/\log_σn+\log n + k\log\log k)$,而插入和删除需要每个符号的$O(\log^{1+ε} n)$时间,对于任何常数$ε>0$。最后,我们考虑一个扩展的静态场景,其中定义了一个额外的参数$par(P,d)$,并且查询必须只检索文档$d$,使得$par(P,d)\in [τ_1,τ_2]$,其中该范围在查询时指定。我们解决这些查询使用线性空间和$O(p/\log_σn + \log^{1+ε} n + k\log^εn)$时间,任何常数$ε>0$。我们的技术是将这些顶级$k$问题转化为多维几何搜索问题.作为额外的奖励,我们描述了这些问题的一些改进。

英文摘要:

Let $\mathcal{D}$ be a collection of $D$ documents, which are strings over an alphabet of size $σ$, of total length $n$. We describe a data structure that uses linear space and and reports $k$ most relevant documents that contain a query pattern $P$, which is a string of length $p$, in time $O(p/\log_σn+k)$, which is optimal in the RAM model in the general case where $\lg D = Θ(\log n)$, and involves a novel RAM-optimal suffix tree search. Our construction supports an ample set of important relevance measures... [clip] When $\lg D = o(\log n)$, we show how to reduce the space of the data structure from $O(n\log n)$ to $O(n(\logσ+\log D+\log\log n))$ bits... [clip] We also consider the dynamic scenario, where documents can be inserted and deleted from the collection. We obtain linear space and query time $O(p(\log\log n)^2/\log_σn+\log n + k\log\log k)$, whereas insertions and deletions require $O(\log^{1+ε} n)$ time per symbol, for any constant $ε>0$. Finally, we consider an extended static scenario where an extra parameter $par(P,d)$ is defined, and the query must retrieve only documents $d$ such that $par(P,d)\in [τ_1,τ_2]$, where this range is specified at query time. We solve these queries using linear space and $O(p/\log_σn + \log^{1+ε} n + k\log^εn)$ time, for any constant $ε>0$. Our technique is to translate these top-$k$ problems into multidimensional geometric search problems. As an additional bonus, we describe some improvements to those problems.

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

↑