Abstract
A conjunctive query problem in relational database theory is a problem to determine whether or not a tuple belongs to the answer of a conjunctive query over a database. Here, a tuple and a conjunctive query are regarded as a ground atom and a nonrecursive function-free definite clause, respectively. While the conjunctive query problem is NP-complete in general, it becomes efficiently solvable if a conjunctive query is acyclic. Concerned with this problem, we investigate the learnability of acyclic conjunctive queries from an instance with a j-database which is a finite set of ground unit clauses containing at most j-ary predicate symbols. We deal with two kinds of instances, a simple instance as a set of ground atoms and an extended instance as a set of pairs of a ground atom and a description. Then, we show that, for each j ≥ 3, there exist a j-database such that acyclic conjunctive queries are not polynomially predictable from an extended instance under the cryptographic assumptions. Also we show that, for each n > 0 and a polynomial p, there exists a p(n)- database of size O(2p(n)) such that predicting Boolean formulae of size p(n) over n variables reduces to predicting acyclic conjunctive queries from a simple instance. This result implies that, if we can ignore the size of a database, then acyclic conjunctive queries are not polynomially predictable from a simple instance under the cryptographic assumptions. Finally, we show that, if either j = 1, or j = 2 and the number of element of a database is at most l (≥ 0), then acyclic conjunctive queries are paclearnable from a simple instance with j-databases.
This workis partially supported by Japan Society for the Promotion of Science, Grants-in-Aid for Encouragement of Young Scientists (A) 11780284.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Arimura, H.: Learning acyclic first-order Horn sentences from entailment, Proc. 8th ALT, LNAI 1316, 432–445, 1997.
Beeri, C., Fagin, R., Maier, D. and Yannakakis, M.: On the desirability of acyclic database schemes, Journal of the ACM 30, 479–513, 1983.
Baxter, L. D.: The complexity of unification, Doctoral Thesis, Department of Computer Science, University of Waterloo, 1977.
Chekuri, C. and Rajaraman, A.: Conjunctive query containment revisited, Theoretical Computer Science 239, 211–229, 2000.
Cohen, W. W.: Pac-learning recursive logic programs: Efficient algorithms, Journal of Artificial Intelligence Research 2, 501–539, 1995.
Cohen, W. W.: Pac-learning recursive logic programs: Negative results, Journal of Artificial Intelligence Research 2, 541–573, 1995.
Cohen, W. W.: Pac-learning non-recursive Prolog clauses, Artificial Intelligence 79, 1–38, 1995.
Cohen, W. W.: The dual DFA learning problem: Hardness results for programming by demonstration and learning first-order representations, Proc. 9th COLT, 29–40, 1996.
Cohen, W. W. and Page Jr., C. D.: Polynomial learnability and inductive logic programming: Methods and results, New Generation Computing 13, 369–409, 1995.
De Raedt, L. and Džeroski, S.: First-order jk-clausal theories are PAC-learnable, Artificial Intelligence 70, 375–392, 1994.
Džeroski, S., Muggleton, S. and Russell, S.: PAC-learnability of determinate logic programs, Proc. 5th COLT, 128–135, 1992.
Džeroski, S., Muggleton, S. and Russell, S.: Learnability of constrained logic programs, Proc. 6th ECML, LNAI 667, 342–347, 1993.
Eiter, T. and Gottlob, G.: Identifying the minimal transversals of a hypergraph and related problems, SIAM Journal of Computing 24, 1278–1304, 1995.
Fagin, R.: Degrees of acyclicity for hypergraphs and relational database schemes, Journal of the ACM 30, 514–550, 1983.
Garey, M. R. and Johnson, D. S.: Computers and intractability: A guide to the theory of NP-completeness, W. H. Freeman and Company, 1979.
Gottlob, G., Leone, N. and Scarcello, F.: The complexity of acyclic conjunctive queries, Proc. 39th FOCS, 706–715, 1998.
Hirata, K.: Flattening and implication, Proc. 10th ALT, LNAI 1720, 157–168, 1999.
Horváth, T. and Turán, G.: Learning logic programs with structured background knowledge, in De Raedt, L. (ed.): Advances in inductive logic programming, 172–191, 1996.
Kearns, M. and Valiant, L.: Cryptographic limitations on learning Boolean formulae and finite automata, Journal of the ACM 41, 67–95, 1994.
Kietz, J.-U.: Some lower bounds for the computational complexity of inductive logic programming, Proc. 6th ECML, LNAI 667, 115–123, 1993.
Kietz, J.-U. and Džeroski, S.: Inductive logic programming and learnability, SIGART Bulletin 5, 22–32, 1994.
Kietz, J.-U. and Lübbe, M: An efficient subsumption algorithm for inductive logic programming, Proc. 11th ICML, 130–138, 1994.
Khardon, R.: Learning function-free Horn expressions, Proc. 11th COLT, 154–165, 1998.
Khardon, R.: Learning range-restricted Horn expressions, Proc. EuroCOLT99, LNAI 1572, 111–125, 1999.
Muggleton, S. (ed.): Inductive logic programming, Academic Press, 1992.
Page Jr., C. D. and Frisch, A. M: Generalization and learnability: A study of constrained atoms, in [25], l29–161.
Pitt, L. and Warmuth, M. K.: Prediction preserving reduction, Journal of Computer System and Science 41, 430–467, 1990.
Quinlan, J. R.: Learning logical definitions from relations, Machine Learning 5, 239–266, 1990.
Reddy, C. and Tadepalli, P.: Learning first-order acyclic Horn programs from entailment, Proc. 8th ILP, LNAI 1446, 23–37, 1998.
Reddy, C. and Tadepalli, P.: Learning Horn definitions: Theory and application to planning, New Generation Computing 17, 77–98, 1999.
Rouveirol, C.: Extensions of inversion of resolution applied to theory completion, in [25], 63–92.
Schapire, E.: The strength of weak learning, Machine Learning 5, 197–227, 1990.
Valiant, L.: A theory of learnable, Communications of the ACM 27, 1134–1142, 1984.
Yannakakis, M.: Algorithms for acyclic database schemes, Proc. 7th VLDB, 82–94,1981.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2000 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Hirata, K. (2000). On the Hardness of Learning Acyclic Conjunctive Queries. In: Arimura, H., Jain, S., Sharma, A. (eds) Algorithmic Learning Theory. ALT 2000. Lecture Notes in Computer Science(), vol 1968. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-40992-0_18
Download citation
DOI: https://doi.org/10.1007/3-540-40992-0_18
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-41237-3
Online ISBN: 978-3-540-40992-2
eBook Packages: Springer Book Archive