计算机科学与技术登峰学科专刊

基于情境感知决策的组合零样本学习方法

  • 徐小良 ,
  • 朱润锴 ,
  • 耿玉霞
展开
  • 杭州电子科技大学 计算机学院,浙江 杭州 310018
徐小良(1976—),教授,研究方向:大数据与知识图谱、向量检索,E-mail:xxl@hdu.edu.cn。朱润锴(1999-),男,硕士研究生,研究方向:组合零样本学习,E-mail:runkai.zhu@hdu.edu.cn。

收稿日期: 2024-11-22

  网络出版日期: 2025-08-04

基金资助

浙江省尖兵领雁研发攻关计划项目(2024C01020)

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

摘要

组合零样本学习将类别定义为属性和对象的组合,要求模型在训练时对未见过的组合上进行准确的识别,不仅可以有效降低模型对标注数据的依赖,还可以探究深度学习模型的组合泛化能力。现有方法在组合识别时,往往忽略了属性和对象在不同组合情境下的外观差异性,导致泛化能力不足。为此,提出了一种基于情境感知决策的组合零样本学习方法,利用多模态预训练模型CLIP作为编码器,结合文本软提示、适配器微调和特征去噪机制,分别提取属性、对象的独立特征,并设计情境相关门控网络,在模型决策阶段根据图像自适应地融合属性和对象的预测得分。在四个主流基准数据集上进行了实验,结果表明,该方法显著提升了组合零样本学习的性能,证实了基于属性和对象组合的情境参与决策的有效性。

本文引用格式

徐小良 , 朱润锴 , 耿玉霞 . 基于情境感知决策的组合零样本学习方法[J]. 杭州电子科技大学学报, 2025 , 45(4) : 1 -11 . DOI: 10.13954/j.cnki.hdu.2025.04.001

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.

参考文献

[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.
文章导航

/

〈 〉