This paper, recently published by researchers at Victoria University of Wellington and Zhengzhou University, tackles a persistent headache in automated manufacturing: how to keep scheduling systems smart when the factory floor keeps changing.
TL;DR
The authors introduce LLSGP (Lifelong Learning with Surrogate-assisted Genetic Programming), a framework that allows scheduling agents to learn new tasks without forgetting old ones. By combining an adaptive two-stage training strategy with distance-constrained surrogate models, LLSGP effectively balances the need to adapt to new environments (plasticity) with the need to retain prior expertise (stability).
What Problem Does This Paper Address?
In a Dynamic Flexible Job Shop Scheduling (DFJSS) environment, machines must decide two things in real-time: which job to process next (sequencing) and which machine to send a job to (routing). Genetic Programming (GP) is great at evolving these rules automatically.
However, GP suffers from a classic AI problem: catastrophic forgetting. If you train a GP model on a factory with small batches and then move it to a factory with massive orders, it will likely "overwrite" its old knowledge to succeed at the new task. When you move it back to the small-batch environment, its performance plummets. In the real world, manufacturing demands shift constantly—urgency levels change, batch sizes fluctuate, and processing requirements evolve. We need "lifelong learners" that accumulate knowledge rather than just replacing it.
Methods
The authors propose LLSGP, which treats fitness as a unified signal to guide evolution across a sequence of tasks. The process is illustrated in the flowchart below:
Key innovations include:
- Adaptive Two-Stage Training:
- Stage 1 (Plasticity): The algorithm focuses purely on the new task to quickly find effective rules.
- Stage 2 (Stability): Once progress on the new task slows down (stagnation), the algorithm switches to a consolidation phase. It uses surrogate models to estimate how well new rules would have performed on all previous tasks, ensuring the final population is composed of "all-rounders."
- Improved Surrogate Models with Distance Constraints: Evaluating GP rules in a full simulation is computationally expensive. LLSGP uses a K-Nearest Neighbor (KNN) surrogate based on "behavioral vectors." Crucially, they add a distance constraint: if a new rule is too different from anything the surrogate has seen before, the surrogate marks the estimate as unreliable (infinite fitness) rather than guessing poorly.
- Task-Similarity Weighting: Not all past tasks are equally relevant. LLSGP uses Spearman rank correlation to measure how similar a new task is to old ones. It then assigns higher weights to "dissimilar" past tasks during Stage 2 to prevent the most unique knowledge from being washed away.
Datasets
The authors constructed four distinct DFJSS tasks to simulate diverse manufacturing environments, varying problem scales, utilization levels, and processing time distributions:
- Standard Job Arrivals: Uniform distribution.
- Batch Arrivals: Exponential distribution.
- Low-Demand Small-Order: Gamma distribution, small machine count.
- Heavy-Demand Large-Order: Normal distribution, high machine count.
These were tested across six different training orders (e.g., learning the "Normal" task first vs. the "Exponential" task first) to ensure the results weren't just a fluke of the sequence.
Key Insights and Ideas
- Fitness as Memory: Instead of complex architectural changes (like adding new neurons in a neural network), LLSGP uses the fitness function itself as the mechanism for memory. By incorporating estimated performance on past tasks into the current selection pressure, the "memory" is baked into the population.
- Behavior over Structure: GP trees can look very different but act the same. By using behavioral vectors (ranking how a rule makes decisions at specific points) instead of tree structure to measure similarity, the surrogate models become much more accurate.
- The "Hallucination" Guardrail: The distance constraint in the surrogate model is a vital safety feature. It prevents the evolutionary process from being led astray by "hallucinated" high-fitness scores in unexplored regions of the behavior space.
Key Results
LLSGP was compared against standard baselines like "Restart" (learning from scratch) and "Fine-tuning," as well as state-of-the-art lifelong learning methods like LLR-BC.
- Superior General Performance: LLSGP achieved the best Average Performance (AP) score (29.75), significantly outperforming Fine-tuning (34.75) and Restart (69.92). (Note: lower scores are better as they represent the gap from an "ideal" multi-task model).
- Mitigating Forgetting: LLSGP maintained a strong balance, showing much lower forgetting than fine-tuning while maintaining higher "plasticity" (the ability to learn the new task quickly) than methods that over-prioritize stability.
- Efficiency: Despite the extra steps, the total training time for LLSGP was only marginally higher than simpler methods, thanks to the efficiency of the KNN surrogates.
Limitations and Future Work
While LLSGP is a significant step forward, the authors note a few areas for improvement:
- Boundary-free Scenarios: The current model assumes tasks have clear start and end points. Real-world dynamics might be more fluid, with tasks blending into one another.
- Sub-tree Knowledge Reuse: Currently, knowledge is reused at the individual (whole rule) level. The authors suggest that exploring knowledge reuse at the sub-tree level (reusing specific logic components) could further mitigate forgetting.
- Scaling the Sequence: Testing on much longer sequences of tasks will be necessary to see if the surrogate database becomes a bottleneck.
Summary updated