Next Article in Journal
Lightweight Visual Localization of Steel Surface Defects for Autonomous Inspection Robots Based on Improved YOLOv10n
Previous Article in Journal
3D Vision-Guided Adaptive 3D Ultrasonic Scanning for Robotic Arms: Nondestructive Testing of Aerospace Components
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hierarchical Compositional Alignment for Zero-Shot Part-Level Segmentation

1
School of Automation Science and Engineering, South China University of Technology, Guangzhou 510640, China
2
School of Automation, Hangzhou Dianzi University, Hangzhou 310018, China
*
Authors to whom correspondence should be addressed.
Sensors 2026, 26(7), 2130; https://doi.org/10.3390/s26072130
Submission received: 19 January 2026 / Revised: 22 February 2026 / Accepted: 9 March 2026 / Published: 30 March 2026
(This article belongs to the Section Sensors and Robotics)

Abstract

In robotic fine-grained tasks (e.g., grasping and assembly), precise interaction requires a detailed understanding of object components. While Visual Language Models (VLMs) excel at object-level recognition, they struggle with part-level segmentation (e.g., knife handles), limiting performance in complex scenarios. VLMs face three key challenges: (1) Visual granularity mismatch—object-level features lack part-level details; (2) Semantic hierarchy gaps—parts and objects differ significantly in semantics; (3) Cross-modal bias—CLIP’s text–image alignment favors global over local features. To address these, we propose a one-stage VLM-based part segmentation method. First, the Hierarchy-Aware Feature Selection mechanism analyzes Transformer features in different hierarchies to enhance spatial and semantic precision for part segmentation. Second, the Multi-Hierarchy Feature Adapter bridges object-to-part feature granularity via the hierarchical adaptation. Finally, the Hierarchical Multimodal Alignment Module harmonizes classification accuracy and mask integrity via hierarchical alignment of vision–language, mitigating the bias of CLIP’s object-level priori knowledge. Experiments show the proposed method improves part segmentation performance for Zero-Shot, achieving 25.86% on Pascal-Part and 13.09% on ADE20K-Part (gains of +0.81% hIoU and +2.96% hIoU over baseline). This work advances robotic visual perception, with applications in intelligent manufacturing and intelligent service.

1. Introduction

An embodied intelligent agent is an interactive system that communicates with humans through its perceptual capabilities, interacts with the environment, makes decisions, and takes actions using human-like working and reasoning methods [1]. Object-level visual tasks currently limit an agent’s environmental perception, consequently impairing its decision-making and actions. In such tasks, agents can only recognize whole objects rather than parts. Part-aware perception becomes critical in operational scenarios—for instance, when preparing food, we rely on specific parts of utensils (e.g., a knife’s handle is used for the robot to cut vegetables, or a spatula’s handle is convenient for the robot to stir). Thus, the ability to recognize and reason about object parts is essential for an agent’s perceptual system, holding significant application value in industrial domains, particularly robotics [2,3,4,5].
However, part-level semantic segmentation requires large-scale datasets with detailed part annotations. While existing public datasets like ADE20K-Part [6], Pascal-Part [7] provide such annotations, they suffer from two critical limitations: (1) the covered object categories remain significantly limited compared to real-world diversity, and (2) the part taxonomy becomes inherently more complex, as each object typically comprises multiple constituent parts. Therefore, when applying models trained on public datasets for testing, they inevitably encounter unseen part categories. To address this challenge, researchers have proposed a new paradigm called Zero-Shot Semantic Segmentation (ZSS) [8,9,10,11]. This paradigm trains models on seen classes, enabling them to generalize to unseen classes effectively. The rapid development of Zero-Shot semantic segmentation has benefited from advances in Open Vocabulary Semantic Segmentation (OVSS) [12,13,14,15,16], particularly through visual language models (VLMs) like CLIP [17].
Despite OVSS excelling at object-level tasks, it faces additional challenges at the part level [3]. Parts exhibit more complex structures than objects, typically featuring intricate boundaries and greater appearance variations. Moreover, compared to objects, annotated training data for part segmentation remains significantly scarce [6,7]. The open-vocabulary setting introduces further challenges that need to be addressed. While objects are typically well-defined entities with clear boundaries, parts exhibit flexible granularity, introducing open-granularity challenges rarely seen in object-level OVSS [12]. Furthermore, prevailing large-scale VLMs are pre-trained on natural image–text pairs emphasizing object-level concepts, inherently limiting their part recognition capability [18].
Considering the aforementioned challenges, we address the OVSS problem for complex part datasets by leveraging the shared semantic features of common object parts to classify parts of unseen objects. Across different objects, parts such as the legs, torso, and head of quadrupedal animals (e.g., cats, dogs, and elephants) exhibit similar semantic characteristics. Within the same object category, taking quadrupedal animals as an example, their forelegs, hind legs, left legs, and right legs also demonstrate comparable semantic features. Therefore, we leverage this part-level semantic feature similarity to enhance data efficiency in part-based OVSS. Our findings demonstrate that the semantic features extracted by models significantly influence their part-level OVSS capability. To address the lack of part-aware feature extraction in pre-trained models, we propose the Multi-Hierarchy Feature Adapter (MHFA) that shifts the model’s attention from object-level to part-level representations. Within our one-stage segmentation framework, we investigate the Hierarchical Multimodal Alignment Module (HMAM) to enable textual features to guide part segmentation. Furthermore, we evaluate the Zero-Shot part segmentation performance on both Pascal-Part and ADE20K-Part datasets.
This work proposes a one-stage VLM-based segmentation approach that systematically addresses three core challenges in part segmentation. First, the Hierarchy-Aware Feature Selection (HAFS) mechanism effectively bridges the visual granularity gap between object-level and part-level representations. Second, the Multi-Hierarchy Feature Adapter (MHFA) enables progressive cross-granularity feature transformation through an adapter mechanism. Finally, the proposed Hierarchical Multimodal Alignment Module (HMAM) rectifies CLIP’s global alignment bias. This approach enhances fine-grained segmentation performance while preserving VLM’s Zero-Shot capabilities, offering a novel technical solution for applications requiring part-level understanding, such as robotic precision manipulation.

2. Related Works

2.1. Multi-Hierarchy Feature Fusion

Multi-scale features have been widely demonstrated to significantly enhance performance in object-level segmentation and detection tasks [19,20]. The commonly used multi-hierarchy feature fusion methods include Unet [21,22,23], ADD [24], FPN [25,26], and Attention [18,21,27], among others. VLPart [18] employs FPN (Feature Pyramid Network) to fuse features from the third, sixth, and ninth layers of ResNet. CLIPSeg [28] adopts a direct concatenation approach to integrate features from the third, sixth, and seventh layers of its Transformer architecture [29]. Atlas [30] utilizes cross-attention mechanisms to enable effective information exchange across multiple windows and hierarchy. SegLD [31] implements a diffusion model as its image encoder, where the noise-adding and denoising processes inherently fuse multi-hierarchy features through the U-Net structure to generate comprehensive image representations. This study investigates the impact of multi-scale feature fusion on part segmentation performance.

