Special Issue on the Summit Discipline of Computer Science and Technology

Context-aware decision mechanism for compositional zero-shot learning

  • XU Xiaoliang ,
  • ZHU Runkai ,
  • GENG Yuxia
Expand
  • School of Computer, Hangzhou Dianzi University, Hangzhou Zhejiang 310018, China

Received date: 2024-11-22

  Online published: 2025-08-04

Abstract

Compositional Zero-Shot Learning (CZSL) defines categories as combinations of attributes and objects, requiring models to accurately recognize novel combinations not encountered during training. CZSL not only reduces dependence on labeled data but also explores the compositional generalization capabilities of deep learning models. Existing methods often neglect the appearance variability of attributes and objects in different compositional contexts, resulting in insufficient generalization. To address this, we propose a Context-Aware Decision Mechanism for CZSL. Leveraging the multimodal pretrained CLIP model as an encoder, our approach incorporates textual soft prompts, adapter fine-tuning, and feature denoising mechanisms to independently extract attributes and object features. Furthermore, we design a context-related gating network to adaptively fuse the predicted scores of attributes and objects during the decision-making phase. Experiments on four standard benchmark datasets demonstrate that our method significantly enhances CZSL performance, validating the effectiveness of context-aware decision-making in handling attribute-object combinations.

Cite this article

XU Xiaoliang , ZHU Runkai , GENG Yuxia . Context-aware decision mechanism for compositional zero-shot learning[J]. Journal of Hangzhou Dianzi University, 2025 , 45(4) : 1 -11 . DOI: 10.13954/j.cnki.hdu.2025.04.001

References

