Learning opposites with evolving rules

Hamid R. Tizhoosh, Shahryar Rahnamayan

Introduction

Opposition-Based Learning (OBL) has emerged as a powerful heuristic in optimization and machine learning. The fundamental premise is that if a candidate solution is far from the global optimum, its "opposite" might reside significantly closer. Traditionally, researchers have relied on Type I opposition, a linear reflection defined by $\breve{x} = a + b - x$. While computationally trivial, this approach assumes a linear problem structure. In complex, non-linear landscapes, a linear opposite is often no better than a random guess. This paper proposes a transition to Type II (non-linear) opposites, utilizing "opposition mining" and evolving fuzzy rules to learn the true functional opposite of a data point.

Methodology: Learning Type II Opposites

The authors introduce a two-stage framework to approximate the "true" opposite when the underlying function is unknown.

Opposition Mining

Instead of a fixed geometric formula, the algorithm identifies "quasi-opposites" within the available training data. For an input $x$ with output $y$, the system calculates an "opposite output" $\breve{y}$ based on the observed range $[y_{min}, y_{max}]$. It then searches the dataset for the input that produced a result closest to $\breve{y}$. This input serves as the training target for the Type II opposite.

Opposition mining in a non-linear landscape where multiple candidates (ox1, ox2, ox3) may exist for a target opposite output of(x).

Evolving Fuzzy Inference Systems (FIS)

The relationship between an input and its Type II opposite is modeled using a Takagi-Sugeno fuzzy system. This system is "evolving," meaning it dynamically adapts its rule base as new data arrives. This allows the model to refine its understanding of the function's "mirror" over time without requiring a predefined structure.

Experimental Evaluation

The proposed method was evaluated against two benchmarks:

  1. Synthetic Functions: Nine functions with known inverse relations (e.g., $f(x) = \log(x+3)$) were used to establish a ground-truth baseline for approximation error.
  2. Optimization Benchmarks: Standard 2D test functions, including Ackley, Booth, and Bukin4, were used to assess performance in rugged optimization landscapes.

Results and Discussion

The results demonstrate that Type II opposites significantly outperform the linear Type I heuristic in non-linear scenarios.

Accuracy and Convergence

In synthetic tests, the learned Type II opposites achieved vastly lower errors. For instance, on the function $f(x) = (2x + 8)^3$, the Type I error was 378.91, whereas the FIS-learned Type II error was reduced to 22.62. In optimization tasks like the Ackley function, Type I opposites provided no statistical benefit over random guesses (both ~284 error), while Type II opposites reduced the error to 10.35 in the initial run.

The Pinnacle Point Phenomenon

A key observation in the evolving system is the "pinnacle point"—a peak in error during the early stages of learning when data is scarce. As the FIS processes more points and matures its rule base, both the error and standard deviation decrease sharply.

Convergence of error and standard deviation (std) over time, illustrating the "pinnacle point" and subsequent stabilization.

Conclusion

By treating "oppositeness" as a learned relationship rather than a static geometric property, this research provides a more robust framework for OBL in complex environments. While the approach introduces some computational overhead and initial data dependency, the gains in convergence speed and accuracy justify the complexity for high-dimensional optimization tasks. Future work will focus on extending these principles to multi-output systems.

Summary updated

BibTeX
@inproceedings{tizhoosh2015learning,
  author = {Hamid R. Tizhoosh and Shahryar Rahnamayan},
  title = {{Learning opposites with evolving rules}},
  booktitle = {FUZZ-IEEE},
  year = {2015},
  doi = {10.1109/fuzz-ieee.2015.7337880},
}
Figure