HyperAIHyperAI

Command Palette

Search for a command to run...

시각 웜홀: 이질적인 다중 에이전트 시스템에서의 잠재 공간 통신

Xiaoze Liu Ruowang Zhang Weichen Yu Siheng Xiong Liu He Feijie Wu Hoin Jung Matt Fredrikson Xiaoqian Wang Jing Gao

초록

대규모 언어 모델을 기반으로 하는 다중 에이전트 시스템(Multi-Agent Systems, MAS)은 고도화된 협업적 추론을 가능하게 했으나, 이산적인 텍스트 기반 통신 방식으로 인해 효율성에 큰 제약을 받고 있다. 이는 상당한 런타임 오버헤드와 정보 양자화 손실을 초래한다. 잠재 상태 전송(latent state transfer)은 높은 대역폭 대안이 될 수 있으나, 기존 방법들은 전송자-수신자 아키텍처가 동일하다는 가정을 하거나, 쌍별로 학습된 번역기(Translator)에 의존함으로써, 서로 다른 매니폴드를 가진 다양한 모델 패밀리 간의 확장성과 모듈성을 제한한다. 본 연구에서는 비전-언어 모델(Vision-Language Models, VLMs)의 시각적 인터페이스를 재활용하여, 모델에 종속되지 않고 텍스트 없이도 통신이 가능한 새로운 프레임워크인 '비전 웜홀(Vision Wormhole)'을 제안한다. 유니버설 시각 코덱(Universal Visual Codec)을 도입함으로써, 다양한 형태의 추론 흐름을 공유된 연속 잠재 공간에 매핑하고, 이를 수신자의 시각 경로에 직접 주입함으로써, 비전 인코더를 에이전트 간 ‘텔레파시(telepathy)’를 위한 유니버설 포트로 활용한다. 본 프레임워크는 허브-스포크(Hub-and-Spoke) 구조를 채택하여, 쌍별 정렬 복잡도를 O(N²)에서 O(N)으로 감소시키며, 레이블이 없는 테이처-스터디(distillation) 목적함수를 활용해 고속 시각 채널을 텍스트 경로의 강력한 추론 패턴과 일치시킨다. 다양한 모델 패밀리(Qwen-VL, Gemma 등)에 걸쳐 수행된 광범위한 실험 결과, 비전 웜홀은 표준 텍스트 기반 MAS와 비슷한 추론 정확도를 유지하면서도, 제어된 비교 환경에서 전체 엔드투엔드 월클록 시간을 크게 단축함을 입증하였다. 코드는 https://github.com/xz-liu/heterogeneous-latent-mas 에서 공개된다.

One-sentence Summary

Purdue, CMU, and Georgia Tech researchers propose Vision Wormhole, a model-agnostic framework using visual interfaces to enable text-free, high-bandwidth communication in multi-agent systems, reducing runtime while preserving reasoning fidelity across heterogeneous LLMs like Qwen-VL and Gemma.

Key Contributions

  • The Vision Wormhole addresses the inefficiency of text-based communication in multi-agent systems by repurposing the visual interface of Vision-Language Models to enable model-agnostic, continuous latent transfer, bypassing discrete tokenization overhead and quantization loss.
  • It introduces a Universal Visual Codec that maps heterogeneous reasoning traces into a shared latent space and injects them via the vision encoder, using a hub-and-spoke topology to reduce alignment complexity from O(N²) to O(N) and a label-free distillation objective to align visual and text reasoning pathways.
  • Evaluated across diverse model families including Qwen-VL and Gemma, the framework reduces end-to-end wall-clock time while preserving reasoning fidelity comparable to standard text-based MAS, demonstrating scalable, plug-and-play communication without pairwise adapters.

Introduction

The authors leverage Vision-Language Models’ visual encoders to enable high-bandwidth, text-free communication between heterogeneous LLMs in multi-agent systems. Traditional text-based messaging imposes runtime overhead and quantization loss, while prior latent-space methods either assume homogeneous models or require expensive pairwise translators that don’t scale. Their key contribution is the Vision Wormhole: a universal visual codec that maps diverse model outputs into a shared latent space, then injects them via the VLM’s visual pathway—bypassing tokenization entirely. This hub-and-spoke design reduces alignment complexity from O(N²) to O(N) and uses teacher-student distillation for label-free training, enabling plug-and-play integration across model families like Qwen-VL and Gemma while preserving reasoning fidelity and cutting wall-clock time.

