IEEE Computational Intelligence Magazine - November 2023 - 61

v4, respectively, fixed and altering the
opinion z5 from1 to 1, the variations
in the winning probabilities and rewards
ofall the agents can be observed.
FIGURE 1 1D Representation: myopic bestresponses
and a PNE.
wheregj ¼
P
v2Gj zi=jnjj represents the
opinion of group Gj and the winning
probability pjðtÞ ofgroup Gj is
nj
pjðtÞ¼
P
e
i2½m;ni >0 e
DE
P
gj;
P
vr2V sr
ni gi;
vr2V sr
;
where ½m denotes f1; 2; ... ; mg. The
following strategic behaviors ofan agent
in such a game will be considered:
❏ Group Joining: Each agent seeks a
specific group that hopefully maximizes
its reward and then joins the
group.
❏ Opinion Updating without Regularization:
Each agent in a certain
group tries to maximize its reward
by changing its own opinion.
❏ Opinion Updating with Regularization:
Each agent in a certain
group tries to maximize its reward
by changing its own opinion, while
the reward includes the regularization
ksi zik2
2, which hopefully
constrains an agent's strategic behavior
by preventing it from moving
too far from its own belief.
III. Group Joining and Pure-Strategy
Nash Equilibria
A. 1D Representation
When the opinions and beliefs are
assumed to be in ½1; 1 R, these vectors
as well as the dynamics of changes
can be illustrated in a real line. For example,
consider the five agents v1; v2; v3; v4,
and v5 in Figure 1. By keeping the opinions
z1; z2; z3, and z4 of v1; v2; v3, and
B. Group Joining: Myopic Best
Responses
Assume that agent i decides tojoin Gj,for
whichj ¼ arg max'p'ðtÞ hg'; sii.Such a
strategy is called a myopic best response.An
agent joins a group by considering not
only its winning probability but also the
utility that the agent can get from the
group beforejoining. The state at the bottomofFigure
1 is an example ofa PNE.
IV. Opinion Updates by Online
Learning
A.2D Representation
The opinions and beliefs as well as the
dynamics of opinion changes are illustrated
in K :¼fx 2½1; 12 : kxk2 1g
R2. The 2-norm constraint that
kzik2; ksik2 1 correlates the dimensions.
A projection of the opinion is
required ifthe constraint is not satisfied.
B. Online GradientAscent
Consider the setting that each agent
tries to maximize its own reward by
" changing its opinion " without deviating
from the group to which it belongs.
Each agent executes the online gradient
ascent algorithm to iteratively update its
opinion so as to maximize its reward.
The update is done by adding a certain
quantity (tuned by the learning rate h)
toward the direction of the gradient. A
" projection " PKðxÞ which projects x
onto the feasible set K by dividing its 2norm
is performed ifnecessary.
Algorithm 1. Multi-Agent Online
Gradient Ascent.
Input: feasible set K, T, learning rate h.
1: for t 1to T do
2:
3:
4:
5:
end for
6: end for
for each agent i do
observe reward riðtÞ, where state
t ¼ðz; s; GÞ
zi;tþ1 PKðzi;t þ hrzi
riðtÞÞ
FIGURE 2 Opinion updates via the online
gradient ascent with regularization.
C. Online GradientAscent With
Regularization
The reward function for agent i includPing
the regularizer, is defined as riðtÞ¼
kzi sik2
2
j¼1 pjðtÞhsi;gjikzi sik2
m
2. Since
is always non-positive, an
agent will be constrained to consider
" not being too far from its belief. " Our
experimental illustrations show that
such a regularization helps the game
converge to a state where agents' opinions
will not be too far from their beliefs
(see Figure 2).
V. Conclusion
This article presents a preliminary study
on the dynamics of group formation.
From the illustrations, readers can have
a better grasp of a pure-strategy Nash
equilibrium in a system of multi-agents
and also learn how an online gradient
ascent algorithm as one of the dynamics
can reach a stable state.
Acknowledgment
This work was supported in part by the
National Science and Technology Council
under Grants NSTC 112-2221-E-032018-MY3,
NSTC 111-2221-E-005-047-,
and NSTC 111-2410-H-A49-022-MY2.
We also thank Victorien Yen for helping
implement the JavaScript codes in the
immersive article.
References
[1] I. Goodfellow et al., " Generative adversarial networks, "
Commun. ACM, vol. 63, pp. 139-144, 2020.
[2] F. Orabona, " A modern introduction to online
learning, " 2022, arXiv:1912.13213.
[3] C.-C. Lin, C.-J. Lu, and P.-A. Chen, " On the
efficiency of an election game of two or more parties:
How bad can it be?, " 2023, arXiv:2303.14405.
NOVEMBER 2023 | IEEE COMPUTATIONAL INTELLIGENCE MAGAZINE 61

IEEE Computational Intelligence Magazine - November 2023

Table of Contents for the Digital Edition of IEEE Computational Intelligence Magazine - November 2023

