A Framework for Analyzing Abnormal Emergence in Service Ecosystems Through LLM-Based Agent Intention Mining

Yifan Shen, Zihan Zhao, Xiao Xue, Yuwei Guo, Qun Ma, Deyu Zhou, Ming Zhang

Introduction: The Challenge of Abnormal Emergence

In complex service ecosystems—such as food delivery networks or ride-hailing platforms—thousands of intelligent agents (drivers, customers, and algorithms) interact in real-time. While these systems are designed for efficiency, they often exhibit abnormal emergence: macro-level phenomena like massive service delays or "involution" (hyper-competition where workers exert increasing effort for diminishing returns).

The problem of abnormal emergence in service ecosystems and the challenges in traditional analysis.

Traditional causal analysis often suffers from a "black box" problem, focusing on observational data (what agents do) while failing to explain the underlying cognitive drivers (why they do it). Existing Agent-Based Modeling (ABM) techniques, even those leveraging Large Language Models (LLMs), typically focus on static analysis or single-agent behavior, lacking the tools to track how intentions propagate through a crowd to trigger system-wide shifts.

The EAMI Framework

To bridge this gap, we introduce the Emergence Analysis based on Multi-Agent Intention (EAMI) framework. EAMI utilizes LLMs to mine and analyze the evolving intentions of agents within a simulation, tracing the path from individual "thoughts" to large-scale group phenomena.

The four steps of the EAMI framework: Thought Track, Intention Extract, Intention Clustering, and Emergence Analysis.

The framework operates through four integrated steps:

  1. Individual Thought Track (The Inspector Agent): An "Inspector Agent" monitors the internal reasoning of LLM-powered agents. It employs a dual-perspective approach, capturing both bounded rationality (intuitive, instinct-driven responses) and perfect rationality (goal-oriented, logical reasoning).
  2. Emergent Intention Extract (The Analysis Agent): This component compares current reasoning against an agent's historical memory to identify "novel" intentions—shifts in strategy or perspective that the agent hasn't previously exhibited.
  3. Group Intention Clustering: Using natural language embeddings (all-MiniLM-L6-v2) and k-means clustering, the framework aggregates thousands of individual thoughts into manageable cognitive themes.
  4. System Emergence Analysis: The final output is an Intention Temporal Emergence diagram, which visualizes when specific intentions appear and how they spread through the population over time.

Experimental Validation

The EAMI framework was evaluated across multiple environments to ensure robustness:

  • O2O (Online-to-Offline) Service Simulation: A custom environment simulating a food delivery platform with 100 rider agents, alongside rule-based merchants and users.
  • Real-World Validation: Rider behavior in the simulation (working hours vs. order volume) was validated against real-world datasets from the Zomato delivery platform to ensure fidelity.
  • Stanford AI Town: A benchmark for generative agents used to test EAMI's ability to explain social emergence, such as election dynamics.

Key Insights: Understanding "Involution"

A primary success of the EAMI framework was explaining the emergence of "involution" in the O2O simulation. The "involution index" (labor cost per order) was observed to spike significantly after the 10th day of simulation. EAMI revealed that this was not merely an algorithmic failure but a cognitive shift: riders moved from "imitating peers" to "competing for dense order areas," drastically increasing labor intensity without a corresponding increase in pay.

The study also highlighted the importance of Bounded Rationality. Ablation tests showed that focusing solely on "perfectly rational" logic fails to capture emergent social drivers like "jealousy" or "peer pressure," which are often the true catalysts for abnormal system behavior.

Conclusion and Future Work

EAMI provides a highly interpretable narrative for complex simulations, moving beyond black-box observations to provide actionable insights into the "why" of system behavior. While currently tested with distilled models like DeepSeek-R1-Distill-Qwen-32B, future work will focus on scaling the framework to full-scale models and expanding LLM integration to all entities within the ecosystem (merchants, users) to achieve even higher fidelity in modeling long-term evolutionary intentions.

Summary updated

BibTeX
@inproceedings{shen2025framework,
  author = {Yifan Shen and Zihan Zhao and Xiao Xue and Yuwei Guo and Qun Ma and Deyu Zhou and Ming Zhang},
  title = {{A Framework for Analyzing Abnormal Emergence in Service Ecosystems Through LLM-Based Agent Intention Mining}},
  booktitle = {ICWS},
  year = {2025},
  doi = {10.1109/icws67624.2025.00068},
}
Figure