Dataset

  • The authors use nine benchmark datasets spanning math/science reasoning (GSM8K, AIME 2024/2025, GPQA, MedQA), commonsense reasoning (ARC-Easy, ARC-Challenge), and code generation (MBPP-Plus, HumanEval-Plus), evaluating with accuracy or pass@1 as appropriate.

  • For codec training, they construct anchor corpora from three sources: cos_e, OpenCodeReasoning, and PRM800K. The default setting uses 1,000 examples per source (3,000 total); a weakly supervised variant uses 30 per source (90 total). Anchors are shuffled with a fixed seed and loaded via streaming to avoid full materialization.

  • At training time, they sample mini-batches of size 2 uniformly at random across 400 optimization steps (800 total draws), yielding ~0.27x coverage for the default setting and ~8.9x for the weakly supervised variant.

  • The codec architecture uses 6 transformer layers, 8 attention heads, dropout 0.10, and maps latent states to a fixed 512-dim space with 1024 universal tokens and 256 image-side injection tokens. Training uses AdamW (lr=2e-4), with a loss combining hidden-state MSE (weight 1.0), KL-style logit alignment (weight 0.25), and injection-statistics regularization (weight 0.1).

  • For multi-model inference, they merge per-model codecs via closed-form ridge regression to align universal spaces — avoiding end-to-end retraining — and keep architecture, optimizer, and sampling strategy fixed across variants.

  • The model uses frozen off-the-shelf backbones (Qwen, Google Gamma, SmolVLM2, LFM2.5-VL) in heterogeneous MAS setups, alternating roles (Planner → Critic → Refiner → Judger) across 2 or 4 models. Vision Wormhole encodes reasoning traces into visual tokens injected via the vision pathway, enforcing bounded bandwidth and fixed latent-step budget.

  • Baseline comparisons are against TextMAS (text-mediated communication) under identical roles and prompts; other latent methods (Cache-to-Cache, LatentMAS) were unstable under their heterogeneous backbones and excluded from main results.

Method

The authors leverage a novel latent communication framework called the Vision Wormhole, which enables heterogeneous vision-language models (VLMs) to exchange continuous semantic messages via their image-token spans—without modifying backbone parameters or requiring text-based intermediaries. The architecture is modular, comprising three stages: per-agent codec training, cross-model affine alignment, and inference-time message passing—all designed to preserve the frozen VLM’s semantic fidelity while enabling high-bandwidth, bounded-cost inter-agent communication.

Refer to the framework diagram, which contrasts the Vision Wormhole with prior approaches such as text-based messaging, pairwise latent bridges, and homogeneous latent MAS. The Vision Wormhole uniquely combines cross-family compatibility, training-free inference, and modularity by repurposing the VLM’s native visual interface as a continuous prompt channel.

In the first stage, each agent’s codec is trained independently via label-free self-distillation. Given an anchor text message mmm, the frozen VLM backbone generates a latent rollout HiRT×diH_i \in \mathbb{R}^{T \times d_i}HiRT×di by iteratively feeding back norm-calibrated pseudo-token embeddings derived from hidden states, using cached attention context. This rollout serves as a compact, continuous summary of the agent’s internal reasoning state. The encoder Ei\mathcal{E}_iEi, implemented as a Perceiver-style resampler, compresses HiH_iHi into Ku=K+2K_u = K + 2Ku=K+2 universal tokens UiRKu×DU_i \in \mathbb{R}^{K_u \times D}UiRKu×D, where KKK tokens encode semantics and two special tokens capture global and style statistics. The decoder Di\mathcal{D}_iDi then maps UiU_iUi to a vision-span perturbation ΔiRKimg×di\Delta_i \in \mathbb{R}^{K_{\mathrm{img}} \times d_i}ΔiRKimg×di and a scalar gate gi(0,1)g_i \in (0,1)gi(0,1), which modulates injection strength. The perturbation is written residually into the agent’s image-token span relative to a fixed dummy-image baseline Xˉimg(i)\bar{X}_{\mathrm{img}}^{(i)}Xˉimg(i):

Ximg(i)=Xˉimg(i)+giResample(Δi;Limg(i))X_{\mathrm{img}}^{(i)} = \bar{X}_{\mathrm{img}}^{(i)} + g_i \cdot \mathrm{Resample}(\Delta_i; L_{\mathrm{img}}^{(i)})Ximg(i)=Xˉimg(i)+giResample(Δi;Limg(i))

Training minimizes a distillation loss that aligns the student (vision-injected) hidden state and next-token logits with the teacher (text-injected) outputs, while also regularizing the RMS magnitude of the injected perturbation to remain near the visual embedding manifold.

In the second stage, the authors align codecs across heterogeneous agents using a hub-and-spoke affine mapping strategy. Instead of training O(N2)O(N^2)O(N2) pairwise adapters, each agent learns two lightweight affine transforms—AioutA_i^{\mathrm{out}}Aiout to map its universal tokens into a shared reference space U\mathcal{U}U, and AiinA_i^{\mathrm{in}}Aiin to map back. These maps are fitted via ridge regression on a small set of anchor texts, leveraging the fact that the encoder already compresses messages into a structured, low-dimensional token set that is amenable to linear alignment. The affine maps are defined as:

