{"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-2605-06943","title":"ProtoSSL: Interpretable Prototype Learning from Unlabeled Time-Series Data","arxiv_id":"2605.06943","date":"2026-05-07","proceeding":null,"authors":["Steven Song","Sahil Sethi","Brett Beaulieu-Jones","Robert L. Grossman"],"abstract":"In time-series domains where both predictive performance and interpretability are essential, deep neural networks achieve strong results but provide limited insight into how their predictions are made. Projection-based prototype networks address this limitation by grounding predictions in similarity to representative training examples, enabling case-based explanations and global prototype inspection. However, existing approaches rely on label supervision, tying prototypes to a specific task and requiring large labeled datasets. We introduce ProtoSSL, a novel framework for learning interpretable, projection-based prototypes from unlabeled time-series data and adapting them to downstream tasks. Our key idea is to separate motif discovery from label alignment. ProtoSSL first learns a reusable prototype bank using a self-supervised objective applied directly to prototype activations, and then aligns these prototypes to downstream tasks through an efficient assignment procedure. Across six electrocardiography (ECG) datasets, ProtoSSL improves label efficiency, outperforming supervised prototype baselines in low-data regimes with as few as 256 labeled examples; with fine-tuning, ProtoSSL outperforms supervised prototype baselines at full dataset scale. In a human evaluation study, ProtoSSL produces prototypes and prototype-based explanations that are judged more favorably than those learned with direct label supervision. We further show that the framework extends to audio classification. Thus, ProtoSSL enables both learning generalizable prototypes from unlabeled data before the downstream label space is known, and subsequent assignment of interpretable, projection-grounded prototypes to new time-series tasks.","url_abs":"https://arxiv.org/abs/2605.06943","url_pdf":"https://arxiv.org/pdf/2605.06943","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":{"atlas_url":"https://app.syntology.ai/?focus=2605.06943","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.06943"}},"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/StevenSong/ProtoSSL","reach":null}],"summary":{"ran":2,"ran_draft_wrong":2,"ran_fixture":1,"unverified":7},"by_repo_kind":{"found_in_text":{"samples":12,"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":"047872e250d7d4d1","entry":"BasicBlock","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.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":"047872e250d7d4d1"}},{"code_sha256_prefix":"31a45c2f788e96ff","entry":"MyMaxPool1dPadSame","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"31a45c2f788e96ff"}},{"code_sha256_prefix":"b2d14c9514a3d61d","entry":"match_whitelist_with_wildcard","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b2d14c9514a3d61d"}},{"code_sha256_prefix":"39e13ad9ee67b106","entry":"pairwise_cosine_similarity","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"39e13ad9ee67b106"}},{"code_sha256_prefix":"85fea75e8943f70c","entry":"patchwise_cosine_similarity_2d","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"85fea75e8943f70c"}},{"code_sha256_prefix":"52fc95798fa77887","entry":"BaseClassifier","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.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":"52fc95798fa77887"}},{"code_sha256_prefix":"aaa345bbe9bb7e30","entry":"BaseEncoder","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.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":"aaa345bbe9bb7e30"}},{"code_sha256_prefix":"06f47724cdc92f24","entry":"BasicStage","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.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":"06f47724cdc92f24"}},{"code_sha256_prefix":"594495ef8d103c04","entry":"Net1D","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.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":"594495ef8d103c04"}},{"code_sha256_prefix":"ba290a7627c2cc33","entry":"PretrainedMixin","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.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":"ba290a7627c2cc33"}},{"code_sha256_prefix":"20ac2361aace4f1b","entry":"PrototypeClassifier","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.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":"20ac2361aace4f1b"}},{"code_sha256_prefix":"591a335829a354ac","entry":"PrototypeEncoder","repo":"StevenSong/ProtoSSL","repo_kind":"found_in_text","path":"protossl/models/_prototype_classifier.py","file_url":"https://github.com/StevenSong/ProtoSSL/blob/HEAD/protossl/models/_prototype_classifier.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":"591a335829a354ac"}}]},"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":null}