2.2. Multi-Modal Feature Alignment

In vision–language model research, multimodal alignment has proven to be critically important, as it enhances model performance on various cross-modal downstream tasks, including semantic segmentation, object detection, and classification. For classification tasks, both CLIP and ZegFormer employ contrastive learning to align text and image embeddings, though they derive image embeddings from different sources. CLIP [17] is a dual-encoder model with a Vision Transformer image encoder and a Transformer text encoder, pre-trained contrastively on 400M image–text pairs to align images and texts in a shared embedding space. In semantic segmentation, CLIPSeg [28] introduces the Feature-level Image–text Mutual Integration (FIMI) module to fuse multimodal features through multiplicative and additive operations between the two modalities.
Hierarchical Open-vocabulary Universal Image Segmentation [32] utilizes Bi-cross-Attention to effectively fuse text and image features through bidirectional cross-modal interaction. Meanwhile, both ZegCLIP [33] and ZegOT [34] generate Relationship Descriptors by performing element-wise multiplication between global visual embeddings and text embeddings, followed by concatenation with the original text embeddings, which are then integrated with image features via cross-attention mechanisms. In contrast, Fusioner [35] adopts a distinct approach where image features and text embeddings are first concatenated before undergoing self-attention computation through Transformer layers. Building upon these diverse methodologies, this work systematically investigates various text–image alignment strategies to identify the most effective approach for multi-scale feature–text fusion in part segmentation tasks, with particular emphasis on optimizing the alignment between hierarchical visual features and linguistic representations.

2.3. Semantic Segmentation of Vision–Language Models

In VLMs based semantic segmentation, existing approaches can be broadly categorized into one-stage and two-stage paradigms. Two-stage models typically consist of: (1) a proposal generation stage for extracting region candidates, followed by (2) a classification prediction stage for category assignment and segmentation refinement [13,18,36]. In two-stage models, the proposal generation stage predominantly incorporates MaskFormer-based architectures, as exemplified by ZSeg, VLPart, and PartSeg. Furthermore, certain two-stage variants [37] build upon the Segment Anything Model (SAM); while SAM inherently generates category-agnostic masks, these approaches append a subsequent category prediction stage to assign class labels to the produced masks. The category prediction stage performs similarity computation between the image features extracted during the proposal generation stage and the text features to determine the class labels for corresponding regions. Alternatively, some two-stage models [15] employ diffusion models to simultaneously generate both segmentation masks and their corresponding mask embeddings, which are subsequently fed into a text classifier for category prediction. Notably, SAM-CLIP [38] adopts a cascaded approach where CLIP first produces coarse masks serving as prompts for SAM, which then refines these masks through its sophisticated decoding architecture.
One-stage models are end-to-end architectures that directly generate category-aware masks [28,33]. In CLIPSeg [28], the output masks inherently contain class information, typically represented through different channels in the final output layer, where each channel corresponds to a specific category, and pixels belonging to the same class are grouped within the same channel. Unlike two-stage approaches that perform regional similarity computation, one-stage models calculate feature similarity between the entire image’s visual features and text embeddings globally. ZegCLIP [33] enhances CLIP’s architecture through Deep Prompt Tuning, which strategically optimizes the image encoder while preserving CLIP’s generalized representation capabilities. This adaptation produces image features better suited for semantic segmentation tasks. The model then generates class-specific masks by performing Multi-Head Attention via alignment information between class token embedding of the image encoder, text embedding as the Query, and the image features after Deep Prompt Tuning as the Key and Value.
The field of vision–language segmentation has evolved beyond traditional one-stage and two-stage models to include hybrid architectures. OVSeg [39] employs a three-stage framework. The process first utilizes MaskFormer to generate class-agnostic mask proposals and their corresponding embeddings, then it crops the original image based on these proposals to obtain region-specific sub-images. The final stage computes dual similarity measures between text embeddings and both the cropped sub-images and mask proposals, combining these through a learned weighting mechanism to produce the final classification results.
The two-stage model’s reliance on class-agnostic proposal networks presents fundamental limitations for open-granularity scenarios, as these proposal networks are typically trained on predefined part categories. Furthermore, mask proposal models demonstrate a strong tendency to overfit to their training data, significantly compromising their Zero-Shot generalization capability. These critical shortcomings motivate our adoption of a one-stage architecture for Zero-Shot part segmentation tasks.

3. Methods

Figure 1 illustrates the framework of Hierarchy-Aware Vision–Language Alignment for Zero-Shot Part Segmentation, which mainly comprises three core components: Hierarchy-Aware Feature Selection (HAFS), Multi-Hierarchy Feature Adapter (MHFA) and Hierarchical Multimodal Alignment Module (HMAM). HAFS utilizes attention scores to analyze different hierarchical features from the Clip Image Encoder, exploring where multi-grained features pay greater attention to details. MHFA employs an adapter to fine-tune the parameters of the Clip Encoder, extracting suitable features for part-level segmentation. HMAM aligns image features at different hierarchical levels with text embeddings, respectively, and fuses these multi-level features to ensure both classification accuracy and shape integrity of the masks.

3.1. Hierarchy-Aware Feature Selection

Inspired by CLIPSeg [28] and OVseg [12], we posit that different hierarchical feature layers in a Transformer encoder capture distinct levels of visual detail. The image encoder adopts a ViT architecture comprising 12 blocks, consistent with CLIPSeg. While object-level tasks typically utilize features from the final (12th) block, we find this approach insufficient for part-level segmentation, leading to significantly degraded performance. To address this, we propose a Hierarchy-Aware Feature Selection (HAFS) module that identifies optimal feature representations by analyzing attention scores across different layers. Specifically, HAFS analyzes the self-attention maps (Equation (1)) generated across transformer blocks. These maps, derived from the SoftMax-normalized dot products of queries and keys (Equation (2)), reveal how the model allocates its focus across spatial dimensions. Higher scores within an attention map indicate the model’s stronger focus on the corresponding spatial features. Our method leverages this by extracting a set of positionally aware, multi-level features from these attention-rich regions, which are critically important for segmenting fine-grained parts.
Attention ( Q , K , V ) = softmax ( Q K T d k ) V
A t t e n t i o n S c o r e = s o f t m a x ( Q K T d k )
where Q (Query), K (Key), and V (Value) are the input matrices of the self-attention mechanism, K T denotes the transpose of K, and d k is the dimensionality of the key vectors.
The attention maps visualized from different transformer layers (Figure 2) reveal distinct patterns that delineate the feature learning progression. In the shallowest layers, attention maps exhibit pronounced diagonal patterns, indicating a strong local and self-referential processing bias where tokens primarily attend to themselves and their immediate neighbors. In intermediate layers (e.g., layers 2–4), these patterns evolve into diffused and branched diagonal structures, signifying an expansion of receptive fields and the integration of contextual information from a broader neighborhood. In the deepest layers, the attention converges onto a few select tokens, manifested as vertical stripes in the attention maps. This pattern indicates a reduced dependence on the query token’s own position and reflects a global, task-specific feature integration.