Uref=Aiout(Ui)=UiWiout+1(biout),Ui=Aiin(Uref)=UrefWiin+1(biin),\begin{array}{r} U^{\mathrm{ref}} = A_i^{\mathrm{out}}(U_i) = U_i W_i^{\mathrm{out}} + \mathbf{1} (b_i^{\mathrm{out}})^\top, \\ U_i = A_i^{\mathrm{in}}(U^{\mathrm{ref}}) = U^{\mathrm{ref}} W_i^{\mathrm{in}} + \mathbf{1} (b_i^{\mathrm{in}})^\top, \end{array}Uref=Aiout(Ui)=UiWiout+1(biout),Ui=Aiin(Uref)=UrefWiin+1(biin),

where Wiout,WiinRD×DW_i^{\mathrm{out}}, W_i^{\mathrm{in}} \in \mathbb{R}^{D \times D}Wiout,WiinRD×D and biout,biinRDb_i^{\mathrm{out}}, b_i^{\mathrm{in}} \in \mathbb{R}^{D}biout,biinRD.

As shown in the figure below, the inference pipeline operates entirely in the reference universal space. During collaboration, a sender agent extracts a latent rollout, encodes it into universal tokens, and maps them to the reference space via AsoutA_s^{\mathrm{out}}Asout. The receiver agent maps the tokens back via AiinA_i^{\mathrm{in}}Aiin, decodes them into a vision-span perturbation, and injects it into its image-token span. Memory aggregation concatenates multiple received messages along the token dimension before decoding, ensuring bounded communication cost regardless of message verbosity. The final agent emits the natural-language answer, while intermediate roles only produce latent rollouts.

This design enables plug-and-play inference across model families, avoids pairwise training overhead, and exploits the VLM’s pre-trained capacity to interpret continuous visual embeddings as semantic context—thereby transforming the image-token span into a high-fidelity, modality-agnostic communication channel.

Experiment

  • Vision Wormhole (VW) consistently accelerates inference and often improves accuracy over TextMAS across heterogeneous multi-agent setups, with macro-average gains of +6.3pp accuracy and 1.87x speedup.
  • Strongest improvements occur in code generation tasks, where VW delivers +13.2pp accuracy gains alongside 1.21x speedup, though performance varies by role assignment and backbone pairing.
  • Under weak supervision (fewer than 100 anchor texts), VW maintains robust performance with +6.5pp accuracy gain and 2.67x speedup, confirming the visual interface’s effectiveness as a continuous communication port.
  • Compared to single-agent baselines, VW better preserves strong-model performance while enhancing weaker models, indicating reduced cross-role interference from bounded latent communication.
  • In mid-sized models (4B–12B), VW achieves high speedups (5.92x macro-average, exceeding 10x on some tasks) but shows accuracy drops on complex tasks, suggesting default bandwidth limits for stronger backbones.
  • Runtime analysis reveals VW produces faster, more stable inference with tighter latency distributions, as fixed visual token spans reduce variability inherent in variable-length text messaging.
  • These efficiency and stability benefits persist across main, weakly supervised, and mid-sized settings, supporting VW’s adaptability and robustness under diverse conditions.

The authors use Vision Wormhole to replace text-based communication in multi-agent systems, observing consistent speedups across datasets while maintaining or improving accuracy in most cases. Results show that the visual interface reduces runtime variability and enables efficient collaboration, especially for code generation tasks, though accuracy can degrade on complex reasoning benchmarks when using larger models under fixed communication bandwidth. The approach proves robust under weak supervision and helps preserve strong model performance in heterogeneous teams compared to text-only coordination.

The authors compare single-agent baselines with multi-agent system (MAS) configurations using TextMAS and Vision Wormhole (VW) communication. Results show that VW consistently outperforms TextMAS in preserving or enhancing accuracy relative to single-agent performance, especially for weaker models, while also delivering substantial gains in system efficiency. For stronger models, VW mitigates the accuracy drops typically seen in TextMAS, indicating greater robustness to orchestration effects in heterogeneous agent teams.

The authors compare Vision Wormhole against TextMAS across multiple heterogeneous multi-agent setups, finding that Vision Wormhole consistently reduces inference time while often maintaining or improving accuracy, especially for weaker backbones. Results show that Vision Wormhole better preserves the performance of strong single models in collaborative settings and exhibits more stable runtime behavior due to its bounded communication interface. In larger models, while speedups remain substantial, accuracy can degrade if the fixed communication bandwidth becomes a bottleneck for richer reasoning states.

The authors use Vision Wormhole to replace text-based communication in multi-agent systems, finding it consistently reduces inference time while often improving accuracy across diverse model configurations. Results show the approach is particularly effective for code generation tasks and remains robust even under weak supervision, with speedups up to 2.67x and accuracy gains averaging +6.5pp. However, on larger models with fixed communication bandwidth, accuracy can degrade on complex tasks, suggesting bandwidth must scale with model capacity to maintain performance.

The authors use Vision Wormhole to replace text-based communication in multi-agent systems, observing that it consistently reduces inference time while often improving accuracy across diverse model pairings. Results show that performance gains vary by task and model strength, with stronger backbones sometimes experiencing accuracy tradeoffs under fixed communication bandwidth. The method proves robust under weak supervision and maintains more stable runtime distributions compared to text-based exchange.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp