arXiv:2610.13595physics.soc-phOct 2026

Manuscript Offprint

arXiv:2610.13595

A data-driven heuristic-ensemble method for behavioural inference in collective-risk dilemma experiments

Marc Sadurní, Martín F. Díaz, Josep Perelló, Miquel Montero

Abstract

The collective-risk dilemma has become a paradigm for studying cooperation in a wide variety of social experiments, initiatives that generate increasingly rich datasets describing individual actions over successive decision-making processes. Beyond the purely descriptive analysis of such empirical datasets, a methodological framework is required to interpret and reproduce the observed dynamics, a scheme that may be skewed by exogenous biases. Here, we introduce a data-driven, non-parametric method for simulating individual decisions together with a validation protocol for assessing the fidelity level of the outcomes they generate. Our methodological contribution is based on an empirical heuristic ensemble: agents are represented by a finite set of behavioural heuristics, probabilities conditioned on different observable features of the game state, endowed with a hard-voting arbitration that determines their per-round final decisions. This reproducible generative framework allows for behavioural inference in different collective-risk dilemma setups.

• Behavioural heuristics are seeded directly from empirical data assessing conditional probabilities, without a priori assumptions.

• A plurality vote with uniform random tie-breaking resolves between

*Corresponding authors:

Email addresses: josep.perello@ub.edu (Josep Perelló), miquel.montero@ub.edu (Miquel Montero) competing heuristics each round, adding no free parameters.

  • Validation follows a pattern-oriented approach, comparing synthetic and empirical macro-indicators against single-heuristic and uniform-random baselines.

• Synthetic data generated allow exploration of scenarios or experimental setups that have not been empirically realised.

  • As a worked example, we instantiate our methodological approach on the xAire citizen science collective-risk dilemma experiment run in Barcelona.

Keywords: Behavioural inference, Collective-risk dilemma, Data-driven simulation, Conditional probability, Ensemble, Plurality voting, Cooperation

Background

Collective-risk dilemmas (CRDs) have become a central experimental framework for studying cooperation in situations where individuals must contribute private resources toward a collective target while facing the possibility of a shared loss if the target is not achieved [1]. Originally developed to investigate climate-change mitigation, CRDs capture the tension between individual incentives to free-ride and the collective need for coordinated action. The seminal experiment by Milinski et al. demonstrated that groups can coordinate contributions when collective failure entails substantial risk [1]. Subsequent studies showed that cooperative outcomes depend strongly on contextual factors such as inequality in resource distributions [2–4], uncertainty regarding collective risks [5], and intergenerational considerations [6]. Together, these experiments generated increasingly rich datasets describing individual contribution dynamics over repeated interactions.

In parallel, CRDs have inspired a substantial body of theoretical and computational research aimed at understanding the mechanisms that produce cooperative outcomes. The risk of collective failure fundamentally alters strategic incentives and can promote cooperation beyond what is expected in standard public-goods settings [7]. Subsequent work extended this perspective through evolutionary and agent-based approaches, highlighting the importance of adaptation, social influence, and population heterogeneity.

in shaping collective outcomes [8]. Studies incorporating inequality further demonstrated how differences in available resources affect both individual behaviour and collective success [9].

More recently, experimental studies have provided additional evidence that behavioural heterogeneity plays a key role in collective-risk settings. Resource heterogeneity can generate highly unequal effort distributions even when groups achieve collective goals [3]. Likewise, long-term collective-risk experiments demonstrated that repeated exposure to collective risks can modify social norms and promote sustained cooperation [10]. These findings suggest that aggregate outcomes such as total contributions, target achievement, or payoff distributions provide only a partial picture of collective action, as similar outcomes may emerge from distinct behavioural pathways.

The growing availability of high-resolution experimental data creates new opportunities to investigate these mechanisms directly. CRD experiments routinely record individual decisions across multiple rounds, making it possible to analyse how participants respond to their own previous actions, the behaviour of others, collective progress toward a target, and changes in their available resources. This is the case of the xAire citizen science experiment, conducted as a pop-up intervention in two public spaces in Barcelona using portable digital interfaces [11, 12]. The experiment generated detailed state-action records from CRD games under different resource distributions and inequality treatments, providing a rich empirical basis for behavioural inference [13]. Experimental and theoretical evidence in different experiments thus suggests that individuals may simultaneously react to several feedback channels, exhibiting persistence in their own behaviour, conditional responses to others, sensitivity to collective progress, and adaptation to resource availability [2, 7, 9]. Consequently, observed decisions may result from the interaction of multiple behavioural heuristics rather than from a single dominant strategy.

The methodology presented here [14] addresses this challenge by adopting an inference-oriented perspective in which behaviour is characterised through probabilistic relationships between observable states and subsequent actions. Rather than assigning participants to predefined behavioural classes or specifying strategy distributions a priori, the method estimates empirical conditional action probabilities directly from experimental observations. All behavioural parameters are inferred from observed state-action records, eliminating the need for external calibration data or pre-specified behavioural models. The underlying premise is that recurring behavioural patterns can be represented as state-conditioned decision rules linking actions to feedback available during the interaction, including individual history, social information, collective progress, and resource availability. In addition to identifying behavioural traits directly from empirical evidence, our methodological approach enables us to generate large sets of synthetic data, allowing for the minute exploration of tested scenarios or the consideration of experimental configurations beyond those that have actually been implemented.

As a worked example, we apply the methodology to the xAire CRD dataset [13]. The dataset contains sequences of contribution decisions together with information on players' previous actions, collective progress, and resource availability, making it well suited for identifying behavioural regularities and evaluating alternative behavioural hypotheses (heuristics in the forthcoming sections). Although illustrated here using xAire and CRD experiments, the same perspective can be applied to other behavioural experiments involving (unique or successive) decisions and observable contextual variables. By identifying empirical probabilistic links between states and actions, the methodology provides a transparent and reproducible approach to characterising behavioural mechanisms, comparing behavioural heuristics, and building generative models grounded in observations.