学习树模式转换
Learning Tree Pattern Transformations
AI总结:
本文提出基于模式的树转换规约语言,研究从树对样本学习结构差异规则的算法问题,分析其复杂性并利用 SAT 求解器处理 CS 教育数据。
摘要:
解释一棵树 $t$ 为何以及如何在结构上不同于另一棵树 $t^\star$,是计算机科学中普遍遇到的问题,包括理解 XML 或 JSON 数据等树结构数据。本文探讨如何从样本数据中学习树对之间结构差异的解释:假设给定一组带标号有序树对 $\{(t_1, t_1^\star),\dots,(t_n, t_n^\star)\}$;是否存在一小组规则,能够解释所有树对 $(t_i, t_i^\star)$ 之间的结构差异?这引出两个研究问题:(i)在此语境下,什么是良好的“规则”概念?(ii)如何通过算法学习可解释数据集的规则集?我们从数据库理论视角探讨这些问题:(1)引入一种基于模式的树转换规约语言;(2)研究上述算法问题各变体的计算复杂性,例如证明即使是限制极强的变体也具有 NP 困难性;(3)讨论如何使用 SAT 求解器处理来自计算机科学教育研究的数据以解决该问题。
英文摘要:
Explaining why and how a tree $t$ structurally differs from another tree $t^\star$ is a question that is encountered throughout computer science, including in understanding tree-structured data such as XML or JSON data. In this article, we explore how to learn explanations for structural differences between pairs of trees from sample data: suppose we are given a set $\{(t_1, t_1^\star),\dots, (t_n, t_n^\star)\}$ of pairs of labelled, ordered trees; is there a small set of rules that explains the structural differences between all pairs $(t_i, t_i^\star)$? This raises two research questions: (i) what is a good notion of "rule" in this context?; and (ii) how can sets of rules explaining a data set be learned algorithmically? We explore these questions from the perspective of database theory by (1) introducing a pattern-based specification language for tree transformations; (2) exploring the computational complexity of variants of the above algorithmic problem, e.g. showing NP-hardness for very restricted variants; and (3) discussing how to solve the problem for data from CS education research using SAT solvers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。