{"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/self-supervised-longitudinal-neighbourhood","title":"Self-Supervised Longitudinal Neighbourhood Embedding","arxiv_id":"2103.03840","date":"2021-03-05","proceeding":null,"authors":["Jiahong Ouyang","Qingyu Zhao","Ehsan Adeli","Edith V Sullivan","Adolf Pfefferbaum","Greg Zaharchuk","Kilian M Pohl"],"abstract":"Longitudinal MRIs are often used to capture the gradual deterioration of brain structure and function caused by aging or neurological diseases. Analyzing this data via machine learning generally requires a large number of ground-truth labels, which are often missing or expensive to obtain. Reducing the need for labels, we propose a self-supervised strategy for representation learning named Longitudinal Neighborhood Embedding (LNE). Motivated by concepts in contrastive learning, LNE explicitly models the similarity between trajectory vectors across different subjects. We do so by building a graph in each training iteration defining neighborhoods in the latent space so that the progression direction of a subject follows the direction of its neighbors. This results in a smooth trajectory field that captures the global morphological change of the brain while maintaining the local continuity. We apply LNE to longitudinal T1w MRIs of two neuroimaging studies: a dataset composed of 274 healthy subjects, and Alzheimer's Disease Neuroimaging Initiative (ADNI, N=632). The visualization of the smooth trajectory vector field and superior performance on downstream tasks demonstrate the strength of the proposed method over existing self-supervised methods in extracting information associated with normal aging and in revealing the impact of neurodegenerative disorders. The code is available at \\url{https://github.com/ouyangjiahong/longitudinal-neighbourhood-embedding.git}.","url_abs":"https://arxiv.org/abs/2103.03840v3","url_pdf":"https://arxiv.org/pdf/2103.03840v3.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":"self-supervised-longitudinal-neighbourhood","repo_url":"https://github.com/ouyangjiahong/longitudinal-neighbourhood-embedding","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"contrastive-learning","task_name":"Contrastive Learning"},{"task_slug":"representation-learning","task_name":"Representation Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2103.03840","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2103.03840"}},"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/ouyangjiahong/longitudinal-neighbourhood-embedding","reach":null}],"summary":{"ran_fixture":1,"ran_draft_wrong":2},"by_repo_kind":{"official":{"samples":3,"ran":3,"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":3,"samples":[{"code_sha256_prefix":"fdfeb6ed40a1f10b","entry":"augment_image","repo":"ouyangjiahong/longitudinal-neighbourhood-embedding","repo_kind":"official","path":"src/data_preprocessing_ADNI.py","file_url":"https://github.com/ouyangjiahong/longitudinal-neighbourhood-embedding/blob/HEAD/src/data_preprocessing_ADNI.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fdfeb6ed40a1f10b"}},{"code_sha256_prefix":"ccd620af959aa6f9","entry":"get_subj_pair_case_id_list","repo":"ouyangjiahong/longitudinal-neighbourhood-embedding","repo_kind":"official","path":"src/data_preprocessing_ADNI.py","file_url":"https://github.com/ouyangjiahong/longitudinal-neighbourhood-embedding/blob/HEAD/src/data_preprocessing_ADNI.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ccd620af959aa6f9"}},{"code_sha256_prefix":"3b9274be0e526440","entry":"get_subj_single_case_id_list","repo":"ouyangjiahong/longitudinal-neighbourhood-embedding","repo_kind":"official","path":"src/data_preprocessing_ADNI.py","file_url":"https://github.com/ouyangjiahong/longitudinal-neighbourhood-embedding/blob/HEAD/src/data_preprocessing_ADNI.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3b9274be0e526440"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}