Variational Inference of Parameters in Opinion Dynamics Models

Jacopo Lenti, Fabrizio Silvestri, Gianmarco De Francisci Morales
3/8/2024
cs.CYcs.LGcs.SI

No confident code implementation found for this paper.

Abstract

Despite the frequent use of agent-based models (ABMs) for studying social phenomena, parameter estimation remains a challenge, often relying on costly simulation-based heuristics. This work uses variational inference to estimate the parameters of an opinion dynamics ABM, by transforming the estimation problem into an optimization task that can be solved directly. Our proposal relies on probabilistic generative ABMs (PGABMs): we start by synthesizing a probabilistic generative model from the ABM rules. Then, we transform the inference process into an optimization problem suitable for automatic differentiation. In particular, we use the Gumbel-Softmax reparameterization for categorical agent attributes and stochastic variational inference for parameter estimation. Furthermore, we explore the trade-offs of using variational distributions with different complexity: normal distributions and normalizing flows. We validate our method on a bounded confidence model with agent roles (leaders and followers). Our approach estimates both macroscopic (bounded confidence intervals and backfire thresholds) and microscopic ($200$ categorical, agent-level roles) more accurately than simulation-based and MCMC methods. Consequently, our technique enables experts to tune and validate their ABMs against real-world observations, thus providing insights into human behavior in social systems via data-driven analysis.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lenti2024variational,
  title  = {Variational Inference of Parameters in Opinion Dynamics Models},
  author = {Jacopo Lenti and Fabrizio Silvestri and Gianmarco De Francisci Morales},
  year   = {2024},
  eprint = {2403.05358},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.05358v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.05358.svg)](https://codeofpaper.com/paper/2403.05358)

Discussion