用大模型打造可定制人格的多智能体仿真工具,支持真实人类行为模拟。
TinyTroupe: An LLM-powered Multiagent Persona Simulation Toolkit
- 通过大模型实现人物角色细粒度定义与程序化控制
- 支持头脑风暴、市场调研等场景的群体行为模拟
- 适合社会学、行为研究及交互系统开发人员使用
大语言模型的进展催生了新型自主智能体,推动了基于大模型的多智能体系统(MAS)发展,广泛应用于辅助与仿真场景。然而,针对真实人类行为模拟的工具仍不完善,现有库缺乏细粒度人格设定、人群采样、实验支持和集成验证能力,限制了其在行为研究与社会仿真中的应用。为此,本文提出TinyTroupe,一个支持国籍、年龄、职业、性格、信念、行为等多维度人格定义的仿真工具包,通过多种大模型驱动机制实现程序化控制,可简洁表达个体或群体层面的行为问题并提供解决方案。通过头脑风暴、市场调研等典型示例展示其功能与实用性。定量与定性评估包括与真实人类行为的初步对比实验,揭示其潜力、局限与权衡。该方法虽以Python实现,但核心理念具有通用性,可部分或整体融入其他系统。代码开源:https://github.com/microsoft/tinytroupe。
原文摘要 · Abstract (English)
Recent advances in Large Language Models (LLM) have led to a new class of autonomous agents, renewing and expanding interest in the area. LLM-powered Multiagent Systems (MAS) have thus emerged, both for assistive and simulation purposes, yet tools for realistic human behavior simulation -- with its distinctive challenges and opportunities -- remain underdeveloped. Existing MAS libraries and tools lack fine-grained persona specifications, population sampling facilities, experimentation support, and integrated validation, among other key capabilities, limiting their utility for behavioral studies, social simulation, and related applications. To address these deficiencies, in this work we introduce TinyTroupe, a simulation toolkit enabling detailed persona definitions (e.g., nationality, age, occupation, personality, beliefs, behaviors) and programmatic control via numerous LLM-driven mechanisms. This allows for the concise formulation of behavioral problems of practical interest, either at the individual or group level, and provides effective means for their solution. TinyTroupe's components are presented using representative working examples, such as brainstorming and market research sessions, thereby simultaneously clarifying their purpose and demonstrating their usefulness. Quantitative and qualitative evaluations of selected aspects are also provided, including preliminary experiments with real human behavior as control. Results highlight possibilities, limitations, and trade-offs. The approach, though realized as a specific Python implementation, is meant as a novel conceptual contribution, which can be partially or fully incorporated in other contexts. The library is available as open source at https://github.com/microsoft/tinytroupe.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。