Related Experiment Video
Updated: Jul 29, 2025

Experimental Paradigm for Measuring the Effect of Induced Emotion on Grammar Learning
Published on: January 29, 2020
Dynamic Grammar Pruning for Program Size Reduction in Symbolic Regression
Muhammad Sarmad Ali1, Meghana Kshirsagar1, Enrique Naredo1
1Castletroy, Limerick, V94 T9PX Ireland Department of Computer Science and Information Systems, University of Limerick.
Abstract:
Grammar is a key input in grammar-based genetic programming. Grammar design not only influences 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-defined function set as a baseline, we compare effective genome length and test performance with our approach. Dynamic grammar pruning achieved significantly better genome lengths for all datasets, while significantly improving generalization performance on three datasets, although it worsened in five datasets. When we utilized linear scaling during the production ranking stages (the first 20 generations) the results dramatically improved. Not only were the programs smaller in all datasets, but generalization scores were also significantly 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 significant compromise in the rest.
More Related Videos
Related Concept Videos
Woodward–Hoffmann Selection Rules and Microscopic Reversibility
Constraints and Statical Determinacy
Block Diagram Reduction
The first step in this process is the identification and relocation of a branch point. A branch point, where a...
Statically Indeterminate Problem Solving
Quantifying and Rejecting Outliers: The Grubbs Test
Types of Errors: Detection and Minimization
Absolute error in a measurement is the numerical difference from the true or central value. Relative error is the ratio between absolute error and the true or central value, expressed as a percentage.
Errors can be classified by source, magnitude, and sign. There are three types of errors: systematic, random, and gross.
Systematic or...

