Frequency-Scaled Ingredient Fitness
- The paper introduces FFA, a fitness assignment method that uses objective frequency counters to replace direct numerical comparisons in evolutionary algorithms.
- It demonstrates that FFA ensures invariance under injective transformations, eradicating numerical bias and providing consistent selection across diverse problem landscapes.
- Empirical results show that FFA-based EAs convert exponential runtimes on challenging benchmarks to efficient polynomial scaling, enhancing overall optimization performance.
Frequency-Scaled Ingredient Fitness, formalized as Frequency Fitness Assignment (FFA), is a fitness assignment methodology in evolutionary algorithms (EAs) that replaces direct objective function comparison with selection based on the empirical frequency of observed objective values. This approach seeks to eradicate algorithmic bias towards numerically superior solutions and ensures invariance under injective transformations of the objective function, enabling robust optimization across challenging benchmark landscapes such as traps, jumps, plateaus, and random satisfiability problems (Weise et al., 2021).
1. Formal Definition and Computation
Let denote the objective function, where is the search space and is the image set. In FFA, each encountered objective value is assigned a frequency counter
where is the candidate at step . On each selection event (insertion or reevaluation), the counter for the current objective value is incremented by one:
The FFA fitness of a candidate is defined as
with minimization as the selection criterion. Hence, all individual comparisons for selection are performed with respect to 0. No further normalization or transformation is applied. The entire process relies on maintaining and updating the counter table 1, which encapsulates the historical frequency information of each objective value.
2. Theoretical Properties
FFA possesses distinctive invariance and non-bias properties:
- Invariance Under Injective Transformations: For any injective 2, frequency assignment via 3 or 4 yields an identical frequency histogram up to relabeling:
5
and thus the search dynamics remain unchanged under any injective scaling, shifting, encryption, or other relabeling of objective values. This ensures algorithmic neutrality to scaling or monotonic coding of fitness landscapes.
- Absence of Numerical Bias: Standard EAs intrinsically prefer "better" (higher or lower, depending on maximization/minimization) objective values. FFA-based EAs, in contrast, are indifferent to magnitude, focusing strictly on the minimization of frequency: only rarely observed 6-values (low 7) are favored. Consequently, selection is invariant to any strict ordering or re-ranking of 8. Pairwise comparison operators relying solely on 9 exhibit complete rank-order independence (Proposition 3.1 of (Weise et al., 2021)), and the procedure is unbiased with respect to the numerical encoding of "goodness."
3. Integration into Evolutionary Algorithms
FFA is integrated by substituting all fitness-based comparisons in established evolutionary algorithms with frequency-based metrics. Two state-of-the-art GA instantiations are examined:
- Greedy (2+1) GA with FFA (GFGA): Maintains two parents, 0 and 1. Offspring are generated via uniform crossover and subsequent mutation determined by 2. After updating 3, 4, 5, selection proceeds by replacing the parent with the highest 6 value.
- Self-Adjusting (1+(7,8)) GA with FFA (SAFGA): Utilizes a current parent 9 and mutation parameter 0. In each generation, 1 mutants are generated; the best in 2 among these becomes 3. After crossover, selection, and 4 updates, the algorithm adjusts 5 based on success, only accepting new parent candidates if their frequency-fitness is at least as low as the incumbent.
The frequency table is updated for every new or surviving individual, ensuring up-to-date frequency-based selection throughout the search process.
4. Empirical Performance on Benchmark Problems
Empirical studies demonstrate marked improvements in runtime scaling on multiple benchmark classes:
| Benchmark | Pure EA Runtime (Expected) | FFA-based EA Mean Runtime |
|---|---|---|
| Trap, Jump, Twomax | Exponential in 6 | Polynomial (e.g. 7-8) |
| Plateau (width91) | Exponential | Sub-0 (for SAFGA/SAFGAP) |
| MaxSAT (Random 3-SAT, 1) | 2 FEs (fails) | 3 FEs (virtually all solved) |
FFA-based variants (OFEA, GFGA) outperform standard EAs by transforming exponential scaling to empirical polynomial runtimes in problems where pure EAs encounter hard fitness landscapes such as traps, jumps, and plateaus. For uniform random 3-SAT at the phase transition (4), FFA-EAs solve all tested instances while pure EAs fail after upwards of 5 evaluations. The log-mean expected runtime under FFA is reduced by 6–7 orders of magnitude.
5. Hybrid Selection Mechanisms
FFA is further utilized in hybrid algorithms that alternate or adapt between direct objective-based and frequency-based optimization:
- EAFEA (Alternating): Alternates every fitness evaluation between the standard (1+1) EA and objective-frequency-based OFEA, with cross-communication via a global best-so-far value. Empirically, this combines fast performance on simple landscapes and polynomial behavior on hard benchmarks.
- SAFGAP (Adaptive Switch): Commences as self-adjusting (1+(8,9)) GA, switching to SAFGA once 0 reaches 1 (mutation of all bits). Reverts to the base algorithm upon objective improvement in FFA mode. This strategy matches or surpasses pure and FFA-only methods across all benchmarks by leveraging both standard and FFA-based search strengths.
These hybrid methods demonstrate that hybridizing FFA with standard selection enhances robustness and preserves asymptotic performance on both easy and hard problem instances.
6. Key Equations and Benchmark Definitions
- FFA Assignment: 2, 3, minimize 4.
- Jump Function (5):
6
- Plateau Function (width 7):
8
A summary of the empirical exponents (largest 9 such that all runs complete in at most 0 FEs) shows that FFA-variants never exceeded 1 over all benchmarks, while pure EA approaches required exponential time.
7. Context, Limitations, and Implications
FFA is a general-purpose "plug-in" mechanism for EAs, requiring minimal modification—namely, the substitution of objective-based comparison with frequency-based selection and the maintenance of frequency counters. It eradicates bias toward numerically "good" solutions and achieves strict invariance to all injective renamings of objective values. Empirical results indicate that this methodology can transform the empirical runtime complexity on hard benchmark classes from exponential to polynomial, broadening the class of problems efficiently solvable by black-box EAs (Weise et al., 2021). A plausible implication is that the absence of objective numerical bias facilitates traversal of complex fitness landscapes, particularly those engineered to deceive or plateau standard selection schemes.
No explicit disadvantages, pathologies, or scenarios in which FFA worsens performance relative to standard selection are identified in the referenced empirical studies, but the non-monotonic relationship between objective value and frequency-fitness suggests potential trade-offs on unimodal or non-deceptive landscapes. Future research could clarify the generality of FFA improvements, especially on application-specific or noisy objective functions.