A CLIP-based siamese approach for meme classification
Javier Huertas-Tato, Christos Koutlis, Symeon Papadopoulos, David Camacho, Ioannis Kompatsiaris
TL;DR
SimCLIP tackles cross-modal meme classification by freezing CLIP encoders and applying a lightweight Siamese-style fusion that combines image and text embeddings via concatenation, absolute difference, and the Hadamard product. Evaluated across seven meme datasets, it achieves state-of-the-art performance on Harm-P and Memotion7k Task 3, while remaining competitive on others and outperforming heavier baselines in several cases. The approach emphasizes a compact, accessible baseline for meme analysis that leverages CLIP's shared embedding space to model text-image interactions without external context or ensembles. Limitations include generalization to in-the-wild memes and dataset-specific trade-offs, pointing to future work in larger meme-focused pretraining and knowledge-graph integration.
Abstract
Memes are an increasingly prevalent element of online discourse in social networks, especially among young audiences. They carry ideas and messages that range from humorous to hateful, and are widely consumed. Their potentially high impact requires adequate means of control to moderate their use in large scale. In this work, we propose SimCLIP a deep learning-based architecture for cross-modal understanding of memes, leveraging a pre-trained CLIP encoder to produce context-aware embeddings and a Siamese fusion technique to capture the interactions between text and image. We perform an extensive experimentation on seven meme classification tasks across six datasets. We establish a new state of the art in Memotion7k with a 7.25% relative F1-score improvement, and achieve super-human performance on Harm-P with 13.73% F1-Score improvement. Our approach demonstrates the potential for compact meme classification models, enabling accurate and efficient meme monitoring. We share our code at https://github.com/jahuerta92/meme-classification-simclip
