{"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/arxiv-2608-24597","title":"Taming foundation model with invariance-oriented pre-training for broad-spectrum EEG analysis across signal-level, brain-state, and brain-health tasks","arxiv_id":"2608.24597","date":"2026-08-25","proceeding":null,"authors":["Yulong Dou","Han Wu","Guo Chen","Fangmao Ju","Zhiming Cui","Dinggang Shen"],"abstract":"Electroencephalography (EEG) is a widely used window into human brain function, but most EEG models remain tied to a one-dataset-one-model supervised paradigm. Recent EEG foundation models offer a route toward reusable representations, but most remain reconstruction-centered, assuming that EEG content predictable from local context is necessarily transferable neural information. Here we present INCEPT, an invariance-oriented EEG foundation model trained on over 11,000 hours of unlabelled clinical EEG. Rather than prioritizing signal recovery alone, INCEPT learns representation-level stability across correlated EEG observations, separating stable neural structure and essential subject-sensitive information from the nuisance variability that dominates scalp recordings while preserving subject-, state- and condition-discriminative information. We evaluate INCEPT on a broad-spectrum benchmark of ten datasets spanning three levels of post-acquisition EEG analysis: signal-level assessment, brain-state decoding, and brain-health evaluation. INCEPT ranks first among recent EEG foundation models on 26 of 30 linear-probing metrics and 24 of 30 fine-tuning metrics, and also surpasses strong task-specific specialist encoders across diverse downstream settings. Objective ablations and representation analyses further show that invariance-oriented pre-training improves transfer and organizes subject-sensitive neural representations beyond reconstruction alone. These results establish invariance learning as a promising principle for building reusable EEG foundation models.","url_abs":"https://arxiv.org/abs/2608.24597","url_pdf":"https://arxiv.org/pdf/2608.24597","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2608.24597","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2608.24597"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/wjq-learning/CBraMod","reach":{"status":"ok","spdx":"MIT"}},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/jingyingma01/CodeBrain","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/vlawhern/arl-eegmodels","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/eeyhsong/EEG-Conformer","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/yuchen2199/CSBrain","reach":null}],"summary":{"ran_draft_wrong":3,"ran":14,"unverified":8},"by_repo_kind":{"found_in_text":{"samples":25,"ran":17,"repositories":4}},"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":10,"samples":[{"code_sha256_prefix":"c6263e54c9b86e6d","entry":"Activation","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.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":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c6263e54c9b86e6d"}},{"code_sha256_prefix":"ae0bc09e60a507a7","entry":"EEGNet","repo":"vlawhern/arl-eegmodels","repo_kind":"found_in_text","path":"EEGModels.py","file_url":"https://github.com/vlawhern/arl-eegmodels/blob/HEAD/EEGModels.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ae0bc09e60a507a7"}},{"code_sha256_prefix":"208067a8a78f8511","entry":"EEGNet_SSVEP","repo":"vlawhern/arl-eegmodels","repo_kind":"found_in_text","path":"EEGModels.py","file_url":"https://github.com/vlawhern/arl-eegmodels/blob/HEAD/EEGModels.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"208067a8a78f8511"}},{"code_sha256_prefix":"fea3ed5bbd32f75c","entry":"KernelModule","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fea3ed5bbd32f75c"}},{"code_sha256_prefix":"2dcd0e47512ab0d7","entry":"LinearActivation","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.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":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2dcd0e47512ab0d7"}},{"code_sha256_prefix":"e040d2abd0c95569","entry":"Modrelu","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e040d2abd0c95569"}},{"code_sha256_prefix":"6e10551ad32d731d","entry":"Normalization","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.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":"6e10551ad32d731d"}},{"code_sha256_prefix":"7c0d85643eabcc08","entry":"PatchEmbedding","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7c0d85643eabcc08"}},{"code_sha256_prefix":"e2d66913214dd8a8","entry":"PatchEmbedding","repo":"yuchen2199/CSBrain","repo_kind":"found_in_text","path":"models/CSBrain.py","file_url":"https://github.com/yuchen2199/CSBrain/blob/HEAD/models/CSBrain.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e2d66913214dd8a8"}},{"code_sha256_prefix":"eb1aca90c956ed92","entry":"RMSNorm","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"eb1aca90c956ed92"}},{"code_sha256_prefix":"2647ee32c29bcf93","entry":"TransposedLN","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2647ee32c29bcf93"}},{"code_sha256_prefix":"894c9f76db638d83","entry":"ZeroConv1d","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"894c9f76db638d83"}},{"code_sha256_prefix":"e107d490daeb5f52","entry":"center_crop_img","repo":"eeyhsong/EEG-Conformer","repo_kind":"found_in_text","path":"visualization/utils.py","file_url":"https://github.com/eeyhsong/EEG-Conformer/blob/HEAD/visualization/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"e107d490daeb5f52"}},{"code_sha256_prefix":"74002c07fb43a2eb","entry":"generate_area_config","repo":"yuchen2199/CSBrain","repo_kind":"found_in_text","path":"models/CSBrain.py","file_url":"https://github.com/yuchen2199/CSBrain/blob/HEAD/models/CSBrain.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"74002c07fb43a2eb"}},{"code_sha256_prefix":"a465028f6f0c4948","entry":"modrelu","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a465028f6f0c4948"}},{"code_sha256_prefix":"4ed0c3453d83c7cf","entry":"reshape_transform","repo":"eeyhsong/EEG-Conformer","repo_kind":"found_in_text","path":"visualization/CAT.py","file_url":"https://github.com/eeyhsong/EEG-Conformer/blob/HEAD/visualization/CAT.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"4ed0c3453d83c7cf"}},{"code_sha256_prefix":"3066e6494c4e39d6","entry":"show_cam_on_image","repo":"eeyhsong/EEG-Conformer","repo_kind":"found_in_text","path":"visualization/utils.py","file_url":"https://github.com/eeyhsong/EEG-Conformer/blob/HEAD/visualization/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"3066e6494c4e39d6"}},{"code_sha256_prefix":"677385314c813687","entry":"CSBrain","repo":"yuchen2199/CSBrain","repo_kind":"found_in_text","path":"models/CSBrain.py","file_url":"https://github.com/yuchen2199/CSBrain/blob/HEAD/models/CSBrain.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"677385314c813687"}},{"code_sha256_prefix":"3ebdadbf41d1d55c","entry":"EEGNet_old","repo":"vlawhern/arl-eegmodels","repo_kind":"found_in_text","path":"EEGModels.py","file_url":"https://github.com/vlawhern/arl-eegmodels/blob/HEAD/EEGModels.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"3ebdadbf41d1d55c"}},{"code_sha256_prefix":"d24149f813f13a50","entry":"GConv","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.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":"d24149f813f13a50"}},{"code_sha256_prefix":"cfb80bee310f453e","entry":"Residual_block","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.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":"cfb80bee310f453e"}},{"code_sha256_prefix":"88b825b785fb689d","entry":"Residual_group","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.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":"88b825b785fb689d"}},{"code_sha256_prefix":"9d2c22dbef7595bf","entry":"SSSM","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.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":"9d2c22dbef7595bf"}},{"code_sha256_prefix":"4edaaa3872a51794","entry":"TransposedLinear","repo":"jingyingma01/CodeBrain","repo_kind":"found_in_text","path":"Models/SSSM.py","file_url":"https://github.com/jingyingma01/CodeBrain/blob/HEAD/Models/SSSM.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":"4edaaa3872a51794"}},{"code_sha256_prefix":"6088673e8ec9c50c","entry":"_weights_init","repo":"yuchen2199/CSBrain","repo_kind":"found_in_text","path":"models/CSBrain.py","file_url":"https://github.com/yuchen2199/CSBrain/blob/HEAD/models/CSBrain.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6088673e8ec9c50c"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,795 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6795},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}