3.2. Multi-Hierarchy Feature Adapter

To fully harness the pre-trained knowledge of CLIP for open-vocabulary part segmentation, we propose a Multi-Hierarchy Feature Adapter (MHFA). The MHFA employs a progressive feature transformation mechanism that incrementally refines CLIP’s general-purpose, object-level features into discriminative, part-aware representations. As established in Section 3.1, features from different transformer layers exhibit significant differences in semantic granularity: shallow layers capture rich spatial details conducive to part localization, while deeper layers encode high-level semantic information beneficial for part recognition. By explicitly modeling and adapting these hierarchical features, the MHFA enables the coordinated optimization of multi-granularity visual representations, thereby establishing a robust feature foundation for precise part segmentation.
The input to MHFA consists of a sequence of multi-hierarchy features from HAFS, denoted as F = [ F 1 , F 2 , , F L ] , where each feature map as F l R n × d is extracted from the l-th layer of the CLIP’s image encoder. Here, n represents the number of patches (including the [CLS] token), and d is the feature dimension. MHFA is essentially an Adapter operation—a parameter-efficient fine-tuning technique—therefore, it maintains consistent input and output dimensions and facilitates the transfer of object features to part features. However, since the final output of the model is masks, a Repeat operation is added after the Adapter to ensure that each category has a corresponding mask. The module outputs a corresponding sequence of enriched features A = [ A 1 , A 2 , , A L ] , where each A l R E × n × d incorporates enhanced part-level information, and E denotes the number of part categories. Notably, the linear layer parameters within the MHFA are shared across all feature scales, promoting generalization and efficiency. The output features A l are thus specifically optimized for part segmentation.
Building on the complementary nature of visual features, where shallow layers provide rich local details and deep layers encode robust global semantics, we introduce the Multi-Hierarchy Feature Adapter (MHFA) to progressively refine features from an object-level to a part-level representation. The MHFA employs linear layers to adapt general-purpose CLIP features for part-aware tasks. A key component is an α modulation factor, which selectively enhances part-specific features while preserving CLIP’s valuable prior knowledge. The MHFA process can be formally represented as follows:
A l = R e p e a t ( α 1 L i n e a r ( L i n e a r ( F l ) ) + α 2 F l )

3.3. Text Encoder

Human communication is inherently contextual, relying on natural and situational language. For instance, a person is more likely to say, “Could you pass me the mug?” than to issue a direct action command like, “Please grab the handle of the mug.” Therefore, for effective human–robot interaction, it is essential for robots to comprehend such contextual commands and accurately identify the relevant objects and their constituent parts to execute the intended task. To bridge this semantic gap, we leverage a Large Language Model (LLM) to parse natural language instructions and extract structured information—specifically, the target objects and their associated parts. This process translates high-level human intent into actionable robotic commands. The specific prompt template designed to guide the LLM in this extraction task is detailed in Table 1.
In open-vocabulary tasks, we observe that while adapters can effectively refine image features, applying them to CLIP’s text encoder risks degrading its valuable object-level prior knowledge, as the encoder is pre-trained specifically on object-level concepts. Consequently, we preserve the integrity of CLIP’s original text encoder without introducing any fine-tuning or adapters. This design is crucial because CLIP’s contrastive learning aligns text features primarily with global, final-layer image features. As a result, these textual representations possess a strong bias towards global visual patterns and exhibit weaker correlations with local, part-level features. A direct fusion of local image features with these global text embeddings could therefore disrupt the semantic coherence of CLIP’s established alignment.
Therefore, our approach aligns the adapted multi-scale features A l with the text embeddings T e x t instead of directly aligning the original CLIP image features F l with the text. To facilitate this multi-hierarchy feature–text alignment, the adapted visual features A l are projected into a common embedding space. The text embedding extraction process can be formally described as follows, yielding a text feature matrix T R E × J , where E is the number of part categories and J is the feature dimension:
T = R e p e a t ( C L I P T e x t E n c o d e r ( T e x t ) )
where T e x t denotes the input textual prompts.

3.4. Hierarchical Multimodal Alignment Module

To overcome the limitations of CLIP’s object-level priors, we propose a Hierarchical Multimodal Alignment Module (HMAM). The HMAM tackles a fundamental challenge in vision transformers: high-level features are semantically rich but spatially coarse. As shown in Figure 3, the HMAM leverages both cross-attention and self-attention mechanisms to achieve fine-grained image–text alignment. Building on our multi-level feature analysis (Section 3.1), the HMAM implements a hierarchical alignment strategy that simultaneously preserves category discriminability and improves mask coherence.
The core of HMAM is a refined alignment mechanism between textual semantics and multi-level visual features. Unlike CLIPSeg’s modular design, which directly fuses image features before cross-modal interaction, our HMAM employs a β -weighted fusion strategy to integrate textual information with both local and global image features. HMAM introduces critical improvements to this foundation. Specifically, whereas the original modular design first performs additive fusion across image feature scales and then applies cross-modal attention, our HMAM adopts a hierarchical independent alignment strategy. This approach first aligns each level of image features with text features separately through dedicated cross-attention modules, then it performs a β -weighted fusion of the resulting aligned features.
Specifically, HMAM maintains the independence of multi-level visual features, allowing each level to establish precise cross-attention mappings with text features prior to a parameterized weighted fusion. This design preserves the unique characteristics of each feature scale during cross-modal interaction, thereby achieving fine-grained alignment, minimizing feature contamination, and successfully balancing classification accuracy with mask coherence.
The cross-modal alignment in HMAM between text features T and multi-level visual features A is implemented as follows: (1) Element-wise multiplication and addition between projected T and A to establish preliminary correlations. (2) Deep fusion of the interacted features via a Self-Attention mechanism. (3) Normalization of the fused representations. (4) Generation of the final multimodal features C R ( E × n × k ) via a β w e i g h t e d summation of the normalized features from all levels, integrating global semantics with local details. Crucially, a linear projection (with non-shared parameters across levels) is applied to the text features T prior to the element-wise operations. Note that although the dimensions of A and T differ, the dimension d of A can be transformed to J via a L i n e a r ( ) operation, and the aligned features are then passed through the final L N layer in HMAM to reduce the dimension from J to k. The detailed algorithm is summarized below:
C l = L N ( S e l f A t t e n t i o n ( L i n e a r ( A l ) L i n e a r ( T ) + L i n e a r ( T ) ) )
C = β 1 C l + β 2 C ( l + 1 ) + + β L C L

3.5. Part Segmentation Generation

