OxfordTVG-HIC: Can Machine Make Humorous Captions from Images?

Runjia Li, Shuyang Sun, Mohamed Elhoseiny, Philip Torr; Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2023, pp. 20293-20303


This paper presents OxfordTVG-HIC (Humorous Image Captions), a large-scale dataset for humour generation and understanding. Humour is an abstract, subjective, and context-dependent cognitive construct involving several cognitive factors, making it a challenging task to generate and interpret. Hence, humour generation and understanding can serve as a new task for evaluating the ability of deep-learning methods to process abstract and subjective information. Due to the scarcity of data, humour-related generation tasks such as captioning remain underexplored. To address this gap, OxfordTVG-HIC offers approximately 2.9M image-text pairs with humour scores to train a generalizable humour captioning model. Contrary to existing captioning datasets, OxfordTVG-HIC features a wide range of emotional and semantic diversity resulting in out-of-context examples that are particularly conducive to generating humour. Moreover, OxfordTVG-HIC is curated devoid of offensive content. We also show how OxfordTVGHIC can be leveraged for evaluating the humour of a generated text. Through explainability analysis of the trained models, we identify the visual and linguistic cues influential for evoking humour prediction (and generation). We observe qualitatively that these cues are aligned with the benign violation theory of humour in cognitive psychology.

Related Material

[pdf] [supp]
@InProceedings{Li_2023_ICCV, author = {Li, Runjia and Sun, Shuyang and Elhoseiny, Mohamed and Torr, Philip}, title = {OxfordTVG-HIC: Can Machine Make Humorous Captions from Images?}, booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)}, month = {October}, year = {2023}, pages = {20293-20303} }