{"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/simulation-based-inference-with-quantile","title":"Simulation-Based Inference with Quantile Regression","arxiv_id":"2401.02413","date":"2024-01-04","proceeding":null,"authors":["He Jia"],"abstract":"We present Neural Quantile Estimation (NQE), a novel Simulation-Based Inference (SBI) method based on conditional quantile regression. NQE autoregressively learns individual one dimensional quantiles for each posterior dimension, conditioned on the data and previous posterior dimensions. Posterior samples are obtained by interpolating the predicted quantiles using monotonic cubic Hermite spline, with specific treatment for the tail behavior and multi-modal distributions. We introduce an alternative definition for the Bayesian credible region using the local Cumulative Density Function (CDF), offering substantially faster evaluation than the traditional Highest Posterior Density Region (HPDR). In case of limited simulation budget and/or known model misspecification, a post-processing calibration step can be integrated into NQE to ensure the unbiasedness of the posterior estimation with negligible additional computational cost. We demonstrate that NQE achieves state-of-the-art performance on a variety of benchmark problems.","url_abs":"https://arxiv.org/abs/2401.02413v2","url_pdf":"https://arxiv.org/pdf/2401.02413v2.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":"simulation-based-inference-with-quantile","repo_url":"https://github.com/h3jia/nqe","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"quantile-regression","task_name":"quantile regression"},{"task_slug":"regression-1","task_name":"regression"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2401.02413","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2401.02413"}},"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/h3jia/nqe","reach":null}],"summary":{"ran":1,"ran_fixture":3,"ran_draft_wrong":1,"ran_honours":1,"unverified":8},"by_repo_kind":{"official":{"samples":14,"ran":6,"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":14,"samples":[{"code_sha256_prefix":"d8bc682bcc2804b6","entry":"MLP","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d8bc682bcc2804b6"}},{"code_sha256_prefix":"65335aea265ba3c4","entry":"_broadcast_batch","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"65335aea265ba3c4"}},{"code_sha256_prefix":"04f30341d25ea787","entry":"_check_configs","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"04f30341d25ea787"}},{"code_sha256_prefix":"a54c81a5b419d352","entry":"_check_input","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"a54c81a5b419d352"}},{"code_sha256_prefix":"85fca49fee50a7c2","entry":"_check_n_x_theta","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.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":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"85fca49fee50a7c2"}},{"code_sha256_prefix":"17c3058dc9cc2967","entry":"_set_cdfs_pred","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"17c3058dc9cc2967"}},{"code_sha256_prefix":"b70b8440600d01b7","entry":"Interp1D","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b70b8440600d01b7"}},{"code_sha256_prefix":"3feab02a716aa366","entry":"QuantileNet1D","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"3feab02a716aa366"}},{"code_sha256_prefix":"6ac5e344de24eef5","entry":"broaden","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"6ac5e344de24eef5"}},{"code_sha256_prefix":"46ab70b65a6d269a","entry":"cdf","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"46ab70b65a6d269a"}},{"code_sha256_prefix":"78883c38194697bb","entry":"get_configs","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"78883c38194697bb"}},{"code_sha256_prefix":"05c957ed6a10fd46","entry":"pdf","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"05c957ed6a10fd46"}},{"code_sha256_prefix":"448fd8e17053a2de","entry":"ppf","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"448fd8e17053a2de"}},{"code_sha256_prefix":"99fee4c484c1add0","entry":"sample","repo":"h3jia/nqe","repo_kind":"official","path":"nqe/qnet.py","file_url":"https://github.com/h3jia/nqe/blob/HEAD/nqe/qnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"99fee4c484c1add0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}