Transfer Learning of Surrogate Models via Domain Affine Transformation Across Synthetic and Real-World Benchmarks

Shuaiqun Pan, Diederick Vermetten, Manuel López-Ibáñez, Thomas Bäck, Hao Wang

TL;DR

Training high-quality surrogate models for expensive simulations usually requires a prohibitive amount of data. This paper introduces a method to "recycle" existing Random Forest models by automatically learning the geometric relationship—specifically rotation and translation—between a source task and a new target task. By using an evolutionary optimization strategy, the authors demonstrate that they can significantly reduce the data needed to achieve high accuracy across both synthetic benchmarks and complex real-world engineering problems.

What Problem Does This Paper Address?

In fields like aerospace engineering or robotics, researchers use "surrogate models" (mathematical approximations) to stand in for slow, expensive computer simulations or physical experiments. However, these surrogates are a bit of a Catch-22: to build a good one, you often need a lot of expensive data points to begin with.

One way to solve this is transfer learning: taking a model trained on a "source" task (e.g., a robot arm moving in one configuration) and adapting it to a "target" task (the same arm in a slightly different setup). The challenge is that the relationship between these tasks is often an unknown "domain shift." While previous research successfully used gradient-based methods to transfer differentiable models like Gaussian Processes, many popular tools—like Random Forests—are non-differentiable. You can't use standard calculus to find the best way to "twist and slide" the model to fit the new data.

Methods

The authors propose TL-CMA-ES, a transfer learning framework designed specifically for non-differentiable models.

  1. The Affine Assumption: They assume the target task is related to the source task by an affine transformation: $f^T(x) = f^S(Wx + v)$, where $W$ is a rotation matrix and $v$ is a translation vector.
  2. Evolutionary Optimization: Since they can't use gradients, they employ the Covariance Matrix Adaptation Evolution Strategy (CMA-ES). This "black-box" optimizer searches for the best $W$ and $v$ by minimizing the error on a small set of new data points from the target task.
  3. Manifold Constraints: Rotation matrices ($W$) belong to a specific mathematical group ($SO(d)$) that doesn't play well with standard optimizers. The authors map these rotations into a "flat" space called a Lie algebra ($so(d)$), optimize there, and then map them back. This ensures the model always performs a valid geometric rotation.

Datasets

The study evaluates the method across a diverse range of benchmarks:

  • BBOB (Black-Box Optimization Benchmark): A standard set of 24 synthetic functions used to test the limits of the algorithm across different dimensions.
  • Porkchop Plots: Real-world data from interplanetary trajectory optimization (calculating the energy needed for missions to Mars, Venus, and Mercury).
  • SARCOS Robot Arm: A kinematics dataset involving the prediction of torques for a seven-jointed robot arm.
  • Vehicle Dynamics: A benchmark focused on minimizing braking distances across different vehicle configurations.
  • MarioGAN Suite: A set of fitness functions used to evaluate procedurally generated levels in a Mario AI environment.

Key Insights and Ideas

  • Geometric "Recycling": The core "aha" moment is that many task differences in engineering are essentially geometric. If you can find the right rotation and translation, a model trained on "Task A" is already 90% of the way to solving "Task B."
  • The Low-Data Advantage: Transfer learning is most powerful when data is scarcest. The authors found that their method provides the biggest boost when you have fewer than 100 samples. Once you have thousands of samples, training a new model from scratch eventually catches up.
  • Stability Matters: Compared to previous attempts using Gaussian Processes, Random Forests proved to be more stable and less prone to extreme "outlier" errors when transferring in high-dimensional spaces.
  • Source Quality is Key: Transfer learning isn't magic; if the original source model was a poor fit for its own task, trying to transfer it to a new task will likely fail.

Key Results

  • Synthetic Success: On the BBOB testbed, the transferred Random Forest models consistently achieved lower SMAPE (Symmetric Mean Absolute Percentage Error) than models trained from scratch, especially in high-dimensional settings with limited data.
  • Real-World Gains: In the interplanetary trajectory tasks, the transferred models outperformed scratch-trained models significantly when the transfer dataset was small (e.g., 10–50 points).
  • MarioGAN: The method showed a consistent advantage across almost all transfer scenarios in the game-benchmark suite, proving the approach is robust even for non-physics-based optimization tasks.
  • Efficiency: The results highlight that this method can reduce both the data requirements and the computational cost of training surrogates for complex scenarios.

Limitations and Future Work

  • Non-Affine Shifts: The current method assumes the relationship between tasks is a simple rotation and translation. It struggled with the Vehicle Dynamics dataset, where the domain shifts are likely more complex and non-linear.
  • Overfitting Risks: With extremely small datasets (e.g., only 10 samples), the optimizer can sometimes "overfit," finding a transformation that looks good on those 10 points but fails to generalize to the rest of the task.
  • Future Directions: The authors suggest exploring active learning—having the model intelligently choose which 50 points it needs to see to find the best transformation—and investigating non-linear "warping" techniques to handle more complex task relationships.

Summary updated

BibTeX
@inproceedings{pan2025transfer,
  author = {Shuaiqun Pan and Diederick Vermetten and Manuel López-Ibáñez and Thomas Bäck and Hao Wang},
  title = {{Transfer Learning of Surrogate Models via Domain Affine Transformation Across Synthetic and Real-World Benchmarks}},
  booktitle = {CEC},
  year = {2025},
  doi = {10.1109/cec65147.2025.11042973},
}

Loading related content...

Figure