SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2202.01336 · 2022

Exploring Transformer Backbones for Heterogeneous Treatment Effect Estimation

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2202.01336.json · badge: /api/ran/2202.01336.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
hlzhang109/transtee canonical (classifier label)
classifier basis not recorded on the link
4 ran · 0 no recorded run
FunctionStatusWhere it lives
comp_grid Ran
ran; our contract draft was wrong, not the code
hlzhang109/transtee/CausalM/POMS_GendeRace/pipeline/TransTEE/dynamic_net.py
pointer only (licence: MIT); the stored copy get_code serves, from WeilinChen507/targeted_interference, is pointer only (licence: NONE) · get_code("e0e067c9a043710c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from WeilinChen507/targeted_interference, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_batch_norm_1d_layers Ran
ran; our contract draft was wrong, not the code
hlzhang109/transtee/CausalM/POMS_GendeRace/pipeline/TransTEE/DisCri.py
pointer only (licence: MIT); the stored copy get_code serves, from wuyinjun-1993/discret-icml2024, is pointer only (licence: NONE) · get_code("2fb9f4386193338d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from wuyinjun-1993/discret-icml2024, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_activation Ran
ran; our contract draft was wrong, not the code
hlzhang109/transtee/CausalM/POMS_GendeRace/pipeline/TransTEE/DisCri.py
pointer only (licence: MIT); the stored copy get_code serves, from wuyinjun-1993/discret-icml2024, is pointer only (licence: NONE) · get_code("fe1c0d1da4fbf989")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from wuyinjun-1993/discret-icml2024, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_initialiser Ran
ran; our contract draft was wrong, not the code
hlzhang109/transtee/CausalM/POMS_GendeRace/pipeline/TransTEE/DisCri.py
pointer only (licence: MIT); the stored copy get_code serves, from wuyinjun-1993/discret-icml2024, is pointer only (licence: NONE) · get_code("bc6b389c01bb19ef")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from wuyinjun-1993/discret-icml2024, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 4 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 4 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
create_batch_norm_1d_layers 2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
2106.01939 (2021-06)
Causal Effect Inference for Structured Treatments
2406.00611 (2024-06)
DISCRET: Synthesizing Faithful Explanations For Treatment Effect Estimation
comp_grid 1 other paper
1 later
2405.03342 (2024-05)
Doubly Robust Causal Effect Estimation under Networked Interference via Targeted Learning
get_activation 1 other paper
1 later
2406.00611 (2024-06)
DISCRET: Synthesizing Faithful Explanations For Treatment Effect Estimation
get_initialiser 1 other paper
1 later
2406.00611 (2024-06)
DISCRET: Synthesizing Faithful Explanations For Treatment Effect Estimation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Previous works on Treatment Effect Estimation (TEE) are not in widespread use because they are predominantly theoretical, where strong parametric assumptions are made but untractable for practical application. Recent work uses multilayer perceptron (MLP) for modeling casual relationships, however, MLPs lag far behind recent advances in ML methodology, which limits their applicability and generalizability. To extend beyond the single domain formulation and towards more realistic learning scenarios, we explore model design spaces beyond MLPs, i.e., transformer backbones, which provide flexibility where attention layers govern interactions among treatments and covariates to exploit structural similarities of potential outcomes for confounding control. Through careful model design, Transformers as Treatment Effect Estimators (TransTEE) is proposed. We show empirically that TransTEE can: (1) serve as a general purpose treatment effect estimator that significantly outperforms competitive baselines in a variety of challenging TEE problems (e.g., discrete, continuous, structured, or dosage-associated treatments) and is applicable to both when covariates are tabular and when they consist of structural data (e.g., texts, graphs); (2) yield multiple advantages: compatibility with propensity score modeling, parameter efficiency, robustness to continuous treatment value distribution shifts, explainable in covariate adjustment, and real-world utility in auditing pre-trained language models

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2202.01336")
get_code_for_paper("2202.01336")
have("2202.01336")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2202.01336.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2202.01336.svg)](https://syntology.ai/paper/2202.01336)

Connect an agent — have() is free.