Exploring and Controlling Diversity in LLM-Agent Conversation
Chu, KuanChao, Chen, Yi-Pei, Nakayama, Hideki
–arXiv.org Artificial Intelligence
Diversity is a critical aspect of multi-agent communication. In this paper, we focus on controlling and exploring diversity in the context of open-domain multi-agent conversations, particularly for world simulation applications. We propose Adaptive Prompt Pruning (APP), a novel method that dynamically adjusts the content of the utterance generation prompt to control diversity using a single parameter, lambda. Through extensive experiments, we show that APP effectively controls the output diversity across models and datasets, with pruning more information leading to more diverse output. We comprehensively analyze the relationship between prompt content and conversational diversity. Our findings reveal that information from all components of the prompt generally constrains the diversity of the output, with the Memory block exerting the most significant influence. APP is compatible with established techniques like temperature sampling and top-p sampling, providing a versatile tool for diversity management. To address the trade-offs of increased diversity, such as inconsistencies with omitted information, we incorporate a post-generation correction step, which effectively balances diversity enhancement with output consistency. Additionally, we examine how prompt structure, including component order and length, impacts diversity. This study addresses key questions surrounding diversity in multi-agent world simulation, offering insights into its control, influencing factors, and associated trade-offs. Our contributions lay the foundation for systematically engineering diversity in LLM-based multi-agent collaborations, advancing their effectiveness in real-world applications.
arXiv.org Artificial Intelligence
Dec-30-2024
- Country:
- North America
- United States
- New York > New York County
- New York City (0.04)
- California > San Diego County
- San Diego (0.04)
- New York > New York County
- Canada > Ontario
- Toronto (0.04)
- United States
- Europe > Italy
- Calabria > Catanzaro Province > Catanzaro (0.04)
- Asia > Japan
- Honshū > Kantō > Tokyo Metropolis Prefecture > Tokyo (0.04)
- North America
- Genre:
- Research Report > New Finding (1.00)
- Technology: