SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.01268 · 2026

How fine a change can moments see? A scale law for detecting distribution shift, with a kernel calibration rule

Adel Kaleche

arXiv · PDF · Open in the Atlas

Code that ran

3 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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/2608.01268.json · badge: /api/ran/2608.01268.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
Adelagric/moment-scale-law community
Papers with Code archive
3 ran · 1 no recorded run
FunctionStatusWhere it lives
inject_blob Ran
ran; our contract draft was wrong, not the code
Adelagric/moment-scale-law/exp0/exp23_sigma_star.py
pointer only (licence: NONE) · get_code("3f606fa45738f4a9")
How it ran

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

make_win Ran
ran; our contract draft was wrong, not the code
Adelagric/moment-scale-law/exp0/exp23_sigma_star.py
pointer only (licence: NONE) · get_code("6d10793fbcf4be7b")
How it ran

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

mmd2 Ran
ran, honoured the contract we drafted
Adelagric/moment-scale-law/exp0/exp23_sigma_star.py
pointer only (licence: NONE) · get_code("4e9e1f33fa29fd28")
How it ran

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

sigma_star Not yet run
unverified (harvested, no recorded run)
Adelagric/moment-scale-law/exp0/exp23_sigma_star.py
pointer only (licence: NONE) · get_code("213c7bfe9bd789c0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Adelagric/moment-scale-law 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 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, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 4 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.

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-23.

Repositories linked to this paper

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

Abstract

Detecting that a stream of high-dimensional embeddings has changed is usually framed as a choice of statistic. We give a scale law that constrains any moment-based choice, and we test what it implies against topological alternatives. The law: certifying a feature of spatial scale ε carrying mass fraction f requires polynomial tests of degree N * ≥ log(1/f )/(2ε) -proved via the Chebyshev extremal problem -while a Gauss-quadrature construction gives N * ≥ 4b -1 for a b-scale topology, so the cost is governed by feature fineness, not by feature count. The law is one-sided: it never certifies that a given order suffices, and we exhibit a counterexample (an annulus whose mean, covariance and all fourth-order moments equal those of a filled disk, yet Its practical content is a calibration rule. The upper-bound construction attains its rate with Gaussian test functions -the RKHS witness of an RBF kernel -so the law predicts which bandwidth an MMD test should use, namely the feature scale. On controlled deformations of real embedding streams we measure σ ⋆ /ε with median 1.12 (interquartile range 1.01-1.52, n = 26) over three settings and three scales under one protocol, and a bandwidth predicted from a data-driven scale estimate reaches AUC ≥ 0.95. Against an adversary optimised against the defender's own statistics {µ, Σ, k-NN, b}, every one of those statistics is evaded and only a bandwidth-matched kernel test still detects. For persistent homology the verdict is mixed and depends strongly on choices that are usually left implicit. The summary matters more than the filtration: total persistence attains recall 0.75 at FPR = 1% on a covariance-preserving attack where the first persistence landscape attains 0.00; DTM weighting does not help. Once the summary is chosen sensibly, several findings we would otherwise have reported -degradation with ambient dimension, sensitivity to the reduction dimension, statistically significant domination by kurtosis, failure to alarm in the streaming regime -turn out to be properties of the landscape rather than of persistence. What survives is a cost gap, not a power gap: where persistence works it costs 116× kurtosis, which works at least as well; where kurtosis fails against an adaptive adversary, persistence fails with it. We therefore do not conclude that topological summaries are useless, but that on this task they are dominated by a kernel test whose bandwidth the law tells you how to set.

For agents

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

get_harvested_code_for_paper("2608.01268")
get_code_for_paper("2608.01268")
have("2608.01268")

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

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

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

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

Connect an agent — have() is free.