{"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/machine-learning-emulation-of-a-local-scale","title":"Machine learning emulation of a local-scale UK climate model","arxiv_id":"2211.16116","date":"2022-11-29","proceeding":null,"authors":["Henry Addison","Elizabeth Kendon","Suman Ravuri","Laurence Aitchison","Peter AG Watson"],"abstract":"Climate change is causing the intensification of rainfall extremes. Precipitation projections with high spatial resolution are important for society to prepare for these changes, e.g. to model flooding impacts. Physics-based simulations for creating such projections are very computationally expensive. This work demonstrates the effectiveness of diffusion models, a form of deep generative models, for generating much more cheaply realistic high resolution rainfall samples for the UK conditioned on data from a low resolution simulation. We show for the first time a machine learning model that is able to produce realistic samples of high-resolution rainfall based on a physical model that resolves atmospheric convection, a key process behind extreme rainfall. By adding self-learnt, location-specific information to low resolution relative vorticity, quantiles and time-mean of the samples match well their counterparts from the high-resolution simulation.","url_abs":"https://arxiv.org/abs/2211.16116v1","url_pdf":"https://arxiv.org/pdf/2211.16116v1.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":[],"tasks":[],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2211.16116","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2211.16116"}},"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":"deterministic:regex_extraction","url":"https://github.com/henryaddison/score_sde_pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":2,"ran_draft_wrong":2,"unverified":12},"by_repo_kind":{"found_in_text":{"samples":16,"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":"8ff7c24dade9904c","entry":"get_optimizer","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/losses.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/losses.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8ff7c24dade9904c"}},{"code_sha256_prefix":"366bb8c7035a2fc8","entry":"optimization_manager","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/losses.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/losses.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"366bb8c7035a2fc8"}},{"code_sha256_prefix":"a05b1d0cf3f508b4","entry":"register_corrector","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/sampling.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/sampling.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a05b1d0cf3f508b4"}},{"code_sha256_prefix":"473066ddf62a075a","entry":"register_predictor","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/sampling.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/sampling.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"473066ddf62a075a"}},{"code_sha256_prefix":"ab032f73c303b54a","entry":"check","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"bin/check_preds.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/bin/check_preds.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ab032f73c303b54a"}},{"code_sha256_prefix":"c7ee329e4da99a2e","entry":"fix","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"bin/check_preds.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/bin/check_preds.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c7ee329e4da99a2e"}},{"code_sha256_prefix":"1859c74c90eb1c4c","entry":"generate_np_sample_batch","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"bin/predict.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/bin/predict.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1859c74c90eb1c4c"}},{"code_sha256_prefix":"deffcec85decec17","entry":"get_deterministic_loss_fn","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/losses.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/losses.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"deffcec85decec17"}},{"code_sha256_prefix":"0bfcb6b2d940e393","entry":"get_div_fn","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/likelihood.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/likelihood.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0bfcb6b2d940e393"}},{"code_sha256_prefix":"15ea6533b1214ba7","entry":"get_likelihood_fn","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/likelihood.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/likelihood.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"15ea6533b1214ba7"}},{"code_sha256_prefix":"a58facb8fe71823a","entry":"get_predictor","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/sampling.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/sampling.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a58facb8fe71823a"}},{"code_sha256_prefix":"9a63c486ba610477","entry":"model_size","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/utils.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9a63c486ba610477"}},{"code_sha256_prefix":"bda9fb36abd8c703","entry":"param_count","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/utils.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bda9fb36abd8c703"}},{"code_sha256_prefix":"6f6e5a21d494445b","entry":"qm_1d_dom_aware","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/postprocess.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/postprocess.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6f6e5a21d494445b"}},{"code_sha256_prefix":"1732c0f06eb9402f","entry":"restore_checkpoint","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/utils.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1732c0f06eb9402f"}},{"code_sha256_prefix":"56677631bca0a570","entry":"val_loss","repo":"henryaddison/score_sde_pytorch","repo_kind":"found_in_text","path":"src/ml_downscaling_emulator/run_lib.py","file_url":"https://github.com/henryaddison/score_sde_pytorch/blob/HEAD/src/ml_downscaling_emulator/run_lib.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"56677631bca0a570"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}