[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-489421-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-489421-en":131},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","computational-creativity-in-meme-generation-a-multimodal-approach","Computational Creativity in Meme Generation: A Multimodal Approach","","Computational Creativity in Meme Generation: A Multimodal Approach proposes a modular system for automatically creating internet memes from user text. The workflow integrates natural language processing, retrieval-based template selection, and multimodal generation. It uses Llama2 with FAISS and LangChain to contextualize input and choose meme formats, then employs Stable-Diffusion 1.5 with ControlNet for image-to-image synthesis using template-linked macros. Finally, Llava 1.5 generates captions and provides explanations, demonstrating outputs, strengths/limitations, and directions for future improvements.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/computational-creativity-in-meme-generation-a-multimodal-approach/489421/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/computational-creativity-in-meme-generation-a-multimodal-approach/489421.png","ImageObject",300,407,{"name":42,"@type":43},"Anna Hans","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-02","2026-10-01",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",11,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"How does the system select a meme template based on user input?","Question",{"text":63,"@type":64},"It uses Llama2 to contextualize the input and then relies on FAISS vector storage and LangChain to retrieve/select meme formats from a database.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How are meme images generated in the proposed approach?",{"text":68,"@type":64},"Stable-Diffusion 1.5 with ControlNet performs image-to-image generation using predefined image macros linked to the chosen template, guided by a generated image description as the prompt.",{"name":70,"@type":61,"acceptedAnswer":71},"How are captions produced for the generated memes?",{"text":72,"@type":64},"A multimodal model, Llava 1.5, creates captions by combining visual understanding of the generated image with the input text and the concept produced in the first step.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},489421,1791025223,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":97,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},5909892332657,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","Computational Creativity in Meme Generation: A Multimodal Approach  \nJos P. Lopes, Joo M. Cunha and Pedro Martins  \nUniversity of Coimbra,  \nCentre for Informatics and Systems of the University of Coimbra, Department of Informatics Engineering  \n{joselopes,jmacunha,[pjmm](pjmm}@dei.uc.pt)[}](pjmm}@dei.uc.pt)[@dei.uc.pt](pjmm}@dei.uc.pt)  \nAbstract  \nIn this paper, we explore computational creativity in internet meme generation, employing a multimodal framework that integrates natural language processing, image generation and visual understanding. Specifically, we utilise Llama2, a language model trained on 7 billion parameters, FAISS vector storage, and LangChain to process user input and select meme formats from a database. By leveraging FAISS and LangChain, we contextualise the input to facilitate template selection and generate descriptions of meme concepts. We then employ Stable-Diffusion1.5 and ControlNet for image-to-image generation, utilising predefined image macros linked to chosen templates, and using a generated image description as prompt. Lastly we use a multimodal model capable of visual and language understanding, Llava1.5, to create captions for the generated memes using the input from the first step, and the concept given by the Llama2 model. We show some ouptuts generated by the proposed system, discuss its strengths and weaknesses, and outline potential avenues for future research and improvement.  \nIntroduction  \nCoined by Dawkins (1976), the term “meme” derives from the Greek word “mimema”, indicating “something imitated”. Much like genes propagate through reproductive cells, memes spread through imitation, moving from one mind to another. They are also susceptible to variation and distortion which leads to the creation of entirely new and unique combinations of existing ideas, beliefs, and expressions (Wiggins and Bowers 2015) . Internet memes exemplify this evolutionary process, harnessing the internet’s power to disseminate jokes, rumours, videos, and websites from person to person (Milner 2012; Soleh et al. 2021) . This idea is reinforced by the tendency for internet users to follow existing memes and adapt them to convey their own message, despite their freedom to create memes in various ways, as we can see in Figure 1 . Such patterns can be considered as “meme genres”, which are defined as “socially recognised types of communicative action”(Shifman 2014) . Genres share not only structures and stylistic elements, but also topics and target audiences, meaning that crafting and  \nFigure 1: Example of memes in the Stonks format  \n(Lopes et al., 2023)  \ncomprehending memes may demand some previous “meme literacy”(Shifman 2014) .  \nUsing these ideas as a foundation, we propose an approach for meme generation that, based on existing image macros, generates new images and captions for memes, following the memetic evolution concept of variation and distortion. We explored internet memes in computational creativity, by developing a modular proof of concept system, running on a local machine, using state-of-the-art generative models that can create and interpret text and images. Through the integration of open source models such as LLaMa-2 (Andrei 2024; Gerganov 2024; Touvron et al. 2023), Stable-Diffusion (Luo et al. 2023; Rombach et al. 2022), ControlNet (Zhang, Rao, and Agrawala 2023), and LLaVa-1 .5 (Andrei 2024; Liu et al. 2024), we introduce a modular approach to internet meme generation that leverages the principles of memetic evolution, embracing mutation and variation. Our system operates by receiving textual input and selecting from a pool of 18 meme templates to generate a meme related to the input. To generate the meme image itself, we use an image macro related to the chosen meme template as a starting point. This approach serves asa guide to keep the generated image within the template format. Lastly, a different module writes a caption that aligns with both the generated image and the input text.","cbCairHbADtDv7T8","https://ap.wps.com/l/cbCairHbADtDv7T8","pdf",2290980,"English","# Abstract\n# Introduction\n# Related Work","[{\"question\":\"How does the system select a meme template based on user input?\",\"answer\":\"It uses Llama2 to contextualize the input and then relies on FAISS vector storage and LangChain to retrieve/select meme formats from a database.\"},{\"question\":\"How are meme images generated in the proposed approach?\",\"answer\":\"Stable-Diffusion 1.5 with ControlNet performs image-to-image generation using predefined image macros linked to the chosen template, guided by a generated image description as the prompt.\"},{\"question\":\"How are captions produced for the generated memes?\",\"answer\":\"A multimodal model, Llava 1.5, creates captions by combining visual understanding of the generated image with the input text and the concept produced in the first step.\"}]","Computational Creativity in Meme Generation: A Multimodal Approach | PDF",1790822968,13,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3664acf852590bdebfce007da58bcae5.webp",983,1272,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/10b75b32565d05fc44350c4e203c8a01.webp",982,1270,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a7035705699afaef1baf321b282770e5.webp",981,1269,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/343d60c922f56b04c6a2f8b59c738baf.webp",980,1268]