arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.21686cs.CLcs.AIcs.LG
收藏

矩阵:基于点对点的多智能体合成数据生成框架

Matrix: Peer-to-Peer Multi-Agent Synthetic Data Generation Framework

FAIR at Meta(Meta 的 FAIR)
Dong Wang, Yang Li, Ansong Ni, Ching-Feng Yeh, Youssef Emad, Xinjie Lei, Liam Robbins, Karthik Padthe, Hu Xu, Xian Li, Asli Celikyilmaz, Ramya Raghavendra, Life… 展开作者

Dong Wang, Yang Li, Ansong Ni, Ching-Feng Yeh, Youssef Emad, Xinjie Lei, Liam Robbins, Karthik Padthe, Hu Xu, Xian Li, Asli Celikyilmaz, Ramya Raghavendra, Lifei Huang, Carole-Jean Wu, Shang-Wen Li

AI总结:

本文提出Matrix框架,通过去中心化设计实现多智能体协同生成高质量、多样化的合成数据,提升数据生成效率2-15倍,适用于多智能体对话、网络推理数据提取等场景。

摘要:

合成数据在训练大语言模型中日益重要,尤其在真实数据稀缺、昂贵或敏感时。许多生成任务需要协调的多智能体工作流,其中专门的智能体协作生成高质量、多样且结构丰富的数据。然而,现有多智能体合成框架常依赖集中式调度器,导致可扩展性瓶颈,或为特定领域硬编码,限制了灵活性。我们提出Matrix,一种去中心化的框架,将控制和数据流表示为通过分布式队列传递的序列消息。这种点对点设计消除了集中调度器。每个任务通过轻量级智能体独立推进,而计算密集型操作,如LLM推理或容器化环境,由分布式服务处理。基于Ray,Matrix可扩展至数万并行智能体工作流,提供模块化、可配置的设计,便于适应广泛的数据生成工作流。我们评估了Matrix在多样合成场景中的表现,如多智能体协作对话、基于网络的推理数据提取以及客户服务环境中工具使用轨迹生成。在所有情况下,Matrix在相同硬件资源下实现2-15倍更高的数据生成吞吐量,而无需牺牲输出质量。

英文摘要:

Synthetic data has become increasingly important for training large language models, especially when real data is scarce, expensive, or privacy-sensitive. Many such generation tasks require coordinated multi-agent workflows, where specialized agents collaborate to produce data that is higher quality, more diverse, and structurally richer. However, existing frameworks for multi-agent synthesis often depend on a centralized orchestrator, creating scalability bottlenecks, or are hardcoded for specific domains, limiting flexibility. We present \textbf{Matrix}, a decentralized framework that represents both control and data flow as serialized messages passed through distributed queues. This peer-to-peer design eliminates the central orchestrator. Each task progresses independently through lightweight agents, while compute-intensive operations, such as LLM inference or containerized environments, are handled by distributed services. Built on Ray, Matrix scales to tens of thousands of concurrent agentic workflows and provides a modular, configurable design that enables easy adaptation to a wide range of data generation workflows. We evaluate Matrix across diverse synthesis scenarios, such as multi-agent collaborative dialogue, web-based reasoning data extraction, and tool-use trajectory generation in customer service environments. In all cases, Matrix achieves $2$--$15\times$ higher data generation throughput under identical hardware resources, without compromising output quality.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