The final part segmentation masks must match the spatial dimensions of the input image ( H × W ) . However, the fused multimodal features C R ( E × n × k ) have a lower resolution, necessitating a post-processing decoder to restore spatial detail. The decoder first projects and reshapes features C , which is C is obtained by removing the [CLS] token from C., then it applies convolutional layers to generate intermediate feature maps M R ( E × n × p × q ) ( k = p × q + 1 ) , and finally, it employs a transposed convolution for upsampling to the target resolution. The final output M R ( E × H × W ) thus matches the input image size, where the channel dimension E corresponds to the number of part categories, with each channel representing the segmentation logits for a specific class. The detailed post-processing pipeline is as follows:
M = C o n v 2 D ( R e s h a p e ( C ) )
M = C o n v T r a n s p o s e 2 D ( C o n v T r a n s p o s e 2 D ( M ) )
To enable effective learning for part segmentation, we optimize our model with a composite loss function that provides dual supervision at both the pixel and category levels. The overall objective L combines a mask-forming loss L M a s k with a semantic alignment loss L C l a s s , formulated as:
L = λ 1 L M a s k + λ 2 L C l a s s
The overall objective L has weights λ 1 = 0.5 and λ 2 = 0.5 . Here, L M a s k is the Binary Cross-Entropy with Logits Loss (BCEWithLogitsLoss), and L C l a s s is the standard Cross-Entropy Loss.

4. Results

The effectiveness of the three proposed modules is rigorously evaluated through comprehensive quantitative and qualitative studies on zero-shot open-vocabulary part segmentation tasks.

4.1. Implementation Details

Our framework is built upon a pre-trained CLIP model whose image and text encoders remain frozen throughout training. Only the proposed modules—the Multi-Hierarchy Feature Adapter (MHFA) and the Hierarchical Multimodal Alignment Module (HMAM)—are trained on the part segmentation datasets (Pascal-Part and ADE20K-Part). Following the zero-shot learning paradigm, we partition the dataset into mutually exclusive sets of seen and unseen part categories for training and testing, respectively. We evaluate model performance using the mean Intersection over Union (mIoU) and the harmonic IoU (hIoU) [9]. The hIoU, which balances the performance on both seen and unseen categories, serves as our primary evaluation metric. All experiments are based on the pre-trained CLIP ViT-B/16 model pre-trained contrastively on 400 M image–text pairs, conducted on a single NVIDIA V100 GPU. The batch size was set to 16 with 512 × 512 as the resolution of the images. We trained the model for 30,000 iterations using a cosine annealing learning rate scheduler. The learning rate decayed from an initial value of 0.0005 to a minimum of 0.000001 over 30,000 iterations.

4.2. Dataset Details

Part segmentation has attracted growing research interest in recent years. Aligned with established zero-shot learning benchmarks [12], we organize a Zero-Shot dataset based on publicly available part segmentation datasets (Pascal-Part and ADE20K-Part). The model is trained on seen images from the Pascal-Part or ADE20K-Part training sets and evaluated on unseen images from both the training and test sets.
Pascal-Part Dataset: This dataset provides detailed part-level mask annotations for 20 object categories, encompassing 116 original part categories. Notably, many part labels in the original dataset contain directional indicators (e.g., “front_wheel” or “rear_wheel” for bicycles). To reduce segmentation complexity and enhance model generalizability, we consolidate these directional variants into unified categories (e.g., a single “wheel” category).
After consolidation, the dataset comprises 8431 training and 850 test images. For our zero-shot evaluation, we partition the categories as shown in Table 2: the training set contains 15 object categories with 74 part categories (seen), while the test set contains 5 object categories with 42 part categories (unseen). Figure 4 illustrates the distribution of these unseen part categories. This consolidation strategy effectively reduces label complexity while preserving core part semantics, thereby facilitating model learning and generalization.
ADE20K-Part Dataset: This dataset offers a broader scope compared to Pascal-Part, encompassing a wider variety of object categories, with a particular emphasis on household items such as cabinets, washing machines, and chairs. We note that while the majority of objects have detailed part-level annotations, a small subset is annotated only at the instance level. These instances are systematically filtered out to ensure the integrity of our part segmentation task.
For the generalized zero-shot part segmentation task, we use 7347 images for training and 1016 for testing. The category split, detailed in Table 2, designates 33 object categories with 176 parts as seen classes for training and 11 object categories with 58 parts as unseen classes for evaluation. The distribution of these unseen part categories (Figure 4) highlights the dataset’s significant compositional diversity, presenting a robust challenge for zero-shot generalization.

4.3. Effect of Hierarchy-Aware Feature Selection

Our analysis reveals that Transformer layers capture distinct spatial features that are crucial for part segmentation. As systematically evaluated in Table 3, the ninth layer consistently outperforms others for both seen and unseen categories. This finding challenges the conventional wisdom in object-level tasks, where final-layer features are typically dominant. Our activation analysis (Figure 5) elucidates this phenomenon: early layers preserve fine-grained spatial details that are crucial for small parts, while deeper layers develop broader contextual understanding. The ninth layer optimally balances these competing demands—local precision and global semantics. Conversely, the final layer’s excessively broad receptive field, though advantageous for object recognition, becomes detrimental in part segmentation as it often blurs boundaries between adjacent objects. These findings underscore the critical importance of task-specific layer selection over the common practice of defaulting to final-layer features. The superior performance of the ninth layer stems from its receptive field size, which aligns well with typical part scales, enabling it to preserve both precise boundaries and semantic coherence.

4.4. Effect of Multi-Hierarchy Feature Adapter

This study investigates multi-scale feature fusion strategies under the constraint of preserving CLIP’s frozen feature extraction pipeline. We systematically evaluate various multi-hierarchy fusion methods, with quantitative comparisons detailed in Table 4. Our proposed Multi-Hierarchy Feature Adapter (MHFA) achieves superior overall performance, particularly on the critical unseen classes and harmonic mean (hIoU) metrics across both datasets. The ablation studies confirm the contribution of each component: MHFA consistently outperforms its variants without the additive operation (denoted as MHA) or the fusion operation (MHF). It is noteworthy that while the MHF variant shows a 3.61% advantage on seen classes within ADE20K-Part, the complete MHFA framework maintains a consistent and decisive advantage in zero-shot generalization, which is the primary objective.
Further investigation into cross-modal alignment using ZegCLIP’s cross-attention mechanism (Table 4) reveals a critical dependency on the choice of visual features. We find that applying cross-attention to shallow features introduces substantial noise into the representation learning, severely degrading segmentation quality—resulting in a 17.79% performance drop on Pascal-Part and a 6.06% performance drop on ADE20K-Part compared to using the optimal ninth-layer features. This underscores that strategic layer selection is paramount; middle layers (e.g., Layer 9) uniquely provide the ideal equilibrium of spatial precision and semantic abstraction required for part segmentation.

4.5. Effect of Hierarchical Multimodal Alignment Module

