{"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/neural-image-compression-for-gigapixel","title":"Neural Image Compression for Gigapixel Histopathology Image Analysis","arxiv_id":"1811.02840","date":"2018-11-07","proceeding":null,"authors":["David Tellez","Geert Litjens","Jeroen van der Laak","Francesco Ciompi"],"abstract":"We propose Neural Image Compression (NIC), a two-step method to build convolutional neural networks for gigapixel image analysis solely using weak image-level labels. First, gigapixel images are compressed using a neural network trained in an unsupervised fashion, retaining high-level information while suppressing pixel-level noise. Second, a convolutional neural network (CNN) is trained on these compressed image representations to predict image-level labels, avoiding the need for fine-grained manual annotations. We compared several encoding strategies, namely reconstruction error minimization, contrastive training and adversarial feature learning, and evaluated NIC on a synthetic task and two public histopathology datasets. We found that NIC can exploit visual cues associated with image-level labels successfully, integrating both global and local visual information. Furthermore, we visualized the regions of the input gigapixel images where the CNN attended to, and confirmed that they overlapped with annotations from human experts.","url_abs":"https://arxiv.org/abs/1811.02840v2","url_pdf":"https://arxiv.org/pdf/1811.02840v2.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":"neural-image-compression-for-gigapixel","repo_url":"https://github.com/davidtellez/neural-image-compression","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":null}],"tasks":[{"task_slug":"image-compression","task_name":"Image Compression"},{"task_slug":"medical-diagnosis","task_name":"Medical Diagnosis"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/1811.02840","atlas_url":"https://app.syntology.ai/?focus=1811.02840","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1811.02840"}},"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/davidtellez/neural-image-compression","reach":null}],"summary":{"ran_fixture":2,"ran_violates":1,"ran_draft_wrong":1,"unverified":2},"by_repo_kind":{"official":{"samples":6,"ran":4,"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":"e764e0c7cf087e1e","entry":"aug_rot","repo":"davidtellez/neural-image-compression","repo_kind":"official","path":"source/nic/featurize_wsi.py","file_url":"https://github.com/davidtellez/neural-image-compression/blob/HEAD/source/nic/featurize_wsi.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e764e0c7cf087e1e"}},{"code_sha256_prefix":"4cb70d1e8b85a547","entry":"compute_single_distance_map","repo":"davidtellez/neural-image-compression","repo_kind":"official","path":"source/nic/featurize_wsi.py","file_url":"https://github.com/davidtellez/neural-image-compression/blob/HEAD/source/nic/featurize_wsi.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4cb70d1e8b85a547"}},{"code_sha256_prefix":"3e130be463a2f936","entry":"create_tile_mask_rectangles","repo":"davidtellez/neural-image-compression","repo_kind":"official","path":"source/nic/synthetic_data_generation.py","file_url":"https://github.com/davidtellez/neural-image-compression/blob/HEAD/source/nic/synthetic_data_generation.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3e130be463a2f936"}},{"code_sha256_prefix":"8aebd6a13c8aaa25","entry":"rot_flip_array","repo":"davidtellez/neural-image-compression","repo_kind":"official","path":"source/nic/featurize_wsi.py","file_url":"https://github.com/davidtellez/neural-image-compression/blob/HEAD/source/nic/featurize_wsi.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8aebd6a13c8aaa25"}},{"code_sha256_prefix":"378ce97fe0846331","entry":"create_tile_mnist","repo":"davidtellez/neural-image-compression","repo_kind":"official","path":"source/nic/synthetic_data_generation.py","file_url":"https://github.com/davidtellez/neural-image-compression/blob/HEAD/source/nic/synthetic_data_generation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"378ce97fe0846331"}},{"code_sha256_prefix":"4b1878c8bff846d7","entry":"insert_digits_with_mask","repo":"davidtellez/neural-image-compression","repo_kind":"official","path":"source/nic/synthetic_data_generation.py","file_url":"https://github.com/davidtellez/neural-image-compression/blob/HEAD/source/nic/synthetic_data_generation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4b1878c8bff846d7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}