{"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/analyzing-modality-robustness-in-multimodal-1","title":"Analyzing Modality Robustness in Multimodal Sentiment Analysis","arxiv_id":"2205.15465","date":"2022-05-30","proceeding":"NAACL 2022 7","authors":["Devamanyu Hazarika","Yingting Li","Bo Cheng","Shuai Zhao","Roger Zimmermann","Soujanya Poria"],"abstract":"Building robust multimodal models are crucial for achieving reliable deployment in the wild. Despite its importance, less attention has been paid to identifying and improving the robustness of Multimodal Sentiment Analysis (MSA) models. In this work, we hope to address that by (i) Proposing simple diagnostic checks for modality robustness in a trained multimodal model. Using these checks, we find MSA models to be highly sensitive to a single modality, which creates issues in their robustness; (ii) We analyze well-known robust training strategies to alleviate the issues. Critically, we observe that robustness can be achieved without compromising on the original performance. We hope our extensive study-performed across five models and two benchmark datasets-and proposed procedures would make robustness an integral component in MSA research. Our diagnostic checks and robust training solutions are simple to implement and available at https://github. com/declare-lab/MSA-Robustness.","url_abs":"https://arxiv.org/abs/2205.15465v1","url_pdf":"https://arxiv.org/pdf/2205.15465v1.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":"analyzing-modality-robustness-in-multimodal-1","repo_url":"https://github.com/declare-lab/msa-robustness","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"diagnostic","task_name":"Diagnostic"},{"task_slug":"multimodal-sentiment-analysis","task_name":"Multimodal Sentiment Analysis"},{"task_slug":"sentiment-analysis","task_name":"Sentiment Analysis"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2205.15465","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2205.15465"}},"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/declare-lab/msa-robustness","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":1,"ran_violates":1,"unverified":5},"by_repo_kind":{"official":{"samples":7,"ran":2,"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":"70db7c9cbe9e680d","entry":"load_pickle","repo":"declare-lab/msa-robustness","repo_kind":"official","path":"BBFN/src/create_dataset.py","file_url":"https://github.com/declare-lab/msa-robustness/blob/HEAD/BBFN/src/create_dataset.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"70db7c9cbe9e680d"}},{"code_sha256_prefix":"38096a698c1dafa9","entry":"str2bool","repo":"declare-lab/msa-robustness","repo_kind":"official","path":"BBFN/src/config.py","file_url":"https://github.com/declare-lab/msa-robustness/blob/HEAD/BBFN/src/config.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"38096a698c1dafa9"}},{"code_sha256_prefix":"a34582b858836a0c","entry":"get_config","repo":"declare-lab/msa-robustness","repo_kind":"official","path":"BBFN/src/config.py","file_url":"https://github.com/declare-lab/msa-robustness/blob/HEAD/BBFN/src/config.py","link_basis":"harvester_set","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":"a34582b858836a0c"}},{"code_sha256_prefix":"d01e3cc2e756bb5a","entry":"get_config","repo":"declare-lab/msa-robustness","repo_kind":"official","path":"MISA/src/config.py","file_url":"https://github.com/declare-lab/msa-robustness/blob/HEAD/MISA/src/config.py","link_basis":"harvester_set","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":"d01e3cc2e756bb5a"}},{"code_sha256_prefix":"c4b17078505c0346","entry":"load_emb","repo":"declare-lab/msa-robustness","repo_kind":"official","path":"BBFN/src/create_dataset.py","file_url":"https://github.com/declare-lab/msa-robustness/blob/HEAD/BBFN/src/create_dataset.py","link_basis":"harvester_set","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":"c4b17078505c0346"}},{"code_sha256_prefix":"83f6167b0c8caf55","entry":"masked_max","repo":"declare-lab/msa-robustness","repo_kind":"official","path":"MISA/src/models.py","file_url":"https://github.com/declare-lab/msa-robustness/blob/HEAD/MISA/src/models.py","link_basis":"harvester_set","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":"83f6167b0c8caf55"}},{"code_sha256_prefix":"0953c66f6d265ad1","entry":"masked_mean","repo":"declare-lab/msa-robustness","repo_kind":"official","path":"MISA/src/models.py","file_url":"https://github.com/declare-lab/msa-robustness/blob/HEAD/MISA/src/models.py","link_basis":"harvester_set","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":"0953c66f6d265ad1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}