While Multi-Agent Systems (MAS) exhibit superior reasoning capabilities, their deployment is hindered by prohibitive inference latency and token costs. Existing optimization methods typically decouple topology generation from model routing and rely on a static "generate-then-optimize" paradigm, failing to address the dynamic trade-off between task structure and model heterogeneity. To address this, we propose MASA (Multi-agent Asynchronous Structural Adaptation), a training-free framework that performs online joint optimization of agent topology and backbone routing via a Stream-MCTS algorithm. MASA iteratively refines the task stream using graph rewriting operators, while employing an asynchronous pipelining mechanism to effectively mask the search overhead. This process is guided by a Max-Backup strategy, which balances throughput against agility to accurately navigate the combinatorial search space of heterogeneous agents. Empirical results on complex reasoning benchmarks demonstrate that MASA achieves a superior Pareto frontier, significantly reducing end-to-end latency compared to static and decoupled baselines.
翻译:暂无翻译