The integration of autonomous agents into virtual environments raises fundamental questions concerning both their individual design and the collective dynamics that emerge when heterogeneous populations of users interact with them. Virtual environments provide a controlled yet complex setting where perception, communication, resource allocation, and social interaction can be studied within a common framework. However, the increasing behavioural capabilities of autonomous agents, particularly those based on large language models, also introduce new challenges related to computational cost and scalability. This Thesis develops a mathematical-physics perspective on these problems, viewing virtual environments not only as computational systems in which autonomous agents operate but also as dynamical social ones where individual interactions produce collective behaviour. To deal with interacting agents characterized by significant computational and financial overheads, a modelling framework capable of reconciling behavioural performance and operational cost is mandatory. To this end, a Lagrangian formulation is developed. Computational expenditure and interaction requirements are incorporated into an action functional, allowing for the derivation of the deployment strategy from a variational principle. The resulting Euler-Lagrange equations provide a dynamical description of adaptive agent allocation and establish a direct relationship between resource constraints, agent dynamics, and system performance. This formulation provides an interpretable mathematical framework for studying the scaling of autonomous collectives and for deriving allocation strategies without relying exclusively on ad hoc algorithmic rules. In the second part of the Thesis, we shift the focus from the optimization of autonomous collectives to the dynamics of the virtual societies in which they operate. Human and artificial agents are represented as interacting populations whose states evolve through transitions, influence, and exchange processes. To analyze such systems without imposing restrictive assumptions on the detailed functional form of the underlying interactions, we develop a generalized modelling approach. The dynamics is expressed in terms of normalized processes and scale parameters, allowing their local stability properties and bifurcation structure to be investigated across a broad class of admissible models. Within this representation of the system, we establish a topological existence result for steady states, providing a mathematical foundation for the subsequent stability analysis. The generalized formalism is then applied to an original model of user-agent social behaviour in virtual environments, where individuals may transition between internal states because of interactions with other users and agents. The resulting analysis identifies the conditions under which qualitatively distinct collective regimes arise and characterizes the corresponding stability and bifurcation boundaries.
SCALING LAWS AND DYNAMICAL MODELS OF GENERAL-PURPOSE AGENTS IN VIRTUAL ENVIRONMENTS / A. Afify ; supervisor: A. Vicini; coordinator: D. Mennella. Dipartimento di Fisica Aldo Pontremoli, 2026. 39. ciclo, Anno Accademico 2025/2026.
SCALING LAWS AND DYNAMICAL MODELS OF GENERAL-PURPOSE AGENTS IN VIRTUAL ENVIRONMENTS
A. Afify
2026
Abstract
The integration of autonomous agents into virtual environments raises fundamental questions concerning both their individual design and the collective dynamics that emerge when heterogeneous populations of users interact with them. Virtual environments provide a controlled yet complex setting where perception, communication, resource allocation, and social interaction can be studied within a common framework. However, the increasing behavioural capabilities of autonomous agents, particularly those based on large language models, also introduce new challenges related to computational cost and scalability. This Thesis develops a mathematical-physics perspective on these problems, viewing virtual environments not only as computational systems in which autonomous agents operate but also as dynamical social ones where individual interactions produce collective behaviour. To deal with interacting agents characterized by significant computational and financial overheads, a modelling framework capable of reconciling behavioural performance and operational cost is mandatory. To this end, a Lagrangian formulation is developed. Computational expenditure and interaction requirements are incorporated into an action functional, allowing for the derivation of the deployment strategy from a variational principle. The resulting Euler-Lagrange equations provide a dynamical description of adaptive agent allocation and establish a direct relationship between resource constraints, agent dynamics, and system performance. This formulation provides an interpretable mathematical framework for studying the scaling of autonomous collectives and for deriving allocation strategies without relying exclusively on ad hoc algorithmic rules. In the second part of the Thesis, we shift the focus from the optimization of autonomous collectives to the dynamics of the virtual societies in which they operate. Human and artificial agents are represented as interacting populations whose states evolve through transitions, influence, and exchange processes. To analyze such systems without imposing restrictive assumptions on the detailed functional form of the underlying interactions, we develop a generalized modelling approach. The dynamics is expressed in terms of normalized processes and scale parameters, allowing their local stability properties and bifurcation structure to be investigated across a broad class of admissible models. Within this representation of the system, we establish a topological existence result for steady states, providing a mathematical foundation for the subsequent stability analysis. The generalized formalism is then applied to an original model of user-agent social behaviour in virtual environments, where individuals may transition between internal states because of interactions with other users and agents. The resulting analysis identifies the conditions under which qualitatively distinct collective regimes arise and characterizes the corresponding stability and bifurcation boundaries.| File | Dimensione | Formato | |
|---|---|---|---|
|
phd_unimi_R14538.pdf
accesso aperto
Tipologia:
Publisher's version/PDF
Licenza:
Creative commons
Dimensione
3.43 MB
Formato
Adobe PDF
|
3.43 MB | Adobe PDF | Visualizza/Apri |
Pubblicazioni consigliate
I metadati presenti in AIR sono rilasciati con licenza CCO mentre i file delle pubblicazioni sono rilasciati con licenza CC BY-SA, salvo diversa indicazione. In caso di violazione di copyright, contattare l'assistenza di AIR




