SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.00611 · ICML · 2024

DISCRET: Synthesizing Faithful Explanations For Treatment Effect Estimation

Kan Chen, Qi Long, Eric Wong, Ziyang Li, Yinjun Wu, Mayank Keoliya, Neelay Velingker, Emily Getzen, Mayur Naik, Ravi Parikh

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 4 failures of our instrument; 1 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/2406.00611.json · badge: /api/ran/2406.00611.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
wuyinjun-1993/discret-icml2024 canonical (classifier label)
classifier basis: classifier_2025
5 ran · 1 no recorded run
FunctionStatusWhere it lives
DisCri Ran
ran on a synthesized input · constructed an object; no result was computed
wuyinjun-1993/discret-icml2024/treatment_prediction/baseline_methods/nlp/DisCri.py
pointer only (licence: NONE) · get_code("b5fa0721f8f20c15")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wuyinjun-1993/discret-icml2024 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
wuyinjun-1993/discret-icml2024/treatment_prediction/baseline_methods/nlp/DisCri.py
pointer only (licence: NONE) · get_code("2fb9f4386193338d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wuyinjun-1993/discret-icml2024 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_linear_layers Ran
ran; our contract draft was wrong, not the code
wuyinjun-1993/discret-icml2024/treatment_prediction/baseline_methods/nlp/DisCri.py
pointer only (licence: NONE) · get_code("803ba4e4bb1df399")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wuyinjun-1993/discret-icml2024 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
wuyinjun-1993/discret-icml2024/treatment_prediction/baseline_methods/nlp/DisCri.py
pointer only (licence: NONE) · get_code("fe1c0d1da4fbf989")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wuyinjun-1993/discret-icml2024 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
wuyinjun-1993/discret-icml2024/treatment_prediction/baseline_methods/nlp/DisCri.py
pointer only (licence: NONE) · get_code("bc6b389c01bb19ef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wuyinjun-1993/discret-icml2024 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.

init_layers Not yet run
unverified (harvested, no recorded run)
wuyinjun-1993/discret-icml2024/treatment_prediction/baseline_methods/nlp/DisCri.py
pointer only (licence: NONE) · get_code("c8d30aad440c339c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wuyinjun-1993/discret-icml2024 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. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 0 later) and 1 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
brick of this paper's assembly: helper
2 other papers
2 dated earlier · 1 only as an assembly brick
2106.01939 (2021-06)
Causal Effect Inference for Structured Treatments
2202.01336 (2022-02)
Exploring Transformer Backbones for Heterogeneous Treatment Effect Estimation
create_linear_layers
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2106.01939 (2021-06)
Causal Effect Inference for Structured Treatments
get_activation
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2202.01336 (2022-02)
Exploring Transformer Backbones for Heterogeneous Treatment Effect Estimation
get_initialiser
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2202.01336 (2022-02)
Exploring Transformer Backbones for Heterogeneous Treatment Effect Estimation
init_layers
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2106.01939 (2021-06)
Causal Effect Inference for Structured Treatments

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

Designing faithful yet accurate AI models is challenging, particularly in the field of individual treatment effect estimation (ITE). ITE prediction models deployed in critical settings such as healthcare should ideally be (i) accurate, and (ii) provide faithful explanations. However, current solutions are inadequate: state-of-the-art black-box models do not supply explanations, post-hoc explainers for blackbox models lack faithfulness guarantees, and selfinterpretable models greatly compromise accuracy. To address these issues, we propose DISCRET, a selfinterpretable ITE framework that synthesizes faithful, rule-based explanations for each sample. A key insight behind DISCRET is that explanations can serve dually as database queries to identify similar subgroups of samples. We provide a novel RL algorithm to efficiently synthesize these explanations from a large search space. We evaluate DISCRET on diverse tasks involving tabular, image, and text data. DIS-CRET outperforms the best self-interpretable models and has accuracy comparable to the best blackbox models while providing faithful explanations. DISCRET is available at https://github.com/ wuyinjun-1993/DISCRET-ICML2024.

For agents

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

get_harvested_code_for_paper("2406.00611")
get_code_for_paper("2406.00611")
have("2406.00611")

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

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

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

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

Connect an agent — have() is free.