Abstract
Learning the underlying structure of networks with both positive and negative interactions is a critical task in modern data science. While general signed graphs are mathematically complex, balanced signed graphs—those without frustrated cycles—possess structural properties that allow them to be mapped to positive graphs. This paper introduces a computationally efficient method to directly learn balanced signed graphs from raw data. By formulating the problem as a sparse linear program and employing a tailored Alternating Direction Method of Multipliers (ADMM) algorithm, the proposed approach enables the use of standard graph signal processing (GSP) tools on signed datasets. Experimental evaluations on synthetic and real-world datasets demonstrate that this direct enforcement of balance significantly outperforms traditional two-step "learn-then-balance" methods in terms of both accuracy and computational speed.
Introduction
Most tools in Graph Signal Processing (GSP) and Graph Neural Networks (GNNs) are designed for "positive" graphs, where edge weights represent similarity or correlation. However, many real-world systems involve anti-correlations, such as opposing political parties or competing stocks. These are naturally modeled as signed graphs. The mathematical properties of general signed graphs are often incompatible with standard filtering techniques. Balanced signed graphs are a notable exception; they can be mathematically transformed into corresponding positive graphs, facilitating the application of standard spectral tools.
The challenge lies in learning these balanced structures directly from data. Previous approaches typically followed a two-step process: learning a general signed graph first and then adjusting it to achieve balance. Such methods are often slow and prone to inaccuracies. This work proposes a method to learn the balanced structure in a single, efficient step.
Methodology
The proposed framework is based on Sparse Linear Programming (SLP) and incorporates several key innovations to ensure both structural integrity and computational efficiency.
- Balanced CLIME Formulation: The authors extend the CLIME method for estimating sparse inverse covariance matrices by adding linear constraints that enforce graph balance. These constraints are grounded in the Cartwright-Harary Theorem, which posits that nodes in a balanced graph can be partitioned into two polar groups.
- Column-wise Optimization: To facilitate parallelization and scalability, the algorithm solves for each node's connections independently. This reduces the global optimization problem into a series of smaller, manageable tasks.
- Tailored ADMM Solver: Instead of relying on general-purpose solvers, a custom optimization algorithm based on the Alternating Direction Method of Multipliers (ADMM) was developed. This reduces computational complexity to $O(N^2)$, making it suitable for large networks.
- Adaptive Model Selection: The Hannan-Quinn Information Criterion (HQIC) is utilized to automatically determine the optimal sparsity level, preventing over-fitting or under-fitting of the graph structure.
Spectral Mapping and Reuse
A fundamental insight of this work is that once a balanced graph is learned, it can be transformed into a positive graph by "flipping" the signs of nodes based on their discovered polarities. This transformation allows for the application of standard GSP operations, such as low-pass filtering for denoising, which can then be mapped back to the original signed domain.
Experimental Results
The method was evaluated using synthetic Erdos-Renyi graphs and several real-world datasets, including US Senate (USS) and Canadian Parliament (CPV) voting records, Japanese Air Pressure (APJ) data, and Japanese Industrial Sales (JPS) records.
- Accuracy: On synthetic datasets, the proposed method achieved an F-measure of 0.668, significantly higher than the 0.517 achieved by the leading competitor.
- Signal Restoration: In denoising tasks for voting records and air pressure data, the learned balanced graphs consistently yielded the lowest Mean Squared Error (MSE) compared to both standard positive graph learning and general signed graph methods.
- Computational Performance: The tailored ADMM approach proved significantly faster than general-purpose linear programming solvers, particularly in scenarios where the number of observations is smaller than the number of nodes.
Conclusion
By integrating the balance requirement directly into the optimization constraints, the proposed model avoids the errors inherent in traditional multi-step workflows. The algorithm effectively identifies "polar" structures in data, such as political clusters, to enforce balance. While the method assumes the underlying data is inherently balanced, it provides a robust bridge for applying modern GSP techniques to complex signed networks. Future research may explore the integration of additional node features and further scalability enhancements for massive-scale social networks.
Summary updated