Manuscript Offprint
arXiv:2608.24851Learning Whom to Trust : Decision-Generated Credibility in Social Learning
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Social interaction can improve collective learning but also amplify early mistakes. We study this tension when the credibility of social information is generated by the sender's own decision process rather than fixed ex ante. Reinforcement-learning agents make binary choices through a drift–diffusion process that jointly determines choice, decision time, and confidence; decision confidence then becomes social credibility by weighting anticipatory influence and retrospective social learning. Under balanced community exposure, the anticipatory field admits an exact quotient representation. Its local Jacobian is a scalar decision-sensitivity term multiplying the community-coupling matrix, which yields a common-mode amplification threshold and an analytical role for cross-community permeability in damping relative community differences. Monte Carlo experiments show the corresponding non-monotone performance pattern: moderate transmission accelerates correction, whereas strong transmission can lock populations into wrong consensus; low permeability instead sustains disagreement. Ablations reveal a dual role for confidence: credibility-sensitive transmission amplifies social error, while confidence-dependent private learning stabilises it. The model yields testable predictions linking sender confidence to receiver behaviour conditional on accuracy.
Keywords: social learning; decision-generated credibility; confidence; drift–diffusion model; reinforcement learning; community networks; agent-based simulation; quotient aggregation; Monte Carlo.
Corresponding author: gabriel@bontemps.info
1 Introduction
Social interaction can accelerate learning by allowing individuals to use information generated by others. Yet the same process can also propagate early errors, produce persistent disagreement, or coordinate a group on the wrong action. Classical models explain how network structure and updating rules shape information aggregation (DeGroot, 1974; Golub and Jackson, 2010), while the herding literature shows how social observations can generate inefficient lock-in (Banerjee, 1992; Bikhchandani et al., 1992). A central question is therefore not whether social influence is beneficial in general, but when the same social environment corrects individual mistakes and when it amplifies them.
This paper studies a behavioural margin that is often treated as exogenous: the credibility attached to social information. People do not transmit actions and outcomes as unweighted observations. The force of a social signal depends in part on how certain the sender appears to be. We call this decision-generated credibility: decision confidence is produced by the same process that generates the sender's action and becomes socially consequential when receivers use it to weight that signal. Confidence is therefore an intra-agent state, while credibility is the resulting social influence. Formally, baseline network exposure is multiplied by the sender's decision confidence , so effective exposure from j to i varies with the sender's decision process even when the network itself is fixed.
This distinction creates a feedback mechanism. A realised action is generated from learned values through a drift–diffusion process; the same process produces a decision time and a confidence signal. Confidence then affects social learning in two separate ways. In an anticipatory channel, neighbours' previous confidence-weighted actions enter current subjective values before choice. In a retrospective channel, neighbours' realised outcomes affect subsequent value revision, with the social learning gain depending on their confidence. Confidence also affects private learning, so it can simultaneously increase an agent's influence on others and alter the agent's own responsiveness to prediction errors. The relevant object is therefore a feedback architecture rather than a single social-weight parameter.
The model yields a simple analytical anchor for this feedback. Under balanced community exposure, the anticipatory social field admits an exact community-level representation. Let B denote the row-stochastic community-coupling matrix and let denote process-generated confidence at symmetric indifference. Linearising the representative-community feedback gives the Jacobian
Because , the common community mode is locally damped below and amplified above it. In the symmetric two-community case, the relative or anti-symmetric mode is multiplied by the additional factor , where is cross-community permeability. Thus the same local calculation separates two margins that are distinct in the simulations: controls whether social perturbations amplify, while permeability controls how strongly community-specific differences survive relative to the common mode. The threshold does not determine the terminal regime of the stochastic learning process, but it identifies the local onset of decision-generated social amplification.
Monte Carlo experiments then establish the global implications. The relationship between social-transmission intensity and collective performance is non-monotone. With little social transmission, learning is slow and groups often remain unresolved over the experimental horizon. At moderate transmission, social information accelerates correction and produces efficient consensus. At stronger transmission, early high-confidence mistakes can be amplified into persistent wrong consensus. Network structure governs the form rather than the existence of this amplification: high cross-community permeability spreads a confident error across communities, whereas low permeability insulates communities and can preserve disagreement. Importantly, the wrong-consensus result does not require a hand-picked initial condition: when agents start from neutral values, stochastic early asymmetries are amplified once the local feedback crosses the analytical threshold.
Contributions. The paper makes three contributions. First, it introduces decision-generated credibility into a process-based model of social learning. Confidence is generated jointly with choice and decision time rather than assigned externally, and it becomes a time-varying multiplier on social exposure. This links reinforcement learning, drift-diffusion choice and social learning in a way that gives social weight a behavioural origin rather than treating it as a fixed network primitive.
Second, the paper characterises the resulting amplification mechanism. The exact quotient representation isolates the community-level anticipatory field, while the local Jacobian shows how decision parameters and network modes jointly determine amplification. The common mode yields a closed-form threshold and, in the two-community benchmark, permeability attenuates the anti-symmetric mode by the factor . Simulations then show how these local forces map into efficient consensus, wrong consensus and polarisation in the full stochastic system.
Third, the paper decomposes the mechanism using paired structural counterfactual simulations. At the contested operating point, anticipatory influence, retrospective learning and the decision-time dependence of confidence are required for the observed wrong-consensus regime; credibility-sensitive transmission increases its incidence, while confidence-dependent private learning acts as a brake on error. This decomposition yields direct experimental predictions: receiver behaviour should respond to sender confidence conditional on sender accuracy, and early high-confidence errors should have disproportionately persistent social effects.
What the model changes relative to adjacent traditions. Table 1 positions the model. Relative to DeGroot and bounded-confidence opinion models, agents do not update opinions by weighted averaging alone: they learn from stochastic rewards, choose through a process model, and transmit confidence-marked actions and outcomes. Relative to herding and cascade models, the credibility attached to social information is not exogenously given but generated by the neighbour's own decision process. Relative to cooperative bandit models, the model separates anticipatory influence on choice from retrospective influence on value revision. Relative to polarisation ABMs, modular divergence arises from the interaction between confidence-weighted transmission and reward learning rather than from fixed homophily or ideological repulsion alone; and relative to reinforcement-learning drift–diffusion (RLDDM) accounts of individual choice, the novelty is the social transmission of decision-generated credibility on a network.
Table 1: Positioning relative to adjacent model families.
| Tradition | Typical mechanism | Exogenous element | What this paper changes |
|---|---|---|---|
| DeGroot / consensus | weighted opinion averaging | weights, signals | confidence generated by the choice process |
| Herding / cascades | action inference | reliability of social signal | credibility is decision-generated |
| Cooperative bandits | reward learning across agents | communication weight | two distinct social channels |
| Polarisation ABMs | homophily / social feedback | confidence usually absent | confidence-driven amplification |
| RLDDM (individual) | value-based diffusion choice | no social network | social transmission of credibility |
Agent-based social simulation and documentation. The model is a mechanism-oriented agent-based simulation: aggregate regimes emerge from explicit individual learning and decision rules rather than being imposed directly (Stone et al., 2026). We document the implementation using the ODD conventions and the ODD+D extension for models with human decision-making (Grimm et al., 2010; Müller et al., 2013). The second ODD update explicitly recommends a concise journal-level summary accompanied by a complete description for replication, and adds greater emphasis on model rationale, evaluation and links to code (Grimm et al., 2020). We follow that division: the main text states the behavioural mechanism and analytical results, while Appendix B gives the full ODD+D description and design rationale and the subsequent appendices document verification, parameters and robustness. Synchronous trial timing and simultaneous post-outcome updating are fixed modelling choices, and modular structure is represented through interpretable community-coupling parameters rather than an unrestricted graph family (Axtell, 2000; Lee and Wilkinson, 2019; Peixoto, 2014).
Computational models of social cognition and reinforcement learning. Contemporary computational accounts treat social learning with the same primitives as non-social value learning — value, prediction error, uncertainty and learning rate (Ruff and Fehr, 2014; Lockwood and Klein-Flügge, 2021). This licenses our decision to let social information enter the same latent-value machinery as private reward, and to allow learning rates that depend on confidence rather than being globally fixed (Wang et al., 2023). In this reading the retrospective channel is an other-referenced prediction error, the social counterpart of the self-referenced reward prediction error, consistent with evidence that social and non-social learning share prediction-error machinery in the brain (Joiner et al., 2017).
Process-based choice and confidence. Drift-diffusion and reinforcement-learning-diffusion models make choice a within-trial accumulation process and render decision time informative (Ratcliff, 1978; Ratcliff et al., 2016; Pedersen et al., 2017; Fontanesi et al., 2019). The diffusion limit is statistically optimal for two-alternative choice (Bogacz et al., 2006) and admits an economic optimal-stopping foundation in which the decision time is itself chosen (Fudenberg et al., 2018). Confidence can be read from the same accumulation process (Kiani and Shadlen, 2009; Pleskac and Busemeyer, 2010; Drugowitsch, 2019), can regulate learning, and may remain miscalibrated (Salem-Garcia et al., 2023); communicated confidence can even improve joint decisions (Bahrami et al., 2010), which is exactly the channel that the present model makes double-edged. We use these results as modelling restrictions: confidence is generated by the decision process, depends on evidence strength and decision time, regulates learning, and is not equated with accuracy.
Why confidence is socially transmitted. Confidence is useful socially because it is a compact signal about the strength of the decision process that generated an action. A receiver can condition on that signal without reconstructing the sender's latent computation. This interpretation is consistent with computational accounts in which social and non-social learning use related value and prediction-error primitives (Joiner et al., 2017; Lockwood and Klein-Flügge, 2021). We therefore use confidence as a behaviourally interpretable input into social weighting, without equating it with objective accuracy. The neuroscience literature motivates the process variables; the claims of the present paper are about behavioural and computational mechanisms.
3 The model
Following the updated ODD guidance, this section provides a concise mathematical specification of the model, while Appendix B supplies the complete ODD+D description, including the rationale for the decision submodels and model evaluation (Grimm et al., 2020; Müller et al., 2013). Figure 1 summarises the within-trial mechanism and the two social channels.
Anticipatory channel (neighbours' past confidence-weighted actions, before choice)

Retrospective channel (neighbours' current outcomes & confidence, after choice)
Figure 1: Mechanism. Within a trial, latent values are augmented by the anticipatory credibility field (top, blue) to form subjective values ; a drift-diffusion process turns the value contrast into an action , a decision time and process-generated confidence (red box). After the reward is observed, values are revised by a simultaneous update combining the private prediction error with the retrospective social prediction error (bottom, orange), whose strength is modulated by neighbours' confidence. Confidence is the shared link between the two channels. The community coupling matrix B governs how credibility circulates.
3.1 Purpose and entities
The model’s purpose is to explain when social transmission under decision-generated credibility damps early errors and when it amplifies them. The entities are agents and communities. Agents choose repeatedly between two arms of a stochastic bandit, learn from reward, and influence one another through a weighted communication network. Communities are an exogenous partition of agents into modules.
3.2 State variables and environment
Time is discrete at the trial level, . Agents are , partitioned into communities with ; community membership is . The action set is . The weighted communication matrix is row-stochastic, . For each agent , trial and arm we track the latent value , the anticipatory social signal , the augmented value , the value contrast , the drift , the action , the reward , the decision time and the confidence . Arm pays Bernoulli reward with mean ; , and .
3.3 Process overview and scheduling
Each trial uses a synchronous schedule with a simultaneous post-outcome update: (1) construct the anticipatory social signal from the previous period; (2) form augmented values; (3) generate the drift–diffusion choice and decision time; (4) read out confidence; (5) draw rewards; (6) compute all private and social prediction errors from the pre-update values; (7) apply private and social updates simultaneously. Step 6 prevents order artefacts between private and social revision.
Information structure. Before choosing, agents observe neighbours' previous actions and confidence signals. After outcomes are realised, they observe neighbours' actions, realised outcomes and confidence for the retrospective channel. Confidence is interpreted as communicated or behaviourally inferred subjective reliability, not as objective accuracy.
Confidence and credibility. We distinguish the sender's confidence from the receiver's resulting social exposure. is an intra-agent state generated by agent j's decision process. We refer to the mapping from this decision confidence into receiver-specific social exposure as decision-generated credibility. In the anticipatory channel, the effective credibility-weighted exposure from j to i is : is the baseline network weight and is a time-varying multiplier generated by the sender's decision process. Equation (1) is the operative definition used in the model and code. Normalised confidence weights that appear in schematic illustrations should therefore be read as visual summaries of relative credibility, not as a replacement for in the law of motion.
3.4 Submodels
Anticipatory social signal. Social information available before the current choice is
the baseline network exposure to neighbours who chose a, multiplied by their process-generated confidence. Subjective values are socially augmented,
where is the anticipatory weight.
Process-based choice and decision time. Conditional on , the within-trial decision variable is a Wiener process with drift,
absorbed at symmetric boundaries ; the action is if the upper boundary is hit first and otherwise, with first-passage time . For a constant drift v, the standard symmetric two-boundary Wiener first-passage identities are
and
These identities follow from the scale-function/optional-stopping argument for the hitting probability and Dynkin's equation for the mean exit time; they are standard in drift–diffusion and Brownian first-passage theory (Ratcliff, 1978; Bogacz et al., 2006; Karatzas and Shreve, 1991). Appendix A gives the derivation used here. It also records four properties needed below: is even in , strictly positive, bounded above by , and strictly decreasing in away from zero. Thus stronger value evidence produces, in expectation, faster decisions.
The implementation uses the exact choice probability (4) but approximates the joint choice-time law: reaction times are drawn from a positive, mean-matched inverse-Gaussian whose mean equals (4a) and whose squared coefficient of variation is a fixed dispersion, rather than from the exact two-boundary first-passage density. Appendix C validates the choice probability and mean reaction time against a direct Euler–Maruyama simulation of (3), and Appendix G shows that regime classification is insensitive to this approximation.
Process-generated confidence. Confidence is read out from the same process and is bounded in :
with . Confidence rises with evidence strength and falls with decision time. It is a subjective reliability weight and is not assumed to equal correctness; this separation is what allows high-confidence error. An alternative balance-of-evidence map, in which confidence equals the DDM probability of the chosen boundary, is used in the ablations.
To make the process interpretation explicit, define the mean-ridge confidence obtained by evaluating (5) at the process's own mean decision time,
Lemma 1 (Properties of process-generated confidence). For : (i) ; holding decision time fixed, confidence is strictly increasing in evidence magnitude , and holding fixed it is strictly decreasing in ; (ii) is even and strictly increasing in away from indifference; and (iii)
Moreover as . Because of the absolute-value term, the confidence map generally has a kink at indifference; the later amplification result therefore uses Lipschitz continuity, not a Taylor derivative of confidence at zero.
The choice probability satisfies while . Hence opposite value contrasts of equal magnitude carry the same process-generated confidence even though they favour opposite actions. When one arm is objectively optimal, a sufficiently negative subjective contrast can therefore be both wrong-directed and highly confident. Appendix A proves Lemma 1 and makes this “high-confidence error” symmetry explicit.
(a) evidence accumulation

(b) confidence readout C

(c) accuracy vs confidence
Figure 2: Confidence as a decision-process readout (all curves are the exact model maps, not fits). (a) Evidence accumulates to a boundary at rate ; strong evidence yields fast, confident choices, weak evidence slow, uncertain ones. (b) Confidence rises with evidence strength and falls with decision time; the dashed ridge is the process's own mean decision time . (c) Choice accuracy is monotone in the value contrast, but confidence is U-shaped in — it tracks evidence magnitude, not correctness — so a strongly held wrong belief ( , large) is transmitted with high credibility. This decoupling of confidence from accuracy is the decision-process basis for high-confidence error in the model.
Private value revision. The private prediction error is , with a confidence-modulated learning rate
so higher confidence increases the learning rate applied to negative prediction errors and decreases the rate applied to non-negative prediction errors. Both branches lie in . Writing them as and respectively,
so the two branches cross exactly at : bad news receives the larger gain if and only if confidence exceeds one half. Appendix A records the elementary bounds.
growing decision confidence

CONFIDENCE IS A VALENCE-GATED LEARNING GAIN: on bad news, on good news.
THE SAME HAS A SECOND ROLE: IT IS YOUR CREDIBILITY TO NEIGHBOURS, — how much others learn from you.
Figure 3: Confidence is a valence-gated learning gain. Reading the matrix: the confidence-modulated learning rate (6) is largest () for good news under low confidence and for bad news under high confidence, and smallest () on the other diagonal. A low-confidence agent is therefore optimistic (soaks up success, brushes off failure); a high-confidence agent is revising (corrects on failure, discounts success) — a confidence-gated analogue of asymmetric reward-prediction-error learning. The same confidence plays a second role in social transmission. The normalised quantity shown in the schematic summarises relative confidence within the local signal pool; the operative anticipatory exposure in the model remains as defined in Eq. (1). Confidence therefore acts both as an intra-agent learning gain and as a decision-generated multiplier on baseline social exposure. The exact curves are plotted in Appendix F (Figure 14).
Retrospective social learning. The retrospective channel uses neighbours' realised outcomes. For each arm,
We adopt the convention that confidence modulates the social learning rate (rather than re-weighting the social prediction error itself): the social learning rate is with , . The simultaneous law of motion, with all prediction errors formed from , is
where is the retrospective weight and projects onto the reward support, keeping values interpretable as Bernoulli-mean estimates. Since and , the regularised neighbour average satisfies even when no neighbour chooses arm . Therefore for , and the projection makes forward-invariant for the latent values. These bounds are proved in Appendix A.
Self-weighting convention. We exclude an agent’s own current outcome from the retrospective channel (the sum in (7) is over ), since that outcome is already captured by the private prediction error. We include the agent’s own previous confidence-weighted action in the anticipatory signal (1) (so ), interpreting it as choice inertia. This convention makes the quotient field of Section 4 exact; the verification suite tests both inclusions (Appendix C).
4 Community aggregation and local amplification
We first study the smallest non-trivial modular society and then generalise. For agent and community , define the block exposure .
Assumption 1 (Balanced block weights). The population is partitioned into M non-empty communities , with . There exists a non-negative row-stochastic matrix such that
The central mesoscopic object is the confidence-weighted action mass
which combines the fraction choosing with the average confidence carried by those choices. We also record the action frequency and the mean value .
Proposition 1 (Exact quotient identity). Under Assumption 1, let be any scalar agent-level statistic and let . Then, for every ,
In particular,
so the anticipatory social field is identical for all agents in the same community. Assumption 1 also implies and .
Corollary 1 (Finite-population self-exclusion). For ,
Hence, if , replacing a self-excluded weighted sum by its quotient aggregate introduces an error of at most .
Equation (10) is the precise sense in which the community network is a quotient of the microscopic network for the anticipatory channel. The diagonal measures within-community cohesion and measures cross-community permeability. Proposition 1 is exact; the correction that appears when the retrospective channel excludes self is quantified by Corollary 1. Under balanced weights, these identities also reduce the computational cost of the social aggregates from to per trial.
Define the confidence-weighted community gap and the private-value gap by
and collect them in vectors and . The quotient identity gives the exact social component of the community contrast,
The private term is disciplined by realised rewards; the second term feeds the existing confidence-weighted mass back into the next decision.
Remark 1 (Exact field, approximate value dynamics). Equations (9a)–(12) are exact under Assumption 1. The value dynamics remain stochastic at the agent level because rewards and diffusion noise are individual. A deterministic representative-community recursion is therefore an analytical approximation to the full value process, not an exact large-population law. We quantify its accuracy in Section 6.6.
4.1 Local network-mode amplification
The exact quotient makes it possible to isolate the anticipatory feedback without replacing network structure by a scalar “effective coupling.” In the deterministic representative-community reduction, the arm-1 choice probability at contrast is
so its action-frequency gap is
Lemma 1 gives . Therefore the representative confidence-weighted mass gap satisfies
The remainder is the key point: the kink in confidence at indifference does not alter the first-order amplification multiplier.
Proposition 2 (Local network-mode amplification). Linearise the deterministic representative-community recursion around symmetric indifference. Then
and, holding the local private-value gap fixed, the Jacobian of the anticipatory loop is
Because is non-negative and row-stochastic, and (see, e.g., Horn and Johnson, 2013). Hence:
(i) if , the linearised anticipatory loop is a contraction in the norm and every network perturbation is locally damped;
(ii) if , the common mode 1 is locally amplified;
(iii) for any eigenmode Bq = ξq, the one-step multiplier is ρξ = C0κλξ.
The common-mode threshold is therefore
The true state remains bounded, ; “amplification” therefore means local escape from the neighbourhood of symmetric indifference, not unbounded growth of the actual agent system.
Corollary 2 (Two-community permeability modes). For two symmetric communities with
the common mode and anti-symmetric mode have multipliers
Thus permeability does not change the common-mode threshold (17), but on it monotonically attenuates relative community differences. The corollary does not by itself prove polarisation or wrong consensus in the nonlinear stochastic system; it identifies the local network mode through which permeability changes the form of amplification.
For the default decision parameters, , and , Eq. (5b) gives exactly. With , Eq. (17) therefore gives , close to the transition in the simulated phase diagram (Figure 5). A neutral-initialisation test without an imposed early lead is reported in Appendix H.
Holding fixed, the threshold has the transparent partial comparative statics
Because is itself generated by the decision process, these are partial rather than total effects. Substituting Eq. (5b) yields the fully reduced local threshold
Two implications follow directly. First, does not enter the local onset of amplification because evidence magnitude vanishes at indifference; instead governs how quickly credibility changes once the system moves away from the local neighbourhood. Second, stronger decision-time penalisation raises , while a larger time scale lowers it. The total effects of and combine their direct effects on choice sensitivity with their indirect effects through and need not coincide with the partial signs in Eq. (20). Full derivations are in Appendix A.
5 Simulation design
Observables and regimes. We measure group regret , time to consensus, the polarisation index , correction lag after an early wrong lead, and, for the quotient study, the micro-meso discrepancy. Terminal outcomes are classified into four operational regimes using a 0.9 mass threshold: efficient consensus (every community places on ), wrong consensus (every community places on the suboptimal arm), polarisation (communities lock on different arms), and unresolved otherwise.
Monte Carlo and ablations. Each configuration is replicated over independent reward and diffusion draws; reported regime probabilities are frequencies over replications. The design varies the reward gap, the anticipatory weight , the retrospective weight , cohesion and permeability. Five decisive ablations isolate the mechanism: (no anticipatory channel), (no retrospective channel), constant learning rates, no confidence weighting of transmission, and the alternative balance-of-evidence confidence map.
5.1 Structural counterfactuals and Monte Carlo inference
Because the stochastic data-generating process is fully specified, disabling one model component while holding the remaining structure fixed defines a transparent model-internal counterfactual. We use these counterfactuals to decompose the mechanism and pair them with Monte Carlo uncertainty rather than treating differences across unrelated simulations as evidence about component effects.
Estimands. We report three objects: (i) regime probabilities, the frequencies of terminal regimes across independent replications at a fixed configuration; (ii) mean group regret and correction lag; and (iii) structural component contrasts. Writing c = 0 for the variant in which component c is disabled, define
The contrast is internal to the specified model: it asks how the outcome changes when one structural component is switched off while all other equations and parameters are held fixed. It should therefore be interpreted as a mechanism decomposition of the model rather than as an econometric treatment effect identified from observational data.
Paired simulation under common random numbers. We estimate by simulating the full model and the corresponding ablation under common random numbers. Each replication pre-generates the same exogenous random environment—a uniform reward draw and a decision-noise draw for every agent and trial, indexed by the same seed—and each structural variant then maps those draws through its own endogenous action history. The paired difference
therefore compares the two structural variants under the same exogenous simulation shocks. This coupling does not create identification; the counterfactual is defined by the model itself. Its role is to make the component comparison ceteris paribus within a replication and to reduce Monte Carlo variance relative to independently simulated variants.
Uncertainty reporting. Regime probabilities are empirical frequencies over independent Monte Carlo replications; we report Wilson 95% intervals for binary regime probabilities and Monte Carlo standard errors with nonparametric percentile-bootstrap 95% intervals (resampling replications) for regret and correction lag. Counterfactual contrasts carry paired-bootstrap 95% intervals (resampling replication indices jointly). Every reported probability and mean is accompanied by its replication count R.
Verification. Before any result is produced, the implementation passes a ten-point test contract (row-stochasticity of W and B; bounded confidence; bounded values; the simultaneous-update identity; seed reproducibility; the no-social baseline; isolated communities B = I; full mixing; exactness of the quotient field; and the self-weighting convention), together with the drift-diffusion validation and an exact agreement check between the fast block engine and a dense-W reference engine. Appendix C lists the tests.
Reproducibility and scale. All randomness is seeded. Results below are reported at a standard compute scale (N = 400 agents per two-community society, 120–300 replications per configuration, phase grids); the replication package also ships a publication scale (N = 1000, up to 1000 replications, grids) with identical mechanism parameters. The default parameters are listed in Appendix E.
6 Results
6.1 Illustrative trajectories of the collective regimes
Figure 4 provides three illustrative trajectories selected to show that the same behavioural architecture can support efficient consensus, wrong consensus and polarisation under different parameter configurations. These scenarios are descriptive examples rather than the basis of the comparative-static claims below. In the efficient configuration, both communities converge on the optimal arm (P = 1.00, mean regret 450); in the wrong-consensus configuration, both lock on the suboptimal arm (P = 1.00, regret 11,988); and in the low-permeability configuration, the communities remain polarised (P = 1.00, regret 5,998). Each illustrative regime occurs in all R = 300 replications for its stated scenario (Wilson 95% lower bound ≥ 0.987; Table 2). The economically relevant comparison is that shared error can generate substantially greater regret than persistent disagreement.

Figure 4: Illustrative baseline regimes. Mass on the optimal arm in each community (mean and 10–90 percentile band over Monte Carlo replications; agents, horizon ). The same mechanism produces efficient consensus, wrong consensus and polarisation under the scenario parameters of Table 5.
Table 2: Illustrative baseline regimes. Each scenario is run for Monte Carlo replications; the empirical frequency of the designated regime is 1.00 in every case, reported with its Wilson 95% lower bound. is mean group regret with Monte Carlo standard error. Scenario parameters are in Table 5.
| Regime | R | λ | P(regime) [Wilson 95% LB] | (SE) |
|---|---|---|---|---|
| Efficient | 300 | 0.40 | 1.00 [0.987] | 450 (1) |
| Wrong | 300 | 0.90 | 1.00 [0.987] | 11,988 (0) |
| Polarised | 300 | 0.90 | 1.00 [0.987] | 5,998 (0) |
6.2 Social transmission is non-monotone: the phase diagram
The central result is the phase diagram in Figure 5, which varies two conceptually distinct objects: , the intensity of anticipatory social transmission, and , cross-community permeability. The figure therefore separates the strength of social influence from the degree to which influence crosses community boundaries. Three findings stand out. First, collective performance is non-monotone in . At , learning is too slow for many populations to reach the consensus criterion within the horizon. At moderate , social transmission accelerates correction and efficient consensus dominates across the permeability range. At larger , early confidence-weighted differences are increasingly amplified and inefficient outcomes emerge. Second, permeability determines the form of that amplification. High permeability allows an initially wrong community to transmit its lead across the system, making wrong consensus more likely; low permeability insulates communities and makes persistent polarisation more likely. This separation is consistent with Corollary 2: permeability leaves the common-mode multiplier unchanged but attenuates the anti-symmetric mode by , so higher permeability locally suppresses relative community differences compared with common movement. Third, across the reported grid, wrong consensus is the modal outcome in of the cells, efficient consensus in , polarisation in and unresolved outcomes in . The informational value of social transmission is therefore conditional on its intensity, while network permeability governs how amplified errors propagate across communities.

Figure 5: Social-transmission phase diagram. Probability of efficient consensus, wrong consensus and polarisation, and the dominant regime, over the anticipatory social-transmission intensity and cross-community permeability . A corrective band at moderate separates an unresolved region ( ) from a distortive region (large ); within the distortive region, low permeability yields polarisation and high permeability yields wrong consensus. Grid , 120 replications per cell, regime threshold 0.9, horizon ; the first three panels show regime probabilities and the fourth the dominant (modal) regime. The Wilson half-width at 120 replications is at most 0.09.
6.3 A dynamical-systems view: bifurcation and phase portrait
To interpret the local threshold dynamically, we study a deterministic representative-community reduction on balanced blocks (credibility/meanfield.py). Within a community the reduction replaces individual stochastic choices by the DDM choice probability , decision times by their mean first-passage value and Bernoulli rewards by their expectations. This is an analytical approximation to the aggregate stochastic dynamics, not an exact representation of the full value process. Freezing values at the indifference point isolates the object of Proposition 2: anticipatory feedback on the population lead . The common mode has gain and crosses one at . In the symmetric two-community benchmark, the anti-symmetric mode has gain , so permeability changes the relative persistence of community-specific leads without moving the common-mode threshold.
Within this reduced system, Figure 6 illustrates the loss of local stability at the amplification threshold. Below , the neutral state is locally stable and small leads decay; above it, the neutral state loses stability and amplified branches emerge. Figures 7 provide complementary phase-space representations of the same reduced dynamics. They show how the basin structure changes once anticipatory feedback becomes locally amplifying and how the anti-symmetric community mode can support polarised outcomes. These diagrams should be read as an analytical account of the feedback mechanism, not as a proof of the terminal regime of the finite-N stochastic model. The latter is measured directly by the Monte Carlo experiments in Figure 5, and the approximation is evaluated against the agent model in Section 6.6.
Stable outcomes and unstable basin boundary

Figure 6: Amplification bifurcation of the representative-community reduction. The early-lead order parameter is zero (stable neutral state) below and splits into a correct and a wrong amplified branch above it. The transition is mildly subcritical (a bistable window precedes ), so a sufficiently large early lead can lock in just below threshold. Small reward gap , .
How early leads evolve as social influence strengthens


no lead correct choice wrong choice communities disagree
Figure 7: How early community leads evolve as social influence strengthens. Streamlines show the direction of motion, colour indicates its speed, and dots mark fixed points. (a) Under weak influence, shared and opposing leads both decay toward neutrality. (b) At intermediate influence, shared leads grow while opposing leads decay, producing consensus. (c) Under strong influence, both modes grow, permitting corrective (+, +), distortive (−, −) and polarised (±, ⊥) endpoints. The three panels therefore isolate the modal information not contained in the scalar bifurcation diagram. Frozen-value reduction, , .
6.4 Mechanism decomposition: amplification and buffering
We decompose the mechanism using the paired structural counterfactuals of Section 5.1. The full model and five ablations are run under common random numbers (R = 300) at a contested operating point where the full model produces wrong consensus with probability 0.83 (Wilson 95% interval [0.78, 0.87]). Figure 8 and Table 3 report regime frequencies and paired component contrasts. The results separate three roles. First, at this operating point, removing the anticipatory channel (), the retrospective channel (), or the decision-time dependence of confidence drives wrong consensus to 0.00; these elements are therefore necessary for the observed distortion at this configuration. Second, removing confidence-sensitive credibility weighting weakens but does not eliminate wrong consensus (, paired contrast , [0.04, 0.16]). Credibility weighting is thus an amplifier rather than the sole source of the failure. Third, holding private learning rates constant intensifies wrong consensus (, paired contrast , ). Confidence therefore has a dual behavioural role: it strengthens the social propagation of selected signals while the confidence-modulated private learning rule provides a countervailing correction mechanism after confident mistakes. The inefficient regime is best understood as the outcome of this feedback architecture, not as the consequence of any single parameter in isolation.
What changes when each mechanism is removed? ()


change in P(wrong) when mechanism is restored
Figure 8: Mechanism isolation under common random numbers (). (a) Regime composition for the full model and five ablations at the contested operating point (Table 5); (b) mean group regret with bootstrap intervals; (c) paired structural contrast in wrong-consensus incidence, , with paired-bootstrap intervals. Positive contrasts indicate that removing the component lowers wrong-consensus incidence; negative contrasts indicate that removing it raises wrong-consensus incidence. At this operating point, removing the anticipatory channel, the retrospective channel, or the decision-time confidence map eliminates wrong consensus; removing credibility weighting weakens but does not eliminate it; constant learning rates intensify it.
Table 3: Mechanism isolation at the contested operating point (Table 5), replications under common random numbers. and carry Wilson intervals; regret carries a bootstrap interval. The last column reports the paired structural contrast , with a paired-bootstrap interval. A positive indicates that removing the component reduces wrong-consensus incidence, whereas a negative indicates that removing it increases wrong-consensus incidence. A component is described as necessary at this operating point only when its removal reduces to approximately zero.
| Variant | P(wrong) [95%] | P(efficient) [95%] | [95%] | [95%] |
|---|---|---|---|---|
| Full | 0.83 [0.78, 0.87] | 0.17 [0.13, 0.22] | 8,571 [8,148, 8,962] | — |
| No anticipatory | 0.00 [0.00, 0.01] | 0.00 [0.00, 0.01] | 3,913 [3,908, 3,919] | +0.83 [+0.79, +0.87] |
| No retrospective | 0.00 [0.00, 0.01] | 1.00 [0.99, 1.00] | 438 [433, 442] | +0.83 [+0.79, +0.87] |
| No credibility weighting | 0.73 [0.67, 0.77] | 0.27 [0.23, 0.33] | 7,501 [7,002, 7,996] | +0.10 [+0.04, +0.16] |
| Constant learning rates | 0.99 [0.98, 1.00] | 0.01 [0.00, 0.02] | 10,239 [10,142, 10,303] | -0.16 [-0.21, -0.12] |
| Alternative confidence | 0.00 [0.00, 0.01] | 1.00 [0.99, 1.00] | 911 [882, 941] | +0.83 [+0.79, +0.87] |
6.5 Confidence attaches to error
Why can transmission distort? Because confidence is generated by the decision process and can attach to wrong choices early in learning, exactly as the mechanism requires. Figure 9 shows the distribution of confidence conditional on whether the chosen arm was optimal, split by phase. Early in learning, wrong choices carry substantial confidence (mean 0.73, with appreciable mass above 0.9), only modestly below the confidence of correct choices (mean 0.98). These early confident errors are precisely the signals that the anticipatory channel amplifies before enough corrective evidence has accumulated. The mechanism requires no global irrationality — only that early stochastic success can generate confidence, and that confidence is socially read as credibility.
Confidence attaches to wrong choices, especially early

Figure 9: Decision-process confidence and early confident error. Distribution of confidence C for correct and wrong choices, early and late , in a neutral contested scenario; densities are normalised to unit area and dashed lines mark group means. Early decisions number (correct) and (wrong). Early wrong choices carry a wide range of confidence, including high values (mean 0.73 versus 0.98 for correct choices): confidence attaches to error, which is what lets credibility-weighted transmission amplify it. The right panel shows that confidence concentrates near one late in learning as communities reach consensus.
6.6 The community quotient is faithful in the bulk and breaks at boundaries
Finally we validate the community-level (quotient) description against the full agent model (Figure 10). In two- and four-community examples the deterministic meso recursion tracks the micro ensemble mean closely, including a modular four-community society in which both descriptions reach the optimal arm (terminal micro mass 0.997 per community versus meso 1.000). Across a ( , ) sweep the mean absolute discrepancy between the micro ensemble and the meso trajectory is 0.137, and the two descriptions agree on the dominant regime in 79% of cells. Consistent with Remark 1, the discrepancy is small in the interior of regimes and concentrates along the corrective/distortive phase boundary near , where finite-N fluctuations decide the regime and the deterministic reduction is least reliable. The quotient is thus a useful but bounded instrument: exact for the anticipatory field, accurate for aggregate behaviour away from transitions, and explicitly not a substitute for the agent-level model near them.
Validation of the community-level approximation

(c) How does approximation error evolve?

Figure 10: Validity of the community-level approximation. (a) Mean absolute endpoint error over the ( , ) grid, with contours delimiting one-, five- and ten-percentage-point tolerances. (b) Empirical share of parameter cells meeting each tolerance, stratified by distance from an agent-model regime boundary. All 36 interior cells are within one percentage point; errors are concentrated among the 85 boundary or adjacent cells. (c) Mean absolute micro-meso error over time for efficient consensus, wrong consensus and a four-community stress test; the logarithmic scale distinguishes small persistent discrepancies from large but transient ones. The dotted guides in panels (b) and (c) mark a five-percentage-point tolerance.
6.7 Robustness
The phase structure is robust over the sensitivity checks reported in Appendix G, Table 7 and Figure 15. The efficient, wrong-consensus and polarised regions persist across terminal thresholds (0.80/0.90/0.95), horizons up to , reward gaps , and moderate departures from balanced block weights using weighted stochastic-block and noisy row-normalised graphs. The dominant-regime map is also stable across the reported phase-grid resolutions and under the deterministic reaction-time approximation. In particular, the unresolved region near is not an artefact of the baseline horizon: it remains visible at . The principal sensitivity is to the size of the early lead, as expected from Proposition 2; at the distortive operating point an initial asymmetry of is already sufficient to produce wrong consensus. Residual uncertainty is concentrated near the transition region, where finite-N fluctuations and the deterministic community approximation are least reliable.
7 Discussion
The results support four main conclusions.
The informational value of social transmission is non-monotone. The relevant comparative static is the anticipatory influence intensity , not network connectivity itself. Weak transmission leaves learning slow over the experimental horizon, moderate transmission accelerates correction, and sufficiently strong transmission makes early confidence-weighted differences self-reinforcing. The analytical threshold provides a local explanation for this transition, while the phase diagram establishes its global expression in the stochastic model.
Confidence has both amplifying and stabilising roles. Confidence is generated by the decision process rather than imposed as an exogenous signal. When used socially, it increases the effective exposure to selected neighbours; when used privately, it changes the gain applied to prediction errors. The ablations show that these roles need not point in the same direction: credibility-sensitive transmission increases wrong-consensus risk at the contested point, whereas confidence-dependent private learning reduces it. Process-generated confidence is therefore not simply an “amplifier”; it is a state variable that reallocates both social influence and individual correction.
Network permeability selects the form of collective failure. Low cross-community permeability limits the spread of a confident error from one community to another, but the same insulation can preserve disagreement. High permeability instead makes community-level errors more likely to become shared. Corollary 2 provides the local analytical counterpart: for two symmetric communities the common mode is unaffected by , while the anti-symmetric mode is scaled by . Modularity therefore trades off common mislearning against persistent disagreement rather than uniformly improving collective accuracy; the nonlinear stochastic simulations determine which basin is ultimately reached.
Mesoscopic aggregation is useful but deliberately bounded. Proposition 1 gives an exact representation of the anticipatory social field under balanced block weights, but the deterministic representative-community dynamics remain an approximation to the stochastic value process. Their role is analytical: they expose the feedback threshold and organise the phase portrait. The agent-level simulations remain the relevant object for regime probabilities, especially close to transition boundaries.
Cognitive interpretation. The parameters carry direct cognitive readings: is value sensitivity (how sharply value differences drive choice), internal decision noise, a the speed–accuracy threshold, the evidence- and time-dependence of confidence, the reward learning rate, susceptibility to social influence, and retrospective credit assignment (Appendix E). The retrospective channel is an other-referenced prediction error, the social counterpart of the reward prediction error (Joiner et al., 2017), and the confidence-modulated learning rule is a teaching-like signal in the sense of orbitofrontal adaptive-learning accounts (Schuck et al., 2016; Niv, 2019; Wang et al., 2023). The model tracks action values rather than latent task states; relating credibility transmission to belief-state or cognitive-map inference (Niv, 2019; Behrens et al., 2018) is a natural theoretical extension.
Welfare relative to private learning. Group regret provides a direct economic benchmark for the regime classification. Relative to the same agents with , social learning has a sign-changing welfare effect. At the corrective operating point, mean regret falls from about 7,400 under private learning to 450 under the social model. At the distortive point, mean regret rises from about 4,800 to roughly 12,000. The change from corrective to distortive social learning is therefore economically meaningful: across these matched benchmark comparisons, the welfare value of social information reverses sign relative to private reinforcement learning.
Testable predictions. The mechanism yields four direct experimental predictions.
(i) Confidence conditional on accuracy: a receiver's response to a sender should increase with the sender's decision confidence even after controlling for whether the sender is correct.
(ii) Persistence of early confident error: conditional on the same objective information, an early mistake expressed with high confidence should have a larger and more persistent effect on subsequent group behaviour than the same mistake expressed with low confidence.
(iii) Decision uncertainty and response time: raising uncertainty, or otherwise lowering confidence, should weaken social transmission; since Eq. 5 makes confidence decreasing in decision time at matched evidence, the model predicts less following of slower, otherwise comparable senders.
(iv) Exogenous confidence manipulation: experimentally shifting confidence while holding signal accuracy as fixed as possible—for example through speed pressure, evidence-quality framing, or an explicit confidence display—should change the strength of social transmission. These predictions map the model onto observables that can distinguish credibility-sensitive social learning from an account in which receivers react only to sender accuracy.
A neuroeconomic reading. The model is compatible with a process-based interpretation in which value comparison drives evidence accumulation, decision time contributes to confidence, and reward prediction errors update values (Joiner et al., 2017). Figure 11 summarises candidate computational-to-neural correspondences, but these mappings are auxiliary: the paper commits to the behavioural computations, not to particular neural substrates. Their main use here is to motivate the measurable quantities in the experimental design of Figure 12. In particular, the proposed design orthogonalises confidence and accuracy and tests whether receiver updating scales with sender confidence conditional on correctness.

Functional analogy, not an implementation claim. Substrates are candidate correlates that motivate the model-based predictions of Figure ??; the model commits only to the computations in the middle column.
Figure 11: Computational-to-neural correspondence. Each model quantity (left) implements a decision computation (centre) with a candidate neural correlate (right). A functional analogy: it motivates the measurements and manipulations of Figure 12; the model commits to the centre column.

Figure 12: A model-based experimental design. Inducing confidence orthogonally to accuracy realises the confident-error cell (upper right), where the model predicts distortive transmission. The model supplies the regressors and falsifiable signatures (right), turning predictions into a testable protocol for dyadic or networked group-decision experiments.
Limitations and scope. The baseline is deliberately narrow: binary actions, stationary rewards, fixed networks, community-homogeneous parameters and a progression from two communities to a modular ring. Confidence is treated as socially available, whereas in many settings it must be inferred from reaction time, hesitation, explicit reports or past reliability. The anticipatory and retrospective channels are also modelled separately, and network weights are fixed rather than reputation-dependent. These restrictions are useful because they isolate the decision-generated-credibility feedback, but they delimit the claims: the model is a synthetic mechanism model, not a calibrated description of a specific empirical population. The experimental predictions above provide the natural route for testing which of these restrictions should be relaxed in future work.
8 Conclusion
We study social learning under decision-generated credibility: the weight attached to a social signal is produced by the same decision process that generates the transmitted action. In the model, reinforcement learners choose through a drift–diffusion process, confidence is read out from that process, and confidence subsequently changes both social exposure and learning gains. The resulting feedback has a simple local threshold: below it, small confidence-weighted social differences are damped; above it, they are amplified.
The full stochastic model shows why this matters economically. Social-transmission intensity has a non-monotone relationship with collective performance: moderate transmission accelerates correction, whereas strong transmission can transform early confident errors into persistent wrong consensus. Cross-community permeability determines whether amplification spreads across communities or remains local and appears as polarisation. Paired component ablations further show that confidence plays opposing roles across channels—it can strengthen social propagation while also increasing private correction after confident mistakes.
The central implication is therefore not that social connection is intrinsically beneficial or harmful. Rather, the informational value of social influence depends on the behavioural process that determines how strongly social signals are weighted. This mechanism yields direct empirical predictions: receivers should respond to sender confidence conditional on sender accuracy, and early high-confidence errors should exert disproportionately persistent social effects.
Code and data availability
All code, configurations, fixed seeds and analysis scripts that reproduce every figure and table are released as the open-source CSL (Cognitive Social Learning) repository under an MIT license: https://github.com/TrompetteMarine/CSL. The repository documents the verification suite, the common-random-number ablation protocol, and one-command reproduction of the standard and publication profiles.
A Analytical results and proofs
This appendix supplies the derivations behind the analytical statements in the main text. The two probabilistic inputs used for the drift–diffusion identities — optional stopping for the scale function and Dynkin’s equation for the mean exit time — are standard results from stochastic-process theory (Karatzas and Shreve, 1991). All subsequent algebraic, analytic and finite-network steps are derived below.
A.1 Drift–diffusion first-passage identities
Let start at 0 and let . For , the scale function makes a bounded stopped local martingale. Optional stopping therefore gives
where . Since implies , the linear equation has the unique solution
At v = 0, symmetry gives , which is also the continuous limit.
For the mean exit time, solves the boundary-value problem
by Dynkin's equation. For the general solution is . Imposing both boundary conditions and evaluating at gives
Writing ,
so as because .
Several properties used in the confidence analysis follow immediately. First, is even because tanh is odd. Second, for it is positive and
Third, is strictly decreasing for because
and the numerator is negative exactly when , equivalently . Hence is strictly decreasing in .
A.2 Properties of process-generated confidence
For evidence magnitude and decision time , write
Since , confidence lies in . Using ,
Thus the direct evidence and time channels have the stated signs.
Along the mean-decision-time ridge, Eq. (5a) depends on only through and the even function , so . For , evidence magnitude rises while strictly falls; both changes raise confidence. Hence is strictly increasing on and therefore U-shaped in the signed contrast.
At indifference, and , giving
The logarithm is strictly positive, so its argument under is negative and .
Finally, is Lipschitz at zero and is even and continuous with a quadratic departure from its zero-drift value. Since the logarithm and logistic map are continuously differentiable on the relevant compact neighbourhood,
The absolute-value evidence term generally gives non-zero and opposite one-sided derivatives at zero, so the confidence map need not be differentiable at indifference. This is why Proposition 2 uses the product expansion (14) rather than differentiating confidence itself.
The high-confidence-error symmetry is immediate. Let . Then but . Thus equal and opposite subjective contrasts carry identical confidence while reversing the choice tendency.
A.3 Learning-rate and state-space bounds
Let
For and , both rates lie in , and
They therefore cross at , with negative prediction errors receiving the larger gain exactly when .
For Eq. (7), non-negativity of the weights and imply
unless both sums vanish, in which case the ratio is zero. Hence . With and , and . Finally, maps every real pre-update value into , so if the values are initialised in then the value state space remains in for all trials.
A.4 Balanced blocks, quotient aggregation and self-exclusion
Under Assumption 1, every is strictly positive. For ,
so row-stochasticity of W is inherited from B. Similarly,
For any statistic ,
which proves Proposition 1; substituting gives Eq. (10).
If self is excluded,
For the absolute correction is therefore bounded by , proving Corollary 1. Two useful limiting cases are exact consequences: if , communities decouple; if every row of is uniform, all communities face the same quotient field.
A.5 Proof of the local network-mode amplification result
The logistic identity gives
Since , . From Appendix A.2, . Therefore
which proves Eq. (14) despite the kink in confidence at zero. Applying this componentwise to the exact vector contrast (12) yields Eq. (15).
Holding fixed, the derivative with respect to is . Because is non-negative and row-stochastic,
so (equality follows from ). Hence makes the linearised map a contraction. Conversely, implies , so the common mode is amplified when . More generally, if then , yielding the eigenmode multiplier in Proposition 2. Standard spectral properties of non-negative stochastic matrices are discussed in Horn and Johnson (2013).
For the symmetric two-community matrix (18), direct multiplication gives
which proves Corollary 2. On the magnitude of the anti-symmetric eigenvalue falls monotonically from one to zero.
Finally, and , so . The linear statement “amplified” must therefore be read as local instability/escape from indifference; nonlinearities and the bounded state space necessarily govern later motion.
A.6 Threshold decomposition and comparative statics
The common-mode threshold is . Treating as fixed gives the partial derivatives in Eq. (20). Substituting the explicit indifference confidence (5b) yields Eq. (21). Let . Then
and
The total derivatives with respect to a and contain both a direct choice-sensitivity term and an indirect term:
Unlike the partial derivatives holding fixed, these total effects need not have a parameter-free sign for arbitrary .
B ODD+D model description and design rationale
This appendix follows the ODD+D extension for models with human decision-making (Müller et al., 2013) and the second ODD update (Grimm et al., 2020). The latter recommends a concise summary in the journal article alongside a complete description that makes model rationale, evaluation and implementation links explicit. Section 3 provides that summary; the material below gives the full protocol-level description.
B.1 Purpose and patterns. The model’s purpose is to determine when credibility-weighted social transmission dampens early differences and when it amplifies them. It is used to study the patterns P1 efficient consensus under moderate transmission; P2 wrong consensus under strong transmission after an early confident error; P3 polarisation under low cross-community permeability; P4 a non-monotone effect of social-transmission intensity; P5 quotient accuracy away from phase boundaries; and P6 quotient degradation near phase boundaries. It is not designed to reproduce empirical opinion time series, continuous-action choice, or non-stationary environments.
B.2 Entities, state variables and scales. Entities are agents, communities, two arms and the weighted network. Time is discrete at the trial level with horizon T. Agent state: latent values , social signal , augmented value , action , decision time , confidence . Community state: action mass , confidence-weighted mass , mean value ; the network is summarised by the row-stochastic coupling matrix B.
B.3 Process overview and scheduling. Each trial executes, synchronously across agents: (1) construct the anticipatory signal from the previous period; (2) form augmented values; (3) generate the drift-diffusion choice; (4) draw the decision time; (5) compute confidence; (6) draw rewards; (7) compute all private and social prediction errors from the pre-update values; (8) apply the private and social updates simultaneously; (9) record observables. The update is synchronous and simultaneous by construction (tested item 4, Appendix C).
B.4 Design concepts. Basic principles: reward-prediction-error learning, process-based choice, process-generated confidence, dual-channel sociality. Emergence: regimes and the phase structure emerge from agent rules and coupling, not from imposed aggregates. Adaptation: value revision via private and social prediction errors. Objectives: agents pursue reward myopically through learned values; there is no global optimisation. Learning: confidence-modulated private and social learning rates. Prediction: agents act on current augmented values; no forward simulation. Sensing: neighbours' previous actions and confidence (anticipatory) and current outcomes and confidence (retrospective). Interaction: weighted by W/B and by credibility. Stochasticity: diffusion noise and Bernoulli rewards. Collectives: communities. Observation: the observables of Section 5.
B.5 Initialisation. Initial values are community-constant; early leads are imposed through the initial value asymmetry. Community sizes, coupling matrix, reward means, horizon and seeds are listed per scenario in Table 5. Confidence is not initialised (it is generated at each trial).
B.6 Input data. None. The model is a synthetic computational mechanism model and uses no external empirical data.
B.7 Submodels. (1) anticipatory signal (1); (2) augmented value (2); (3) DDM choice (4) and mean first-passage time (4a); (4) reaction-time approximation (Section 3, Appendix C); (5) confidence (5); (6) private learning (6); (7) retrospective social learning (7); (8) projection to
[0, 1] (8); (9) regime classification (Section 5); (10) quotient approximation (10). Each maps to a code file and test in Table 6.
B.8 Parameters. Global default parameters are in Table 4; per-figure scenario parameters in Table 5.
B.9 Code-location map. Table 6 maps each model element to its equation, code file and test.
B.10 Verification, validation and reproducibility. See Appendix C for the test contract and drift–diffusion validation, and the replication metadata at the end of the main text for exact commands.
C Verification suite and drift–diffusion validation
The implementation passes the following automated tests (all green in the replication package): (1) row-stochasticity of W and B; (2) confidence bounded in ; (3) values bounded in ; (4) the simultaneous-update identity, checked against an independent reference and shown to differ from a sequential update; (5) seed reproducibility; (6) the no-social baseline, which is invariant to B when and learns the better arm; (7) decoupling of communities when B = I; (8) exchangeability under full mixing; (9) exactness of the quotient field (10) under balanced block weights, checked against explicit weighting; (10) the self-weighting convention (anticipatory includes self, retrospective excludes self). Several of these are now analytical consequences rather than merely numerical checks: Appendix A proves row-stochasticity under balanced blocks, confidence and value boundedness, the quotient identity, the B = I and uniform mixing implications, and the exact self-exclusion bound. The tests therefore function as implementation-regression checks against those derived properties. In addition, the exact choice probability (4) and the analytic mean decision time (4a) are validated against an Euler–Maruyama simulation of (3) (the empirical choice frequency matches (4) to within 0.025 and the empirical mean reaction time to within 8% across the drift range used), and the fast balanced-block engine reproduces the dense-W reference engine to machine precision on a balanced network. Appendix G (check R7) further shows that regime classification is insensitive to the reaction-time approximation.
D Trajectory-level quotient validation
Figure 13 exposes the trajectories underlying the error summaries in Figure 10. It is placed in the appendix because its purpose is diagnostic: the main-text figure establishes the domain of validity, while this companion shows how particular discrepancies arise.
The quotient reproduces regime direction but not tail probabilities

— agent ensemble mean — community model
display floor:
Figure 13: Trajectory-level comparison of the agent model and its community approximation. Solid lines report the agent-ensemble mean and dashed lines the deterministic quotient; vertical position is the probability of choosing the better option, displayed with log-odds spacing so differences near zero and one remain visible. (a) In efficient consensus, both models select the better arm but the quotient converges faster. (b) In wrong consensus, both select the worse arm and their aggregate paths remain close. (c) In the four-community stress test, colours identify communities and line style identifies model level; both models preserve direction and community ordering, with a persistent difference in tail probabilities.
E Parameters, scenarios and code map
Table 4: Global default parameters (code/credibility/config.py). Confidence map is decision (Eq. 5); values are projected to [0,1] each trial; reaction times use the inverse-Gaussian approximation.
| Symbol | Default | Role | Config key |
|---|---|---|---|
| 6.0 | value sensitivity (drift scaling) | beta | |
| 1.0 | internal decision noise | sigma | |
| 1.0 | speed-accuracy threshold | a_thr | |
| 3.0 | confidence: evidence weight | kappa1 | |
| 1.0 | confidence: decision-time weight | kappa2 | |
| 0.5 | reaction-time scale | tau0 | |
| 0.05 | min reward learning rate | alpha_min | |
| 0.4 | max reward learning rate | alpha_max | |
| 0.5 | retrospective credit-assignment scale | gamma | |
| 1.0 | social learning-rate exponent | omega | |
| 0.001 | denominator floor | eps_soc | |
| RT disp. | 0.3 | reaction-time squared CV | rt_dispersion |
Table 5: Scenario parameters for all reported figures (standard scale). is total agents, horizon, replications, , anticipatory weight, retrospective weight, permeability. Regime threshold 0.9 throughout. Configuration: code/credibility/scenarios.py.
| Scenario | init. lead | |||||||
|---|---|---|---|---|---|---|---|---|
| Fig. 2 efficient | 400 | 300 | 300 | 0.20 | 0.40 | 0.30 | 0.30 | neutral |
| Fig. 2 wrong | 400 | 300 | 300 | 0.10 | 0.90 | 0.20 | 0.30 | asym. |
| Fig. 2 polarised | 400 | 300 | 300 | 0.10 | 0.90 | 0.25 | 0.02 | asym. |
| Fig. 3 phase (, swept) | 160 | 240 | 120 | 0.10 | [0,1.6] | 0.25 | [.01,.5] | asym. |
| Fig. 4 ablation point | 400 | 260 | 300 | 0.10 | 0.60 | 0.30 | 0.15 | asym. |
| Fig. 5 confidence | 300 | 260 | 60 | 0.10 | 0.50 | 0.25 | 0.15 | neutral |
| Fig. 6 four-community | 320 | 240 | 250 | 0.10 | 0.60 | 0.25 | 0.30 | asym. |
Table 6: Equation-to-code-to-test map. Code paths are under code/credibility/; tests under code/tests/test_credibility.py.
| Model element | Equation | Code | Test |
|---|---|---|---|
| Anticipatory signal | Eq. 1 | model.py: anticipatory_field_block | test_quotient_field_exact |
| Augmented value | Eq. 2 | model.py: simulate_blocks | test_block_dense* |
| DDM choice | Eq. 4 | ddm.py: choice_prob_up | test_ddm_choice* |
| Reaction time | §3 | ddm.py: sample_decision_time | test_ddm_mean_fpt* |
| Confidence | Eq. 5 | confidence.py | test_confidence_bounded |
| Private learning | Eq. 6 | model.py: _private_lr | test_simultaneous* |
| Retrospective learning | Eq. 7 | model.py: value_update* | test_self_weighting* |
| Bounded values | Eq. 8 | model.py: np.clip | test_values_bounded |
| Regime classification | §5 | metrics.py: classify_regime | test_regime_classification |
| Quotient (meso) | Eq. 10 | model.py: simulate_meso | test_meso* |
| Uncertainty | §5.1 | uncertainty.py | -- |
F Confidence-modulated learning and transmission
Figure 3 in the main text is a schematic; the exact relationships behind it are plotted here. The private learning rate (6) is valence-asymmetric in confidence (Figure 14a): the good-news and bad-news rates cross at , so a low-confidence agent weights success and a high-confidence agent weights failure. The same confidence also enters social transmission. Figure 14b plots an illustrative normalised relative-confidence index alongside the social learning rate ; the operative anticipatory exposure remains . These are the intra-agent and inter-agent roles of the same process-generated confidence signal.

Figure 14: Quantitative companion to Figure 3. (a) the exact confidence-gated learning rates for good news and bad news , crossing at . (b) An illustrative normalised relative-confidence index and the social learning rate () versus sender confidence. The operative anticipatory exposure in the model is as defined in Eq. (1).
G Robustness
We probe seven sensitivities (full CSVs in paper/tables/; Table 7, Figure 15). R1 terminal threshold : dominant-regime area fractions are invariant. R2 horizon : the unresolved region at persists (genuine, not slow convergence); corrective and distortive points are stable. R3 early-lead strength : a small lead () already triggers wrong consensus at the distortive point. R4 reward gap : wrong consensus persists at the distortive point even for clearly distinguishable arms. R5 random graphs: balanced block, weighted stochastic-block and noisy row-normalised give the same regimes, so the results do not depend on exact quotient symmetry. R6 phase-grid resolution : the area fractions are stable. R7 reaction-time approximation: the inverse-Gaussian and deterministic-mean reaction times give nearly identical regime maps.
Table 7: Robustness summary (Appendix G). Entries are the dominant-regime area fractions of the plane, or P(wrong) at the operating point, as indicated. Full tables: paper/tables/robustness_*.csv.
| Check | Variation | Result |
|---|---|---|
| R1 threshold | 0.80/0.90/0.95 | wrong-area = 0.53/0.53/0.53 (invariant) |
| R2 horizon | T = 200-1000 | near-zero stays unresolved; corrective/distortive stable |
| R3 initial lead | δ = 0-0.16 | P(wrong) = 0.12→1.00 (small lead suffices) |
| R4 reward gap | |Δμ| = 0.02-0.20 | P(wrong) = 1.00-1.00 (persists) |
| R5 random graphs | balanced/SBM/noisy | distortive P(wrong) = 1.00/1.00/1.00 |
| R6 grid resolution | wrong-area = 0.49/0.53/0.51 | |
| R7 RT approximation | inverse-Gaussian vs. mean | wrong-area = 0.49 vs. 0.49 |
The qualitative conclusions survive alternative definitions and settings
(a) Conclusions do not depend on cutoff

(b) Regimes persist as the horizon grows
(c) A small wrong lead triggers lock-in
(d) Reward gaps: wrong lock-in persists
(e) Network perturbations: outcomes persist

(f) Conclusions survive finer grids
Figure 15: Robustness of the phase structure. (a) regime area fractions are invariant to the terminal threshold; (b) P(wrong) versus horizon for three operating points; (c) P(wrong) and P(efficient) versus early-lead strength ; (d) P(wrong) versus reward gap with Wilson intervals; (e) P(wrong) under balanced, weighted-SBM and noisy graphs; (f) regime area fractions versus phase-grid resolution. Full tables in Table 7.
H Stochastically generated early-lead test of the amplification threshold
Proposition 2 is a local statement: it predicts when small confidence-weighted mass gaps become self-amplifying, not the global regime map. We test its predictive content without any imposed lead. Agents start from neutral values (Q = 0.5 on both arms) with a small reward gap ( ) in two symmetric communities; a 25-trial burn-in lets a stochastic early asymmetry emerge, after which we measure the population confidence-weighted mass gap and the terminal regime (R = 200 per ). Figure 16 shows that wrong consensus also arises from neutral initial values. It is essentially absent below the neighbourhood of the local threshold and increases as enters the amplifying region around . Lock-in fidelity is : conditional on a terminal consensus, the selected arm almost always matches the stochastic burn-in lead. Thus the analytical threshold has predictive content for the onset of amplification even when the initial asymmetry is generated by early stochastic outcomes, and the wrong-consensus result does not depend on a hand-picked initial lead.
Endogenous early lead under neutral initialisation (Wilson 95% CIs, R=200)
(a) Endogenous wrong consensus

(b) Amplification manufactures and locks early leads
Figure 16: Stochastically generated early lead (neutral initialisation, per ). (a) P(wrong) is below the local amplification threshold and rises above it, mirrored by a fall in P(efficient). (b) the frequency of early suboptimal leads rises with and they are locked in with fidelity . Data: tables/endogenous_early_lead.csv.
References
Axtell, R. (2000). Effects of interaction topology and activation regime in several multi-agent systems. In International Workshop on Multi-Agent Systems and Agent-Based Simulation.
Bahrami, B., Olsen, K., Latham, P. E., Roepstorff, A., Rees, G., and Frith, C. D. (2010). Optimally interacting minds. Science, 329(5995):1081–1085.
Banerjee, A. V. (1992). A simple model of herd behavior. The Quarterly Journal of Economics, 107(3):797–817.
Banisch, S. and Olbrich, E. (2019). Opinion polarization by learning from social feedback. The Journal of Mathematical Sociology, 43(2):76–103.
Behrens, T. E. J., Müller, T. H., Whittington, J. C. R., Mark, S., Baram, A. B., Stachenfeld, K. L., and Kurth-Nelson, Z. (2018). What is a cognitive map? organizing knowledge for flexible behavior. Neuron, 100(2):490–509.
Bikhchandani, S., Hirshleifer, D., and Welch, I. (1992). A theory of fads, fashion, custom, and cultural change as informational cascades. Journal of Political Economy, 100(5):992–1026.
Bogacz, R., Brown, E., Moehlis, J., Holmes, P., and Cohen, J. D. (2006). The physics of optimal decision making: A formal analysis of models of performance in two-alternative forced-choice tasks. Psychological Review, 113(4):700–765.
Deffuant, G., Neau, D., Amblard, F., and Weisbuch, G. (2000). Mixing beliefs among interacting agents. Advances in Complex Systems, 3(1–4):87–98.
DeGroot, M. H. (1974). Reaching a consensus. Journal of the American Statistical Association, 69(345):118–121.
Drugowitsch, J. (2019). Learning optimal decisions with confidence. Proceedings of the National Academy of Sciences, 116(49):24872–24880.
Flache, A., Mäs, M., Feliciani, T., Chattoe-Brown, E., Deffuant, G., Huet, S., and Lorenz, J. (2017). Models of social influence: Towards the next frontiers. Journal of Artificial Societies and Social Simulation, 20(4):2.
Fontanesi, L., Gluth, S., Spektor, M. S., and Rieskamp, J. (2019). A reinforcement learning diffusion decision model for value-based decisions. Psychonomic Bulletin & Review, 26(4):1099–1121.
Friedkin, N. E. and Johnsen, E. C. (1990). Social influence and opinions. Journal of Mathematical Sociology, 15(3-4):193–206.
Fudenberg, D., Strack, P., and Strzalecki, T. (2018). Speed, accuracy, and the optimal timing of choices. American Economic Review, 108(12):3651–3684.
Golub, B. and Jackson, M. O. (2010). Naive learning in social networks and the wisdom of crowds. American Economic Journal: Microeconomics, 2(1):112–149.
Golub, B. and Sadler, E. (2016). Learning in social networks. In Bramoullé, Y., Galeotti, A., and Rogers, B., editors, The Oxford Handbook of the Economics of Networks, pages 504–542. Oxford University Press.
Grimm, V., Berger, U., DeAngelis, D. L., Polhill, J. G., Giske, J., and Railsback, S. F. (2010). The ODD protocol: A review and first update. Ecological Modelling, 221(23):2760–2768.
Grimm, V., Railsback, S. F., Vincenot, C. E., Berger, U., Gallagher, C., DeAngelis, D. L., Edmonds, B., Ge, J., Giske, J., Groeneveld, J., Johnston, A. S. A., Milles, A., Nabe-Nielsen, J., Polhill, J. G., Radchuk, V., Rohwäder, M.-S., Stillman, R. A., Thiele, J. C., and Ayllón, D. (2020). The ODD protocol for describing agent-based and other simulation models: A second update to improve clarity, replication, and structural realism. Journal of Artificial Societies and Social Simulation, 23(2):7.
Hegselmann, R. and Krause, U. (2002). Opinion dynamics and bounded confidence models, analysis, and simulation. Journal of Artificial Societies and Social Simulation, 5(3):2.
Horn, R. A. and Johnson, C. R. (2013). Matrix Analysis. Cambridge University Press, Cambridge, 2 edition.
Horn, S., Banisch, S., Batzdorfer, V., Reitenbach, A., Sartori, F., Schwabe, D., and Mäs, M. (2026). Success-driven user activity contributes to online polarization. Journal of Artificial Societies and Social Simulation, 29(2):1.
Joiner, J., Piva, M., Turrin, C., and Chang, S. W. C. (2017). Social learning through prediction error in the brain. npj Science of Learning, 2:8.
Karatzas, I. and Shreve, S. E. (1991). Brownian Motion and Stochastic Calculus, volume 113 of Graduate Texts in Mathematics. Springer, New York, 2 edition.
Kiani, R. and Shadlen, M. N. (2009). Representation of confidence associated with a decision by neurons in the parietal cortex. Science, 324(5928):759–764.
Landgren, P., Srivastava, V., and Leonard, N. E. (2021). Distributed cooperative decision making in multi-agent multi-armed bandits. Automatica, 125:109445.
Lee, C. and Wilkinson, D. J. (2019). A review of stochastic block models and extensions for graph clustering. Applied Network Science, 4:122.
Lockwood, P. L. and Klein-Flügge, M. C. (2021). Computational modelling of social cognition and behaviour – a reinforcement learning primer. Social Cognitive and Affective Neuroscience, 16(8):761–771.
Müller, B., Bohn, F., Dreßler, G., Groeneveld, J., Klassert, C., Martin, R., Schlüter, M., Schulze, J., Weise, H., and Schwarz, N. (2013). Describing human decisions in agent-based models – ODD+D, an extension of the ODD protocol. Environmental Modelling & Software, 48:37–48.
Niv, Y. (2019). Learning task-state representations. Nature Neuroscience, 22(10):1544–1553.
Pedersen, M. L., Frank, M. J., and Biele, G. (2017). The drift diffusion model as the choice rule in reinforcement learning. Psychonomic Bulletin & Review, 24(4):1234–1251.
Peixoto, T. P. (2014). Hierarchical block structures and high-resolution model selection in large networks. Physical Review X, 4(1):011047.
Pleskac, T. J. and Busemeyer, J. R. (2010). Two-stage dynamic signal detection: A theory of choice, decision time, and confidence. Psychological Review, 117(3):864–901.
Ratcliff, R. (1978). A theory of memory retrieval. Psychological Review, 85(2):59–108.
Ratcliff, R., Smith, P. L., Brown, S. D., and McKoon, G. (2016). Diffusion decision model: current issues and history. Trends in Cognitive Sciences, 20(4):260–281.
Ruff, C. C. and Fehr, E. (2014). The neurobiology of rewards and values in social decision making. Nature Reviews Neuroscience, 15(8):549–562.
Salem-Garcia, N., Palminteri, S., and Lebreton, M. (2023). Linking confidence biases to reinforcement-learning processes. Psychological Review, 130(4):1017–1043.
Schuck, N. W., Cai, M. B., Wilson, R. C., and Niv, Y. (2016). Human orbitofrontal cortex represents a cognitive map of state space. Neuron, 91(6):1402–1412.
Stone, H., Kunasekaran, M., Poulos, C., MacIntyre, C. R., and Heslop, D. (2026). Generating a contact matrix for aged care settings in australia: An agent-based model study. Journal of Artificial Societies and Social Simulation, 29(2):7.
Tump, A. N., Pleskac, T. J., and Kurvers, R. H. J. M. (2020). Wise or mad crowds? the cognitive mechanisms underlying information cascades. Science Advances, 6(29):eabb0266.
Wang, B. A., Veismann, M., Banerjee, A., and Pleger, B. (2023). Human orbitofrontal cortex signals decision outcomes to sensory cortex during behavioral adaptations. Nature Communications, 14:3552.
Xu, M., Shan, L., Ghaffari, F., Wang, X., Liu, X., and Hajiesmaili, M. (2025). Heterogeneous multi-agent multi-armed bandits on stochastic block models. arXiv preprint arXiv:2502.08003.