[1]LAMPERT C H, NICKISCH H, HARMELING S. Learning to detect unseen object classes by between-class attribute transfer[C]//2009 IEEE Conference on Computer Vision and Pattern Recognition. June 20-25, 2009, Miami, FL, USA. IEEE, 2009: 951-958.
[2]ATZMON Y, BERANT J, KEZAMI V, et al. Learning to generalize to new compositions in image understanding[EB/OL]. (2016-08-27)[2024-11-22]. https://arxiv.org/abs/1608.07639.
[3]MISRA I, GUPTA A, HEBERT M. From red wine to red tomato: composition with context[C]//2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). July 21-26, 2017, Honolulu, HI, USA. IEEE, 2017: 1160-1169.
[4]LI X Y, YANG X, WEI K, et al. Siamese contrastive embedding network for compositional zero-shot learning[C]//2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 18-24, 2022, New Orleans, LA, USA. IEEE, 2022: 9316-9325.
[5]NAGARAJAN T, GRAUMAN K. Attributes as operators: factorizing unseen attribute-object compositions[C]//Computer Vision – ECCV 2018. Cham: Springer, 2018: 172-190.
[6]LI Y L, XU Y, MAO X H, et al. Symmetry and group in attribute-object compositions[C]//2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 13-19, 2020. Seattle, WA, USA. IEEE, 2020: 11313-11322.
[7]HE K M, ZHANG X Y, REN S Q, et al. Deep residual learning for image recognition[C]//2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). June 27-30, 2016, Las Vegas, NV, USA. IEEE, 2016: 770-778.
[8]PENNINGTON J, SOCHER R, MANNING C. GloVe: Global vectors for word representation[C]//Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP). Doha, Qatar. Stroudsburg, PA, USA: ACL, 2014: 1532-1543.
[9]MIKOLOV T, CHEN K, CORRADO G, et al. Efficient estimation of word representations in vector space[EB/OL]. (2013-09-07)[2024-11-22]. https://arxiv.org/abs/1301.3781.
[10]WANG Q S, LIU L Q, JING C C, et al. Learning conditional attributes for compositional zero-shot learning[C]//2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 17-24, 2023, Vancouver, BC, Canada. IEEE, 2023: 11197-11206.
[11]NAEEM M F, XIAN Y Q, TOMBARI F, et al. Learning graph embeddings for compositional zero-shot learning[C]//2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 20-25, 2021, Nashville, TN, USA. IEEE, 2021: 953-962.
[12]ALI KHAN M G Z, NAEEM M F, VAN GOOL L, et al. Learning attention propagation for compositional zero-shot learning[C]//2023 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV). January 2-7, 2023, Waikoloa, HI, USA. IEEE, 2023: 3817-3826.
[13]KIM H, LEE J, PARK S, et al. Hierarchical visual primitive experts for compositional zero-shot learning[C]//2023 IEEE/CVF International Conference on Computer Vision (ICCV). October 1-6, 2023, Paris, France. IEEE, 2023: 5652-5662.
[14]HAO S Z, HAN K, WONG K K. Learning attention as disentangler for compositional zero-shot learning[C]//2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 17-24, 2023, Vancouver, BC, Canada. IEEE, 2023: 15315-15324.
[15]HU X M, WANG Z L. Leveraging sub-class discimination for compositional zero-shot learning[J]. Proceedings of the AAAI Conference on Artificial Intelligence, 2023, 37(1): 890-898.
[16]YANG Y H, PAN R, LI X Y, et al. Dual-stream contrastive learning for compositional zero-shot recognition[J]. IEEE Transactions on Multimedia, 2023, 26: 1909-1919.
[17]RADFORD A, KIM J W, HALLACY C, et al. Learning transferable visual models from natural language supervision[EB/OL]. (2021-02-26)[2024-11-22]. https://arxiv.org/abs/2103.00020.
[18]NAYAK N V, YU P, BACH S H. Learning to compose soft prompts for compositional zero-shot learning[EB/OL]. (2023-04-24)[2024-11-22]. https://arxiv.org/abs/2204.03574.
[19]LU X C, GUO S, LIU Z M, et al. Decomposed soft prompt guided fusion enhancing for compositional zero-shot learning[C]//2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 17-24, 2023, Vancouver, BC, Canada. IEEE, 2023: 23560-23569.
[20]LU X C, LIU Z M, GUO S, et al. Drpt: Disentangled and recurrent prompt tuning for compositional zero-shot learning[EB/OL]. (2023-05-02)[2024-11-22]. https://arxiv.org/abs/2305.01239.
[21]XU G Y, CHAI J, KORDJAMSHIDI P. GIPCOL: graph-injected soft prompting for compositional zero-shot learning[C]//2024 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV). January 3-8, 2024, Waikoloa, HI, USA. IEEE, 2024: 5762-5771.
[22]WANG H, YANG M, WEI K, et al. Hierarchical Prompt Learning for Compositional Zero-Shot Recognition[C]//Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence (IJCAI-23). International Joint Conferences on Artificial Intelligence Organization, 2023: 1470-1478.
[23]HUANG S T, GONG B, FENG Y T, et al. Troika: multi-path cross-modal traction for compositional zero-shot learning[C]//2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 16-22, 2024, Seattle, WA, USA. IEEE, 2024: 24005-24014.
[24]DING N, HU S, ZHAO W, et al. Openprompt: An open-source framework for prompt-learning[EB/OL]. (2021-11-03)[2024-11-22]. https://arxiv.org/abs/2111.01998.
[25]CHEN S, GE C, TONG Z, et al. Adaptformer: Adapting vision transformers for scalable visual recognition[C]// Proceedings of the 36th Conference on Neural Information Processing Systems (NeurIPS). New Orleans: Neural Information Processing Systems Foundation, 2022: 16664-16678.
[26]MANCINI M, NAEEM M F, XIAN Y Q, et al. Open world compositional zero-shot learning[C]//2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). June 20-25, 2021, Nashville, TN, USA. IEEE, 2021: 5218-5226.
[27]MANCINI M, NAEEM M F, XIAN Y Q, et al. Learning graph embeddings for open world compositional zero-shot learning[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024, 46(3): 1545-1560.
[28]CHAO W L, CHANGPINYO S, GONG B Q, et al. An empirical study and analysis of generalized zero-shot learning for object recognition in the wild[C]//Computer Vision – ECCV 2016. Cham: Springer, 2016: 52-68.
[29]PURUSHWALKAM S, NICKEL M, GUPTA A, et al. Task-driven modular networks for zero-shot compositional learning[C]//2019 IEEE/CVF International Conference on Computer Vision (ICCV). October 27-November 2, 2019. Seoul, Korea. IEEE, 2019: 3592-3601.
Outlines

/

〈 〉