{"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/segmentation-of-multiple-sclerosis-lesions","title":"Segmentation of Multiple Sclerosis Lesions across Hospitals: Learn Continually or Train from Scratch?","arxiv_id":"2210.15091","date":"2022-10-27","proceeding":null,"authors":["Enamundram Naga Karthik","Anne Kerbrat","Pierre Labauge","Tobias Granberg","Jason Talbott","Daniel S. Reich","Massimo Filippi","Rohit Bakshi","Virginie Callot","Sarath Chandar","Julien Cohen-Adad"],"abstract":"Segmentation of Multiple Sclerosis (MS) lesions is a challenging problem. Several deep-learning-based methods have been proposed in recent years. However, most methods tend to be static, that is, a single model trained on a large, specialized dataset, which does not generalize well. Instead, the model should learn across datasets arriving sequentially from different hospitals by building upon the characteristics of lesions in a continual manner. In this regard, we explore experience replay, a well-known continual learning method, in the context of MS lesion segmentation across multi-contrast data from 8 different hospitals. Our experiments show that replay is able to achieve positive backward transfer and reduce catastrophic forgetting compared to sequential fine-tuning. Furthermore, replay outperforms the multi-domain training, thereby emerging as a promising solution for the segmentation of MS lesions. The code is available at this link: https://github.com/naga-karthik/continual-learning-ms","url_abs":"https://arxiv.org/abs/2210.15091v1","url_pdf":"https://arxiv.org/pdf/2210.15091v1.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":"segmentation-of-multiple-sclerosis-lesions","repo_url":"https://github.com/naga-karthik/continual-learning-ms","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"continual-learning","task_name":"Continual Learning"},{"task_slug":"lesion-segmentation","task_name":"Lesion Segmentation"},{"task_slug":"segmentation","task_name":"Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2210.15091","atlas_url":"https://app.syntology.ai/?focus=2210.15091","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2210.15091"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/naga-karthik/continual-learning-ms","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":9},"by_repo_kind":{"official":{"samples":9,"ran":9,"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":"447a1ae345c95ca9","entry":"ACC","repo":"naga-karthik/continual-learning-ms","repo_kind":"official","path":"utils/metrics.py","file_url":"https://github.com/naga-karthik/continual-learning-ms/blob/HEAD/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"447a1ae345c95ca9"}},{"code_sha256_prefix":"e86b1d16979bdf56","entry":"BWT","repo":"naga-karthik/continual-learning-ms","repo_kind":"official","path":"utils/metrics.py","file_url":"https://github.com/naga-karthik/continual-learning-ms/blob/HEAD/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e86b1d16979bdf56"}},{"code_sha256_prefix":"1ab69a1cba4e1f3f","entry":"FWT","repo":"naga-karthik/continual-learning-ms","repo_kind":"official","path":"utils/metrics.py","file_url":"https://github.com/naga-karthik/continual-learning-ms/blob/HEAD/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1ab69a1cba4e1f3f"}},{"code_sha256_prefix":"6676dd4f1c023783","entry":"conv_norm_lrelu","repo":"naga-karthik/continual-learning-ms","repo_kind":"official","path":"models.py","file_url":"https://github.com/naga-karthik/continual-learning-ms/blob/HEAD/models.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6676dd4f1c023783"}},{"code_sha256_prefix":"88ea4a3dc2d52e3c","entry":"get_test_datasets","repo":"naga-karthik/continual-learning-ms","repo_kind":"official","path":"main_pl_ft_random.py","file_url":"https://github.com/naga-karthik/continual-learning-ms/blob/HEAD/main_pl_ft_random.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"88ea4a3dc2d52e3c"}},{"code_sha256_prefix":"1f9a3633084a0474","entry":"get_test_datasets","repo":"naga-karthik/continual-learning-ms","repo_kind":"official","path":"main_pl_multi-task.py","file_url":"https://github.com/naga-karthik/continual-learning-ms/blob/HEAD/main_pl_multi-task.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1f9a3633084a0474"}},{"code_sha256_prefix":"a2046c9ad4f7396f","entry":"get_test_datasets","repo":"naga-karthik/continual-learning-ms","repo_kind":"official","path":"main_pl_single-task.py","file_url":"https://github.com/naga-karthik/continual-learning-ms/blob/HEAD/main_pl_single-task.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a2046c9ad4f7396f"}},{"code_sha256_prefix":"37d727f7206d2797","entry":"lrelu_conv","repo":"naga-karthik/continual-learning-ms","repo_kind":"official","path":"models.py","file_url":"https://github.com/naga-karthik/continual-learning-ms/blob/HEAD/models.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"37d727f7206d2797"}},{"code_sha256_prefix":"e7f1a4969d41930d","entry":"norm_lrelu_conv","repo":"naga-karthik/continual-learning-ms","repo_kind":"official","path":"models.py","file_url":"https://github.com/naga-karthik/continual-learning-ms/blob/HEAD/models.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e7f1a4969d41930d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}