Manuscript Offprint
arXiv:2608.27851Graphon Design for Human-Machine Coordination under Bounded Rationality: Optimality of Stochastic Block Models
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Zhewei Wang, Vu Anh Phi, and Marcos M. Vasconcelos
Abstract—Coordination is a desirable feature in multi-agent systems, ranging from robotic swarms to socioeconomic networks. This paper is concerned with promoting coordination among heterogeneous agents, e.g., machines and humans, interacting in a stag-hunt game. In our model the agents exhibit bounded rationality at different levels, which leads to uncertainty and a propensity for errors during learning and decision-making processes. This paper addresses the problem of designing a network topology that maximizes a global metric of coordination under such constraints. While optimizing over the discrete space of finite graphs is generally computationally intractable, we employ a mean-field approach to lift the problem into the space of graphons. Within this framework, we analyze agents following a logit learning dynamics. Using calculus of variations, we show that for systems with a bimodal rationality profile, it suffices to search for optimal graphons in the ensemble of stochastic block models. We then propose a water-filling algorithm to find a locally optimal graphon. Finite graphs can then be sampled from the optimized graphon, bypassing the inherent combinatorial complexities of discrete graph optimization.
I. INTRODUCTION
Coordination is a recurring theme in distributed decision-making, with broad applications across robotics, sensing, and communication networks. Traditionally, coordination in engineering has been studied through the lens of consensus protocols, where agents continuously seek to align their decision variables. In contrast, researchers in economics study coordination through the resolution of social dilemmas. The most famous example is the Prisoner's Dilemma (PD) [1], a matrix game where decision-makers must choose whether to cooperate or defect. While the sole Nash equilibrium of the PD is mutual defection, a global reward incentive exists for cooperationâ€"hence the dilemma. Although networked versions of the PD are widely studied across engineering and social sciences, the PD is not considered a coordination game because it has a single equilibrium.
An arguably richer model for networked coordination is the Stag Hunt game [2]. In this game, which is characterized by two pure-strategy Nash equilibria, agents must decide whether to collaborate on a risky but highly rewarding task (hunting stag) or settle for a safe, low-rewarding alternative (hunting hare). The networked version of this game connects engineering, economics, and statistical physics, providing a rich framework to study the influence of network topology on the emergence of globally coordinated behavior. When considering a mix of human and machine agents, it is natural to assume agents with different rationality levels. Here, we consider a rational agent as one that maximizes its expected utility, an assumption that is often taken for granted in the analysis of economic, artificial intelligence, and engineering systems [3].
Achieving effective coordination in hybrid human-machine networks is one of the fundamental challenges in modern multi-agent systems [4]. For instance, Crandall et al. [5] studied the inherent difficulties in sustaining long-term cooperation between humans and machines. Shirado and Christakis [6] demonstrated that introducing autonomous agents can help large human groups overcome local deadlocks and promote global coordination. While these empirical results highlight the value of embedding autonomous agents within human networks, the literature currently lacks a rigorous mathematical framework to formalize this phenomenon and help us allocate the appropriate links between humans and machines to promote coordinated behavior thereby compensating for bounded and heterogeneous rationality levels.
One possible approach is to use the log-linear learning formalism introduced in [7] and adapt it to handle agents with heterogeneous rationality [8]. However, the theoretical treatment of network optimization for heterogeneous systems quickly becomes intractable due to two challenges: (1) the combinatorial explosion of the discrete graph space, which is computationally prohibitive even for a modest number of agents (e.g., ) [9], [10]; and (2) the absence of a closed-form stationary probability distribution when rationality is heterogeneously distributed among agents, which effectively precludes optimization over graphs [8].
In an effort to overcome these fundamental difficulties, we adopt a mean-field approach based on graphons [11] – continuous objects that represent the limit of large-scale networks for a continuum of agents. By relaxing the problem from a finite agent set to a continuum population, we circumvent the inherent combinatorial complexity of the network design problem. Rather than attempting to optimize the stationary distribution of a discrete Markov chain induced by logit learning [12], we reformulate the objective to maximize the expected fraction of agents that asymptotically play the equilibrium that maximizes the game's potential function subject to a constraint on the admissible graphons. Our approach entirely bypasses the need for a closed-form stationary distribution used in [9], [10], [13].
Here, we focus on network design for hybrid systems characterized by a bimodal rationality profile. To address
Z. Wang is with the Department of Mechanical Engineering, V. A. Phi and M.M. Vasconcelos are with the Department of Electrical and Computer Engineering, FAMU-FSU College of Engineering, Florida State University, Tallahassee, FL 32306, USA. E-mails: zw23a@fsu.edu, vap25@fsu.edu, m.vasconcelos@fsu.edu.
this, we provide an analytical characterization of the optimal topology for a system with two types of agents. By solving the optimization problem in the continuous graphon space, we show that it suffices to restrict our search for optimal graphons to the stochastic block model (SBM) ensemble [14], [15]. We then propose a water-filling algorithm to compute the locally optimal graphon profile.
The rest of the paper is organized as follows. Section II introduces the problem setup and the graphon coordination game. Section III formulates the logit learning dynamics for heterogeneous rationality, defines the aggregate adoption objective, and establishes the uniqueness of the steady state under a contraction condition. Section IV derives the first-order optimality conditions via a Lagrangian approach. Section V specializes these conditions to a bimodal rationality profile and proves that every local maximizer is a stochastic block model. Section VI develops a greedy connectivity allocation algorithm. Section VII illustrates the algorithm numerically. Section VIII discusses extensions and open problems.
A. Graphon Coordination Game
Fix a difficulty parameter . Each pair of agents plays a binary stag hunt game: 1 represents the risky action (hunting stag) and 0 represents the safe action (hunting hare) [2], [16].
| 1 | 0 | ||
| 1 | |||
| 0 | |||
Fig. 1. Stag hunt coordination game between agents with difficulty parameter .
Let denote the set of pure strategy profiles,
The game's payoff in Fig. 1 can be compactly written as
Because each agent plays the same action with the entire population, the utility is aggregated and weighted by the graphon, which gives
Definition 1 (Nash Equilibrium): A strategy profile is a Nash equilibrium if, for all alternative actions ,
Proposition 1: Let be a graphon and let . For the graphon game defined by (4), the constant strategy profiles a.e. and a.e. are both Nash equilibria.
Proof: The proof is immediate and omitted for brevity.
B. Potential Game Structure
A key structural property of our graphon coordination game is that it is a potential game [17]. The potential function is
where the connectivity degree of agent is
To verify that (6) is a potential function, we can show that the Gâteaux derivative [18] of with respect to at is .
Although the graphon coordination game may admit many other equilibria than the perfectly aligned profiles and , the following proposition establishes that these two profiles are the only global maximizers of .
Proposition 2 (Potential Maximizers): Let be a symmetric graphon satisfying , and let . The global maximum of defined in (6) is attained as follows
(i) If , the unique maximizer is a.e.
(ii) If , the unique maximizer is a.e.
(iii) If , both and maximize .
Proof: The proof is immediate and omitted for brevity.
III. LOGIT LEARNING DYNAMICS
We are interested in optimizing the graphon to influence the behavior of boundedly rational agents in a mixed population of humans and machines. We assume that agents of each type have different levels of rationality. To model the evolution of behavior in the continuum population, we introduce a continuous-time logit learning dynamic [19], [20].
The space of mixed strategy profiles is denoted by
Let denote the probability that agent plays action 1 at time . Under independent Poisson revision clocks, each agent updates its action according to the logit rule. Given the current population profile , the incentive for agent to play strategy 1 over strategy 0 is
(9)
Under the logit learning dynamic, agents do not best-respond perfectly; instead, they choose actions with probabilities proportional to their expected utility, governed by a type dependent rationality parameter according to the logit kernel
As , agents choose uniformly at random; as , they best-respond perfectly.
In our model, the rationality profile is assumed to be of the following form
where . Following a standard argument from the population games literature [19], the mixed action profile evolves as
Since the underlying game is a potential game, the logit dynamics (10) admits a strict Lyapunov functional. As shown in [20], this guarantees asymptotic convergence to a steady-state profile . Setting yields
a.e.
(13)
Remark 1: Equation (13) is akin to a mean-field version of a Quantal Response Equilibrium [21], which is a generalized version of a Nash Equilibrium for agents exhibiting bounded rationality.
A. Optimization Problem
For , the action profile a.e. is the socially desirable equilibrium by Proposition 2. Therefore, a natural performance metric is the asymptotic adoption fraction
whose maximization is equivalent to minimizing the distance between and . To see this, note that since a.e. and , we have
For the remainder of the paper, we will consider the following graphon optimization problem
subject to the nonlinear equality constraint imposed by (13).
B. Uniqueness of the steady state
Although the potential game structure guarantees convergence to a fixed point, the logit dynamics is notorious for their multiplicity when is too large [20]. We impose the following condition to guarantee a unique steady state for every and the well-posedness of the optimization problem.
Assumption 1: The rationality profile and graphon satisfy
where is the degree of agent .
Proposition 3: Under Assumption 1, the operator
is a contraction on with constant
In particular, (13) has a unique solution .
Proof: Since maps into for any , we have for all , so . Next, we derive the Lipschitz constant of . Since
and for all , we obtain
Therefore, for any and a.e. , we have
where (a) follows from the Lipschitz bound on ; (b) follows from the triangle inequality for integrals; and (c) follows from the definition of the norm together with the definition of degree.
Taking the supremum over , we have
Under Assumption 1, and is a contraction on . Since is a closed subset of , is complete. The Banach fixed-point theorem therefore guarantees a unique satisfying .
Proposition 4: If for all , then the hypothesis of Proposition 3 holds for every , and consequently (13) has a unique solution for every .
Proof: Since for any , we have
The result follows directly from Proposition 3.
IV. FIRST-ORDER OPTIMALITY CONDITIONS
Treating the optimization problem from the point of view of calculus of variations [18], we proceed by characterizing its first-order optimality conditions.
A. Lagrangian and Optimality Conditions
Lemma 1: Let be a local maximizer of , with associated steady-state profile satisfying (13) and local externality . Let be the unique solution of the following integral equation:
a.e.,
(25)
and define the symmetric function:
Then the following holds:
(i) for all .
(ii) For every , we have
(iii) There exists such that
a.e.
(28)
Proof: We enforce the fixed-point equation (13) pointwise via a multiplier function and the density constraint via a scalar multiplier , giving the Lagrangian functional
The stationarity of with respect to recovers the fixed-point equation (13), and the stationarity with respect to recovers the density constraint .
Taking the Fréchet derivative of with respect to in the direction , linearizing the logit function, and setting the first variation to zero, the symmetry of yields
a.e. (30)
Under Assumption 1, (30) has a unique solution, which we denote by . Since the integral term is non-negative, for all . Defining the adjoint variable
and multiplying both sides of (30) by yields (25). Positivity follows from and for all , proving (i).
Perturbing towards any gives
(32)
Since is symmetric, we can write
(33)
Since , we have , so the term multiplying vanishes, giving
Optimality of requires for all , yielding (27) and proving (ii).
At fixed , the Lagrangian is a linear functional of :
(35)
Introducing pointwise multipliers for and for , and differentiating with respect to pointwise yields the KKT stationarity condition:
with complementary slackness and a.e., meaning that each multiplier is nonzero only when its associated constraint is active. These conditions yield three cases:
• If : stationarity requires , so .
• If : stationarity requires , so .
• If : stationarity is satisfied by for any .
This gives (28), proving (iii).
V. STRUCTURE OF THE OPTIMAL GRAPHON FOR BIMODAL RATIONALITY
Lemma 1 established the first-order optimality conditions for any rationality profile satisfying for all . We now specialize these conditions to the bimodal rationality profile (11), where .
Theorem 1: Let be the bimodal rationality profile (11) with , and let be a local maximizer of . Then, the steady-state profile and adjoint are constant within each agent type:
Moreover, is an SBM graphon, i.e.,
with block values determined by the condition (28). The function defined in (26) takes the following values on the corresponding blocks:
Proof: Since takes only two values, the population is partitioned into two exchangeable groups: humans and machines . For any measure-preserving permutation satisfying and a.e., the relabeled graphon satisfies . Indeed, since , the unique fixed point of is by Proposition 3, and measure-preservation gives .
Define the symmetrized graphon:
where denotes the set of all such permutations and is a probability measure on . By construction, depends only on the types of and , so is an SBM graphon.
We now show using an inductive argument on the fixed-point iteration. For any fixed and a.e. , the map is concave in . Indeed, the argument is linear in , and is concave in for (since implies ). Therefore, by Jensen's inequality:
Initialize . Since for all and the fixed-point iteration converges to a unique limit under Assumption 1, we have for all and all . By induction, using monotonicity of in and concavity of in :
(44)
Taking and using convergence under Assumption 1:
Integrating gives . Since is a local maximizer and achieves at least the same objective value, we may work with without loss of generality throughout the remainder of the proof.
Since is an SBM, its local externality is constant within each type, so the steady state is piecewise constant on . Since is constant within each type, is also constant within each type, and the adjoint equation (25) then gives constant within each type. This establishes (37).
Finally, substituting (37) into function (26), takes exactly three values on the blocks , , and , given by (39)–(41). The condition (28) then assigns a constant value to each block, so is an SBM as in (38).
VI. GREEDY EDGE DENSITY ALLOCATION
The implication of Theorem 1 is that every local maximizer of over is an SBM graphon. Therefore, the global maximizer is also an SBM, and the search over can be restricted to SBMs without loss of optimality. The optimization problem then becomes to allocate the connectivity budget across the three blocks: machine-machine (MM), human-machine (HM), and human-human (HH) with masses , , and respectively.
By condition (28), a block is fully active () when , partially active () when , and inactive () when , where is determined by the density constraint . Therefore, as increases from 0 to 1, blocks are activated in decreasing order of their value .
Given the switching values , , , rank the three blocks in decreasing order:
with corresponding masses . The constant is the unique value determined by identifying the marginal block index satisfying:
so that . The optimal block values are then:
Remark 2: The allocation (48) is akin to a water-filling algorithm [22]: the edge connectivity budget fills blocks in order of their value , with the Lagrange multiplier playing the role of the water level. Unlike classical water-filling where the objective is concave and solutions are globally optimal, our problem is nonconvex. Therefore, the allocation satisfies the KKT conditions of Lemma 1, and is a locally optimal SBM solution.
VII. NUMERICAL RESULTS
We illustrate the optimal allocation algorithm of Section VI on a stochastic block model with machines ( ) and humans ( ), coordination game parameter , and equal population mass . The block masses are , , . In our numerical experiments, the machine rationality parameters are set to and to denote that machines react more sharply to network externalities than humans in the graphon coordination game. The fact that guarantees that the equilibrium is unique.
A. Allocation and adoption across density budgets
Assuming the ordering and applying the greedy algorithm for , we obtain Table I, which shows the optimal block weights, steady-state adoption probability of taking the risky action (hunting stag), and aggregate adoption for each density budget. The hypothesized ordering is self-consistent at every value of , i.e., when the 's are computed using (39), (40) and (41), the ordering is preserved. Therefore, a local optimum has been found.
TABLE I
CONNECTIVITY ALLOCATION UNDER AS A FUNCTION OF THE DENSITY BUDGET , WITH , , , . THE MARGINAL BLOCK IS MARKED WITH .
| ρ | ||||||
|---|---|---|---|---|---|---|
| 0.1 | 0.400* | 0 | 0 | 0.550 | 0.500 | 0.525 |
| 0.2 | 0.800* | 0 | 0 | 0.628 | 0.500 | 0.564 |
| 0.3 | 1 | 0.100* | 0 | 0.697 | 0.510 | 0.604 |
| 0.4 | 1 | 0.300* | 0 | 0.731 | 0.532 | 0.631 |
| 0.5 | 1 | 0.500* | 0 | 0.766 | 0.558 | 0.662 |
| 0.6 | 1 | 0.700* | 0 | 0.803 | 0.587 | 0.695 |
| 0.7 | 1 | 0.900* | 0 | 0.838 | 0.619 | 0.729 |
| 0.8 | 1 | 1 | 0.200* | 0.861 | 0.653 | 0.757 |
| 0.9 | 1 | 1 | 0.600* | 0.873 | 0.692 | 0.782 |

