SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.07378 · 2026

Zero-Shot Neural Network Evaluation With Sample-Wise Activation Patterns

Xiaojun Chang, Haytham Fayek, Andy Song, Yameng Peng, Vic Ciesielski

arXiv · PDF · Open in the Atlas

Code that ran

None of the 4 samples (functions and classes) lifted from this paper's linked repositories has a recorded run on a synthesized input (4 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/2605.07378.json · badge: /api/ran/2605.07378.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
pym1024/SWAP community
Papers with Code archive
0 ran · 4 no recorded run
FunctionStatusWhere it lives
SWAP Not yet run
unverified (harvested, no recorded run)
pym1024/SWAP/src/metrics/swap.py
pointer only (licence: AFL-3.0) · get_code("cf55a5d5878935f2")
How it ran

The body of this sample is withheld: AFL-3.0, as GitHub detects it on this paper's repository, pym1024/SWAP, is not in the permissive set Syntology serves inline. 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.

SampleWiseActivationPatterns Not yet run
unverified (harvested, no recorded run)
pym1024/SWAP/src/metrics/swap.py
pointer only (licence: AFL-3.0) · get_code("efa53b6b95613d4d")
How it ran

The body of this sample is withheld: AFL-3.0, as GitHub detects it on this paper's repository, pym1024/SWAP, is not in the permissive set Syntology serves inline. 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.

cal_regular_factor Not yet run
unverified (harvested, no recorded run)
pym1024/SWAP/src/metrics/swap.py
pointer only (licence: AFL-3.0) · get_code("124cdad1591b2675")
How it ran

The body of this sample is withheld: AFL-3.0, as GitHub detects it on this paper's repository, pym1024/SWAP, is not in the permissive set Syntology serves inline. 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.

count_parameters Not yet run
unverified (harvested, no recorded run)
pym1024/SWAP/src/metrics/swap.py
pointer only (licence: AFL-3.0) · get_code("ded92534b8902560")
How it ran

The body of this sample is withheld: AFL-3.0, as GitHub detects it on this paper's repository, pym1024/SWAP, is not in the permissive set Syntology serves inline. 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

Zero-shot proxies, also known as training-free metrics, are widely adopted to reduce the computational overhead in neural network evaluation for scenarios such as Neural Architecture Search (NAS), as they do not require any training. Existing zero-shot metrics have several limitations, including weak correlation with the true performance and poor generalisation across different networks or downstream tasks. For example, most of these metrics apply only to either convolutional neural networks (CNNs) or Transformers, but not both. To address these limitations, we propose Sample-Wise Activation Patterns (SWAP), and its derivative, SWAP-Score, a novel and highly effective zero-shot metric. SWAP-Score is broadly applicable across both architecture families and task domains, demonstrating strong predictive performance in the majority of tasks. This metric measures the expressivity of neural networks over a mini-batch of samples, showing a high correlation with the neural networks' ground-truth performance. For both CNNs and Transformers, the SWAP-Score outperforms existing zero-shot metrics across computer vision and natural language processing tasks. For instance, Spearman's correlation coefficient between the SWAP-Score and CIFAR-10 validation accuracy for DARTS CNNs is 0.93, and 0.71 for FlexiBERT Transformers on GLUE tasks. Moreover, SWAP-Score is label-independent, hence can be applied at the pre-training stage of language models to estimate their performance for downstream tasks. When applied to NAS, SWAP-empowered NAS, SWAP-NAS can achieve competitive performance using only approximately 6 and 9 minutes of GPU time, on CIFAR-10 and ImageNet respectively. Our code is available at: https://github.com/pym1024/SWAP Universal.

For agents

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

get_harvested_code_for_paper("2605.07378")
get_code_for_paper("2605.07378")
have("2605.07378")

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

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

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

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

Connect an agent — have() is free.