Evaluation and dataset construction code for the CVPR 2025 paper "Vision-Language Models Do Not Understand Negation"
49
stars
13
commits
Python
primary language
Feb 26, 2026
updated
This repository contains the code, datasets, and resources for the paper "Vision-Language Models Do Not Understand Negation" (preprint link) accepted at CVPR 2025. The paper explores the limitations of vision-language models (e.g., CLIP, NegCLIP) in understanding negation and presents new evaluation benchmarks and fine-tuning datasets to address these challenges.
This repository is a work in progress, and the authors welcome feedback, suggestions, and contributions. We are also happy to discuss extensions of our work. Please feel free to open an issue on GitHub or reach out via email.
results/mcq/1_baseline_total.csv and results/mcq/2_scaling_clip_total.csv. Our updated finetuned model numbers are in results/mcq/3_finetuned_total.csv.The repository is organized as follows:
benchmarks/synthetic_datasets/evaluation/: Tools for creating datasets to evaluate negation understanding (e.g., NegBench).finetuning/: Tools for creating datasets to fine-tune models on negation tasks (e.g., CC12M-NegCap, CC12M-NegMCQ).Each subdirectory contains its own README.md file with detailed instructions on how to use the scripts and files.
For detailed instructions on downloading and preparing datasets (e.g., CC12M, COCO, VOC2007, MSR-VTT), refer to datasets.md.
For instructions and links to download some of the evaluated models (e.g., OpenAI CLIP, CoNCLIP, NegCLIP, our finetuned NegCLIP), refer to models.md.
We value feedback from the community! If you have questions, comments, or suggestions, feel free to:
If you find this work useful in your research, please cite our paper:
@article{alhamoud2025vision,
title={Vision-Language Models Do Not Understand Negation},
author={Alhamoud, Kumail and Alshammari, Shaden and Tian, Yonglong and Li, Guohao and Torr, Philip and Kim, Yoon and Ghassemi, Marzyeh},
journal={arXiv preprint arXiv:2501.09425},
year={2025}
}
Thank you for your interest in this project! We look forward to your feedback and collaboration.
For questions or feedback, please reach out to:
13 commits
Python
96.0%
Shell
3.9%
Evaluation and dataset construction code for the CVPR 2025 paper "Vision-Language Models Do Not Understand Negation"
49
stars
13
commits
Python
primary language
Feb 26, 2026
updated
This repository contains the code, datasets, and resources for the paper "Vision-Language Models Do Not Understand Negation" (preprint link) accepted at CVPR 2025. The paper explores the limitations of vision-language models (e.g., CLIP, NegCLIP) in understanding negation and presents new evaluation benchmarks and fine-tuning datasets to address these challenges.
This repository is a work in progress, and the authors welcome feedback, suggestions, and contributions. We are also happy to discuss extensions of our work. Please feel free to open an issue on GitHub or reach out via email.
results/mcq/1_baseline_total.csv and results/mcq/2_scaling_clip_total.csv. Our updated finetuned model numbers are in results/mcq/3_finetuned_total.csv.The repository is organized as follows:
benchmarks/synthetic_datasets/evaluation/: Tools for creating datasets to evaluate negation understanding (e.g., NegBench).finetuning/: Tools for creating datasets to fine-tune models on negation tasks (e.g., CC12M-NegCap, CC12M-NegMCQ).Each subdirectory contains its own README.md file with detailed instructions on how to use the scripts and files.
For detailed instructions on downloading and preparing datasets (e.g., CC12M, COCO, VOC2007, MSR-VTT), refer to datasets.md.
For instructions and links to download some of the evaluated models (e.g., OpenAI CLIP, CoNCLIP, NegCLIP, our finetuned NegCLIP), refer to models.md.
We value feedback from the community! If you have questions, comments, or suggestions, feel free to:
If you find this work useful in your research, please cite our paper:
@article{alhamoud2025vision,
title={Vision-Language Models Do Not Understand Negation},
author={Alhamoud, Kumail and Alshammari, Shaden and Tian, Yonglong and Li, Guohao and Torr, Philip and Kim, Yoon and Ghassemi, Marzyeh},
journal={arXiv preprint arXiv:2501.09425},
year={2025}
}
Thank you for your interest in this project! We look forward to your feedback and collaboration.
For questions or feedback, please reach out to:
13 commits
Python
96.0%
Shell
3.9%