As quantified in Table 3, features from the 9th block achieve the highest performance, closely followed by those from the 12th block. Although the 3rd and 6th block features generate superior attention maps, they contain insufficient high-level semantics. This semantic deficiency results in misclassification, ultimately compromising the segmentation accuracy. This evidences a clear trade-off: the 9th block features strike an optimal balance, while earlier blocks (3rd, 6th) offer precise localization but lack semantic richness for accurate classification, and deeper blocks (12th) possess strong categorical semantics but coarser spatial details.
Our exploration of feature combinations indicates that integrating the 9th-layer features with those from either the 3rd or 6th layer improves segmentation of seen classes, but at the cost of reduced performance on unseen classes. As shown in Table 5, the combination of features from the 3rd, 6th, and 9th layers yields the highest harmonic mean (hIoU) on both Pascal-Part and ADE20K-Part datasets. Notably, on the more complex ADE20K-Part dataset, this triple-layer combination exhibits a pronounced trade-off: it achieves the best performance for unseen classes while resulting in the lowest accuracy for seen classes. This stark contrast underscores the inherent tension between specializing to known categories and generalizing to novel ones.
We investigate feature fusion strategies within our Hierarchical Multimodal Alignment Module (HMAM) to optimally integrate multi-level features without fine-tuning CLIP. Our systematic evaluation (Table 6) identifies that a fixed-weight scheme—assigning weights of (0.5, 0.3, 0.2) to the aligned features from the 9th, 6th, and 3rd layers, respectively—yields the best performance. Ablation studies confirm the superiority of this fixed strategy over learnable weighting. As detailed in Table 6, learnable weights cause consistent performance drops: on Pascal-Part, they reduce seen-class, unseen-class, and harmonic mIoU by 2.29%, 3.71%, and 4.23%, respectively; on ADE20K-Part, unseen-class and harmonic mIoU decrease by 3.50% and 3.20%.
The effectiveness of the (0.5, 0.3, 0.2) weighting demonstrates a principled hierarchical fusion strategy: the 9th layer contributes dominant semantics, while the 6th and 3rd layers supply complementary contextual and spatial details, respectively. This finding coheres with our layer-wise feature analysis and suggests that a fixed, interpretable weighting successfully captures the intrinsic and complementary roles of different depths, thereby optimizing the fusion for part segmentation without compromising CLIP’s pre-trained representations.

4.6. Comparison Results

We comprehensively evaluate our method on Pascal-Part and ADE20K-Part datasets, comparing it against state-of-the-art text–image models in Table 7. Our method achieves superior performance on Pascal-Part across both seen and unseen categories, demonstrating the efficacy of its two core optimizations for part segmentation: advanced multi-scale feature fusion and hierarchical multimodal alignment.
Notably, our method outperforms the strong baseline CLIPSeg by +0.65% in unseen IoU and +0.81% hIoU for Pascal-Part, and by even larger margins of +3.26% and +2.96% on the respective metrics for the more challenging ADE20K-Part dataset. These consistent gains across datasets, although modest on Pascal-Part, still represent meaningful progress for part-aware modeling [40] and confirm the robustness and generalizability of our targeted optimizations for part segmentation.
We further compare our method with OVPart, a state-of-the-art method that fine-tunes CLIPSeg specifically for part segmentation, on both Pascal-Part and ADE20K-Part datasets (Table 7). This comparison against a strong, task-specific baseline provides a rigorous test of our method’s generalization. Following the standard zero-shot protocol, we trained and evaluated separate models for each dataset.
Our method consistently surpasses OVPart in generalizing to unseen classes, achieving performance gains of 2.61% (unseen) and 2.72% (hIoU) on Pascal-Part, and 1.59% (unseen) and 1.31% (hIoU) on ADE20K-Part. These consistent gains are significant, as they demonstrate our method’s superior generalization capability over a strong, task-specific fine-tuning approach, highlighting the effectiveness of our architectural optimizations in true zero-shot scenarios.

4.7. Ablation Study

Ablation studies on Pascal-Part and ADE20K-Part (Table 8) validate our core design choices for the Hierarchical Multimodal Alignment Module (HMAM) and Multi-Hierarchy Feature Adapter (MHFA), using a CLIPSeg-based setup as the baseline. The results reveal three principal findings:
First, the HMAM is crucial for accurate segmentation, underscoring the necessity of our hierarchical alignment strategy over a simple fusion of features. Second, incorporating a Text Adapter (TA) within the MHFA consistently degrades performance. We attribute this to the corruption of CLIP’s robust textual priors when fine-tuned with limited part-level data, confirming that textual representations are best left frozen. Third, and most critically, the Text Adapter (TA) alone degrades performance, whereas the Image Adapter (IA) delivers substantial performance gains, and adding HMAM on top of the Image Adapter brings further enhancements to segmentation. This validates our hypothesis that part segmentation requires a recalibration of visual features across different hierarchies, a need not adequately met by frozen object-level features. This finding directly confirms the feature selection in HAFS and underscores the fundamental difference from object-level tasks: effective part recognition depends on adaptively leveraging both the fine-grained details from shallow layers and the semantic context from deeper layers.

4.8. Qualitative Results

We perform qualitative analysis on unseen classes from the Pascal-Part and ADE20K-Part test sets to visually validate our method’s zero-shot part segmentation capability, as shown in Figure 6. The figure showcases representative examples where the model generates precise segmentation masks (colored regions) in direct response to diverse textual prompts.
These results demonstrate our model’s proficiency in interpreting natural language commands and accurately localizing the corresponding parts, even within cluttered multi-object scenes. This robust alignment between language and pixel-level perception underscores the model’s strong generalization and highlights its potential for real-world applications requiring fine-grained, language-guided segmentation.

5. Conclusions

The rise of embodied intelligence demands that agents advance from object-level to part-level visual understanding. However, the prowess of Visual Language Models (VLMs) in object recognition does not directly translate to part-level tasks, severely limiting robotic capabilities in complex scenarios. To bridge this gap, we propose a comprehensive framework for open-vocabulary part segmentation. Our contributions are threefold: (1) a Hierarchy-Aware Feature Selection (HAFS) mechanism that identifies optimal feature layers (3rd, 6th, 9th) balancing spatial and semantic information; (2) a Multi-Hierarchy Feature Adapter (MHFA) that progressively transforms object-level features into part-aware representations; and (3) a Hierarchical Multimodal Alignment Module (HMAM) that enables precise comprehension of part-level semantics from language instructions. Extensive experiments on standard benchmarks show that our method achieves hIoU gains of 0.81% on Pascal-Part and 2.96% on ADE20K-Part over strong baselines.
This work also reveals two key limitations: (1) a semantic gap persists as object-level text features (e.g., “door”) are misaligned with part-level visual concepts (e.g., “doorknob”); (2) current prompt engineering is inadequate for expressing intricate part hierarchies and functional relationships (e.g., between a “screwdriver handle” and its “bit”). Future work will pursue function-oriented part understanding, deeply integrating functional semantics with visual features. This direction promises to enable more human-like reasoning in agents, paving the way for embodied systems that achieve genuine part-level environmental comprehension.

Author Contributions

Conceptualization, S.Y.; methodology, S.Y.; formal analysis, S.Y. and X.L.; investigation, X.L.; data curation, Z.X.; writing—original draft preparation, S.Y.; writing—review and editing, S.J., X.L. and W.W.; visualization, S.J.; supervision, X.L. and W.W.; project administration, W.W.; funding acquisition, X.L. and W.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China [Grant Nos. 61573148, 61603358]; the Science and Technology Planning Project of Guangdong Province, China [Grant Nos. 2015B010919007, 2019A050520001]; Zhejiang Provincial Natural Science Foundation of China [Grant No. LQN25F030011]; the Fundamental Research Funds for the Provincial Universities of Zhejiang [Grant No. GK259909299001-033]; and the Fundamental Research Project of Hangzhou Dianzi University [Grant No. KYS065624391].

