Explainability and Graph Learning from Social Interactions

Valentina Shumovskaia, Κωνσταντίνος Ντέμος, Stefan Vlaski, Ali H. Sayed · DOI

Abstract

Social learning algorithms provide models for the formation of opinions over social networks resulting from local reasoning and peer-to-peer exchanges. Interactions occur over an underlying graph topology, which describes the flow of information among the agents. To account for drifting conditions in the environment, this work adopts an adaptive social learning strategy, which is able to track variations in the underlying signal statistics. Among other results, we propose a technique that addresses questions of explainability and interpretability of the results when the graph is hidden. Given observations of the evolution of the beliefs over time, we aim to infer the underlying graph topology, discover pairwise influences between the agents, and identify significant trajectories in the network. The proposed framework is online in nature and can adapt dynamically to changes in the graph topology or the true hypothesis.

Introduction

In social learning, a collective of agents seeks to reach a consensus on a "true state"—such as a market trend or a political fact—by combining private observations with the opinions of their neighbors. While individual reasoning is well-modeled by Bayesian updates, the aggregate "network effect" remains difficult to parse. Specifically, the underlying graph topology—the weights agents assign to their influencers—is often hidden from external observers. Furthermore, real-world social networks are rarely static; ties shift, and the underlying truth can drift over time. This work introduces an online framework to reconstruct these hidden structures and provide mathematical explainability for how information flows through the network.

The Online Graph Learning (OGL) Framework

To reverse-engineer the graph from observed beliefs, we build upon the Adaptive Social Learning protocol. In this model, agents update their beliefs through a two-stage process: a local Bayesian update followed by a weighted geometric mean fusion of their neighbors' beliefs.

The core of our approach is the Online Graph Learning (OGL) algorithm. By transforming complex belief update equations into log-belief ratios, we convert a non-linear social interaction problem into a linear tracking problem. We employ a stochastic approximation update rule with a constant learning rate ($\mu$), allowing the estimator to adapt to structural changes in real-time. Since the true state is unknown to the observer, the algorithm utilizes a majority vote of all agents' current estimates to approximate the necessary statistics.

Comparison between the true adjacency matrix (a) and the learned graph weights (b) produced by the OGL algorithm.

Explainability and Influence Measures

Beyond mere topology reconstruction, our framework addresses the "why" behind network consensus. We define influence through sensitivity analysis, using partial derivatives to measure how a change in one agent's data propagates through the network. This influence measure quantifies the impact of agent A on agent B over multiple hops, effectively proving that an agent's total influence is the sum of the weights of all connecting paths, discounted by information travel time. This allows for the identification of significant information trajectories, even between non-neighbors.

Experimental Validation and Adaptation

We validated the OGL algorithm using synthetic simulations of a 30-agent directed graph generated via an Erdos-Renyi model. Theoretical results show that the Mean-Square Deviation (MSD)—the error between the true and learned graphs—converges exponentially fast.

Tracking performance of the OGL algorithm showing the Mean-Square Deviation (MSD) over time. The spike at $t=7000$ represents an abrupt change in the underlying graph topology, which the algorithm successfully re-learns.

A key strength of the OGL algorithm is its robustness to dynamic environments. As shown in the tracking simulations, when the graph topology is completely regenerated, the algorithm quickly adapts and re-converges to the new structure. Furthermore, the performance gap between an "ideal" observer (knowing the true state) and the practical majority-vote implementation is negligible, confirming the algorithm's utility in real-world scenarios where the ground truth is hidden.

Conclusion and Future Work

This work provides a robust, online method for learning hidden social network structures and explaining the resulting information flow. While the current framework assumes full observability of all agents, future research will focus on partial information settings where only a subset of the network is visible. Additionally, extending this OGL framework to other protocols, such as reinforcement learning or multi-agent optimization, remains a promising avenue for further study.

Summary updated

BibTeX
@article{shumovskaia2022explainability,
  author = {Valentina Shumovskaia and Κωνσταντίνος Ντέμος and Stefan Vlaski and Ali H. Sayed},
  title = {{Explainability and Graph Learning from Social Interactions}},
  journal = {IEEE Trans. Signal Inf. Process. Over Networks},
  year = {2022},
  doi = {10.1109/tsipn.2022.3223805},
}
Figure