Learning tree languages from positive examples and membership queries

  • Authors:
  • Jérôme Besombes;Jean-Yves Marion

  • Affiliations:
  • ONERA, 29 avenue de la Division Leclerc, 92322 Châtillon Cedex, France and LORIA, 615, rue du jardin botanique, 54602 Villers-lès-Nancy, France;LORIA, 615, rue du jardin botanique, 54602 Villers-lès-Nancy, France and INPL-Ecole Nationale Supérieure des Mines de Nancy, Parc de Saurupt, 54042 Nancy CEDEX, France

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2007

Quantified Score

Hi-index 5.23

Visualization

Abstract

We investigate regular tree languages' exact learning from positive examples and membership queries. Input data are trees of the language to infer. The learner computes new trees from the inputs and asks the oracle whether or not they belong to the language. From the answers, the learner may ask further membership queries until he finds the correct grammar that generates the target language. This paradigm was introduced by Angluin in the seminal work [D. Angluin, A note on the number of queries needed to identify regular languages, Information and Control 51 (1981) 76-87] for the case of regular word languages. Neither negative examples, equivalence queries nor counter-examples are allowed in this paradigm. We describe an efficient algorithm which is polynomial in the size of the examples for learning the whole class of regular tree languages. The convergence is ensured when the set of examples contains a representative sample of the language to guess. A finite subset of a regular tree language is representative for if every transition of the minimal tree automaton for is used at least once for the derivation of an element of the set .