{"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/mining-for-dark-matter-substructure-inferring","title":"Mining for Dark Matter Substructure: Inferring subhalo population properties from strong lenses with machine learning","arxiv_id":"1909.02005","date":"2019-09-04","proceeding":null,"authors":["Johann Brehmer","Siddharth Mishra-Sharma","Joeri Hermans","Gilles Louppe","Kyle Cranmer"],"abstract":"The subtle and unique imprint of dark matter substructure on extended arcs in strong lensing systems contains a wealth of information about the properties and distribution of dark matter on small scales and, consequently, about the underlying particle physics. However, teasing out this effect poses a significant challenge since the likelihood function for realistic simulations of population-level parameters is intractable. We apply recently-developed simulation-based inference techniques to the problem of substructure inference in galaxy-galaxy strong lenses. By leveraging additional information extracted from the simulator, neural networks are efficiently trained to estimate likelihood ratios associated with population-level parameters characterizing substructure. Through proof-of-principle application to simulated data, we show that these methods can provide an efficient and principled way to simultaneously analyze an ensemble of strong lenses, and can be used to mine the large sample of lensing images deliverable by near-future surveys for signatures of dark matter substructure.","url_abs":"https://arxiv.org/abs/1909.02005v2","url_pdf":"https://arxiv.org/pdf/1909.02005v2.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":"mining-for-dark-matter-substructure-inferring","repo_url":"https://github.com/smsharma/mining-for-substructure-lens","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"mining-for-dark-matter-substructure-inferring","repo_url":"https://github.com/smsharma/fermi-gce-flows","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"mining-for-dark-matter-substructure-inferring","repo_url":"https://github.com/smsharma/neural-global-astrometry","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"machine-learning","task_name":"BIG-bench Machine Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=1909.02005","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1909.02005"}},"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/smsharma/neural-global-astrometry","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/smsharma/fermi-gce-flows","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/smsharma/mining-for-substructure-lens","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":2,"unverified":6},"by_repo_kind":{"official":{"samples":8,"ran":2,"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":"d9def42110729a85","entry":"conv1x1","repo":"smsharma/mining-for-substructure-lens","repo_kind":"official","path":"inference/models/resnet.py","file_url":"https://github.com/smsharma/mining-for-substructure-lens/blob/HEAD/inference/models/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d9def42110729a85"}},{"code_sha256_prefix":"fac5364e2f53c6db","entry":"conv3x3","repo":"smsharma/mining-for-substructure-lens","repo_kind":"official","path":"inference/models/resnet.py","file_url":"https://github.com/smsharma/mining-for-substructure-lens/blob/HEAD/inference/models/resnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fac5364e2f53c6db"}},{"code_sha256_prefix":"e5bf3661ec3f3bb9","entry":"get_activation_function","repo":"smsharma/mining-for-substructure-lens","repo_kind":"official","path":"inference/utils.py","file_url":"https://github.com/smsharma/mining-for-substructure-lens/blob/HEAD/inference/utils.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":"e5bf3661ec3f3bb9"}},{"code_sha256_prefix":"ff44f8c48bb976eb","entry":"mse_r","repo":"smsharma/mining-for-substructure-lens","repo_kind":"official","path":"inference/losses.py","file_url":"https://github.com/smsharma/mining-for-substructure-lens/blob/HEAD/inference/losses.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":"ff44f8c48bb976eb"}},{"code_sha256_prefix":"26d1b0f66f1cdc8b","entry":"mse_r0","repo":"smsharma/mining-for-substructure-lens","repo_kind":"official","path":"inference/losses.py","file_url":"https://github.com/smsharma/mining-for-substructure-lens/blob/HEAD/inference/losses.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":"26d1b0f66f1cdc8b"}},{"code_sha256_prefix":"f519b6028e48fe72","entry":"mse_r1","repo":"smsharma/mining-for-substructure-lens","repo_kind":"official","path":"inference/losses.py","file_url":"https://github.com/smsharma/mining-for-substructure-lens/blob/HEAD/inference/losses.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":"f519b6028e48fe72"}},{"code_sha256_prefix":"4eb498faf4ae75d6","entry":"r_from_s","repo":"smsharma/mining-for-substructure-lens","repo_kind":"official","path":"inference/utils.py","file_url":"https://github.com/smsharma/mining-for-substructure-lens/blob/HEAD/inference/utils.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":"4eb498faf4ae75d6"}},{"code_sha256_prefix":"c8e591b536d40760","entry":"s_from_r","repo":"smsharma/mining-for-substructure-lens","repo_kind":"official","path":"inference/utils.py","file_url":"https://github.com/smsharma/mining-for-substructure-lens/blob/HEAD/inference/utils.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":"c8e591b536d40760"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}