Abstract
Efficient object rearrangement in industrial environments often utilizes dual-arm Cartesian robots to increase throughput. However, coordinating these arms to avoid collisions while minimizing execution time (makespan) remains a significant challenge. Traditional optimization methods suffer from exponential computational growth and lack real-time adaptability. This paper presents an online reinforcement learning (RL) framework using an attention-based neural network to solve the task assignment problem. By modeling spatial relationships and arm interactions, the system achieves linear scalability and superior performance in high-interference scenarios compared to traditional heuristics.
Introduction
In modern manufacturing and logistics, the speed of object rearrangement—moving items from a pick zone to a place zone—is a critical metric. While dual-arm systems theoretically double productivity, Cartesian robots often share physical rails or overlapping workspaces. This proximity leads to motion interference, where one arm must wait or deviate to avoid a collision, effectively nullifying the benefits of the second arm.
Existing solutions typically rely on Mixed-Integer Linear Programming (MILP) or exhaustive search. While mathematically rigorous, these methods are computationally expensive, scaling poorly as the number of objects increases. Furthermore, they are often "offline" solutions, unable to adjust dynamically to environmental changes without significant recalculation.
Methodology: A Hierarchical Approach
The researchers propose a two-level hierarchical control architecture to decouple high-level decision-making from low-level execution.
High-Level Task Assignment
The core of the framework is a task assignment "brain" modeled as a Markov Decision Process (MDP) and trained using Proximal Policy Optimization (PPO). To handle the varying number of objects and the spatial dependencies between them, the authors utilize an attention-based neural network:
- Arm Encoder: Employs cross-attention mechanisms to allow the two arms to "communicate" their states and constraints.
- Object Encoder: Uses self-attention to model the spatial relationships between all objects in the workspace.
- Decoder: Integrates features from both encoders to calculate the probability of assigning a specific object to a specific arm, optimizing for the lowest predicted interference.
This architecture is "permutation invariant," meaning the network's performance is not dictated by the order of input data, allowing it to generalize across different object counts and configurations.
Low-Level Motion Planning
Once the high-level policy assigns a task, a heuristic-based motion planner manages the physical trajectory. If a collision is predicted, the planner implements a "concession" strategy, assigning priority to one arm while the other waits or replans, ensuring safe and continuous operation.
Experimental Evaluation
The model was evaluated using two primary synthetic data schemes:
- Full Space (FS): Objects are distributed across the entire reachable range.
- Common Area (CA): Objects are concentrated in the shared central workspace, maximizing the potential for interference.
A key aspect of the study was testing the model's generalization capabilities. The RL agent was trained on scenarios involving only 10 objects but was tested on scales ranging from 4 to 30 objects.
Key Findings
1. Scalability and Efficiency
Unlike search-based methods that exhibit polynomial or exponential growth in computation time, the RL-based inference time increases linearly. For 30 objects, the RL method provides assignments in a fraction of the time required by traditional baselines, making it suitable for high-speed industrial applications.
2. Interference Mitigation
In the high-interference "Common Area" tests, the RL framework consistently outperformed Greedy Search and Random Split heuristics. The attention mechanism allows the agent to learn the hidden "cost" of interference—sometimes choosing a more distant object now to prevent a bottleneck in subsequent moves.
3. Generalization and Real-World Viability
The model demonstrated robust zero-shot generalization, outperforming traditional heuristics on 30-object tasks despite only being trained on 10. Furthermore, the system was successfully validated on a physical dual-arm Cartesian robot using the Robot Operating System (ROS), confirming that the learned policies translate effectively from simulation to reality.
Conclusion and Future Work
This research demonstrates that reinforcement learning, specifically through attention-based architectures, can solve complex coordination problems in robotics that were previously computationally prohibitive. While the current system uses a heuristic lower-level planner and focuses on 2D Cartesian constraints, future work aims to integrate end-to-end learning for motion planning and extend the framework to multi-robot swarms and 3D environments. By shifting from rigid optimization to adaptive learning, industrial robots can achieve higher efficiency in increasingly dynamic environments.
Summary updated