Abstract
Combinatorial optimization problems, such as the Maximum Independent Set (MIS), are fundamental to various fields but remain computationally intractable due to their NP-hard nature. While recent learning-based methods offer promise, they typically rely on large datasets of pre-solved instances. We introduce the Dataless Neural Network (dNN), a framework that encodes graph structures directly into neural architectures. By leveraging backpropagation as a pure optimization engine, the dNN finds solutions for specific problem instances without any prior training data, matching or exceeding the performance of state-of-the-art heuristics and supervised models.
Introduction
Finding the optimal object from a finite set—combinatorial optimization—is critical for logistics, drug discovery, and network analysis. The Maximum Independent Set (MIS) problem, which involves finding the largest set of nodes in a graph such that no two nodes are adjacent, is a classic NP-hard challenge. Existing approaches generally fall into two categories: traditional heuristics, which are fast but prone to local optima, and learning-based methods like Graph Convolutional Networks (GCNs), which require expensive labeled datasets.
This paper presents a "dataless" approach that bypasses the need for training data. By treating the neural network's weights as decision variables and the graph's topology as the network's architecture, we transform combinatorial optimization into a continuous, differentiable optimization task.
The Dataless Neural Network (dNN) Architecture
The core innovation of the dNN is the direct mapping of a graph instance $G = (V, E)$ into a neural network. Unlike standard deep learning where the architecture is fixed and data flows through it, the dNN architecture is instance-specific.
As shown in Figure 1, each node $v_i$ in the graph corresponds to a weight $\theta_i$ in the first hidden layer. These weights represent the probability of a node being included in the independent set. The network receives a fixed all-ones vector as input, ensuring that the output depends solely on the internal weights $\theta$.
The overall pipeline consists of three main stages:
- Hidden Layer 1 (Point-Wise Multiplication): Applies the adjustable weights $\theta$ to the input.
- Hidden Layer 2 (Fixed Constraints): Encodes the graph's edges. This layer uses fixed weights and biases derived from the adjacency matrix of $G$ to penalize violations of the independent set constraint (i.e., picking two adjacent nodes).
- Output Layer: Aggregates the signals into a single scalar loss value $f(\theta)$.
Optimization and Scaling
The dNN is "trained" using backpropagation to minimize a custom differentiable loss function. This function is designed to be minimized when the weights $\theta$ represent a valid, maximal independent set. It balances two objectives: maximizing the number of selected nodes and minimizing edge conflicts.
To handle large-scale graphs that exceed memory limits, the authors employ a divide-and-conquer strategy using community detection (the Louvain algorithm). The graph is partitioned into smaller communities, solved independently via dNN, and then merged using a "forbidden edge" handling algorithm to ensure global validity. Additionally, simulated annealing is used to escape local minima by iteratively perturbing the solution.
Experimental Evaluation
The dNN approach was evaluated against real-world benchmarks (SNAP social networks, citation networks) and synthetic graph models (Erdos-Renyi, Stochastic Block Models).
Key Results
- Competitive Performance: On SNAP and citation datasets, the dNN performed on par with
ReduMIS(a top-tier heuristic) and supervised GCNs, despite the latter having the advantage of training data. - Outperforming ILP Solvers: In several instances, such as the
bitcoin-otcandCiteseergraphs, the dNN discovered larger independent sets than the commercial integer linear programming (ILP) solverCPLEX. - Robustness to Graph Density: While many ML solvers struggle with dense graphs, the dNN maintained high solution quality across varying densities, outperforming both
ReduMISandCPLEXon dense Stochastic Block Models.
Conclusion
The Dataless Neural Network framework demonstrates that backpropagation can serve as a powerful, general-purpose optimizer for combinatorial problems. By encoding problem constraints directly into the network architecture, the dNN eliminates the "cold start" problem of supervised learning. Future work will explore the application of this framework to other NP-hard problems beyond graph-based optimization, potentially offering a universal differentiable solver for combinatorial challenges.
Summary updated