Proceedings

Explaining, Verifying and Aligning Semantic Hierarchies in Vision-Language Model Embeddings

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 724-734.

https://doi.org/10.24963/ijcai.2026/82

Abstract

Vision-language model (VLM) encoders such as CLIP enable strong retrieval and zero-shot classification in a shared image–text embedding space, yet the semantic organization of this space is rarely inspected. We present a post-hoc framework to explain, verify, and align the semantic hierarchies induced by a VLM over a given set of child classes. First, we extract a binary hierarchy by agglomerative clustering of class centroids and name internal nodes by dictionary-based matching to a concept bank. Second, we quantify plausibility by comparing the extracted tree against human ontologies using efficient tree- and edge-level consistency measures, and we evaluate utility via explainable hierarchical tree-traversal inference with uncertainty-aware early stopping (UAES). Third, we propose an ontology-guided post-hoc alignment method that learns a lightweight embedding-space transformation, using UMAP to generate target neighborhoods from a desired hierarchy. Across 13 pretrained VLMs and 4 image datasets, our method finds systematic modality differences: image encoders are more discriminative, while text encoders induce hierarchies that better match human taxonomies. Overall, the results reveal a persistent trade-off between zero-shot accuracy and ontological plausibility and suggest practical routes to improve semantic alignment in shared embedding spaces.

  1. [Akutsu, 2010] Tatsuya Akutsu. Tree edit distance problems: Algorithms and applications to bioinformatics. IEICE Trans. Inf. Syst., 93-D(2):208-218, 2010.
  2. [Alex, 2009] Krizhevsky Alex. Learning Multiple Layers of Features from Tiny Images. Master's thesis, University of Toronto, Canada, April 2009.
  3. [Alper and Averbuch-Elor, 2025] Morris Alper and Hadar Averbuch-Elor. Emergent Visual-Semantic Hierarchies in Image-Text Representations. In Aleš Leonardis, Elisa Ricci, Stefan Roth, Olga Russakovsky, Torsten Sattler, and Gül Varol, editors, Computer Vision -ECCV 2024, pages 220-238, Cham, 2025. Springer Nature Switzerland.
  4. [Badreddine et al., 2022] Samy Badreddine, Artur d'Avila Garcez, Luciano Serafini, and Michael Spranger. Logic Ten- sor Networks. Artificial Intelligence, 303:103649, February 2022.
  5. [Baldrati et al., 2022] Alberto Baldrati, Marco Bertini, Tiberio Uricchio, and Alberto Del Bimbo. Effective conditioned and composed image retrieval combining clip-based features. In CVPR, 2022.
  6. [Barraco et al., 2022] Manuele Barraco, Marcella Cornia, Sil- via Cascianelli, Lorenzo Baraldi, and Rita Cucchiara. The unreasonable effectiveness of clip features for image cap- tioning: an experimental analysis. In CVPR, 2022.
  7. [Bender et al., 2005] Michael A Bender, Martin Farach- Colton, Giridhar Pemmasani, Steven Skiena, and Pavel Sumazin. Lowest common ancestors in trees and directed acyclic graphs. Journal of Algorithms, 57(2):75-94, 2005.
  8. [Bertinetto et al., 2020] Luca Bertinetto, Romain Mueller, Konstantinos Tertikas, Sina Samangooei, and Nicholas A. Lord. Making Better Mistakes: Leveraging Class Hierar- chies With Deep Networks. In CVPR, 2020.
  9. [Bhalla et al., 2024] Usha Bhalla, Alex Oesterling, Suraj Srinivas, Flavio Calmon, and Himabindu Lakkaraju. In- terpreting CLIP with Sparse Linear Concept Embeddings (SpLiCE). In NeurIPS, 2024.
  10. [Confalonieri and Guizzardi, 2025] Roberto Confalonieri and Giancarlo Guizzardi. On the multiple roles of ontolo- gies in explanations for neuro-symbolic AI. Neurosymbolic Artificial Intelligence, 1:NAI-240754, 2025.
  11. [Crouse, 2016] David F. Crouse. On implementing 2D rect- angular assignment algorithms. IEEE Transactions on Aerospace and Electronic Systems, 52(4):1679-1696, Au- gust 2016.
  12. [Deng et al., 2009] Jia Deng, Wei Dong, Richard Socher, Li- Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In CVPR, 2009.
  13. [Dhall et al., 2020] Ankit Dhall, Anastasia Makarova, Octa- vian Ganea, Dario Pavllo, Michael Greeff, and Andreas Krause. Hierarchical Image Classification Using Entail- ment Cone Embeddings. In CVPR Workshops, 2020.
  14. [Eslami and de Melo, 2024] Sedigheh Eslami and Gerard de Melo. Mitigate the Gap: Improving Cross-Modal Align- ment in CLIP. In ICLR, 2024.
  15. [Fellbaum, 2010] Christiane Fellbaum. WordNet. In Roberto Poli, Michael Healy, and Achilles Kameas, editors, The- ory and Applications of Ontology: Computer Applications, pages 231-243. Springer Netherlands, Dordrecht, 2010.
  16. [Fong and Vedaldi, 2018] Ruth Fong and Andrea Vedaldi. Net2Vec: Quantifying and explaining how concepts are encoded by filters in deep neural networks. In CVPR, 2018.
  17. [Forbus and Hinrich, 2017] Kenneth D Forbus and Thomas Hinrich. Analogy and relational representations in the companion cognitive architecture. AI Magazine, 38(4):34- 42, 2017.
  18. [Ge et al., 2023] Yunhao Ge, Jie Ren, Andrew Gallagher, Yux- iao Wang, Ming-Hsuan Yang, Hartwig Adam, Laurent Itti, Balaji Lakshminarayanan, and Jiaping Zhao. Improving Zero-Shot Generalization and Robustness of Multi-Modal Models. In Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 11093-11101, 2023.
  19. [Ghorbani et al., 2019] Amirata Ghorbani, James Wexler, James Y. Zou, and Been Kim. Towards automatic concept- based explanations. In NeurIPS, 2019.
  20. [Guarino, 1998] Nicola Guarino. Formal Ontologies and In- formation Systems. In FOIS, June 1998.
  21. [Jia et al., 2021] Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision- language representation learning with noisy text supervi- sion. In ICML, 2021.
  22. [Jiang et al., 1995] Tao Jiang, Lusheng Wang, and Kaizhong Zhang. Alignment of trees -an alternative to tree edit. Theoretical Computer Science, 143(1):137-148, July 1995.
  23. [Kim et al., 2018] Been Kim, Martin Wattenberg, Justin Gilmer, Carrie Cai, James Wexler, Fernanda Viegas, and Rory Sayres. Interpretability beyond feature attribution: Quantitative testing with concept activation vectors (TCAV). In ICML, 2018.
  24. [Leacock, 1998] Claudia Leacock. Combining local context and wordnet similarity for word sense identification. In WordNet: An Electronic Lexical Database. A Bradford Book, 1998.
  25. [Lee et al., 2025] Jae Hee Lee, Georgii Mikriukov, Gesina Schwalbe, Stefan Wermter, and Diedrich Wolter. Concept- Based Explanations in Computer Vision: Where Are We and Where Could We Go? In ECCV Workshops, 2025.
  26. [Lehmann et al., 2015] Jens Lehmann, Robert Isele, Max Jakob, Anja Jentzsch, Dimitris Kontokostas, Pablo N. Mendes, Sebastian Hellmann, Mohamed Morsey, Patrick van Kleef, Sören Auer, and Christian Bizer. DBpedia -A large-scale, multilingual knowledge base extracted from Wikipedia. Semantic Web, 6(2):167-195, March 2015.
  27. [Lenat, 1989] Douglas B Lenat. Building Large Knowledge- Based Systems. Addison-Wesley Pub. Co., 1989.
  28. [Liang et al., 2022] Victor Weixin Liang, Yuhui Zhang, Yongchan Kwon, Serena Yeung, and James Y. Zou. Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learning. In NeurIPS, 2022.
  29. [Ma et al., 2025] Pingchuan Ma, Lennart Rietdorf, Dmytro Kotovenko, Vincent Tao Hu, and Björn Ommer. Does VLM Classification Benefit from LLM Description Semantics? In AAAI, April 2025.
  30. [Mahdisoltani et al., 2015] Farzaneh Mahdisoltani, Joanna Asia Biega, and Fabian M. Suchanek. Yago3: A knowledge base from multilingual wikipedias. In CIDR, 2015.
  31. [Mascardi et al., 2007] Viviana Mascardi, Valentina Cordì, Paolo Rosso, et al. A comparison of upper ontologies. In Woa, 2007.
  32. [Matuszek et al., 2006] Cynthia Matuszek, John Cabral, M. Witbrock, and John DeOliveira. An introduction to the syntax and content of cyc. In AAAI Spring Symposium: Formalizing and Compiling Background Knowledge and Its Applications to Knowledge Representation and Question Answering, 2006.
  33. [McInnes et al., 2020] Leland McInnes, John Healy, and James Melville. UMAP: Uniform Manifold Approxi- mation and Projection for Dimension Reduction, 2020. arXiv:1802.03426.
  34. [Mikolov et al., 2013] Tomas Mikolov, Wen-tau Yih, and Ge- offrey Zweig. Linguistic regularities in continuous space word representations. In NAACL-HLT, 2013.
  35. [Mikriukov et al., 2023] Georgii Mikriukov, Gesina Schwalbe, Christian Hellert, and Korinna Bade. Re- vealing similar semantics inside cnns: An interpretable concept-based comparison of feature spaces. In ECML- PKDD, 2023.
  36. [Mikriukov et al., 2025] Georgii Mikriukov, Gesina Schwalbe, and Korinna Bade. Local Concept Em- beddings for Analysis of Concept Distributions in Vision DNN Feature Spaces. International Journal of Computer Vision, May 2025.
  37. [Miller et al., 2024] Dimity Miller, Niko Sünderhauf, Alex Kenna, and Keita Mason. Open-set recognition in the age of vision-language models. In ECCV, 2024.
  38. [Niles and Pease, 2001] Ian Niles and Adam Pease. Towards a standard upper ontology. In FOIS, 2001.
  39. [Novack et al., 2023] Zachary Novack, Julian Mcauley, Zachary Chase Lipton, and Saurabh Garg. CHiLS: Zero-Shot Image Classification with Hierarchical Label Sets. In ICML, 2023.
  40. [Otero-Cerdeira et al., 2015] Lorena Otero-Cerdeira, Fran- cisco J. Rodríguez-Martínez, and Alma Gómez-Rodríguez. Ontology matching: A literature review. Expert Systems with Applications, 42(2):949-971, 2015.
  41. [Ponomarev and Agafonov, 2022] Andrew Ponomarev and Anton Agafonov. Ontology Concept Extraction Algorithm for Deep Neural Networks. In FRUCT, 2022.
  42. [Posada-Moreno et al., 2024] Andrés Felipe Posada-Moreno, Nikita Surya, and Sebastian Trimpe. ECLAD: Extract- ing Concepts with Local Aggregated Descriptors. Pattern Recognition, 147:110146, 2024.
  43. [Radford et al., 2021] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning Transfer- able Visual Models From Natural Language Supervision. In ICML, 2021.
  44. [Ribeiro and Leite, 2021] Manuel de Sousa Ribeiro and João Leite. Aligning Artificial Neural Networks and Ontologies towards Explainable AI. In AAAI, May 2021.
  45. [Ribeiro et al., 2016] Marco Túlio Ribeiro, Sameer Singh, and Carlos Guestrin. "Why should I trust you?": Explaining the predictions of any classifier. In KDD, 2016.
  46. [Rico-Juan and Micó, 2003] Juan Ramón Rico-Juan and Luisa Micó. Comparison of aesa and laesa search algo- rithms using string and tree-edit-distances. Pattern Recog- nition Letters, 24(9):1417-1426, 2003.
  47. [Schwalbe et al., 2026] Gesina Schwalbe, Georgii Mikriukov, Edgar Heinert, Stavros Gerolymatos, Mert Keser, Alois Knoll, Matthias Rottmann, and Annika Mütze. On back- ground bias of post-hoc concept embeddings in computer vision dnns. In Riccardo Guidotti, Ute Schmid, and Luca Longo, editors, Explainable Artificial Intelligence, pages 45-71, Cham, 2026. Springer Nature Switzerland.
  48. [Schwalbe, 2021] Gesina Schwalbe. Verification of size in- variance in DNN activations using concept embeddings. In AIAI, 2021.
  49. [Singh et al., 2022] Amanpreet Singh, Ronghang Hu, Vedanuj Goswami, Guillaume Couairon, Wojciech Galuba, Marcus Rohrbach, and Douwe Kiela. FLAVA: A Founda- tional Language and Vision Alignment Model. In CVPR, 2022.
  50. [Speer et al., 2017] Robyn Speer, Joshua Chin, and Catherine Havasi. ConceptNet 5.5: An Open Multilingual Graph of General Knowledge. In AAAI, 2017.
  51. [Wah et al., 2011] Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. The Caltech- UCSD Birds-200-2011 dataset. Technical Report CNS-TR- 2011-001, California Institute of Technology, 2011.
  52. [Wan et al., 2020] Alvin Wan, Lisa Dunlap, Daniel Ho, Jihan Yin, Scott Lee, Suzanne Petryk, Sarah Adel Bargal, and Joseph E. Gonzalez. NBDT: Neural-backed decision tree. In ICLR, 2020.
  53. [Ward Jr., 1963] Joe H. Ward Jr. Hierarchical Grouping to Optimize an Objective Function. Journal of the American Statistical Association, 58(301):236-244, 1963.
  54. [Yuksekgonul et al., 2022] Mert Yuksekgonul, Maggie Wang, and James Zou. Post-hoc Concept Bottleneck Models. In ICLR Workshop on PAIR2Struct, 2022.
  55. [Zhai et al., 2022] Xiaohua Zhai, Xiao Wang, Basil Mustafa, Andreas Steiner, Daniel Keysers, Alexander Kolesnikov, and Lucas Beyer. LiT: Zero-Shot Transfer With Locked- Image Text Tuning. In CVPR, 2022.
  56. [Zhai et al., 2023] Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, and Lucas Beyer. Sigmoid loss for language image pre-training. In ICCV, 2023.
  57. [Zhang and Shasha, 1989] Kaizhong Zhang and Dennis Shasha. Simple Fast Algorithms for the Editing Distance between Trees and Related Problems. SIAM Journal on Computing, 18(6):1245-1262, December 1989.
  58. [Zhang et al., 1992] Kaizhong Zhang, Rick Statman, and Dennis Shasha. On the editing distance between unordered labeled trees. Information processing letters, 42(3):133- 139, 1992.
  59. [Zhang et al., 2021] Ruihan Zhang, Prashan Madumal, Tim Miller, Krista A. Ehinger, and Benjamin I. P. Rubinstein. Invertible concept-based explanations for CNN models with non-negative concept activation vectors. In AAAI, 2021.
  60. [Zhang, 1996] Kaizhong Zhang. A constrained edit distance between unordered labeled trees. Algorithmica, 15(3):205- 222, 1996.
  61. [Zhao et al., 2025] Jitian Zhao, Chenghui Li, Frederic Sala, and Karl Rohe. Quantifying Structure in CLIP Embeddings: A Statistical Framework for Concept Interpretation, 2025. arXiv:2506.13831.

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

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