Papers › Towards Representation Learning for Weighting Problems in Design-Based Causal Inference

Towards Representation Learning for Weighting Problems in Design-Based Causal Inference

24 Sep 2024arXiv:2409.16407archive 2025-07-28

Oscar Clivio, Avi Feller, Chris Holmes

Reweighting a distribution to minimize a distance to a target distribution is a powerful and flexible strategy for estimating a wide range of causal effects, but can be challenging in practice because optimal weights typically depend on knowledge of the underlying data generating process. In this paper, we focus on design-based weights, which do not incorporate outcome information; prominent examples include prospective cohort studies, survey weighting, and the weighting portion of augmented weighting estimators. In such applications, we explore the central role of representation learning in finding desirable weights in practice. Unlike the common approach of assuming a well-specified representation, we highlight the error due to the choice of a representation and outline a general framework for finding suitable representations that minimize this error. Building on recent work that combines balancing weights and neural networks, we propose an end-to-end estimation procedure that learns a flexible representation, while retaining promising theoretical properties. We show that this approach is competitive in a range of common causal inference tasks.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

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="2409.16407")

Code

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

By repository: official repository: 16 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

16 samples harvested; 14 ran; 0 honoured the contract we drafted; 2 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.

14ran
2unverified

Licence: 16 of the 16 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 oscarclivio/representations_weighting. “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.

a_to_integers oscarclivio/representations_weighting/src/real_weights.py official repository ran fingerprinted no licence file found · pointer only · 02947b6fc7080474 · report
build_fc_network oscarclivio/representations_weighting/src/lightning_modules.py official repository ran no licence file found · pointer only · 6a92a2b84d154a21 · report
check_integers oscarclivio/representations_weighting/src/real_weights.py official repository ran no licence file found · pointer only · 30967154199b7233 · report
check_one_hot oscarclivio/representations_weighting/src/real_weights.py official repository ran no licence file found · pointer only · 592916282cc08ee4 · report
compression_then_balancing oscarclivio/representations_weighting/src/att_methods.py official repository ran no licence file found · pointer only · 2c31e149c4b9a353 · report
direct_covariate_compression oscarclivio/representations_weighting/src/representations.py official repository ran no licence file found · pointer only · 392e1b7cf5b30d48 · report
entropy_balancing_weights oscarclivio/representations_weighting/src/att_methods.py official repository ran no licence file found · pointer only · 1478b0334da8f133 · report
exact_kernel oscarclivio/representations_weighting/src/metrics.py official repository ran no licence file found · pointer only · aed9ae38ec4a03f5 · report
first_dimensions_compression oscarclivio/representations_weighting/src/representations.py official repository ran fingerprinted no licence file found · pointer only · 0c6a37389688774e · report
gaussian_kernel oscarclivio/representations_weighting/src/metrics.py official repository ran fingerprinted no licence file found · pointer only · eb06aba842f4f9ef · report
kernel2semimetric oscarclivio/representations_weighting/src/ate_methods.py official repository ran fingerprinted no licence file found · pointer only · c7fc730e78c91a90 · report
mahalanobis_kernel oscarclivio/representations_weighting/src/ate_methods.py official repository ran no licence file found · pointer only · ae272287e72a0ab2 · report
one_hot oscarclivio/representations_weighting/src/datasets.py official repository ran no licence file found · pointer only · 514e2ce79c7b07f6 · report
shape_one oscarclivio/representations_weighting/src/lightning_modules.py official repository ran no licence file found · pointer only · 4bd02ca4287d6c1f · report
kernel_balancing oscarclivio/representations_weighting/src/att_methods.py official repository unverified no licence file found · pointer only · c9632a93ee931024 · report
l1_error oscarclivio/representations_weighting/src/metrics.py official repository unverified no licence file found · pointer only · 46a33cda34daec62 · report

Tasks

Causal InferenceRepresentation Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Causal inferenceFocus

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