Learning Latent Structures in Network Games via Data-Dependent Gated-Prior Graph Variational Autoencoders

Xue Yu, Muchen Li, Yan Leng, Renjie Liao

TL;DR

Researchers have developed GPGVAE, an unsupervised learning model that can uncover hidden social networks and interaction types (like "copycat" vs. "contrarian" behavior) simply by observing how individuals act. By combining spectral graph theory with a novel "gated prior" in a Variational Autoencoder framework, the model achieves state-of-the-art performance in reconstructing latent structures without needing to know the specific rules or utility functions of the "game" being played.

What Problem Does This Paper Address?

In many social and economic systems, individuals make decisions based on what their neighbors are doing—a concept known as a network game. For example, you might be more likely to join a social media platform if your friends are on it (strategic complement), or you might choose to invest in a niche market specifically because your peers are avoiding it (strategic substitute).

While we often have plenty of data on people's actions (purchases, check-ins, reviews), the actual network structure connecting them is frequently hidden due to privacy concerns or the high cost of observation. Most existing methods to "reverse engineer" these networks require knowing the exact mathematical utility function the agents are trying to maximize, or they require partial knowledge of the network to start with. This paper tackles the challenge of inferring both the network structure and the type of interaction (complement vs. substitute) using only observed actions, in a completely unsupervised way.

Methods: The GPGVAE Architecture

The authors propose the Data-Dependent Gated-Prior Graph Variational Autoencoder (GPGVAE). To effectively capture both the interaction type and the underlying network, the architecture consists of several specialized components trained in a stage-wise fashion.

The two-stage architecture of the Data-Dependent Gated-Prior Graph Variational Autoencoder (GPGVAE).
  1. Spectral Interaction Encoder (Stage 1): This component analyzes the covariance matrix of observed actions. The authors discovered that strategic complements and substitutes leave distinct "spectral signatures" (patterns in the eigenvalues). A spectral Graph Neural Network (GNN) uses these patterns to predict the interaction type.
  2. Data-Dependent Gated Prior: Instead of using a standard, uninformative prior (like a simple Gaussian), the model uses a "gated" prior. If the interaction is predicted to be a complement, it uses a correlation prior; if it's a substitute, it uses an anticorrelation prior.
  3. Network Structure Encoder (Stage 2): A Transformer-based model that treats the network as a "mixture of Bernoulli" distributions, allowing it to capture complex dependencies between edges.
  4. Action Decoder (Stage 2): A GNN that attempts to reconstruct the original actions based on the inferred network and latent user embeddings.

By pre-training the interaction type encoder on synthetic data (Stage 1) and then freezing it while training the rest of the VAE (Stage 2), the model ensures the latent space remains stable.

Key Insights and Ideas

The Spectral "Aha!" Moment

The researchers found that in "complement" games, actions converge toward the leading eigenvector of the network (low-frequency signals), while in "substitute" games, actions are pushed away from neighbors (high-frequency signals). This allows them to classify the game type just by looking at the "frequency" of action patterns.

Priors Matter

Standard VAEs often struggle with "posterior collapse" or poor inference when the prior is too simple. By making the prior dependent on the data (via the interaction type), the model gets a massive head start in correctly identifying edges.

Performance (AUC) of different priors across varying interaction types. The gated prior dynamically selects the dominant prior based on the game dynamics.

As shown above, using an anticorrelation prior dominates performance when agents act as substitutes (negative $\beta$), while a correlation prior dominates for complements (positive $\beta$). GPGVAE's gated mechanism dynamically selects the right prior for the job.

Unsupervised Versatility

Because the model doesn't assume a specific utility function, it is much more robust than classical game-theoretic estimators when applied to messy, real-world data where "rationality" might be imperfect.

Datasets and Key Results

The model was evaluated on synthetic graphs (Erdos-Renyi, Barabasi-Albert, Watts-Strogatz) and real-world benchmarks, including social networks in Indian villages, Foursquare check-ins, and Yelp reviews.

  • Superior Accuracy: GPGVAE consistently outperformed baselines like Graphical Lasso and standard VGAEs. On the Yelp (LA ratings) dataset, it achieved a 6.78% improvement in Area Under the Curve (AUC) for network reconstruction.
  • Handling "Substitutes": Most existing models fail miserably when agents act as "substitutes" (doing the opposite of their neighbors). GPGVAE maintained high performance in these scenarios where others dropped to near-random (0.5 AUC).
  • Efficiency: While training takes longer than simple statistical methods, the inference time (predicting a network once the model is trained) is significantly faster than competing neural methods like NodeFormer.

Limitations and Future Work

The authors acknowledge a few key areas for improvement:

  • Nash Equilibrium Assumption: The model assumes that the observed actions represent a stable "equilibrium." In the real world, systems are often in flux, and people may still be reacting to one another.
  • Scalability: While the model handles thousands of nodes, the $O(N^2K)$ complexity (where $N$ is nodes and $K$ is mixture components) might become a bottleneck for massive social networks with millions of users.
  • Dynamic Networks: The current model assumes the network is static. Future work could extend this to "dynamic" network games where the social structure evolves alongside the actions.

Summary updated

BibTeX
@inproceedings{yu2024learning,
  author = {Xue Yu and Muchen Li and Yan Leng and Renjie Liao},
  title = {{Learning Latent Structures in Network Games via Data-Dependent Gated-Prior Graph Variational Autoencoders}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=kKWjZoaRLv},
}
Figure