TL;DR
This paper introduces a novel, general approach for forming collectives of agents in real-world scenarios by combining an attention-based deep learning model with an integer linear program (ILP). This method learns domain-specific structures to efficiently generate promising collective candidates, outperforming existing general approaches and achieving comparable results to domain-specific methods.
What Problem Does This Paper Address?
Forming optimal collectives of agents is crucial for various applications, from ridesharing to cooperative learning, often aligning with Sustainable Development Goals. The challenge lies in the combinatorial explosion of possible collective formations, making exhaustive search infeasible for real-world problems. Existing solutions often rely on highly specialized, domain-specific algorithms that are not transferable to other contexts. This paper aims to bridge this gap by proposing a general, attention-based method that can learn domain structures and efficiently identify high-quality collective formations without requiring manual domain expertise.
Methods
The core of the proposed solution is a two-step process. First, an attention encoder-decoder model, inspired by the Transformer architecture but adapted for this problem, is trained using reinforcement learning (specifically, Maximum Entropy Policy Gradient with a rollout baseline). This model takes a scenario (agents and their attributes) as input and outputs a reduced set of promising collective candidates. This is achieved by learning a stochastic policy that determines the probability of agents being included in a collective. The second step involves formulating these generated candidates into a Weighted Set Packing (WSP) problem, which is then solved by a standard Integer Linear Program (ILP) solver. This approach avoids the need to enumerate all possible collectives, significantly reducing the problem's complexity while aiming to preserve solution quality.
Datasets
The paper evaluates its approach on real-world datasets from two distinct domains:
- Ridesharing: Datasets were used from a previous study ([Bistaffa et al., 2021]), involving instances with up to 200 agents.
- Team Formation: Datasets were used from another study ([Andrejczuk et al., 2019]), involving instances with up to 100 agents.
The authors used 50 problem instances for ridesharing and 20 for team formation, running each algorithm with 50 different seeds for evaluation.
Key Insights and Ideas
- Learning Domain Structure: The attention model's ability to learn implicit domain structures is key to its generality. Instead of hard-coding rules, it infers them from data, allowing it to adapt to different scenarios.
- Entropy for Diversity: Incorporating an entropy term into the reinforcement learning objective is crucial. It encourages the model to generate a diverse set of candidate collectives, which is vital for the ILP solver to find a good solution, especially given the non-overlapping constraints.
- Bridging Deep Learning and Optimization: The paper effectively combines the pattern recognition capabilities of deep learning (attention model) with the exact solution-finding power of ILP, creating a synergistic approach.
- Generalization vs. Specialization: While domain-specific methods still hold an edge in their respective domains, this general approach offers a competitive alternative that is much more versatile.
Key Results
- Ridesharing: The attention model achieved an optimality ratio comparable to the best performing greedy MCTS approach and significantly outperformed other general MCTS methods. It was comparable to the domain-specific PG2 for smaller instances (n=50, 100) but slightly outperformed by PG2 for n=200.
- Team Formation: The approach showed significantly better performance than MCTS variants, including a specialized A-MCTS. The gap between the proposed method and the domain-specific SynTeam was smaller than in ridesharing, especially for smaller problem instances.
- Time Budget: The approach was evaluated within a 60-second time budget, with 50 seconds allocated to the attention model for generating candidates and the remaining time for the ILP solver.
Limitations and Future Work
- Scalability: The authors acknowledge that generalizing to larger problem instances is an area where their model does not currently excel.
- Diversity Mechanisms: While entropy helps, further investigation into alternative methods for introducing diversity in collective generation is suggested as a promising future research direction.
- Domain-Specific Performance: Closing the gap with the absolute best-performing domain-specific approaches remains an open challenge.
- Parameter Optimization: The authors note that they did not perform an exhaustive parameter optimization and suggest further tuning could lead to more refined models.
Summary updated