Abstract
Traditionally, image compression has been optimized for human perception, often at the expense of machine vision performance. This paper introduces Multi-Path Aggregation (MPA), a unified image coding architecture that bridges this gap. By utilizing a lightweight predictor to route features through task-specific paths within a Vision Transformer (ViT) framework, the proposed model achieves state-of-the-art performance across both human-centric and machine-centric tasks. Remarkably, the system supports new vision objectives with as little as 1.89% additional parameters, offering a highly efficient solution for modern multi-purpose vision systems.
The Challenge of Joint Human-Machine Vision
As AI-driven analysis becomes as prevalent as human viewing, image coding must evolve. Standard compression techniques focus on high fidelity (PSNR) or perceptual realism (LPIPS). However, machine vision models for tasks like object detection or semantic segmentation often require different feature sets than those prioritized by the human eye.
Existing paradigms generally fall into two categories: separate encoder-decoder pairs for every task, which is storage-inefficient, or unified representations that attempt to optimize for all objectives simultaneously. The latter often results in a "jack of all trades, master of none" scenario where performance is compromised for both humans and machines.
Multi-Path Aggregation (MPA) Architecture
The core innovation is the Multi-Path Aggregation (MPA) module, integrated into a ViT-based compression backbone (such as TinyLIC). Instead of a standard single-path MLP, the authors introduce parallel processing routes:
- Main Path: Captures generalized features optimized for perceptual quality.
- Side Paths: Tailored for specific objectives like MSE, classification, or segmentation.
- Importance Score Predictor: A lightweight sub-network that generates a binarized mask to decide which features are routed to the main path and which require task-specific refinement in the side paths.
Two-Stage Optimization
To avoid optimization conflicts, the model is trained in two stages. First, a base model is optimized for perceptual quality using GAN-based losses. Second, the base model is frozen, and only the side paths and importance predictor are fine-tuned for specific machine tasks. This strategy prevents "catastrophic forgetting" and ensures that the perceptual foundation remains intact.
Experimental Results
The model was evaluated using standard benchmarks including Kodak and CLIC for human vision, and ImageNet-1K and ADE20K for machine vision tasks.
- Efficiency: The MPA-unified model requires only a tiny fraction of additional parameters (1.89%) to adapt to complex tasks like semantic segmentation.
- Performance: It achieves Rate-Distortion (R-D) and Rate-Perception (R-P) performance comparable to single-task SOTA models. On ImageNet-1K, classification accuracy was nearly identical to fully fine-tuned, task-specific models, significantly outperforming traditional unified approaches.
- Versatility: The "all-in-one" design allows the system to switch between human-oriented reconstruction and machine-oriented analysis by simply toggling a task index, without altering the underlying bitstream.
Conclusion and Future Work
Multi-Path Aggregation demonstrates that feature importance is task-specific and that a perceptually optimized base can serve as a powerful foundation for machine vision. While the current implementation faces some latency challenges due to feature reassembly operations, it represents a significant step toward efficient, multi-purpose image coding. Future research will focus on developing specialized hardware operators to reduce inference time and further unifying the training process across multiple paths.
Summary updated