Informed Consent Statement

Not applicable.

Data Availability Statement

Publicly available datasets were analyzed in this study. The datasets used in this work are ADE20K-Part and Pascal-Part, as described in the cited references. No new data were generated in this study.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Huang, Q.; Wake, N.; Sarkar, B.; Durante, Z.; Gong, R.; Taori, R.; Noda, Y.; Terzopoulos, D.; Kuno, N.; Famoti, A.; et al. Position paper: Agent ai towards a holistic intelligence. arXiv 2024, arXiv:2403.00833. [Google Scholar] [CrossRef]
  2. Guo, D.; Xiang, Y.; Zhao, S.; Zhu, X.; Tomizuka, M.; Ding, M.; Zhan, W. Phygrasp: Generalizing robotic grasping with physics-informed large multimodal models. arXiv 2024, arXiv:2402.16836. [Google Scholar]
  3. Wan, Z.; Xie, Y.; Zhang, C.; Lin, Z.; Wang, Z.; Stepputtis, S.; Ramanan, D.; Sycara, K.P. Instructpart: Affordance-based part segmentation from language instruction. In Proceedings of the AAAI-2024 Workshop on Public Sector LLMs: Algorithmic and Sociotechnical Design; AAAI Press: Washington, DC, USA, 2024. [Google Scholar]
  4. Liao, J.; Zhang, H.; Qian, H.; Meng, Q.; Sun, Y.; Sun, Y.; Song, W.; Zhu, S.; Gu, J. Decision-making in robotic grasping with large language models. In Proceedings of the International Conference on Intelligent Robotics and Applications; Springer: Berlin/Heidelberg, Germany, 2023; pp. 424–433. [Google Scholar]
  5. Wang, Z.; Xia, X.; Chen, Z.; He, X.; Guo, Y.; Gong, M.; Liu, T. Open-vocabulary segmentation with unpaired mask-text supervision. arXiv 2024, arXiv:2402.08960. [Google Scholar]
  6. Zhou, B.; Zhao, H.; Puig, X.; Fidler, S.; Barriuso, A.; Torralba, A. Scene parsing through ade20k dataset. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2017; pp. 633–641. [Google Scholar]
  7. Chen, X.; Mottaghi, R.; Liu, X.; Fidler, S.; Urtasun, R.; Yuille, A. Detect what you can: Detecting and representing objects using holistic models and body parts. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2014; pp. 1971–1978. [Google Scholar]
  8. Zhang, Y.; Guo, M.H.; Wang, M.; Hu, S.M. Exploring regional clues in clip for zero-shot semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2024; pp. 3270–3280. [Google Scholar]
  9. Xian, Y.; Choudhury, S.; He, Y.; Schiele, B.; Akata, Z. Semantic projection network for zero-and few-label semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2019; pp. 8256–8265. [Google Scholar]
  10. Baek, D.; Oh, Y.; Ham, B. Exploiting a joint embedding space for generalized zero-shot semantic segmentation. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: Piscataway, NJ, USA, 2021; pp. 9536–9545. [Google Scholar]
  11. Bucher, M.; Vu, T.H.; Cord, M.; Pérez, P. Zero-shot semantic segmentation. Adv. Neural Inf. Process. Syst. 2019, 32, 468–479. [Google Scholar]
  12. Wei, M.; Yue, X.; Zhang, W.; Kong, S.; Liu, X.; Pang, J. Ov-parts: Towards open-vocabulary part segmentation. Adv. Neural Inf. Process. Syst. 2023, 36, 70094–70114. [Google Scholar]
  13. Cho, S.; Shin, H.; Hong, S.; Arnab, A.; Seo, P.H.; Kim, S. Cat-seg: Cost aggregation for open-vocabulary semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2024; pp. 4113–4123. [Google Scholar]
  14. Ding, J.; Xue, N.; Xia, G.S.; Dai, D. Decoupling zero-shot semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2022; pp. 11583–11592. [Google Scholar]
  15. Xu, J.; Liu, S.; Vahdat, A.; Byeon, W.; Wang, X.; De Mello, S. Open-vocabulary panoptic segmentation with text-to-image diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2023; pp. 2955–2966. [Google Scholar]
  16. Xu, M.; Zhang, Z.; Wei, F.; Lin, Y.; Cao, Y.; Hu, H.; Bai, X. A simple baseline for zero-shot semantic segmentation with pre-trained vision-language model. arXiv 2021, arXiv:2112.14757. [Google Scholar]
  17. Radford, A.; Kim, J.W.; Hallacy, C.; Ramesh, A.; Goh, G.; Agarwal, S.; Sastry, G.; Askell, A.; Mishkin, P.; Clark, J.; et al. Learning transferable visual models from natural language supervision. In Proceedings of the International Conference on Machine Learning; PmLR: Cambridge, MA, USA, 2021; pp. 8748–8763. [Google Scholar]
  18. Sun, P.; Chen, S.; Zhu, C.; Xiao, F.; Luo, P.; Xie, S.; Yan, Z. Going denser with open-vocabulary part segmentation. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: Piscataway, NJ, USA, 2023; pp. 15453–15465. [Google Scholar]
  19. Shi, H.; Hayat, M.; Cai, J. Unified open-vocabulary dense visual prediction. IEEE Trans. Multimed. 2024, 26, 8704–8716. [Google Scholar] [CrossRef]
  20. Zhao, C.; Lv, W.; Zhang, X.; Yu, Z.; Wang, S. Mms-net: Multi-level multi-scale feature extraction network for medical image segmentation. Biomed. Signal Process. Control 2023, 86, 105330. [Google Scholar] [CrossRef]
  21. Yan, Q.; Wang, B.; Zhang, W.; Luo, C.; Xu, W.; Xu, Z.; Zhang, Y.; Shi, Q.; Zhang, L.; You, Z. Attention-guided deep neural network with multi-scale feature fusion for liver vessel segmentation. IEEE J. Biomed. Health Inform. 2020, 25, 2629–2642. [Google Scholar] [CrossRef]
  22. Tan, D.; Yao, Z.; Peng, X.; Ma, H.; Dai, Y.; Su, Y.; Zhong, W. Multi-level medical image segmentation network based on multi-scale and context information fusion strategy. IEEE Trans. Emerg. Top. Comput. Intell. 2023, 8, 474–487. [Google Scholar] [CrossRef]
  23. Xu, Z.; Tian, B.; Liu, S.; Wang, X.; Yuan, D.; Gu, J.; Chen, J.; Lukasiewicz, T.; Leung, V.C. Collaborative attention guided multi-scale feature fusion network for medical image segmentation. IEEE Trans. Netw. Sci. Eng. 2023, 11, 1857–1871. [Google Scholar] [CrossRef]
  24. Wang, Z.; Guo, L.; Zhao, S.; Zhang, S.; Zhao, X.; Fang, J.; Wang, G.; Lu, H.; Yu, J.; Tian, Q. Multi-scale group agent attention-based graph convolutional decoding networks for 2D medical image segmentation. IEEE J. Biomed. Health Inform. 2024, 29, 2718–2730. [Google Scholar] [CrossRef]
  25. Lu, Z.; She, C.; Wang, W.; Huang, Q. LM-Net: A light-weight and multi-scale network for medical image segmentation. Comput. Biol. Med. 2024, 168, 107717. [Google Scholar] [CrossRef]
  26. Zhang, Y.; Zhang, T.; Wu, C.; Tao, R. Multi-scale spatiotemporal feature fusion network for video saliency prediction. IEEE Trans. Multimed. 2023, 26, 4183–4193. [Google Scholar] [CrossRef]
  27. Xu, X.; Chen, Z.; Yin, F. Monocular depth estimation with multi-scale feature fusion. IEEE Signal Process. Lett. 2021, 28, 678–682. [Google Scholar] [CrossRef]
  28. Lüddecke, T.; Ecker, A. Image segmentation using text and image prompts. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2022; pp. 7086–7096. [Google Scholar]
  29. Hayat, M.; Aramvith, S. Transformer’s role in brain MRI: A scoping review. IEEE Access 2024, 12, 108876–108896. [Google Scholar] [CrossRef]
  30. Agrawal, K.K.; Lian, L.; Liu, L.; Harguindeguy, N.; Li, B.; Bick, A.; Chung, M.; Darrell, T.; Yala, A. Atlas: Multi-Scale Attention Improves Long Context Image Modeling. arXiv 2025, arXiv:2503.12355. [Google Scholar] [CrossRef]
  31. Zheng, H.; Ding, Y.; Wang, Z.; Huang, X. SegLD: Achieving universal, zero-shot and open-vocabulary segmentation through multimodal fusion via latent diffusion processes. Inf. Fusion 2024, 111, 102509. [Google Scholar] [CrossRef]
  32. Wang, X.; Li, S.; Kallidromitis, K.; Kato, Y.; Kozuka, K.; Darrell, T. Hierarchical open-vocabulary universal image segmentation. Adv. Neural Inf. Process. Syst. 2023, 36, 21429–21453. [Google Scholar]
  33. Zhou, Z.; Lei, Y.; Zhang, B.; Liu, L.; Liu, Y. Zegclip: Towards adapting clip for zero-shot semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2023; pp. 11175–11185. [Google Scholar]
  34. Kim, K.; Oh, Y.; Ye, J.C. Zegot: Zero-shot segmentation through optimal transport of text prompts. arXiv 2023, arXiv:2301.12171. [Google Scholar]
  35. Ma, C.; Yang, Y.; Wang, Y.; Zhang, Y.; Xie, W. Open-vocabulary semantic segmentation with frozen vision-language models. arXiv 2022, arXiv:2210.15138. [Google Scholar]
  36. Yang, S.; Liu, X.; Wei, W. Open-Vocabulary Part-Level Detection and Segmentation for Human–Robot Interaction. Appl. Sci. 2024, 14, 6356. [Google Scholar] [CrossRef]
  37. Gundavarapu, S.K.; Arora, A.; Agarwal, S. Zero shot context-based object segmentation using SLIP (SAM+ CLIP). arXiv 2024, arXiv:2405.07284. [Google Scholar] [CrossRef]
  38. Wang, H.; Vasu, P.K.A.; Faghri, F.; Vemulapalli, R.; Farajtabar, M.; Mehta, S.; Rastegari, M.; Tuzel, O.; Pouransari, H. Sam-clip: Merging vision foundation models towards semantic and spatial understanding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2024; pp. 3635–3647. [Google Scholar]
  39. Liang, F.; Wu, B.; Dai, X.; Li, K.; Zhao, Y.; Zhang, H.; Zhang, P.; Vajda, P.; Marculescu, D. Open-vocabulary semantic segmentation with mask-adapted clip. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2023; pp. 7061–7070. [Google Scholar]
  40. Yang, Y.; Zhou, Y.; Guo, Y.C.; Zou, Z.X.; Huang, Y.; Liu, Y.T.; Xu, H.; Liang, D.; Cao, Y.P.; Liu, X. Omnipart: Part-aware 3d generation with semantic decoupling and structural cohesion. In Proceedings of the SIGGRAPH Asia 2025 Conference Papers; ACM: New York, NY, USA, 2025; pp. 1–12. [Google Scholar]