Fig. 2. Optimal block weights , , as a function of the density budget for . Phase transitions occur at and .
The water-filling algorithm proceeds as follows. The machine-machine block receives all the budget until it saturates at , then the human-machine block fills from to , and beyond that value the human-human block receives the remaining edges. These two thresholds correspond to phase transitions in the optimal allocation, where the marginal block shifts from MM to HM and from HM to HH, respectively. Fig. 2 displays the block weights as continuous functions of , with shaded regions indicating the marginal block and dashed vertical lines at the phase transitions.
The machine's adoption probability increases as the MM block becomes more connected, reaching by from a baseline of . Human adoption remains at the baseline until the HM block begins to fill at , after which it increases with until . Notice that the HH block does not receive links until , which means that it is better to connect humans to the more rational machines before connecting humans to humans. At , aggregate adoption reaches , a gain of 28 percentage points over a completely disconnected baseline, i.e., no externalities. The quantities , , and are plotted as functions of in Fig. 3.
The baseline of 0.5 corresponds to completely irrational behavior, where the agent makes a decision by flipping a fair coin.

Fig. 3. Steady-state activities , , and aggregate adoption under the optimal allocation. The horizontal dotted line marks the baseline .

Fig. 4. Aggregate adoption as a function of under three allocation strategies: prioritizing machine connections ( ), uniform ( ), and prioritizing human connections ( ).
B. Prioritizing human connectivity rather than machines
To quantify the value of the optimality conditions, Fig. 4 compares the optimal allocation with two alternatives that use the same density budget : a uniform (egalitarian) allocation ( ) and an allocation that fills blocks in the order , prioritizing human-human connections.
The allocation that prioritizes machine connectivity strictly dominates both alternatives for all . At , the optimal allocation achieves , compared to 0.616 for the uniform allocation and 0.594 for the reversed allocation. The gap is largest at intermediate values of . At very low all blocks are mostly disconnected, and at near 1 all blocks are completely connected regardless of priority ordering. Moreover, the allocation that prioritizes human connectivity is only self-consistent at one of the nine grid points tested ( ), which confirms that the priority ordering is likely the sole consistent regime for the chosen parameters.
Remark 3: For the parameter values considered, the ordering is the only self-consistent water-filling priority pattern across all tested values of and . The alternative permutations of fail

