Glossary
There are many terms that are used differently in different domains. In the following, we will give a glossary of the most important terms.
Alterer
The former name of the variation operators of an evolutionary algorithm (alterers in older configurations). The evolutionary algorithm configures them as recombination, which combines two parents into two children, and mutation, which changes a single child.
Arff
ARFF (Attribute-Relation File Format) is the file format used by WEKA. EvoAl can read and write ARFF files to exchange data with WEKA. See the ARFF documentation for details.
Black-Box Optimisation
Black-box optimisation (BBO) optimises an objective function whose inner structure, such as its formula or its derivatives, is unknown. The optimisation algorithm only sees the values that the function returns for the inputs it tries, e.g. the results of an experiment, and compares these values instead of following gradients. In EvoAl, black-box problems are expressed using map with 'unknown-function' {} in the Optimisation Language, and a surrogate function is typically used to approximate the objective function.
Candidate
A candidate is a single element of the search space that is evaluated by an optimisation algorithm. It assigns a value to every decision variable and is a possible solution, not necessarily the best one. In evolutionary algorithms, candidates form a population. In local search, the algorithm moves from one candidate to a neighbouring one.
Candidate Check
A candidate check tests the candidates of an optimisation algorithm and reacts to a candidate that fails it: it logs a warning, replaces the candidate, draws it again or repairs it. Examples are the age of a candidate, its constraints or the size of a model. See the Optimisation Language.
Constraint
A constraint is a condition on the data of a problem, e.g. an upper bound of a variable or a relation between variables. Constraints are declared in DDL files. An optimisation algorithm measures how much a candidate violates them and handles the violation, e.g. with a penalty, the feasibility rules or a repair. See Constraints.
CSV
CSV (Comma-Separated Values) is a plain text file format that stores tabular data with one record per line and values separated by commas. EvoAl can read and write CSV files as an alternative to ARFF and JSON files. Like ARFF files, CSV files can be used directly wherever a JSON file would normally be expected, provided that a corresponding DDL file describing the data structure is available.
Data Description Language (DDL)
The Data Description Language is the EvoAl DSL used to describe the structure of data. It defines the dimensions of your data, their scale types, their representation types, and optionally their constraints. DDL files use the .ddl file ending. See the DDL documentation for details.
Definition Language (DL)
The Definition Language is the EvoAl DSL that declares the vocabulary of the other languages: the types of algorithms, functions, operators and their parameters, together with their checks. EvoAl and its plugins ship their DL files, and you write your own only to extend EvoAl. DL files use the .dl file ending. See the DL documentation for details.
Domain-Specific Language (DSL)
A domain-specific language is a small, focused programming language designed for a particular task. EvoAl uses several DSLs, each covering a specific aspect of the optimisation workflow: the Data Description Language, the Generator Language, the Machine Learning Language, and the Optimisation Language.
Evaluation Strategy
The evaluation strategy of an optimisation algorithm decides how often the objective function is called for a candidate: once, several times with the mean or the median as the result (resampling), or again in every iteration (re-evaluation). Several evaluations reduce the effect of noise. See Evaluation Strategies.
Evolutionary Algorithm
An evolutionary algorithm (EA) is an optimisation algorithm inspired by biological evolution. It maintains a population of candidates and improves it over generations using selection, crossover, and mutation. EvoAl configures evolutionary algorithms using the Optimisation Language.
Feasible Set
The feasible set is the part of the search space whose candidates satisfy all constraints. An optimisation under constraints searches for the best candidate of the feasible set.
Fitness
The fitness is the value by which an optimisation algorithm compares candidates. EvoAl computes it from the objectives of a candidate in the fitness pipeline, e.g. by selecting or weighting objectives, by the distance to a target, or by a penalty for violated constraints. See Fitness and Comparators.
Generator Language (Generator)
The Generator Language is the EvoAl DSL used to describe how data is created. It defines pipelines of steps that generate, transform, and store data. Generator files use the .generator file ending. See the GL documentation for details.
Genetic Programming
Genetic programming (GP) searches expressions, e.g. a formula that fits a table of values. An expression is a model whose inner nodes are functions and whose leaves are variables and constants (Koza 1992, ISBN 0-262-11170-5). See Genetic Programming.
Genotype
The genotype defines how a candidate is represented internally in an evolutionary algorithm. It maps every search variable to exactly one chromosome. A chromosome holds the genes of its variables as real values, integers, bits or models.
Goodness-of-Fit (GoF)
Goodness-of-fit measures evaluate how well a trained surrogate model fits the training data and, with testing with [...], how well it predicts held-out test data. Examples include R² and RMSE. GoF measures are configured in the Machine Learning Language using the specify gof block.
Local Search
Local search is an optimisation algorithm that starts from one or more candidates and iteratively moves to neighbouring solutions. EvoAl supports hill climbing, threshold accepting and simulated annealing as accepting strategies within its local search implementation.
Machine Learning Language (MLL)
The Machine Learning Language is the EvoAl DSL used to configure the training of surrogate models. It specifies the input and output features, the model type, goodness-of-fit measures, and the learning and prediction pipelines. MLL files use the .mll file ending. See the MLL documentation for details.
Memory Model
The memory model is the complete record of a run: every candidate with its values, objectives and fitness, its origin (its parents and the operator that created it), the ranks and the metrics of every iteration. The statistics writer memory-model writes it as JSON files. See Documentation.
Model
A model is a value of structured data (data 'x' of instance T): a tree of objects whose classes come from DL types or from an Ecore metamodel. An optimisation algorithm can search models, e.g. policies or expressions. See Structured Data.
Module
A module is the top-level organisational unit in an EvoAl DSL file. Each file defines exactly one module, identified by a unique name. Modules allow EvoAl to distinguish between identically named elements in different files. See the DSL Fundamentals documentation for details.
Multi-Objective Optimisation
Multi-objective optimisation optimises several objective functions at once, e.g., the taste of a coffee for two people, or the cost and the quality of a product. If the objectives conflict, no single candidate is best in all of them. The result is the set of best compromises, the Pareto front. See NSGA-II.
Noise
Noise is random variation in the values of the objective function: evaluating the same candidate twice gives different results, e.g., because of measurement errors or uncontrolled conditions of an experiment. Noise can make a worse candidate look better. Evaluation strategies reduce its effect by evaluating candidates several times.
Objective Function
An objective function maps an element of the search space to the optimisation space. In EvoAl, the objective function is configured using the map with clause in the Optimisation Language. It states what “better” means for a problem, e.g. a lower cost or a better taste. When the objective function is unknown, a surrogate function is used instead.
Objective Space
The objective space, also called the optimisation space, is the set of possible output values produced by the objective function. In EvoAl, the objective space is defined by the output features of a problem specification and described using the Data Description Language.
Optimisation
Optimisation is the search for the values of the decision variables (the search space) that minimise or maximise an objective function, possibly under constraints. An optimisation algorithm performs the search. With several objectives, it is multi-objective optimisation.
Optimisation Algorithm
An optimisation algorithm searches the search space for a candidate that minimises or maximises the objective function. EvoAl supports several optimisation algorithms, including evolutionary algorithms, particle swarm optimisation, and local search, all configured using the Optimisation Language.
Optimisation Language (OL)
The Optimisation Language is the EvoAl DSL used to describe an optimisation problem and configure one or more algorithms to solve it. OL files use the .ol file ending. See the OL documentation for details.
Pareto Front
The Pareto front is the result of a multi-objective optimisation: the candidates that no other candidate beats in every objective at once (the non-dominated candidates). Along the front, one objective only gets better if another gets worse. Optimising a weighted sum of the objectives finds only some of these candidates (none in the non-convex parts of the front). NSGA-II searches for the whole front.
Particle Swarm Optimisation
Particle swarm optimisation (PSO, Kennedy and Eberhart 1995, https://doi.org/10.1109/ICNN.1995.488968) is an optimisation algorithm inspired by the collective movement of animals such as flocks of birds. It maintains a swarm of candidates that move through the search space influenced by their own best known position and their neighbours’ best known positions. EvoAl supports several PSO variants, including standard PSO, FIPS, and ARPSO.
Pipeline
A pipeline is a named sequence of processing steps defined in the Generator Language or Machine Learning Language. Each step reads data dimensions, processes them using a component, and writes the results to data dimensions. Steps are executed in order.
Representation Type
A representation type defines how a data dimension’s values are stored. EvoAl supports four representation types: real (floating-point numbers), integer (whole numbers), boolean (true or false), and string (text). Representation types are specified in DDL files.
Scale Type
A scale type defines the mathematical properties of a data dimension’s values. EvoAl supports four scale types: nominal (unordered categories), ordinal (ordered categories), cardinal (ordered values with meaningful differences), and quotient (ordered values with meaningful differences and a true zero). Scale types are specified in DDL files.
Search Space
The search space is the set of all possible values that an optimisation algorithm can explore. In EvoAl, the search space is defined by the search for clause in the Optimisation Language and described using the Data Description Language. With constraints, only its feasible set is allowed.
Selector
A selector (selection) determines which candidates are chosen as parents or survivors in an evolutionary algorithm. EvoAl supports several selections, including elite selection, tournament selection, and roulette wheel selection.
Surrogate Function
A surrogate function is a trained machine learning model used to approximate an objective function that is unknown or too expensive to evaluate directly. Surrogate models are trained using the Machine Learning Language and used in the Optimisation Language via the surrogate optimisation function. It is learned from evaluated samples, so that a search needs fewer of the expensive evaluations of the objective function. See also black-box optimisation.