An epidemiological extension of the El Farol Bar problem

Francesco Bertolotti, Niccolò Kadera, Luca Pasquino, Luca MariFrontiers Big Data 2025

TL;DR

This paper extends the classic El Farol Bar social dilemma model to incorporate an epidemiological dimension, simulating how individuals decide to attend a bar or stay home during a non-fatal epidemic. The findings suggest that increasing information flow and adjusting social system structures can help contain the spread of infection.

What Problem Does This Paper Address?

The COVID-19 pandemic highlighted the critical interplay between disease dynamics and human behavior. While mathematical and simulation models have long been used to understand epidemic spread, there's a gap in understanding how social decision-making mechanisms, particularly those involving uncertainty and collective action, interact with epidemiological processes. The El Farol Bar problem, a well-known model for studying emergent behavior in complex social systems with limited information, has not previously been explored from an epidemiological perspective. This paper aims to bridge this gap by creating an agent-based model that integrates both social dilemmas and disease transmission.

Methods

The authors developed an agent-based model (ABM) to simulate the El Farol Bar problem with an added epidemiological layer. Here's a breakdown of the key methodological aspects:

  • Agent-Based Modeling (ABM): This approach allows for the representation of heterogeneous individual behaviors and the emergence of complex system-wide phenomena. It's well-suited for studying the interaction between individual choices and collective outcomes.
  • El Farol Bar Extension: The core social dilemma remains: agents decide whether to attend a bar or stay home based on their expectation of how crowded it will be. Agents prefer the bar if it's not too crowded, and their decisions are influenced by a memory of past attendance.
  • Epidemiological Transmission: A non-fatal epidemic is introduced. Agents can be in one of three states: susceptible, infectious, or recovered. Transmission occurs only at the bar if infectious agents are present. Recovered agents gain temporary immunity.
  • Key Parameters: The model incorporates parameters like attendance threshold ($t_a$), infection duration ($d_i$), contagion level ($\alpha$), immunity duration ($t_r$), memory length ($m$), and the number of agents ($n$).
  • Parameter Space Exploration: The authors employed a grid sampling approach to systematically explore the parameter space. This involves testing combinations of parameter values to observe the resulting system behavior.
  • Data Collection: For each simulation run, time-series data for the number of attending agents ($A$) and infected agents ($I$) were collected. Mean values of these series ($E[A]$ and $E[I]$) were used to assess overall system status.
  • Reproducibility: Simulations were initialized with specific random seeds to ensure reproducibility.

Datasets

Not discussed in the paper. The study relies on simulated data generated by the agent-based model.

Key Insights and Ideas

  • Information is Key: The model strongly suggests that the availability and use of information (represented by agent memory) significantly influence infection survival. Agents with shorter-term memories, which prioritize recent events, are better at making adaptive decisions, thus reducing crowd-induced infection risks. This challenges the "big data" intuition that more data is always better, highlighting the importance of cognitive constraints.
  • Social Structure Matters: The structure of the social system, particularly agent numerosity and dynamics, plays a crucial role. The findings indicate a positive correlation between population size and infection survival, suggesting that dividing larger systems into smaller, manageable units could be an effective management strategy.
  • Dual Nature of Thresholds: The infection and attendance thresholds ($t_c$, $t_a$) are critical. Agents with intermediate contagion levels (infectious but not showing severe symptoms) are particularly important for disease spread. Similarly, the attendance threshold dictates when a bar becomes too crowded, influencing attendance decisions.
  • Transient Immunity: The model's representation of temporary immunity, where recovered agents eventually become susceptible again, reflects real-world scenarios for many diseases and contributes to the cyclical dynamics of epidemics.

Key Results

  • Low Infection Persistence: In the majority of simulations, the epidemic did not persist until the end. This indicates that the specific configuration of the model exploration played a more significant role than individual environmental parameters in determining outcomes.
  • Parameter Sensitivity: The percentage of surviving infections was highly dependent on the experimental configuration. While survival could be increased with specific configurations, the primary goal was to study general dynamics.
  • Monotonic vs. Non-Monotonic Effects: Parameters like infection duration ($d_i$) and contagiousness ($\alpha$) showed a monotonic influence on infection survival, while others like the contagion threshold ($t_c$) and attendance threshold ($t_a$) exhibited non-monotonic behavior, acting as enabling factors only at specific values.
  • Relative Parameter Differences: Table 2 shows that parameters like attendance threshold ($t_a$), infection duration ($d_i$), and contagiousness ($\alpha$) had a positive relative difference in the scenario where infections persisted ($S_i$) compared to when they didn't ($S_a$), suggesting they contribute to longer-lasting epidemics. Conversely, the contagion threshold ($t_c$) and recovery time ($t_r$) showed negative relative differences.

Limitations and Future Work

  • Agent Homogeneity: The current model assumes homogeneous agent behavior. Future research could explore how system dynamics change with diverse agent behaviors.
  • Empirical Validation: The study is based on a theoretical framework (social dilemma) rather than an empirically validated model. Further validation with real-world data is needed.
  • Adaptive Risk Perception: Agents' decisions are based on memory and expectations but do not incorporate adaptive perceptions of contagion risk. Incorporating how agents dynamically adjust their behavior based on perceived risk could significantly alter outcomes.
  • Future Directions:
    • Studying time-series dynamics to identify specific dynamic equilibria or limit cycles.
  • Introducing a "policy-maker" agent to explore epidemic containment strategies.
  • Quantifying the amount of information (in bits) required for informed decisions.
  • Extending the model to long-term infections (e.g., AIDS) that are not tied to short-term events.

Summary updated

BibTeX
@article{bertolotti2025epidemiological,
  author = {Francesco Bertolotti and Niccolò Kadera and Luca Pasquino and Luca Mari},
  title = {{An epidemiological extension of the El Farol Bar problem}},
  journal = {Frontiers Big Data},
  year = {2025},
  doi = {10.3389/fdata.2025.1519369},
}
Figure