Breeding Grammars: Grammatical Inference with a Genetic Algorithm

This paper presents a genetic algorithm used to infer context-free grammars from legal and illegal examples of a language. It discusses the representation of grammar rules in the form of bitstringsby way of an interval coding scheme, genetic operators for reproduction of grammars, and the method of evaluating the fitness of grammars with respect to the training examples. Results are reported on the inference of several of these grammars. Grammars for the language of correctly balanced and nested brackets, the language of sentences containing an equal number of a’s and b’s, a set of regular languages, and a micro-NL language were inferred. Furthermore, some possible improvements and extensions of the algorithm are discussed.

[1]  M. Partridge Editor , 1960 .

[2]  K. Dejong,et al.  An analysis of the behavior of a class of genetic adaptive systems , 1975 .

[3]  John H. Holland,et al.  Adaptation in Natural and Artificial Systems: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence , 1992 .

[4]  Taylor L. Booth,et al.  Grammatical Inference: Introduction and Survey-Part I , 1986, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[5]  John H. Holland,et al.  Cognitive systems based on adaptive algorithms , 1977, SGAR.

[6]  Albert Donally Bethke,et al.  Genetic Algorithms as Function Optimizers , 1980 .

[7]  Carl H. Smith,et al.  Inductive Inference: Theory and Methods , 1983, CSUR.

[8]  J. D. Schaffer,et al.  Multiple Objective Optimization with Vector Evaluated Genetic Algorithms , 1985, ICGA.

[9]  Editors , 1986, Brain Research Bulletin.

[10]  James E. Baker,et al.  Reducing Bias and Inefficienry in the Selection Algorithm , 1987, ICGA.

[11]  D. E. Goldberg,et al.  Genetic Algorithms in Search, Optimization & Machine Learning , 1989 .

[12]  D. E. Goldberg,et al.  Genetic Algorithms in Search , 1989 .

[13]  W. Daniel Hillis,et al.  Co-evolving parasites improve simulated evolution as an optimization procedure , 1990 .

[14]  M. K. de Weger Generalized adaptive search: an analysis of codings and extension to parsing , 1991 .

[15]  Peter J. Wyard Context Free Grammar Induction Using Genetic Algorithms , 1991, ICGA.

[16]  Sandip Sen,et al.  Learning to construct pushdown automata for accepting deterministic context-free languages , 1992, Defense, Security, and Sensing.

[17]  John R. Koza,et al.  Genetic programming - on the programming of computers by means of natural selection , 1993, Complex adaptive systems.