Collaborative Edge-to-Server Inference for Vision-Language Models

Soochang Song, Yongjune KimarXiv 2025 · DOI

Introduction

Vision-Language Models (VLMs), such as LLaVA, have demonstrated remarkable capabilities in visual reasoning and question answering. However, their significant computational requirements pose a challenge for deployment on resource-constrained edge devices like smartphones or IoT sensors. While offloading inference to a server is a common solution, it introduces a "resolution dilemma": low-resolution images save bandwidth but sacrifice accuracy on fine-grained details, whereas high-resolution images incur prohibitive communication costs and latency.

Proposed Framework: Two-Stage Collaborative Inference

To address this, we propose a two-stage collaborative framework that optimizes communication by transmitting high-resolution data only when necessary. This method maintains the low bandwidth footprint of a low-resolution system while achieving the accuracy of high-resolution processing.

Overview of the two-stage collaborative inference framework, illustrating the transition from global inference to refined local inference based on entropy thresholds.

Stage 1: Global Inference and Uncertainty Estimation

In the first stage, the edge device transmits a low-resolution "global" image and the text query to the server. The server performs an initial inference and calculates the min-entropy of the generated tokens. Min-entropy serves as a robust confidence measure; high entropy indicates that the model lacks sufficient visual detail to provide a reliable answer and is likely guessing.

Stage 2: Attention-Guided Cropping (ViCrop)

If the uncertainty exceeds a predefined threshold, the server initiates a second stage. Rather than requesting the entire high-resolution image, the server leverages its internal attention maps to identify a Region of Interest (RoI). Even when a VLM produces an incorrect answer due to blurriness, its internal attention mechanisms typically gravitate toward the correct region of the image.

Visualization of the attention map and the derived bounding box used for targeted image cropping.

The server transmits the RoI coordinates back to the edge device, which then crops and sends only that specific high-resolution patch. The server performs a final inference by augmenting the global visual tokens with these high-resolution local tokens to produce a refined result.

Experimental Results

The framework was evaluated on major VLM benchmarks including TextVQA, POPE, and GQA using models like LLaVA-1.5 and Qwen2.5-VL. Key findings include:

  • Communication Efficiency: On the TextVQA benchmark, the method achieved accuracy comparable to full high-resolution transmission while reducing additional communication costs by 40%.
  • Reliable Triggers: Min-entropy proved superior to Shannon entropy and probability margin in identifying cases where additional visual detail was required.
  • Computational Savings: By limiting the number of visual tokens processed in most cases, the approach also reduces server-side computational overhead, as LLM decoder costs scale linearly with token count.
  • Compression Synergy: When combined with standard JPEG compression, the communication cost was reduced to 0.25 relative to the baseline while maintaining high task accuracy.

Conclusion and Future Work

This collaborative approach effectively bridges the gap between edge constraints and the high-resolution requirements of modern VLMs. By intelligently selecting "when" and "where" to request more data, the system achieves high accuracy with a minimal bandwidth footprint. Future research will explore multi-client environments and adaptive thresholds that respond to real-time network congestion or battery levels on edge devices.

Summary updated

BibTeX
@misc{song2025collaborative,
  author = {Soochang Song and Yongjune Kim},
  title = {{Collaborative Edge-to-Server Inference for Vision-Language Models}},
  year = {2025},
  eprint = {2512.16349},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.16349},
}
Figure