Papers › BGM-IV: an AI-powered Bayesian generative modeling approach for instrumental variable analysis

BGM-IV: an AI-powered Bayesian generative modeling approach for instrumental variable analysis

7 May 2026arXiv:2605.07029added by Syntology

Guyue Luo, Qiao Liu

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Instrumental-variable (IV) regression enables causal estimation under endogeneity, but modern IV problems often involve nonlinear structural effects and high-dimensional covariates. Existing nonlinear IV methods directly learn the causal relation in observed feature space or rely on learned representations within two-stage or moment-based procedures, which can struggle when the causal information is embedded in a high-dimensional representation. We propose BGM-IV, a latent Bayesian generative modeling approach that reframes nonlinear IV regression as posterior inference in a causally structured latent space. BGM-IV infers latent components that separately capture shared confounding structure, outcome-specific variation, treatment-specific variation, and covariate-only nuisance information. To account for endogeneity, BGM-IV replaces the confounded outcome likelihood with an IV-integrated pseudo-likelihood that averages over instrument-induced treatment values within the latent model. Across various benchmark datasets, BGM-IV remains competitive in the classical low-dimensional regime and performs best in high-dimensional covariate regimes. Together, these results show that structured latent generative modeling provides a principled and effective strategy to nonlinear IV estimation with rich covariates. The code of BGM-IV is available at https://github.com/liuq-lab/BGM-IV.

PaperPDFCode Syntology ran

In Syntology For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2605.07029")

Code

Syntology Ran 19 of 27 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 19 ran with no contract checked.

By repository: found in paper text by Syntology: 27 samples from 1 repository, 19 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

liuq-lab/BGM-IV found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

27 samples harvested; 19 ran; 0 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

19ran
8unverified

Licence: 0 of the 27 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from liuq-lab/BGM-IV. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

arm_label liuq-lab/BGM-IV/bgm_iv/proxy_transform.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 83753df851de4b8b · report
attach_demand_design_vectors liuq-lab/BGM-IV/bgm_iv/datasets/simulator_vector.py found in paper text by Syntology ran MIT (permissive) · f41058caa097d324 · report
build_query_table liuq-lab/BGM-IV/bgm_iv/mcmc/readout.py found in paper text by Syntology ran MIT (permissive) · 75f421bd4d002b8a · report
demand_design_h liuq-lab/BGM-IV/bgm_iv/datasets/simulators.py found in paper text by Syntology ran fingerprinted MIT (permissive) · ef0816e1fcbf520d · report
demand_design_structural_function liuq-lab/BGM-IV/bgm_iv/datasets/simulators.py found in paper text by Syntology ran MIT (permissive) · 4c72ffcdb96ee708 · report
derive_mcmc_seeds liuq-lab/BGM-IV/bgm_iv/mcmc/inference.py found in paper text by Syntology ran MIT (permissive) · b918b93960913c09 · report
derive_multistart_seed liuq-lab/BGM-IV/bgm_iv/egm_multistart.py found in paper text by Syntology ran MIT (permissive) · 16a9f87789141a91 · report
gaussian_mixture_quantiles liuq-lab/BGM-IV/bgm_iv/mcmc/readout.py found in paper text by Syntology ran MIT (permissive) · d29c33051e99fee9 · report
make_demand_design_vector_prototypes liuq-lab/BGM-IV/bgm_iv/datasets/simulator_vector.py found in paper text by Syntology ran fingerprinted MIT (permissive) · f4a1805ad76ba5b4 · report
parse_pca_dim liuq-lab/BGM-IV/bgm_iv/proxy_transform.py found in paper text by Syntology ran fingerprinted MIT (permissive) · eba425492049ef3e · report
proxy_sha1 liuq-lab/BGM-IV/bgm_iv/proxy_transform.py found in paper text by Syntology ran MIT (permissive) · 7f1800f0ce367f04 · report
regularize_state_variance liuq-lab/BGM-IV/bgm_iv/mcmc/sampler.py found in paper text by Syntology ran MIT (permissive) · cf43d540c3b651d2 · report
save_draw_artifact liuq-lab/BGM-IV/bgm_iv/mcmc/artifact.py found in paper text by Syntology ran MIT (permissive) · e6cff08d273605b7 · report
score_evaluation_iterations liuq-lab/BGM-IV/bgm_iv/egm_multistart.py found in paper text by Syntology ran MIT (permissive) · 6105a1762d74da79 · report
sha256_array liuq-lab/BGM-IV/bgm_iv/hashing.py found in paper text by Syntology ran MIT (permissive) · e6b63bc4a6f0b6d5 · report
sha256_json liuq-lab/BGM-IV/bgm_iv/hashing.py found in paper text by Syntology ran MIT (permissive) · f9194eb50641d5b2 · report
sha256_weights liuq-lab/BGM-IV/bgm_iv/hashing.py found in paper text by Syntology ran MIT (permissive) · 597412c57f4ba902 · report
simulate_demand_design_iv liuq-lab/BGM-IV/bgm_iv/datasets/simulators.py found in paper text by Syntology ran MIT (permissive) · 97b82c64328c3fc7 · report
validate_multistart_config liuq-lab/BGM-IV/bgm_iv/egm_multistart.py found in paper text by Syntology ran MIT (permissive) · 9e3e40b7077a715e · report
load_draw_artifact liuq-lab/BGM-IV/bgm_iv/mcmc/artifact.py found in paper text by Syntology unverified MIT (permissive) · e98e6f631c0b696a · report
make_demand_design_mnist_grid liuq-lab/BGM-IV/bgm_iv/datasets/simulator_image.py found in paper text by Syntology unverified MIT (permissive) · 9d89a6dba39b76bf · report
model_training_provenance liuq-lab/BGM-IV/bgm_iv/mcmc/target.py found in paper text by Syntology unverified MIT (permissive) · d461e91872b6a9b4 · report
overdispersed_initial_state liuq-lab/BGM-IV/bgm_iv/mcmc/sampler.py found in paper text by Syntology unverified MIT (permissive) · 5973fc13cdbcdd7c · report
resolve_target liuq-lab/BGM-IV/bgm_iv/mcmc/target.py found in paper text by Syntology unverified MIT (permissive) · 0bc712f634d8cdec · report
sha256_decoder liuq-lab/BGM-IV/bgm_iv/mcmc/target.py found in paper text by Syntology unverified MIT (permissive) · 7251ff631aedeb5b · report
simulate_demand_design_mnist_iv liuq-lab/BGM-IV/bgm_iv/datasets/simulator_image.py found in paper text by Syntology unverified MIT (permissive) · 299a4ec895dc7d62 · report
simulate_demand_design_vector_iv liuq-lab/BGM-IV/bgm_iv/datasets/simulator_vector.py found in paper text by Syntology unverified MIT (permissive) · 3b097f86ce10b413 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.07029, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections