IDEAS home Printed from https://ideas.repec.org/a/spr/jcomop/v29y2015i3d10.1007_s10878-013-9609-9.html
   My bibliography  Save this article

On the hardness of learning queries from tree structured data

Author

Listed:
  • Xianmin Liu

    (Harbin Institute of Technology)

  • Jianzhong Li

    (Harbin Institute of Technology)

Abstract

The problem of learning queries from tree structured data is studied by this paper. A tree structured data is modeled as a node-labeled tree $$T$$ T , and applying a query $$q$$ q on $$T$$ T will return a set $$q(T)$$ q ( T ) which is a subset of nodes in $$T$$ T . For a tree-node pair $$(T,t)$$ ( T , t ) where $$t$$ t is a node in $$T$$ T , $$q$$ q is called to accept the pair if $$t\in {q(T)}$$ t ∈ q ( T ) , and reject the pair if $$t\notin {q(T)}$$ t ∉ q ( T ) . For some query class $$\mathcal{L }$$ L , given tree-node pair sets $$E_p$$ E p and $$E_n$$ E n , the tree query learning problem is to find a query $$q\in \mathcal{L }$$ q ∈ L such that (1) $$q$$ q rejects all pairs in $$E_n$$ E n , and (2) the size of pairs in $$E_p$$ E p accepted by $$q$$ q is maximized. On four different query classes $$\mathcal Q ^{\tiny /}$$ Q / , $$\mathcal Q ^{\tiny /,*}$$ Q / , ∗ , $$\mathcal Q ^{\tiny /,//}$$ Q / , / / and $$\mathcal Q ^{\tiny /,[]}$$ Q / , [ ] , this paper studies the hardness of the corresponding tree query learning problems. For $$\mathcal Q ^{\tiny /}$$ Q / , a PTime algorithm is given. For $$\mathcal Q ^{\tiny /,*}$$ Q / , ∗ and $$\mathcal Q ^{\tiny /,//}$$ Q / , / / , the NP-complete results are shown. For $$\mathcal Q ^{\tiny /,[]}$$ Q / , [ ] , the problem is shown to be NP-hard by considering two constrained fragments of $$\mathcal Q ^{\tiny /,[]}$$ Q / , [ ] . Also, for $$\mathcal Q ^{\tiny /,*}$$ Q / , ∗ , $$\mathcal Q ^{\tiny /,[]}$$ Q / , [ ] and $$\mathcal Q ^{\tiny /,//}$$ Q / , / / , it is shown that there are no $$n^{1-\epsilon }$$ n 1 − ϵ -approximation algorithms for any $$\epsilon >0$$ ϵ > 0 .

Suggested Citation

  • Xianmin Liu & Jianzhong Li, 2015. "On the hardness of learning queries from tree structured data," Journal of Combinatorial Optimization, Springer, vol. 29(3), pages 670-684, April.
  • Handle: RePEc:spr:jcomop:v:29:y:2015:i:3:d:10.1007_s10878-013-9609-9
    DOI: 10.1007/s10878-013-9609-9
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10878-013-9609-9
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10878-013-9609-9?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:jcomop:v:29:y:2015:i:3:d:10.1007_s10878-013-9609-9. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.