SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.08438 · ICML · 2026

Adalina: Adaptive Linear Approximation for the Shapley Value and Beyond

Yaoliang Yu, Bryan Kian, Hsiang Low, Weida Li

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 5 failures of our instrument; 3 no recorded run), measured 2026-11-22; 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/2604.08438.json · badge: /api/ran/2604.08438.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
watml/TreeGrad community
Papers with Code archive
5 ran · 1 no recorded run
watml/adalina community
Papers with Code archive
2 ran · 2 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
cache Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
watml/TreeGrad/linearTreeShap/linearTreeShap.py
pointer only (licence: NONE) · get_code("79c9a61608039a03")
How it ran

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

copy_tree Ran
ran; our contract draft was wrong, not the code
watml/TreeGrad/linearTreeShap/linearTreeShap.py
pointer only (licence: NONE) · get_code("6fa012154350cf59")
How it ran

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

estimatorTemplate Ran
ran on a synthesized input · constructed an object; no result was computed
watml/adalina/estimators/Adalina.py
pointer only (licence: NONE) · get_code("39931e10d758736b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, watml/adalina 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_N Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
watml/TreeGrad/linearTreeShap/linearTreeShap.py
pointer only (licence: NONE) · get_code("c9e9f993d66c7723")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, watml/TreeGrad 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_norm_weight Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from yupbank/linear_tree_shap
pointer only; the stored copy get_code serves, from yupbank/linear_tree_shap, is pointer only (licence: NONE) · get_code("3e3f29e0ca3f0e39")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

kernelSHAP_MV Ran
ran on a synthesized input · constructed an object; no result was computed
watml/adalina/estimators/Adalina.py
pointer only (licence: NONE) · get_code("810ef654e4718605")
How it ran

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

linear_treeshap Ran
ran; our contract draft was wrong, not the code
watml/TreeGrad/linearTreeShap/linearTreeShap.py
pointer only (licence: NONE) · get_code("8d9efe4a4a35d515")
How it ran

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

psi Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
watml/TreeGrad/linearTreeShap/linearTreeShap.py
pointer only (licence: NONE) · get_code("46acbf9bb07cb485")
How it ran

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

Adalina Not yet run
unverified (harvested, no recorded run)
watml/adalina/estimators/Adalina.py
pointer only (licence: NONE) · get_code("37daef4d1d68929a")
How it ran

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

_inference Not yet run
unverified (harvested, no recorded run)
watml/TreeGrad/linearTreeShap/linearTreeShap.py
pointer only (licence: NONE) · get_code("260a5bcd5b8c512e")
How it ran

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

linearAppr Not yet run
unverified (harvested, no recorded run)
watml/adalina/estimators/Adalina.py
pointer only (licence: NONE) · get_code("92bcaf275aad7d05")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, watml/adalina 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 10 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
get_norm_weight
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2209.08192 (2022-09)
Linear TreeShap

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

The Shapley value, and its broader family of semivalues, has received much attention in various attribution problems. A fundamental and longstanding challenge is their efficient approximation, since exact computation generally requires an exponential number of utility queries in the number of players n. To meet the challenges of large-scale applications, we explore the limits of efficiently approximating semi-values under a Θ(n) space constraint. Building upon a vector concentration inequality, we establish a theoretical framework that enables sharper query complexities for existing unbiased randomized algorithms. Within this framework, we systematically develop a linear-space algorithm that requires O( n ϵ 2 log 1 δ ) utility queries to ensure P (∥ φ -ϕ∥ 2 ≥ ϵ) ≤ δ for all commonly used semi-values. In particular, our framework naturally bridges OFA, unbiased kernelSHAP, SHAP-IQ and the regression-adjusted approach, and definitively characterizes when paired sampling is beneficial. Moreover, our algorithm allows explicit minimization of the mean squared error E[∥ φ -ϕ∥ 2 2 ] for each specific utility function. Accordingly, we introduce the first adaptive, linear-time, linearspace randomized algorithm, Adalina, that theoretically achieves improved mean squared error. All of our theoretical findings are experimentally validated. Our code is available at https://github.com/watml/adalina.

For agents

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

get_harvested_code_for_paper("2604.08438")
get_code_for_paper("2604.08438")
have("2604.08438")

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

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

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

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

Connect an agent — have() is free.