SRAP-Agent: Simulating and Optimizing Scarce Resource Allocation Policy with LLM-based Agent

Jiarui Ji, Yang Li, Hongtao Liu, Zhicheng Du, Zhewei Wei, Qi Qi, Weiran Shen, Yankai Lin

Introduction

Designing public policy is notoriously difficult because humans rarely behave like the "perfectly rational" actors found in traditional economic textbooks. When it comes to allocating scarce resources—like public housing—real people are influenced by emotions, social ties, and strategic deception. Traditional economic modeling often fails to capture these "messy" realities, leading to policies that may not perform as expected in the real world.

In this work, researchers introduce SRAP-Agent, a framework that uses Large Language Models (LLMs) to simulate complex human behaviors. By pairing realistic simulations with a genetic algorithm-based optimizer, they have developed a tool capable of designing allocation policies that are both more efficient and more fair than traditional rule-based methods.

The SRAP-Agent Framework

The SRAP-Agent system consists of two primary components: a high-fidelity simulation environment and a novel policy optimizer.

The SRAP-Agent framework overview, showing the stages from setup to simulation and final evaluation.

The simulation environment models a market with LLM agents (representing tenants) and a pool of resources (houses). Each agent possesses a unique profile—including age, budget, and family size—and a dual-memory system to distinguish between official, trustworthy information and potentially biased social hearsay. Agents interact through a social network, evaluating the reliability of others based on relationship closeness and past interactions.

To optimize policies, the researchers developed a Policy Optimization Algorithm (POA). This genetic algorithm searches for optimal parameters, such as queue sorting strategies and resource grouping. To manage the high computational cost of LLM simulations, the POA utilizes a regressor-based predictor to estimate outcomes, reserving full simulations for only the most promising policy candidates.

Emergent Human-like Behaviors

A key advantage of using LLMs is their ability to mirror bounded rationality and social dynamics. The simulation successfully captured emergent behaviors like strategic deception, which are often absent in traditional models.

Examples of agent personalities and their corresponding broadcasting plans for deception and cooperation.

As illustrated in the figure above, agents with "mysterious" personalities might selectively publish misinformation to steer competitors away from their preferred resources. Conversely, cooperative agents share information honestly to gather insights. Interestingly, the study found that GPT-3.5 often served as a better proxy for average human behavior than GPT-4, which tended to be "too rational" and strategic, often outperforming human test subjects in a way that reduced the simulation's realism.

Key Results and Policy Impact

The framework was tested using public housing data from Beijing and compared against real-world policies from Singapore, Beijing, and Hong Kong. Key findings include:

  • Optimization Efficiency: The POA improved target policy metrics by approximately 20% within 50 iterations.
  • Superior Performance: Optimized policies enhanced Social Welfare by 1.8% and improved fairness metrics (such as reducing the Gini coefficient of living area) by 13.2% compared to standard baselines.
  • Autonomy and Satisfaction: One of the strongest findings was that "self-selected" entry conditions—letting agents choose which queue to join—led to the highest social welfare, suggesting that agent autonomy is a powerful lever for societal satisfaction.

Conclusion

SRAP-Agent demonstrates that LLMs can effectively bridge the gap between abstract economic theory and real-world human dynamics. While challenges remain regarding prompt dependency and computational costs, this framework provides a scalable way to simulate and optimize complex social policies before real-world implementation.

Citation: Ji, J., et al. (2024). SRAP-Agent: Simulating and Optimizing Scarce Resource Allocation Policy with LLM-based Agent. Findings of the Association for Computational Linguistics: EMNLP 2024.

Summary updated

BibTeX
@inproceedings{ji2024srap,
  author = {Jiarui Ji and Yang Li and Hongtao Liu and Zhicheng Du and Zhewei Wei and Qi Qi and Weiran Shen and Yankai Lin},
  title = {{SRAP-Agent: Simulating and Optimizing Scarce Resource Allocation Policy with LLM-based Agent}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.15},
}
Figure