Figure 1. The framework of Hierarchy-Aware Vision–Language Alignment for Zero-Shot Part Segmentation. The process is decomposed into three steps: (1) the image encoder extracts multi-scale image features; (2) the text encoder extracts text features; and (3) the part segmentation generation module fuses image–text features and generates part masks.
Figure 1. The framework of Hierarchy-Aware Vision–Language Alignment for Zero-Shot Part Segmentation. The process is decomposed into three steps: (1) the image encoder extracts multi-scale image features; (2) the text encoder extracts text features; and (3) the part segmentation generation module fuses image–text features and generates part masks.
Sensors 26 02130 g001
Figure 2. The attention maps across all 12 Transformer blocks reveal distinct evolutionary patterns in three representative cases. The first row demonstrates a consistent intensification of diagonal attention patterns with increasing layer depth, maintaining complete absence of vertical striping throughout all blocks. In contrast, the second row exhibits coordinated amplification of both diagonal and vertical patterns as layers deepen, showing the network’s parallel processing of local and global features. Most notably, the third row displays a characteristic transition where diagonal patterns systematically attenuate while vertical stripes progressively stabilize, ultimately dominating the attention distribution in higher layers.
Figure 2. The attention maps across all 12 Transformer blocks reveal distinct evolutionary patterns in three representative cases. The first row demonstrates a consistent intensification of diagonal attention patterns with increasing layer depth, maintaining complete absence of vertical striping throughout all blocks. In contrast, the second row exhibits coordinated amplification of both diagonal and vertical patterns as layers deepen, showing the network’s parallel processing of local and global features. Most notably, the third row displays a characteristic transition where diagonal patterns systematically attenuate while vertical stripes progressively stabilize, ultimately dominating the attention distribution in higher layers.
Sensors 26 02130 g002
Figure 3. Architecture comparison of text–image feature alignment mechanisms. (A) ZegCLIP aligns features through cross-attention. (B) CLIPSeg fuses features using self-attention. (C) Our proposed Hierarchical Multimodal Alignment Module (HMAM).
Figure 3. Architecture comparison of text–image feature alignment mechanisms. (A) ZegCLIP aligns features through cross-attention. (B) CLIPSeg fuses features using self-attention. (C) Our proposed Hierarchical Multimodal Alignment Module (HMAM).
Sensors 26 02130 g003
Figure 4. Distribution of unseen part categories in the (a) Pascal-Part and (b) ADE20K-Part test sets. The green sections represent the number of seen part categories, and the blue sections represent the number of unseen part categories.
Figure 4. Distribution of unseen part categories in the (a) Pascal-Part and (b) ADE20K-Part test sets. The green sections represent the number of seen part categories, and the blue sections represent the number of unseen part categories.
Sensors 26 02130 g004
Figure 5. Spatial evolution of features across Transformer layers. Visualization of activation maps for representative images from ADE20K-Part and Pascal-Part datasets illustrates the progression from fine-grained details in shallow layers to broader semantics in deeper layers. The colors in the figure represent the model’s attention weights: warmer colors indicate higher attention weights, while cooler colors indicate lower attention weights.
Figure 5. Spatial evolution of features across Transformer layers. Visualization of activation maps for representative images from ADE20K-Part and Pascal-Part datasets illustrates the progression from fine-grained details in shallow layers to broader semantics in deeper layers. The colors in the figure represent the model’s attention weights: warmer colors indicate higher attention weights, while cooler colors indicate lower attention weights.
Sensors 26 02130 g005
Figure 6. Qualitative results under different text prompts. (A) shows an indoor swivel-chair example, including the original image and the segmentation results under the prompts “wheel of swivel chair” and “back of swivel chair”. (B) shows an outdoor car example, including the original image and the segmentation results under the prompts “headlight of car” and “wheel of car”.
Figure 6. Qualitative results under different text prompts. (A) shows an indoor swivel-chair example, including the original image and the segmentation results under the prompts “wheel of swivel chair” and “back of swivel chair”. (B) shows an outdoor car example, including the original image and the segmentation results under the prompts “headlight of car” and “wheel of car”.
Sensors 26 02130 g006
Table 1. The prompt structure for the LLM.
Table 1. The prompt structure for the LLM.
Prompt:
Given an action task, output the tools used or the components of the objects touched by the action. This component refers to the part of the object that the person’s hand needs to directly touch when performing the above task.
Example:
Input: Robot, could you pass me the mug?
Answer: Mug, Handle
Input: Robot, could you unscrew this bottle for me?
Answer: Bottle, Lid
Task:
Input: <instruction>
Answer: <Object>, <Part>
Table 2. The distribution of object and part categories between seen and unseen splits in Pascal-Part and ADE20K-Part datasets.
Table 2. The distribution of object and part categories between seen and unseen splits in Pascal-Part and ADE20K-Part datasets.
Pascal-PartSeenUnseenTotal
Object15520
Part7442116
ADE20K-PartSeenUnseenTotal
Object331144
Part17658234
Table 3. The influence of image feature layers of different scales on component segmentation on Pascal-Part and ADE20K-Part datasets.
Table 3. The influence of image feature layers of different scales on component segmentation on Pascal-Part and ADE20K-Part datasets.
DatasetHierarchySeenUnseenhIOU
Pascal-Part313.392.113.65
628.035.088.59
939.9517.7124.54
1235.049.1614.53
ADE20K-Part37.560.641.18
616.792.193.87
921.065.709.00
1217.934.336.97
Table 4. Comparison of different hierarchical alignment methods for part segmentation.
Table 4. Comparison of different hierarchical alignment methods for part segmentation.
DatasetFusionSeenUnseenhIOU
Pascal-PartZegCLIP31.183.796.75
MHA38.126.7611.49
MHF41.8714.8621.94
MHFA43.8518.3325.86
ADE20K-PartZegCLIP18.491.62.94
MHA17.940.791.52
MHF23.844.627.74
MHFA20.239.6713.09
Table 5. The impact of MHFA image features on part segmentation performance across both Pascal-Part and ADE20K-Part datasets.
Table 5. The impact of MHFA image features on part segmentation performance across both Pascal-Part and ADE20K-Part datasets.
Dataset369SeenUnseenhIOU
Pascal-Part 42.8214.3621.51
40.1815.922.78
43.8518.3325.86
ADE20K-Part 22.896.5510.18
23.316.6910.40
20.239.6713.09
✓ in the table indicate which feature layers were used.
Table 6. Part segmentation performance (hIoU) with different fixed weight schemes on Pascal-Part and ADE20K datasets.
Table 6. Part segmentation performance (hIoU) with different fixed weight schemes on Pascal-Part and ADE20K datasets.
Dataset β SeenUnseenhIOU
Pascal-PartDynamic41.5614.6221.63
( 0.6 , 0.2 , 0.2 )43.4618.2925.75
( 0.6 , 0.25 , 0.15 ) 43.2416.8724.27
( 0.5 , 0.3 , 0.2 ) 43.8518.3325.86
ADE20K-PartDynamic24.96.179.89
( 0.6 , 0.2 , 0.2 )21.817.3410.98
( 0.6 , 0.25 , 0.15 ) 21.637.6411.29
( 0.5 , 0.3 , 0.2 ) 20.239.6713.09
Table 7. Comparison of the results with those of other methods based on the text–image model.
Table 7. Comparison of the results with those of other methods based on the text–image model.
DatasetFusionSeenUnseenhIOU
Pascal-PartCLIPSEG42.9917.6825.05
OVPART43.7815.7223.14
Ours43.8518.3325.86
ADE20K-PartCLIPSEG24.246.4110.13
OVPART21.718.0811.78
Ours20.239.6713.09
Table 8. Ablation studies of the proposed modules on Pascal-Part and ADE20K-Part datasets.
Table 8. Ablation studies of the proposed modules on Pascal-Part and ADE20K-Part datasets.
DatasetModelTAIAHMAMSeenUnseenhIOU
Pascal-PartBaseline 42.9917.6825.05
Variant 41.8117.4724.64
40.9115.4222.39
43.8518.3325.86
42.0915.722.87
ADE20K-PartBaseline 24.246.4110.13
Variant 22.797.0210.73
24.655.458.91
20.239.6713.09
21.558.3011.99
✓ marks components that are employed.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yang, S.; Ji, S.; Xiao, Z.; Liu, X.; Wei, W. Hierarchical Compositional Alignment for Zero-Shot Part-Level Segmentation. Sensors 2026, 26, 2130. https://doi.org/10.3390/s26072130

AMA Style

Yang S, Ji S, Xiao Z, Liu X, Wei W. Hierarchical Compositional Alignment for Zero-Shot Part-Level Segmentation. Sensors. 2026; 26(7):2130. https://doi.org/10.3390/s26072130

Chicago/Turabian Style

Yang, Shan, Shujie Ji, Zhendong Xiao, Xiongding Liu, and Wu Wei. 2026. "Hierarchical Compositional Alignment for Zero-Shot Part-Level Segmentation" Sensors 26, no. 7: 2130. https://doi.org/10.3390/s26072130

APA Style

Yang, S., Ji, S., Xiao, Z., Liu, X., & Wei, W. (2026). Hierarchical Compositional Alignment for Zero-Shot Part-Level Segmentation. Sensors, 26(7), 2130. https://doi.org/10.3390/s26072130

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop