University of Limerick
Browse

Dynamic grammar pruning for program size reduction in symbolic  regression

Download (2.6 MB)

Grammar is a key input in grammar-based genetic programming. Grammar design not only infuences performance, but also program size. However, grammar design and the choice of productions often require expert input as no automatic approach exists. This research work discusses our approach to automatically reduce a bloated grammar. By utilizing a simple Production Ranking mechanism, we identify productions which are less useful and dynamically prune those to channel evolutionary search towards better (smaller) solutions. Our objective in this work was program size reduction without compromising generalization performance. We tested our approach on 13 standard symbolic regression datasets with Grammatical Evolution. Using a grammar embodying a well-defned function set as a baseline, we compare efective genome length and test performance with our approach. Dynamic grammar pruning achieved signifcantly better genome lengths for all datasets, while signifcantly improving generalization performance on three datasets, although it worsened in fve datasets. When we utilized linear scaling during the production ranking stages (the frst 20 generations) the results dramatically improved. Not only were the programs smaller in all datasets, but generalization scores were also signifcantly better than the baseline in 6 out of 13 datasets, and comparable in the rest. When the baseline was also linearly scaled as well, the program size was still smaller with the Production Ranking approach, while generalization scores dropped in only three datasets without any signifcant compromise in the rest.

Funding

Automatic Design of Digital Circuits (ADDC)

Science Foundation Ireland

Find out more...

History

Publication

SN Computer Science, 2023, 4, 402

Publisher

Springer

Other Funding information

Open Access funding provided by the IReL Consortium

Department or School

  • Computer Science & Information Systems

Usage metrics

    University of Limerick

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC