arXiv:2609.08283cs.CVSep 2026

Manuscript Offprint

arXiv:2609.08283

MARS-CLIP: Multi-Resolution and Attention Refined Zero-Shot Image Segmentation

Nagito Saito, Shintaro Ito, Koichi Ito, Takafumi Aoki

ABSTRACT

Contrastive Language-Image Pre-training (CLIP) has demonstrated impressive capabilities in zero-shot transfer but often struggles with dense prediction tasks due to low spatial resolution and the loss of structural information. To address these limitations, we propose MARS-CLIP (Multi-resolution and Attention Refined Segmentation for CLIP), a novel framework for zero-shot semantic segmentation. Our approach introduces two key strategies: (i) a multi-resolution feature extraction module that fuses local fine-grained features with global context to overcome input resolution constraints, and (ii) an attention refinement mechanism that injects spatial and color biases from intermediate layers into the final self-attention block to accurately restore object boundaries. A set of experiments on six public datasets demonstrates that MARS-CLIP significantly outperforms state-of-the-art methods.

Index Terms— zero-shot semantic segmentation, CLIP, vision-language models, multi-resolution, attention mechanism

1. INTRODUCTION

Image segmentation, which performs pixel-level object identification and classification, serves as a foundational technology for autonomous driving [1], medical image analysis [2,3], and quality control [4,5]. In recent years, deep learning-based methods [6–8] have become the major approach due to their robustness and high accuracy; however, they require large-scale datasets with dense pixel-level annotations. Consequently, extending these methods to recognize unseen classes beyond the training data requires additional annotation and model retraining, resulting in prohibitive time and labor costs.

To address this challenge, zero-shot image segmentation methods [9–11], which can recognize unseen classes based on text descriptions, have attracted significant attention. Most of these methods leverage Contrastive Language-Image Pre-Training (CLIP) [12] to achieve segmentation by exploiting the similarity between image and text in a shared feature space. However, CLIP is inherently designed to capture global representations of an entire image and is not optimized for preserving local, pixel-level details. Therefore, applying CLIP to dense prediction tasks presents two fundamental challenges that remain to be solved. The first challenge is the insufficient spatial resolution. Since the feature maps output by the CLIP image encoder are of a fixed low resolution, existing methods such as MaskCLIP [9] and SCLIP [13] often fail to detect tiny objects or accurately delineate complex boundaries. The second challenge is the loss of spatial structural information. Although SCLIP [13] improved spatial consistency by introducing a self-attention mechanism based on Key-Key similarity in the final layer, semantic abstraction in deep ViT layers inevitably dilutes the original shape information. Spatial layouts preserved in intermediate layers and low-

level features like edges and colors are not fully utilized, often leading to ambiguous segmentation results.

In this paper, we propose MARS-CLIP (Multi-resolution and Attention Refined Segmentation for CLIP), a zero-shot segmentation framework capable of accurately recognizing fine image details through high-definition feature extraction by multi-resolution inputs and attention map refinement using low-level features. The main contributions of this work are summarized as follows: First, we introduce a multi-resolution strategy. By partitioning the input image into local grid patches for encoding, we circumvent input resolution limitations. These detailed local features are then adaptively fused with global features extracted from the entire image to obtain high-resolution feature maps that preserve context. Second, we propose a refined attention mechanism by bias injection. In contrast to the standard Key-Key correlation used in SCLIP [13], we inject spatial biases from intermediate layers and color affinity biases, which capture sharp object boundaries, into the attention mechanism. Furthermore, by eliminating residual connections and feed-forward networks in the final layer, we reduce noise and achieve a balance between semantic consistency and spatial fidelity. We demonstrate the effectiveness of our proposed method through a set of experiments on PASCAL VOC 2012 [14], PASCAL Context [15], ADE20K [16], Cityscapes [17], COCO-Object [18], and COCO-Stuff [19], showing significant improvements over state-of-the-art methods.

References (29)