{"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-2603-15774","title":"Domain Adaptation Without the Compute Burden for Efficient Whole Slide Image Analysis","arxiv_id":"2603.15774","date":"2026-03-16","proceeding":null,"authors":["Umar Marikkar","Muhammad Awais","Sara Atito"],"abstract":"Computational methods on analyzing Whole Slide Images (WSIs) enable early diagnosis and treatments by supporting pathologists in detection and classification of tumors. However, the extremely high resolution of WSIs makes end-to-end training impractical compared to typical image analysis tasks. To address this, most approaches use pre-trained feature extractors to obtain fixed representations of whole slides, which are then combined with Multiple Instance Learning (MIL) for downstream tasks. These feature extractors are typically pre-trained on natural image datasets such as ImageNet, which fail to capture domain-specific characteristics. Although domain-specific pre-training on histopathology data yields more relevant feature representations, it remains computationally expensive and fail to capture task-specific characteristics within the domain. To address the computational cost and lack of task-specificity in domain-specific pre-training, we propose EfficientWSI (eWSI), a careful integration of Parameter-Efficient-Fine-Tuning (PEFT) and Multiple Instance Learning (MIL) that enables end-to-end training on WSI tasks. We evaluate eWSI on seven WSI-level tasks over Camelyon16, TCGA and BRACS datasets. Our results show that eWSI when applied with ImageNet feature extractors yields strong classification performance, matching or outperforming MILs with in-domain feature extractors, alleviating the need for extensive in-domain pre-training. Furthermore, when eWSI is applied with in-domain feature extractors, it further improves classification performance in most cases, demonstrating its ability to capture task-specific information where beneficial. Our findings suggest that eWSI provides a task-targeted, computationally efficient path for WSI tasks, offering a promising direction for task-specific learning in computational pathology.","url_abs":"https://arxiv.org/abs/2603.15774","url_pdf":"https://arxiv.org/pdf/2603.15774","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=2603.15774","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2603.15774"}},"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/umarikkar/eWSI","reach":null}],"summary":{"ran":15,"ran_draft_wrong":2,"unverified":8},"by_repo_kind":{"found_in_text":{"samples":24,"ran":16,"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":25,"samples":[{"code_sha256_prefix":"9063313e275a0a88","entry":"ABMIL","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9063313e275a0a88"}},{"code_sha256_prefix":"733aeac57eee058d","entry":"ACMIL_GA","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"733aeac57eee058d"}},{"code_sha256_prefix":"9d31e5cc595ae67a","entry":"Attention_Gated","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.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":"9d31e5cc595ae67a"}},{"code_sha256_prefix":"06199e6ce30c66b2","entry":"BClassifier","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"06199e6ce30c66b2"}},{"code_sha256_prefix":"994e1beed10f4d98","entry":"Classifier_1fc","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"994e1beed10f4d98"}},{"code_sha256_prefix":"b9be51dfc1355b1a","entry":"DimReduction","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b9be51dfc1355b1a"}},{"code_sha256_prefix":"d92140c71afbf5b3","entry":"Encoder","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.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":"d92140c71afbf5b3"}},{"code_sha256_prefix":"8f4e93a8aea53eb3","entry":"EncoderLayer","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8f4e93a8aea53eb3"}},{"code_sha256_prefix":"e741fd31298cd04a","entry":"FCLayer","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e741fd31298cd04a"}},{"code_sha256_prefix":"be0af147f8a4dd59","entry":"MILNet_batch","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"be0af147f8a4dd59"}},{"code_sha256_prefix":"7161463aa6072312","entry":"MultiHeadedAttention","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7161463aa6072312"}},{"code_sha256_prefix":"6ddf651804b82963","entry":"NystromAttention","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6ddf651804b82963"}},{"code_sha256_prefix":"55c49f6e8ea25f2c","entry":"PPEG","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.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":"55c49f6e8ea25f2c"}},{"code_sha256_prefix":"ada0c80b6bd1eba6","entry":"PositionwiseFeedForward","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ada0c80b6bd1eba6"}},{"code_sha256_prefix":"10cb030b7c0ea1e4","entry":"attention","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"10cb030b7c0ea1e4"}},{"code_sha256_prefix":"a3722169bbc81569","entry":"clones","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"a3722169bbc81569"}},{"code_sha256_prefix":"b60c28ddb98dffde","entry":"residual_block","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b60c28ddb98dffde"}},{"code_sha256_prefix":"75e708908d0c1679","entry":"ACMIL_GA_LinMax","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.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":"75e708908d0c1679"}},{"code_sha256_prefix":"c4a545bf502c3a1b","entry":"Combined_WSI_model","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.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":"c4a545bf502c3a1b"}},{"code_sha256_prefix":"bb77cce9eeb21d84","entry":"MIL_model","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.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":"bb77cce9eeb21d84"}},{"code_sha256_prefix":"4064d96469835348","entry":"SnuffyClass","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.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":"4064d96469835348"}},{"code_sha256_prefix":"37cd4b9de4d72c3b","entry":"SublayerConnection","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.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":"37cd4b9de4d72c3b"}},{"code_sha256_prefix":"941997963f9903ca","entry":"TransLayer","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.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":"941997963f9903ca"}},{"code_sha256_prefix":"2d2b707568605e71","entry":"TransMIL","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.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":"2d2b707568605e71"}},{"code_sha256_prefix":"a81e4fb3c258958f","entry":"moore_penrose_iter_pinv","repo":"umarikkar/eWSI","repo_kind":"found_in_text","path":"models/wsi_models.py","file_url":"https://github.com/umarikkar/eWSI/blob/HEAD/models/wsi_models.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":"a81e4fb3c258958f"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","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":2,"rejected_by_independent_check":0,"refused_by_a_rule":2,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}