Introduction
Internet memes are a sociolinguistic minefield for artificial intelligence. Unlike standard images, memes are inherently "templatic"—they rely on a shared cultural grammar where meaning is derived from the interaction between a familiar visual format and overlaid text or images. Current computer vision models often treat memes as static image-text pairs, ignoring the historical and cultural context of the template itself. This paper introduces the Know Your Meme Knowledge Base (KYMKB) and novel methodologies to move meme analysis beyond simple pattern recognition.
The Know Your Meme Knowledge Base (KYMKB)
To bridge the gap between raw data and cultural context, the researchers developed the KYMKB. This structured database was scraped from Know Your Meme and contains 5,220 base templates along with nearly 50,000 specific instances. Each entry includes rich metadata, such as the template's origin, year of creation, and intended meaning, providing a "cultural dictionary" for AI models.
Methodology: TSplit and TLC
The authors identify a hidden flaw in existing meme research: "template leakage." In standard random data splits, variants of the same template often appear in both training and test sets. This allows models to "cheat" by memorizing specific visual patterns rather than learning to generalize the intent of the meme. To solve this, the authors introduced two core techniques:
- TSplit (Template-Aware Splitter): Using CLIP embeddings and Euclidean distance, TSplit ensures that a specific template (and all its variants) appears exclusively in either the training or the test set. This forces models to prove they can understand a meme format they haven't encountered before.
- TLC (Template-Label Counter): This is a retrieval-augmented generation (RAG) approach for classification. When the model encounters a new meme, it retrieves the most similar template from the KYMKB and uses the historical labels associated with that template to inform its prediction.
Key Results and Insights
The researchers achieved State-of-the-Art (SOTA) performance across four major meme benchmarks: MultiOff (offensive memes), Memotion 3 (sentiment), FigMemes (figurative language), and MAMI (misogyny).
- The "Memorization" Trap: The study revealed that standard splits overestimate model performance. When TSplit was used to remove template overlap, baseline models struggled, proving they weren't actually "understanding" the memes but merely recognizing familiar pictures.
- Sample Efficiency: By accounting for "templateness," the authors could down-sample training data by up to 2,500 samples while maintaining or exceeding the performance of models trained on full, unorganized datasets.
- Multilingual Robustness: Because visual templates act as cross-cultural anchors, the KYMKB allows models to perform well on multilingual datasets (like the Hindi/English Memotion 3) without requiring explicit translation.
Conclusion
By treating memes as structured cultural artifacts rather than random images, the authors demonstrate that AI can achieve a deeper, more robust understanding of internet culture. While the KYMKB is not yet exhaustive, it provides a powerful framework for future work in real-time template identification and the expansion of AI's cultural literacy.
Summary updated