Fig. 5. Left: optimal graphon for , . Right: a network of nodes sampled from . Blue edges connect machines, coral edges link machines to humans, and the human-human block is empty.
the consistency verification step in all cases we have tried. This observation also reflects the large gap in rationality with , which implies that machines respond to network externalities more strongly than humans, making MM connections a higher-return investment for the system designer interested in promoting coordination.
C. Finite human-machine network
Fig. 5 illustrates the (locally) optimal SBM graphon and a finite network sampled from it for and . The graphon (Fig. 5, top) is a piecewise constant block matrix with , , and . The sampled network (Fig. 5, bottom) consists of nodes (10 machines and 10 humans) with edges drawn independently according to the graphon probabilities. The resulting graph exhibits the structure from the optimal graphon: a complete machine sub-network (45 edges), a sparse cross-type connections (23 out of 100 possible human-machine edges), and no human-human connections.
VIII. Conclusions
We studied the problem of designing a network topology to maximize coordination in a human-machine population with heterogeneous bounded rationalities. Modeling the population as a continuum of agents playing the stag hunt game under logit learning dynamics, we formulated the problem as an infinite-dimensional optimization over the space of graphons with a fixed edge density.
Our main contributions are threefold. First, we derived variational first-order optimality conditions for the graphon design problem. Second, we proved that the optimal steady-state and adjoint functions are constant within each type, and consequently that for a bimodal rationality profile there exists an optimal graphon within the ensemble of stochastic block models. Third, we obtained a greedy algorithm akin to water-filling to allocate the edge densities across blocks.
Several research directions remain open. The global optimality of the SBM over the entire class is conjectured but is not yet proved. Extension to continuous rationality profiles requires characterizing the level sets of the function in the two-dimensional space , leading to more complex optimal graphons. Finite-sample performance guarantees and distributed algorithms converging to the optimal topology are also important next steps.
REFERENCES
[1] E. Bahel, S. Ball, and S. Sarangi, “Communication and cooperation in prisoner’s dilemma games,” Games and Economic Behavior, vol. 133, pp. 126–137, 2022.
[2] B. Skyrms, The Stag Hunt and the Evolution of Social Structure. Cambridge: Cambridge University Press, 2004.
[3] B. Recht, The Irrational Decision: How We Gave Computers the Power to Choose for Us. Princeton: Princeton University Press, 2026.
[4] M. Tsvetkova, T. Yasseri, N. Pescetelli, and T. Werner, “A new sociology of humans and machines,” Nature Human Behaviour, vol. 8, no. 10, pp. 1864–1876, 2024.
[5] J. W. Crandall, M. Oudah, F. I. Tennom, et al., “Cooperating with machines,” Nature communications, vol. 9, no. 1, p. 233, 2018.
[6] H. Shirado and N. A. Christakis, “Locally noisy autonomous agents improve global human coordination in network experiments,” Nature, vol. 545, no. 7654, pp. 370–374, 2017.
[7] L. E. Blume, “The statistical mechanics of strategic interaction,” Games and economic behavior, vol. 5, no. 3, pp. 387–424, 1993.
[8] F.-H. O. Rajab, O. M. Anubi, and M. M. Vasconcelos, “Log-linear learning for coordination with heterogeneous bounded rationalities,” IEEE Control Systems Letters, vol. 9, pp. 2741–2746, 2025.
[9] Y. Zhang and M. M. Vasconcelos, “Rationality and connectivity in stochastic learning for networked coordination games,” in 2024 American Control Conference (ACC), pp. 1622–1627, IEEE, 2024.
[10] Y. Zhang and M. M. Vasconcelos, “On the role of network structure in learning to coordinate with bounded rationality,” in 2024 IEEE 63rd Conference on Decision and Control (CDC), pp. 1684–1689, IEEE, 2024.
[11] F. Parise and A. Ozdaglar, “Graphon games: A statistical framework for network games and interventions,” Econometrica, vol. 91, no. 1, pp. 191–225, 2023.
[12] J. R. Marden and J. S. Shamma, “Revisiting log-linear learning: Asynchrony, completeness and payoff-based implementation,” Games and Economic Behavior, vol. 75, no. 2, pp. 788–808, 2012.
[13] Z. Wang and M. M. Vasconcelos, “Optimizing coordination among bounded rational agents,” in 8th Annual Conference on Learning for Dynamics and Control (L4DC), 2026. To appear.
[14] P. W. Holland, K. B. Laskey, and S. Leinhardt, “Stochastic blockmodels: First steps,” Social networks, vol. 5, no. 2, pp. 109–137, 1983.
[15] E. Abbe, “Community detection and stochastic block models: recent developments,” Journal of Machine Learning Research, vol. 18, no. 177, pp. 1–86, 2018.
[16] A. Montanari and A. Saberi, “The spread of innovations in social networks,” Proceedings of the National Academy of Sciences, vol. 107, no. 47, pp. 20196–20201, 2010.
[17] D. Monderer and L. S. Shapley, “Potential games,” Games and Economic Behavior, vol. 14, no. 1, pp. 124–143, 1996.
[18] D. Liberzon, Calculus of Variations and Optimal Control Theory: A Concise Introduction. Princeton University Press, 2012.
[19] W. H. Sandholm, Population Games and Evolutionary Dynamics. MIT Press, 2010.
[20] L. Cianfanelli and G. Como, “On the stability of the logit dynamics in population games,” IEEE Transactions on Automatic Control, vol. 70, no. 9, pp. 5910–5925, 2025.
[21] J. K. Goeree, C. A. Holt, and T. R. Palfrey, Quantal Response Equilibrium: A Stochastic Theory of Games. Princeton, NJ: Princeton University Press, 2016.
[22] T. M. Cover and J. A. Thomas, Elements of Information Theory. Wiley-Interscience, 2nd ed., 2006.