TL;DR
This paper introduces Learning to Transfer (L2T), a framework that uses Reinforcement Learning to automatically decide when and how to share information between different optimization tasks. By treating knowledge transfer as a sequential decision-making problem, the authors enable evolutionary algorithms to adapt dynamically to new, unseen problems, significantly outperforming traditional human-designed transfer strategies.
What Problem Does This Paper Address?
Evolutionary Multitasking (EMT) is a paradigm where an algorithm tries to solve multiple optimization problems (tasks) simultaneously. The goal is to leverage similarities between tasks—transferring "knowledge" from one to another—to speed up the search for global optima.
The "Achilles' heel" of EMT is the Knowledge Transfer (KT) process. Currently, most algorithms rely on human-designed heuristics to decide:
- When to transfer: How often or intensely should tasks share information?
- How to transfer: Which mathematical operators (like crossover or vector mutation) should be used to inject knowledge from a source task into a target task?
Static or simple heuristic rules often fail when faced with diverse, real-world problems. If the tasks are too different, "negative transfer" can occur, where sharing information actually hinders performance. There is a clear need for a more adaptive, automated way to manage these transfers.
Methods
The authors propose the Learning to Transfer (L2T) framework, which conceptualizes the KT process as a Markov Decision Process (MDP).
1. The RL Agent
They train an RL agent (using an actor-critic structure with Proximal Policy Optimization (PPO)) to act as a "strategic manager" for the evolutionary process.
- State Space: The agent observes "evolutionary states," including timestamps, population diversity (standard deviation), stagnation counters, and the quality of previous transfers.
- Action Space: Instead of picking one operator, the agent outputs three continuous parameters ($a_{k,1}, a_{k,2}, a_{k,3}$) that define the transfer intensity and a linear combination of several well-known KT operators (e.g., arithmetic crossover, base vector transfer, and differential vector transfer).
- Reward Function: The agent is rewarded based on two factors: convergence gain (how much closer the population got to the optima) and transfer efficiency gain (how much better the transferred solutions were compared to standard evolution).
2. Workflow
The framework operates in two stages:
- Learning Stage: The agent interacts with a variety of training tasks to learn a robust policy.
- Utilization Stage: The pre-trained agent is "plugged into" a standard evolutionary algorithm (like Differential Evolution or Genetic Algorithms) to solve new, unseen multitask problems without further training.
Datasets
The authors evaluated L2T using a mix of synthetic benchmarks and real-world applications:
- CEC17MTOP: A standard benchmark for multitask optimization with configurable optima.
- BBOB (Black-Box Optimization Benchmark): 24 synthetic functions with diverse fitness landscapes. They created 15 different multitask sets from these to test "out-of-distribution" generalization.
- Real-World HPO: Hyperparameter Optimization tasks for machine learning models, including SVM, XGBoost, and Fully-Connected Neural Networks (FCNet) across various datasets.
Key Insights and Ideas
- Generalization is Possible: A key "aha moment" is that an agent trained on simple synthetic functions can effectively manage transfers for complex, real-world hyperparameter tuning. This suggests that the dynamics of successful transfer are somewhat universal across optimization landscapes.
- Strategic Unidirectional Transfer: The agent learned to identify when one task is "easier" than another. In these cases, it performs unidirectional transfer—using the easy task to pull the difficult one along while protecting the easy task from noisy information.
- Dynamic Intensity: The agent naturally learns to vary transfer intensity. For example, it often favors high "base vector transfer" early in the search (when populations are diverse and overlapping) and tapers it off as tasks converge to different local optima.
- Ablation Success: Removing the specific "transfer quality" reward term ($r_{KT}$) significantly degraded performance, proving that rewarding the process of transfer is just as important as rewarding the final outcome.
Key Results
- Superior Adaptability: On the BBOB test suite, L2T-based algorithms (MTDE-L2T and MTGA-L2T) outperformed state-of-the-art EMT methods in the majority of cases, especially on "out-of-distribution" tasks that the agent hadn't seen during training.
- Positive Transfer Rates: L2T maintained high positive transfer rates even as the distance between task optima increased, whereas traditional methods saw their performance plummet.
- Efficiency: In fine-tuning experiments, the L2T agent converged faster and reached better solutions than learning from scratch, demonstrating high "transferability" of the learned policy itself.
Limitations and Future Work
- Manual Feature Engineering: The current state representation relies on manually extracted features (like population mean/std). The authors suggest that representation learning (e.g., using Graph Neural Networks or Transformers) could eventually allow for end-to-end state extraction directly from raw population data.
- Task Scaling: While the paper focuses on two-task pairs, real-world problems often involve many more. While the authors mention a "pairing" strategy for many-task scenarios, more direct multi-task coordination remains an open challenge.
- Computational Overhead of Training: While the utilization stage is fast, the learning stage requires significant computational resources to simulate thousands of evolutionary runs.
Summary updated