{"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/embracing-language-inclusivity-and-diversity","title":"Embracing Language Inclusivity and Diversity in CLIP through Continual Language Learning","arxiv_id":"2401.17186","date":"2024-01-30","proceeding":null,"authors":["Bang Yang","Yong Dai","Xuxin Cheng","Yaowei Li","Asif Raza","Yuexian Zou"],"abstract":"While vision-language pre-trained models (VL-PTMs) have advanced multimodal research in recent years, their mastery in a few languages like English restricts their applicability in broader communities. To this end, there is an increasing interest in developing multilingual VL models via a joint-learning setup, which, however, could be unrealistic due to expensive costs and data availability. In this work, we propose to extend VL-PTMs' language capacity by continual language learning (CLL), where a model needs to update its linguistic knowledge incrementally without suffering from catastrophic forgetting (CF). We begin our study by introducing a model dubbed CLL-CLIP, which builds upon CLIP, a prevailing VL-PTM that has acquired image-English text alignment. Specifically, CLL-CLIP contains an expandable token embedding layer to handle linguistic differences. It solely trains token embeddings to improve memory stability and is optimized under cross-modal and cross-lingual objectives to learn the alignment between images and multilingual texts. To alleviate CF raised by covariate shift and lexical overlap, we further propose a novel approach that ensures the identical distribution of all token embeddings during initialization and regularizes token embedding learning during training. We construct a CLL benchmark covering 36 languages based on MSCOCO and XM3600 datasets and then evaluate multilingual image-text retrieval performance. Extensive experiments verify the effectiveness of CLL-CLIP and show that our approach can boost CLL-CLIP, e.g., by 6.7% in text-to-image average Recall@1 on XM3600, and improve various state-of-the-art methods consistently. Our code and data are available at \\url{https://github.com/yangbang18/CLFM}.","url_abs":"https://arxiv.org/abs/2401.17186v1","url_pdf":"https://arxiv.org/pdf/2401.17186v1.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":"embracing-language-inclusivity-and-diversity","repo_url":"https://github.com/yangbang18/clfm","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"diversity","task_name":"Diversity"},{"task_slug":"image-text-retrieval","task_name":"Image-text Retrieval"},{"task_slug":"text-retrieval","task_name":"Text Retrieval"}],"methods":[{"method_slug":"clip","method_name":"CLIP"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2401.17186","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2401.17186"}},"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":"deterministic:regex_extraction","url":"https://github.com/yangbang18/CLFM","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":5},"by_repo_kind":{"official":{"samples":5,"ran":5,"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":"d1b2290a8db95c91","entry":"construct_gts","repo":"yangbang18/CLFM","repo_kind":"official","path":"clfm/evaluation/RetrievalEvaluator.py","file_url":"https://github.com/yangbang18/CLFM/blob/HEAD/clfm/evaluation/RetrievalEvaluator.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":"d1b2290a8db95c91"}},{"code_sha256_prefix":"8fa0e8b2e219fd60","entry":"get_concat_dataset_and_loader","repo":"yangbang18/CLFM","repo_kind":"official","path":"clfm/datasets/ConcatDataset.py","file_url":"https://github.com/yangbang18/CLFM/blob/HEAD/clfm/datasets/ConcatDataset.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":"8fa0e8b2e219fd60"}},{"code_sha256_prefix":"b4dae4f7179bbb2d","entry":"retrieval_evaluation","repo":"yangbang18/CLFM","repo_kind":"official","path":"clfm/evaluation/RetrievalEvaluator.py","file_url":"https://github.com/yangbang18/CLFM/blob/HEAD/clfm/evaluation/RetrievalEvaluator.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":"b4dae4f7179bbb2d"}},{"code_sha256_prefix":"6abf632eb7201034","entry":"retrieval_evaluation_n_fold","repo":"yangbang18/CLFM","repo_kind":"official","path":"clfm/evaluation/RetrievalEvaluator.py","file_url":"https://github.com/yangbang18/CLFM/blob/HEAD/clfm/evaluation/RetrievalEvaluator.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":"6abf632eb7201034"}},{"code_sha256_prefix":"580bf03d921b436f","entry":"tensor_prompt","repo":"yangbang18/CLFM","repo_kind":"official","path":"clfm/adapters/prompt.py","file_url":"https://github.com/yangbang18/CLFM/blob/HEAD/clfm/adapters/prompt.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":"580bf03d921b436f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}