Proceedings

Reliable and Diverse Hierarchical Adapter for Zero-shot Video Classification

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 1026-1034.

https://doi.org/10.24963/ijcai.2025/115

Abstract

Adapting pre-trained vision-language models to downstream tasks has emerged as a novel paradigm for zero-shot learning. Existing test-time adaptation (TTA) methods such as TPT attempt to fine-tune visual or textual representations to accommodate downstream tasks but still require expensive optimization costs. To this end, Training-free Dynamic Adapter (TDA) maintains a cache containing visual features for each category in a parameter-free manner and measures sample confidence based on prediction entropy of test samples. Inspired by TDA, this work aims to develop the first training-free adapter for zero-shot video classification. Capturing the intrinsic temporal relationships within video data to construct and maintain the video cache is key to extending TDA to the video domain. In this work, we propose a reliable and diverse Hierarchical Adapter for zero-shot video classification, which consists of Frame-level Cache Refiner and Video-level Cache Updater. Before each video sample enters the corresponding cache, it needs to be refined at frame level based on prediction entropy and temporal probability difference. Due to the limited capacity of the cache, we update the cache during inference based on the principle of diversity. Experiments on four popular video classification benchmarks demonstrate the effectiveness of Hierarchical Adapter. The code is available at https://github.com/Gwxer/Hierarchical-Adapter.

  1. [Abdul Samadh et al., 2024] Jameel Abdul Samadh, Mo- hammad Hanan Gani, Noor Hussein, Muhammad Uzair Khattak, Muhammad Muzammal Naseer, Fahad Shah- baz Khan, and Salman H Khan. Align your prompts: Test- time prompting with distribution alignment for zero-shot generalization. NIPS, 36, 2024.
  2. [Brattoli et al., 2020] Biagio Brattoli, Joseph Tighe, Fedor Zhdanov, Pietro Perona, and Krzysztof Chalupka. Re- thinking zero-shot video classification: End-to-end train- ing for realistic applications. In CVPR, pages 4613-4623, 2020.
  3. [Carreira et al., 2018] Joao Carreira, Eric Noland, Andras Banki-Horvath, Chloe Hillier, and Andrew Zisserman. A short note about kinetics-600. arXiv preprint arXiv:1808.01340, 2018.
  4. [Chen and Huang, 2021] Shizhe Chen and Dong Huang. Elaborative rehearsal for zero-shot action recognition. In ICCV, pages 13638-13647, 2021.
  5. [Fabian Caba Heilbron and Niebles, 2015] Bernard Ghanem Fabian Caba Heilbron, Victor Escorcia and Juan Carlos Niebles. Activitynet: A large-scale video benchmark for human activity understanding. In CVPR, pages 961-970, 2015.
  6. [Feng et al., 2023] Chun-Mei Feng, Kai Yu, Yong Liu, Salman Khan, and Wangmeng Zuo. Diverse data augmen- tation with diffusions for effective test-time prompt tuning. In ICCV, pages 2704-2714, 2023.
  7. [Gan et al., 2016a] Chuang Gan, Ming Lin, Yi Yang, Gerard Melo, and Alexander G Hauptmann. Concepts not alone: Exploring pairwise relationships for zero-shot video activ- ity recognition. In AAAI, volume 30, 2016.
  8. [Gan et al., 2016b] Chuang Gan, Tianbao Yang, and Boqing Gong. Learning attributes equals multi-source domain generalization. In CVPR, pages 87-97, 2016.
  9. [Gao et al., 2019] Junyu Gao, Tianzhu Zhang, and Chang- sheng Xu. I know the relationships: Zero-shot action recognition via two-stream graph convolutional networks and knowledge graphs. In AAAI, volume 33, pages 8303- 8311, 2019.
  10. [Grave et al., 2017] Edouard Grave, Moustapha M Cisse, and Armand Joulin. Unbounded cache model for online language modeling with open vocabulary. NIPS, 30, 2017.
  11. [Haresh et al., 2021] Sanjay Haresh, Sateesh Kumar, Huseyin Coskun, Shahram N Syed, Andrey Konin, Zeeshan Zia, and Quoc-Huy Tran. Learning by aligning videos in time. In CVPR, pages 5548-5558, 2021.
  12. [Jain et al., 2015] Mihir Jain, Jan C Van Gemert, Thomas Mensink, and Cees GM Snoek. Objects2action: Classi- fying and localizing actions without any video example. In ICCV, pages 4588-4596, 2015.
  13. [Ju et al., 2022] Chen Ju, Tengda Han, Kunhao Zheng, Ya Zhang, and Weidi Xie. Prompting visual-language models for efficient video understanding. In ECCV, pages 105-124. Springer, 2022.
  14. [Kahatapitiya et al., 2024] Kumara Kahatapitiya, Anurag Arnab, Arsha Nagrani, and Michael S Ryoo. Victr: Video- conditioned text representations for activity recognition. In CVPR, pages 18547-18558, 2024.
  15. [Karmanov et al., 2024] Adilbek Karmanov, Dayan Guan, Shijian Lu, Abdulmotaleb El Saddik, and Eric Xing. Ef- ficient test-time adaptation of vision-language models. In CVPR, pages 14162-14171, 2024.
  16. [Kay et al., 2017] Will Kay, Joao Carreira, Karen Si- monyan, Brian Zhang, Chloe Hillier, Sudheendra Vijaya- narasimhan, Fabio Viola, Tim Green, Trevor Back, Paul Natsev, et al. The kinetics human action video dataset. arXiv preprint arXiv:1705.06950, 2017.
  17. [Kuehne et al., 2011] Hildegard Kuehne, Hueihan Jhuang, Estíbaliz Garrote, Tomaso Poggio, and Thomas Serre. Hmdb: a large video database for human motion recogni- tion. In 2011 International conference on computer vision, pages 2556-2563. IEEE, 2011.
  18. [Lee et al., 2024] Jonghyun Lee, Dahuin Jung, Saehyung Lee, Junsung Park, Juhyeon Shin, Uiwon Hwang, and Sungroh Yoon. Entropy is not enough for test-time adapta- tion: From the perspective of disentangled factors. ICLR, 2024.
  19. [Li et al., 2025] Pengpeng Li, Xiangbo Shu, Chun-Mei Feng, Yifei Feng, Wangmeng Zuo, and Jinhui Tang. Surgi- cal video workflow analysis via visual-language learning. npj Health Systems, 2(1):5, 2025.
  20. [Lin et al., 2022] Chung-Ching Lin, Kevin Lin, Lijuan Wang, Zicheng Liu, and Linjie Li. Cross-modal represen- tation learning for zero-shot action recognition. In CVPR, pages 19978-19988, 2022.
  21. [Liu et al., 2011] Jingen Liu, Benjamin Kuipers, and Silvio Savarese. Recognizing human actions by attributes. In CVPR, pages 3337-3344. IEEE, 2011.
  22. [Mandal et al., 2019] Devraj Mandal, Sanath Narayan, Sai Kumar Dwivedi, Vikram Gupta, Shuaib Ahmed, Fahad Shahbaz Khan, and Ling Shao. Out-of-distribution detection for generalized zero-shot action recognition. In CVPR, pages 9985-9993, 2019.
  23. [Merity et al., 2016] Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models. arXiv preprint arXiv:1609.07843, 2016.
  24. [Ni et al., 2022] Bolin Ni, Houwen Peng, Minghao Chen, Songyang Zhang, Gaofeng Meng, Jianlong Fu, Shiming Xiang, and Haibin Ling. Expanding language-image pre- trained models for general video recognition. In ECCV, pages 1-18. Springer, 2022.
  25. [Qian et al., 2022] Yijun Qian, Lijun Yu, Wenhe Liu, and Alexander G Hauptmann. Rethinking zero-shot action recognition: Learning from latent atomic actions. In ECCV, pages 104-120. Springer, 2022.
  26. [Qin et al., 2017] Jie Qin, Li Liu, Ling Shao, Fumin Shen, Bingbing Ni, Jiaxin Chen, and Yunhong Wang. Zero-shot action recognition with error-correcting output codes. In CVPR, pages 2833-2842, 2017.
  27. [Qu et al., 2024] Hongyu Qu, Rui Yan, Xiangbo Shu, Hail- iang Gao, Peng Huang, and Guo-Sen Xie. Mvp-shot: Multi-velocity progressive-alignment framework for few- shot action recognition. arXiv preprint arXiv:2405.02077, 2024.
  28. [Qu et al., 2025a] Hongyu Qu, Jianan Wei, Xiangbo Shu, and Wenguan Wang. Learning clustering-based prototypes for compositional zero-shot learning. In ICLR, 2025.
  29. [Qu et al., 2025b] Hongyu Qu, Ling Xing, Rui Yan, Yazhou Yao, Guo-Sen Xie, and Xiangbo Shu. Hierarchical relation-augmented representation generalization for few- shot action recognition. arXiv preprint arXiv:2504.10079, 2025.
  30. [Radford et al., 2021] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agar- wal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from nat- ural language supervision. In International conference on machine learning, pages 8748-8763. PMLR, 2021.
  31. [Rasheed et al., 2023] Hanoona Rasheed, Muhammad Uzair Khattak, Muhammad Maaz, Salman Khan, and Fa- had Shahbaz Khan. Fine-tuned clip models are efficient video learners. In CVPR, pages 6545-6554, 2023.
  32. [Shen and Tang, 2024] Fei Shen and Jinhui Tang. Imagpose: A unified conditional framework for pose-guided person generation. NIPS, 37:6246-6266, 2024.
  33. [Shen et al., 2025] Fei Shen, Xin Jiang, Xin He, Hu Ye, Cong Wang, Xiaoyu Du, Zechao Li, and Jinhui Tang. Imagdressing-v1: Customizable virtual dressing. In AAAI, volume 39, pages 6795-6804, 2025.
  34. [Shu et al., 2019] Xiangbo Shu, Jinhui Tang, Guo-Jun Qi, Wei Liu, and Jian Yang. Hierarchical long short-term con- current memory for human interaction recognition. IEEE transactions on pattern analysis and machine intelligence, 43(3):1110-1118, 2019.
  35. [Shu et al., 2021] Xiangbo Shu, Liyan Zhang, Guo-Jun Qi, Wei Liu, and Jinhui Tang. Spatiotemporal co-attention re- current neural networks for human-skeleton motion pre- diction. IEEE Transactions on Pattern Analysis and Ma- chine Intelligence, 44(6):3300-3315, 2021.
  36. [Shu et al., 2022a] Manli Shu, Weili Nie, De-An Huang, Zhiding Yu, Tom Goldstein, Anima Anandkumar, and Chaowei Xiao. Test-time prompt tuning for zero-shot gen- eralization in vision-language models. NIPS, 35:14274- 14289, 2022.
  37. [Shu et al., 2022b] Xiangbo Shu, Binqian Xu, Liyan Zhang, and Jinhui Tang. Multi-granularity anchor-contrastive rep- resentation learning for semi-supervised skeleton-based action recognition. IEEE Transactions on Pattern Anal- ysis and Machine Intelligence, 45(6):7559-7576, 2022.
  38. [Soomro, 2012] K Soomro. Ucf101: A dataset of 101 human actions classes from videos in the wild. arXiv preprint arXiv:1212.0402, 2012.
  39. [Tang et al., 2019] Jinhui Tang, Xiangbo Shu, Rui Yan, and Liyan Zhang. Coherence constrained graph lstm for group activity recognition. IEEE transactions on pattern analysis and machine intelligence, 44(2):636-647, 2019.
  40. [Udandarao et al., 2023] Vishaal Udandarao, Ankush Gupta, and Samuel Albanie. Sus-x: Training-free name-only transfer of vision-language models. In ICCV, pages 2725- 2736, 2023.
  41. [Wang et al., 2023] Mengmeng Wang, Jiazheng Xing, Jian- biao Mei, Yong Liu, and Yunliang Jiang. Actionclip: Adapting language-image pretrained models for video ac- tion recognition. IEEE Transactions on Neural Networks and Learning Systems, 2023.
  42. [Wasim et al., 2023] Syed Talal Wasim, Muzammal Naseer, Salman Khan, Fahad Shahbaz Khan, and Mubarak Shah. Vita-clip: Video and text adaptive clip via multimodal prompting. In CVPR, pages 23034-23044, 2023.
  43. [Wu et al., 2023] Wenhao Wu, Xiaohan Wang, Haipeng Luo, Jingdong Wang, Yi Yang, and Wanli Ouyang. Bidirec- tional cross-modal knowledge exploration for video recog- nition with pre-trained vision-language models. In CVPR, pages 6620-6630, 2023.
  44. [Xu et al., 2017] Xun Xu, Timothy Hospedales, and Shao- gang Gong. Transductive zero-shot action recognition by word-vector embedding. International Journal of Com- puter Vision, 123:309-333, 2017.
  45. [Yan et al., 2020] Rui Yan, Lingxi Xie, Jinhui Tang, Xi- angbo Shu, and Qi Tian. Higcin: Hierarchical graph- based cross inference network for group activity recogni- tion. IEEE transactions on pattern analysis and machine intelligence, 45(6):6955-6968, 2020.
  46. [Yan et al., 2023] Rui Yan, Lingxi Xie, Xiangbo Shu, Liyan Zhang, and Jinhui Tang. Progressive instance-aware fea- ture learning for compositional action recognition. IEEE Transactions on Pattern Analysis and Machine Intelli- gence, 45(8):10317-10330, 2023.
  47. [Yan et al., 2024] Rui Yan, Hongyu Qu, Xiangbo Shu, Wen- bin Li, Jinhui Tang, and Tieniu Tan. Dts-tpt: Dual temporal-sync test-time prompt tuning for zero-shot activ- ity recognition. In IJCAI, 2024. IJCAI
  48. [Yan et al., 2025] Rui Yan, Jin Wang, Hongyu Qu, Xiaoyu Du, Dong Zhang, Jinhui Tang, and Tieniu Tan. Test-v: Test-time support-set tuning for zero-shot video classifica- tion. arXiv preprint arXiv:2502.00426, 2025. IJCAI
  49. [Zhang et al., 2022] Renrui Zhang, Wei Zhang, Rongyao Fang, Peng Gao, Kunchang Li, Jifeng Dai, Yu Qiao, and Hongsheng Li. Tip-adapter: Training-free adaption of clip for few-shot classification. In ECCV, pages 493-510. Springer, 2022.
  50. [Zhang et al., 2024a] Jingyi Zhang, Jiaxing Huang, Xiao- qin Zhang, Ling Shao, and Shijian Lu. Historical test- time prompt tuning for vision foundation models. arXiv preprint arXiv:2410.20346, 2024.
  51. [Zhang et al., 2024b] Taolin Zhang, Jinpeng Wang, Hang Guo, Tao Dai, Bin Chen, and Shu-Tao Xia. Boostadapter: Improving vision-language test-time adaptation via re- gional bootstrapping. In The Thirty-eighth Annual Con- ference on Neural Information Processing Systems, 2024.
  52. [Zhou et al., 2022a] Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. Conditional prompt learning for vision-language models. In CVPR, pages 16816-16825, 2022.
  53. [Zhou et al., 2022b] Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. Learning to prompt for vision-language models. International Journal of Computer Vision, 130(9):2337-2348, 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards