English

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

Computation and Language 2026-04-21 v2 Artificial Intelligence Machine Learning

Abstract

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 22--15×15\times higher data generation throughput under identical hardware resources, without compromising output quality.

Keywords

Cite

@article{arxiv.2511.21686,
  title  = {Matrix: Peer-to-Peer Multi-Agent Synthetic Data Generation Framework},
  author = {Dong Wang and Yang Li and Ansong Ni and Ching-Feng Yeh and Youssef Emad and Xinjie Lei and Liam Robbins and Karthik Padthe and Hu Xu and Xian Li and Asli Celikyilmaz and Ramya Raghavendra and Lifei Huang and Carole-Jean Wu and Shang-Wen Li},
  journal= {arXiv preprint arXiv:2511.21686},
  year   = {2026}
}

Comments

MLSys 2026

R2 v1 2026-07-01T07:56:46.068Z