{"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/morpho-mnist-quantitative-assessment-and","title":"Morpho-MNIST: Quantitative Assessment and Diagnostics for Representation Learning","arxiv_id":"1809.10780","date":"2018-09-27","proceeding":"ICLR 2019 5","authors":["Daniel C. Castro","Jeremy Tan","Bernhard Kainz","Ender Konukoglu","Ben Glocker"],"abstract":"Revealing latent structure in data is an active field of research, having introduced exciting technologies such as variational autoencoders and adversarial networks, and is essential to push machine learning towards unsupervised knowledge discovery. However, a major challenge is the lack of suitable benchmarks for an objective and quantitative evaluation of learned representations. To address this issue we introduce Morpho-MNIST, a framework that aims to answer: \"to what extent has my model learned to represent specific factors of variation in the data?\" We extend the popular MNIST dataset by adding a morphometric analysis enabling quantitative comparison of trained models, identification of the roles of latent variables, and characterisation of sample diversity. We further propose a set of quantifiable perturbations to assess the performance of unsupervised and supervised methods on challenging tasks such as outlier detection and domain adaptation. Data and code are available at https://github.com/dccastro/Morpho-MNIST.","url_abs":"https://arxiv.org/abs/1809.10780v3","url_pdf":"https://arxiv.org/pdf/1809.10780v3.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":"morpho-mnist-quantitative-assessment-and","repo_url":"https://github.com/dccastro/Morpho-MNIST","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"diversity","task_name":"Diversity"},{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"},{"task_slug":"outlier-detection","task_name":"Outlier Detection"},{"task_slug":"representation-learning","task_name":"Representation Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=1809.10780","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1809.10780"}},"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/dccastro/Morpho-MNIST","reach":null}],"summary":{"ran_honours":1,"unverified":2},"by_repo_kind":{"official":{"samples":3,"ran":1,"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":"a207b5328bcbf699","entry":"load_idx","repo":"dccastro/Morpho-MNIST","repo_kind":"official","path":"morphomnist/io.py","file_url":"https://github.com/dccastro/Morpho-MNIST/blob/HEAD/morphomnist/io.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a207b5328bcbf699"}},{"code_sha256_prefix":"8598ed6f694d7597","entry":"measure_batch","repo":"dccastro/Morpho-MNIST","repo_kind":"official","path":"morphomnist/measure.py","file_url":"https://github.com/dccastro/Morpho-MNIST/blob/HEAD/morphomnist/measure.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":"8598ed6f694d7597"}},{"code_sha256_prefix":"26a7d178b97071f1","entry":"measure_image","repo":"dccastro/Morpho-MNIST","repo_kind":"official","path":"morphomnist/measure.py","file_url":"https://github.com/dccastro/Morpho-MNIST/blob/HEAD/morphomnist/measure.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":"26a7d178b97071f1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}