Contents
IEEE Computational Intelligence Magazine - November 2023 - Cover1
IEEE Computational Intelligence Magazine - November 2023 - Cover2
IEEE Computational Intelligence Magazine - November 2023 - Contents
IEEE Computational Intelligence Magazine - November 2023 - 2
IEEE Computational Intelligence Magazine - November 2023 - 3
IEEE Computational Intelligence Magazine - November 2023 - 4
IEEE Computational Intelligence Magazine - November 2023 - 5
IEEE Computational Intelligence Magazine - November 2023 - 6
IEEE Computational Intelligence Magazine - November 2023 - 7
IEEE Computational Intelligence Magazine - November 2023 - 8
IEEE Computational Intelligence Magazine - November 2023 - 9
IEEE Computational Intelligence Magazine - November 2023 - 10
IEEE Computational Intelligence Magazine - November 2023 - 11
IEEE Computational Intelligence Magazine - November 2023 - 12
IEEE Computational Intelligence Magazine - November 2023 - 13
IEEE Computational Intelligence Magazine - November 2023 - 14
IEEE Computational Intelligence Magazine - November 2023 - 15
IEEE Computational Intelligence Magazine - November 2023 - 16
IEEE Computational Intelligence Magazine - November 2023 - 17
IEEE Computational Intelligence Magazine - November 2023 - 18
IEEE Computational Intelligence Magazine - November 2023 - 19
IEEE Computational Intelligence Magazine - November 2023 - 20
IEEE Computational Intelligence Magazine - November 2023 - 21
IEEE Computational Intelligence Magazine - November 2023 - 22
IEEE Computational Intelligence Magazine - November 2023 - 23
IEEE Computational Intelligence Magazine - November 2023 - 24
IEEE Computational Intelligence Magazine - November 2023 - 25
IEEE Computational Intelligence Magazine - November 2023 - 26
IEEE Computational Intelligence Magazine - November 2023 - 27
IEEE Computational Intelligence Magazine - November 2023 - 28
IEEE Computational Intelligence Magazine - November 2023 - 29
IEEE Computational Intelligence Magazine - November 2023 - 30
IEEE Computational Intelligence Magazine - November 2023 - 31
IEEE Computational Intelligence Magazine - November 2023 - 32
IEEE Computational Intelligence Magazine - November 2023 - 33
IEEE Computational Intelligence Magazine - November 2023 - 34
IEEE Computational Intelligence Magazine - November 2023 - 35
IEEE Computational Intelligence Magazine - November 2023 - 36
IEEE Computational Intelligence Magazine - November 2023 - 37
IEEE Computational Intelligence Magazine - November 2023 - 38
IEEE Computational Intelligence Magazine - November 2023 - 39
IEEE Computational Intelligence Magazine - November 2023 - 40
IEEE Computational Intelligence Magazine - November 2023 - 41
IEEE Computational Intelligence Magazine - November 2023 - 42
IEEE Computational Intelligence Magazine - November 2023 - 43
IEEE Computational Intelligence Magazine - November 2023 - 44
IEEE Computational Intelligence Magazine - November 2023 - 45
IEEE Computational Intelligence Magazine - November 2023 - 46
IEEE Computational Intelligence Magazine - November 2023 - 47
IEEE Computational Intelligence Magazine - November 2023 - 48
IEEE Computational Intelligence Magazine - November 2023 - 49
IEEE Computational Intelligence Magazine - November 2023 - 50
IEEE Computational Intelligence Magazine - November 2023 - 51
IEEE Computational Intelligence Magazine - November 2023 - 52
IEEE Computational Intelligence Magazine - November 2023 - 53
IEEE Computational Intelligence Magazine - November 2023 - 54
IEEE Computational Intelligence Magazine - November 2023 - 55
IEEE Computational Intelligence Magazine - November 2023 - 56
IEEE Computational Intelligence Magazine - November 2023 - 57
IEEE Computational Intelligence Magazine - November 2023 - 58
IEEE Computational Intelligence Magazine - November 2023 - 59
IEEE Computational Intelligence Magazine - November 2023 - 60
IEEE Computational Intelligence Magazine - November 2023 - 61
IEEE Computational Intelligence Magazine - November 2023 - 62
IEEE Computational Intelligence Magazine - November 2023 - 63
IEEE Computational Intelligence Magazine - November 2023 - 64
IEEE Computational Intelligence Magazine - November 2023 - 65
IEEE Computational Intelligence Magazine - November 2023 - 66
IEEE Computational Intelligence Magazine - November 2023 - 67
IEEE Computational Intelligence Magazine - November 2023 - 68
IEEE Computational Intelligence Magazine - November 2023 - 69
IEEE Computational Intelligence Magazine - November 2023 - 70
IEEE Computational Intelligence Magazine - November 2023 - 71
IEEE Computational Intelligence Magazine - November 2023 - 72
IEEE Computational Intelligence Magazine - November 2023 - 73
IEEE Computational Intelligence Magazine - November 2023 - 74
IEEE Computational Intelligence Magazine - November 2023 - 75
IEEE Computational Intelligence Magazine - November 2023 - 76
IEEE Computational Intelligence Magazine - November 2023 - 77
IEEE Computational Intelligence Magazine - November 2023 - 78
IEEE Computational Intelligence Magazine - November 2023 - 79
IEEE Computational Intelligence Magazine - November 2023 - 80
IEEE Computational Intelligence Magazine - November 2023 - Cover3
IEEE Computational Intelligence Magazine - November 2023 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202311
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202308
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202305
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202302
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202211
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202208
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202205
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202202
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202111
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202108
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202105
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202102
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202011
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202008
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202005
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202002
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201911
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201908
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201905
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201902
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201811
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201808
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201805
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201802
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter12
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall12
https://www.nxtbookmedia.com