{"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/treeffuser-probabilistic-predictions-via","title":"Treeffuser: Probabilistic Predictions via Conditional Diffusions with Gradient-Boosted Trees","arxiv_id":"2406.07658","date":"2024-06-11","proceeding":null,"authors":["Nicolas Beltran-Velez","Alessandro Antonio Grande","Achille Nazaret","Alp Kucukelbir","David Blei"],"abstract":"Probabilistic prediction aims to compute predictive distributions rather than single point predictions. These distributions enable practitioners to quantify uncertainty, compute risk, and detect outliers. However, most probabilistic methods assume parametric responses, such as Gaussian or Poisson distributions. When these assumptions fail, such models lead to bad predictions and poorly calibrated uncertainty. In this paper, we propose Treeffuser, an easy-to-use method for probabilistic prediction on tabular data. The idea is to learn a conditional diffusion model where the score function is estimated using gradient-boosted trees. The conditional diffusion model makes Treeffuser flexible and non-parametric, while the gradient-boosted trees make it robust and easy to train on CPUs. Treeffuser learns well-calibrated predictive distributions and can handle a wide range of regression tasks -- including those with multivariate, multimodal, and skewed responses. We study Treeffuser on synthetic and real data and show that it outperforms existing methods, providing better calibrated probabilistic predictions. We further demonstrate its versatility with an application to inventory allocation under uncertainty using sales data from Walmart. We implement Treeffuser in https://github.com/blei-lab/treeffuser.","url_abs":"https://arxiv.org/abs/2406.07658v2","url_pdf":"https://arxiv.org/pdf/2406.07658v2.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":"treeffuser-probabilistic-predictions-via","repo_url":"https://github.com/blei-lab/treeffuser","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2406.07658","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.07658"}},"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/blei-lab/treeffuser","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":1,"unverified":4},"by_repo_kind":{"official":{"samples":5,"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":"9b6605e8078da066","entry":"initialize_vesde","repo":"blei-lab/treeffuser","repo_kind":"official","path":"src/treeffuser/sde/initialize.py","file_url":"https://github.com/blei-lab/treeffuser/blob/HEAD/src/treeffuser/sde/initialize.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9b6605e8078da066"}},{"code_sha256_prefix":"c8646bb45df3df0e","entry":"get_solver","repo":"blei-lab/treeffuser","repo_kind":"official","path":"src/treeffuser/sde/base_solver.py","file_url":"https://github.com/blei-lab/treeffuser/blob/HEAD/src/treeffuser/sde/base_solver.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":"c8646bb45df3df0e"}},{"code_sha256_prefix":"c82f3275ea3e3c94","entry":"initialize_subvpsde","repo":"blei-lab/treeffuser","repo_kind":"official","path":"src/treeffuser/sde/initialize.py","file_url":"https://github.com/blei-lab/treeffuser/blob/HEAD/src/treeffuser/sde/initialize.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":"c82f3275ea3e3c94"}},{"code_sha256_prefix":"9e8c358862371e7d","entry":"initialize_vpsde","repo":"blei-lab/treeffuser","repo_kind":"official","path":"src/treeffuser/sde/initialize.py","file_url":"https://github.com/blei-lab/treeffuser/blob/HEAD/src/treeffuser/sde/initialize.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":"9e8c358862371e7d"}},{"code_sha256_prefix":"23846d1c9ef23cee","entry":"sdeint","repo":"blei-lab/treeffuser","repo_kind":"official","path":"src/treeffuser/sde/base_solver.py","file_url":"https://github.com/blei-lab/treeffuser/blob/HEAD/src/treeffuser/sde/base_solver.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":"23846d1c9ef23cee"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}