We study the dynamics of user-agent interactions in virtual environments through mathematical models derived in a Lagrangian formalism. The goal is to optimize the number of agents required to solve a generic predefined task while minimizing the computational cost to achieve it. Specifically, we derived Euler-Lagrange equations of motion to describe the different ways in which agents may interact with users. The main advantage of this approach lies in its peculiarity to derive a scaling law for any interaction rule one wishes to design, ensuring that the system scales while optimizing the global impact of the interactions. By specifying an action functional over interaction trajectories and enforcing its minimization, the optimal way to allocate agents emerges naturally as Euler–Lagrange equations, embedding the entire optimization strategy directly into the formalism. This intrinsic coupling of dynamics and cost yields a universal procedure to compute the scaling laws for arbitrary interaction rules, ensuring that agent populations and computational expense grow according with environmental complexity. We illustrate the methodology with two specific example. These results also offer a foundation for further research into multi-agent dynamics and their applications in virtual environments.

Lagrangian formulation to optimize interactions in virtual environments / A. Afify, A. Vicini, A. Bellacicca. - In: PHYSICAL REVIEW. E. - ISSN 2470-0045. - 113:(2026 Jan 16), pp. 014310.1-014310.9. [10.1103/b2t1-hrmx]

Lagrangian formulation to optimize interactions in virtual environments

A. Afify
Primo
;
A. Vicini
Penultimo
;
A. Bellacicca
2026

Abstract

We study the dynamics of user-agent interactions in virtual environments through mathematical models derived in a Lagrangian formalism. The goal is to optimize the number of agents required to solve a generic predefined task while minimizing the computational cost to achieve it. Specifically, we derived Euler-Lagrange equations of motion to describe the different ways in which agents may interact with users. The main advantage of this approach lies in its peculiarity to derive a scaling law for any interaction rule one wishes to design, ensuring that the system scales while optimizing the global impact of the interactions. By specifying an action functional over interaction trajectories and enforcing its minimization, the optimal way to allocate agents emerges naturally as Euler–Lagrange equations, embedding the entire optimization strategy directly into the formalism. This intrinsic coupling of dynamics and cost yields a universal procedure to compute the scaling laws for arbitrary interaction rules, ensuring that agent populations and computational expense grow according with environmental complexity. We illustrate the methodology with two specific example. These results also offer a foundation for further research into multi-agent dynamics and their applications in virtual environments.
Settore PHYS-02/A - Fisica teorica delle interazioni fondamentali, modelli, metodi matematici e applicazioni
16-gen-2026
Article (author)
File in questo prodotto:
File Dimensione Formato  
b2t1-hrmx.pdf

accesso aperto

Tipologia: Publisher's version/PDF
Licenza: Creative commons
Dimensione 1.12 MB
Formato Adobe PDF
1.12 MB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/1211596
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
  • OpenAlex 0
social impact