{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/magid-an-automated-pipeline-for-generating","title":"MAGID: An Automated Pipeline for Generating Synthetic Multi-modal Datasets","arxiv_id":"2403.03194","date":"2024-03-05","proceeding":null,"authors":["Hossein Aboutalebi","Hwanjun Song","Yusheng Xie","Arshit Gupta","Justin Sun","Hang Su","Igor Shalyminov","Nikolaos Pappas","Siffi Singh","Saab Mansour"],"abstract":"Development of multimodal interactive systems is hindered by the lack of rich, multimodal (text, images) conversational data, which is needed in large quantities for LLMs. Previous approaches augment textual dialogues with retrieved images, posing privacy, diversity, and quality constraints. In this work, we introduce Multimodal Augmented Generative Images Dialogues (MAGID), a framework to augment text-only dialogues with diverse and high-quality images. Subsequently, a diffusion model is applied to craft corresponding images, ensuring alignment with the identified text. Finally, MAGID incorporates an innovative feedback loop between an image description generation module (textual LLM) and image quality modules (addressing aesthetics, image-text matching, and safety), that work in tandem to generate high-quality and multi-modal dialogues. We compare MAGID to other SOTA baselines on three dialogue datasets, using automated and human evaluation. Our results show that MAGID is comparable to or better than baselines, with significant improvements in human evaluation, especially against retrieval baselines where the image database is small.","url_abs":"https://arxiv.org/abs/2403.03194v2","url_pdf":"https://arxiv.org/pdf/2403.03194v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"magid-an-automated-pipeline-for-generating","repo_url":"https://github.com/amazon-science/MAGID","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"diversity","task_name":"Diversity"},{"task_slug":null,"task_name":"Image Description"},{"task_slug":"image-text-matching","task_name":"Image-text matching"},{"task_slug":"retrieval","task_name":"Retrieval"},{"task_slug":"text-matching","task_name":"Text Matching"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2403.03194","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.03194"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/amazon-science/MAGID","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":11,"unverified":2},"by_repo_kind":{"official":{"samples":13,"ran":11,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"370ffa9124b58516","entry":"add_image_border","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/multimodal_dataset/graphics/chat_vis.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/multimodal_dataset/graphics/chat_vis.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"370ffa9124b58516"}},{"code_sha256_prefix":"c382afdeac958e47","entry":"evaluate","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/tools.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/tools.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c382afdeac958e47"}},{"code_sha256_prefix":"021bd99e595c6897","entry":"evaluate","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/multimodal_dataset/tools.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/multimodal_dataset/tools.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"021bd99e595c6897"}},{"code_sha256_prefix":"6ac2145bebd8c2f5","entry":"get_prompts","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/multimodal_dataset/datasets/MMDialog/tools.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/multimodal_dataset/datasets/MMDialog/tools.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6ac2145bebd8c2f5"}},{"code_sha256_prefix":"6ab6eeb90e811295","entry":"lighten_color","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/multimodal_dataset/graphics/chat_vis.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/multimodal_dataset/graphics/chat_vis.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6ab6eeb90e811295"}},{"code_sha256_prefix":"cfea196b35b44235","entry":"prepare_content","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/multimodal_dataset/datasets/MMDialog/tools.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/multimodal_dataset/datasets/MMDialog/tools.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cfea196b35b44235"}},{"code_sha256_prefix":"a10d8df414b8f84b","entry":"prepare_content_DialyDialog","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/multimodal_dataset/datasets/DailyDialog/tools.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/multimodal_dataset/datasets/DailyDialog/tools.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a10d8df414b8f84b"}},{"code_sha256_prefix":"cf47f8fcc346c0ee","entry":"prepare_content_MMDD","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/multimodal_dataset/datasets/MMDD/tools.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/multimodal_dataset/datasets/MMDD/tools.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cf47f8fcc346c0ee"}},{"code_sha256_prefix":"4adaf57c7ec195f8","entry":"remove_emoji","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/multimodal_dataset/datasets/MMDialog/tools.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/multimodal_dataset/datasets/MMDialog/tools.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4adaf57c7ec195f8"}},{"code_sha256_prefix":"e050e890812a53b4","entry":"truncate_text","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/tools.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/tools.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e050e890812a53b4"}},{"code_sha256_prefix":"a375d23d939133a9","entry":"wrap_text","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/multimodal_dataset/graphics/chat_vis.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/multimodal_dataset/graphics/chat_vis.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a375d23d939133a9"}},{"code_sha256_prefix":"50c4dee73b4909b4","entry":"get_prompts","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/multimodal_dataset/datasets/MMDD/tools.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/multimodal_dataset/datasets/MMDD/tools.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"50c4dee73b4909b4"}},{"code_sha256_prefix":"b3acc0c403d224d3","entry":"set_seed","repo":"amazon-science/MAGID","repo_kind":"official","path":"src/tools.py","file_url":"https://github.com/amazon-science/MAGID/blob/HEAD/src/tools.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b3acc0c403d224d3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}