Abstract
Modern smart manufacturing requires efficient job scheduling that balances production speed with environmental sustainability. This paper presents LUCA, a reinforcement learning framework that enhances traditional graph-based scheduling with the semantic capabilities of Large Language Models (LLMs). By fusing structural graph data with text-based contextual hints, LUCA optimizes the Flexible Job Shop Scheduling Problem (FJSP) for both makespan and carbon emissions. Our evaluation shows that LUCA consistently outperforms state-of-the-art Deep Reinforcement Learning (DRL) methods, achieving up to 12.2% improvement in efficiency.
Introduction
The Flexible Job Shop Scheduling Problem (FJSP) is a critical challenge in smart manufacturing, involving the assignment of operations to machines with varying speeds and carbon emission profiles. While traditional heuristics like "First-In-First-Out" (FIFO) are easy to implement, they lack the flexibility needed for real-time optimization. Recent Deep Reinforcement Learning (DRL) approaches utilizing Graph Neural Networks (GNNs) have shown promise by capturing the structural dependencies of factory states. However, these models often ignore semantic context—such as historical performance patterns—that human schedulers use intuitively. Furthermore, the increasing pressure for sustainable manufacturing necessitates models that are explicitly carbon-aware.
The LUCA Framework
LUCA addresses these limitations through a dual-encoding strategy that combines structural and semantic information.
The framework consists of four key components:
- Structural Encoding (GNN): A GNN processes the factory state as a graph, where nodes represent operations and edges denote dependencies, capturing the underlying "plumbing" of the schedule.
- Semantic Encoding (LLM): The scheduling state is converted into a text-based "State Prompt." This is supplemented by a "Feedback Prompt" containing dynamic hints (e.g., identifying high-carbon operations) based on previous training iterations. A lightweight Sentence Transformer encodes this text into a contextual embedding.
- Gated Fusion: A learnable gate dynamically weights the contributions of the GNN and LLM embeddings, allowing the model to prioritize structural or semantic information as needed.
- Dual-Objective Reinforcement Learning: The agent is trained using Proximal Policy Optimization (PPO) with a reward function that balances makespan minimization and carbon emission reduction.
Experimental Evaluation
The researchers evaluated LUCA using both synthetic datasets (10 jobs × 5 machines) and adapted public benchmarks (Mk and La datasets). Since classic benchmarks lack environmental data, the authors assigned specific carbon emission profiles to machines to facilitate "green" scheduling research.
Key Results and Insights
LUCA demonstrates significant performance gains across various metrics:
- Pareto Dominance: LUCA often yields schedules that improve both speed and emissions simultaneously compared to baseline models.
- Efficiency Gains: On synthetic data, LUCA achieved an average of 4.1% (and up to 12.2%) lower makespan than the DRL-c baseline while maintaining equivalent emission levels.
- Benchmark Performance: On the Mk dataset, LUCA showed a 6.56% improvement in makespan and a 3.35% reduction in emissions over state-of-the-art methods.
The inclusion of feedback hints proved particularly effective, suggesting that LLMs can leverage structured semantic cues to perform complex reasoning that raw numerical data might obscure. Additionally, sensitivity analysis confirmed LUCA's robustness even when carbon emission rates between machines varied significantly.
Conclusion and Future Work
LUCA represents a significant step toward integrating semantic reasoning into industrial optimization. By acting as a bridge between raw data and high-level strategy, LLMs enable more nuanced and sustainable scheduling decisions. Future research will focus on integrating real-time feedback from physical factory sensors, improving the interpretability of LLM-driven decisions, and incorporating broader sustainability factors such as fluctuating energy costs and machine maintenance cycles.
Summary updated