Pretrained Cost Model for Distributed Constraint Optimization Problems

Yanchen Deng, Shufeng Kong, Bo An

Introduction

Distributed Constraint Optimization Problems (DCOPs) provide a robust framework for modeling multi-agent coordination in domains such as smart grids, sensor networks, and vessel navigation. In a DCOP, agents must select values for their variables to minimize a global cost function, despite having only a local view of the constraints. Solving these problems is computationally intensive, typically requiring either complete algorithms that scale poorly or incomplete algorithms that rely on handcrafted heuristics.

While machine learning (ML) has advanced combinatorial optimization in centralized settings, its application to DCOPs is hindered by privacy requirements and the need for decentralized execution. This paper introduces GAT-PCM (Graph Attention Network-based Pretrained Cost Model), a general-purpose ML model designed to serve as a high-quality heuristic for various DCOP solvers while respecting agent privacy through a novel distributed inference schema.

Methodology

The core of GAT-PCM lies in its ability to predict the optimal cost of a target assignment given a partial assignment. This is achieved through three primary innovations:

  1. Directed Tripartite Graph Representation: The DCOP is transformed into a directed tripartite graph consisting of variable-assignment nodes, constraint-cost nodes, and function nodes. This representation captures fine-grained relationships between specific variable-value pairs.
  2. Graph Attention Networks (GATs): The model utilizes GAT layers to process the tripartite graph. By making the graph directed and acyclic, the authors prevent "oversmoothing," ensuring that node features remain distinct and informative.
  3. Distributed Embedding Schema (DES): To maintain privacy, GAT-PCM employs a decentralized inference method. Agents exchange high-dimensional embedded vectors rather than raw constraint data. This process is mathematically proven to be equivalent to centralized inference.
Overview of the GAT-PCM architecture, showing the transformation of a DCOP into a directed tripartite graph and the subsequent cost prediction process.

Evaluation and Results

The model was pretrained offline using synthetic DCOP instances and evaluated on standard benchmarks, including random DCOPs, scale-free networks, grid networks, and weighted graph coloring. GAT-PCM was integrated into two search frameworks: a local search (GAT-PCM-DLNS) and a backtracking search (PT-ISBB-GAT-PCM).

Experimental results demonstrate that GAT-PCM significantly improves solution quality and convergence speed. In random DCOPs and grid networks, GAT-PCM-DLNS consistently outperformed state-of-the-art baselines like RODA and T-DLNS. Furthermore, the model's memory footprint is minimal (approximately 60-80KB per agent), making it suitable for resource-constrained edge devices.

Performance comparison of GAT-PCM-DLNS against state-of-the-art baselines across various DCOP configurations, showing lower normalized anytime costs.

Conclusion and Future Work

GAT-PCM represents a significant advancement in applying ML to DCOPs by providing a "universal heuristic" that is both effective and privacy-preserving. Future research will focus on extending the architecture to handle higher-arity constraints, "hard" constraints that strictly forbid certain value combinations, and asymmetric DCOP settings where agents may have differing costs for shared constraints.

Summary updated

BibTeX
@inproceedings{deng2022pretrained,
  author = {Yanchen Deng and Shufeng Kong and Bo An},
  title = {{Pretrained Cost Model for Distributed Constraint Optimization Problems}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i9.21164},
}
Figure