arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1106.3725cs.DBcs.LG
收藏

学习XML树枝

Learning XML Twig Queries

INRIA(法国国家信息与自动化研究所);LIFL (CNRS UMR8022)(里尔基础信息实验室(法国国家科学研究中心 UMR8022));University of Lille(里尔大学);Institute of Computer Science(计算机科学研究所);University of Wrocław(弗罗茨瓦夫大学)

Sławomir Staworko, Piotr Wieczorek

摘要:

我们研究的问题,学习XML查询,路径查询和树模式查询,从用户给出的例子。学习算法接受一组XML文档的输入,这些XML文档具有用户注释的节点,并返回一个查询,该查询以与注释一致的方式选择节点。我们研究了两种不同类型的注释的学习设置。在第一个设置中,用户可以仅指示查询必须返回的所需节点。在第二种更一般的设置中,用户还可以指示查询不得返回的禁止节点。查询可以返回也可以不返回任何没有注释的节点。我们将一类查询的含义形式化为\emph{learnable}。一个要求是存在可靠的学习算法,总是返回与用户给出的示例一致的查询。此外,学习算法应该是完整的,即,能够生成具有足够丰富示例的每个查询。其他要求包括学习的易处理性和对非必要示例的鲁棒性。我们表明,类的简单路径查询和路径包容免费树查询是可学习的正面例子。树模式查询的全类(和路径查询的全类)的可学习性仍然是一个悬而未决的问题。我们还表明,添加负面的例子,图片呈现学习不可行。发表于ICDT 2012,柏林。

英文摘要:

We investigate the problem of learning XML queries, path queries and tree pattern queries, from examples given by the user. A learning algorithm takes on the input a set of XML documents with nodes annotated by the user and returns a query that selects the nodes in a manner consistent with the annotation. We study two learning settings that differ with the types of annotations. In the first setting the user may only indicate required nodes that the query must return. In the second, more general, setting, the user may also indicate forbidden nodes that the query must not return. The query may or may not return any node with no annotation. We formalize what it means for a class of queries to be \emph{learnable}. One requirement is the existence of a learning algorithm that is sound i.e., always returns a query consistent with the examples given by the user. Furthermore, the learning algorithm should be complete i.e., able to produce every query with a sufficiently rich example. Other requirements involve tractability of learning and its robustness to nonessential examples. We show that the classes of simple path queries and path-subsumption-free tree queries are learnable from positive examples. The learnability of the full class of tree pattern queries (and the full class of path queries) remains an open question. We show also that adding negative examples to the picture renders the learning unfeasible. Published in ICDT 2012, Berlin.

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

↑