SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.14402 · 2023

TEA: Test-time Energy Adaptation

arXiv · PDF · Open in the Atlas

Code that ran

18 of 20 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 16 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2311.14402.json · badge: /api/ran/2311.14402.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
yuanyige/tea canonical (classifier label)
classifier basis: census
18 ran · 2 no recorded run
FunctionStatusWhere it lives
collect_params Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/param.py
pointer only (licence: NONE) · get_code("a784a511d03ebe30")
How it ran

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

collect_stats Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/adazoo/norm.py
pointer only (licence: NONE); the stored copy get_code serves, from royzry98/moase-pytorch, is pointer only (licence: NONE) · get_code("c5f915703f30ab89")
How it ran

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

configure_model Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/adazoo/norm.py
pointer only (licence: NONE); the stored copy get_code serves, from royzry98/moase-pytorch, is pointer only (licence: NONE) · get_code("8f537ee8d4a9b397")
How it ran

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

configure_model Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/param.py
pointer only (licence: NONE) · get_code("16a89171a04c1ac1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyige/tea 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_model_and_optimizer Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/param.py
pointer only (licence: NONE); the stored copy get_code serves, from yuyongcan/stamp, is pointer only (licence: NONE) · get_code("d203451c6493f65d")
How it ran

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

forward_and_adapt_eata Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/adazoo/eata.py
pointer only (licence: NONE) · get_code("611482e1142a774f")
How it ran

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

forward_and_adapt_sar Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/adazoo/sar.py
pointer only (licence: NONE) · get_code("b16160c62f8cd37e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyige/tea 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_random Ran
ran, honoured the contract we drafted
yuanyige/tea/core/adazoo/energy.py
pointer only (licence: NONE) · get_code("fd187d75df206ce0")
How it ran

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

load_tin200 Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/data.py
pointer only (licence: NONE) · get_code("79f439c0ef7cb476")
How it ran

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

sample_p_0 Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/adazoo/energy.py
pointer only (licence: NONE) · get_code("be1107d08d25a5b0")
How it ran

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

sample_q Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/adazoo/energy.py
pointer only (licence: NONE) · get_code("c7bb6b60a3ef4df5")
How it ran

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

set_transform Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/data.py
pointer only (licence: NONE) · get_code("e0b98f11d30aba61")
How it ran

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

setup_optimizer Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/optim.py
pointer only (licence: NONE) · get_code("b0b20bfb6ab94443")
How it ran

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

setup_source Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/setada.py
pointer only (licence: NONE) · get_code("7dd97c802ed32b19")
How it ran

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

softmax_entropy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yuanyige/tea/core/adazoo/sar.py
pointer only (licence: NONE); the stored copy get_code serves, from Feliciaxyao/ICML2024-FSTTA, is pointer only (licence: NONE) · get_code("3078648c75e3e1e3")
How it ran

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

softmax_entropy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yuanyige/tea/core/adazoo/eata.py
pointer only (licence: NONE) · get_code("7b9d88d29b50aca6")
How it ran

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

update_ema Ran
ran, honoured the contract we drafted
yuanyige/tea/core/adazoo/sar.py
pointer only (licence: NONE) · get_code("17259eab7993e1c7")
How it ran

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

update_model_probs Ran
ran; our contract draft was wrong, not the code
yuanyige/tea/core/adazoo/eata.py
pointer only (licence: NONE) · get_code("182d3657a9eebb0d")
How it ran

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

load_pacs Not yet run
unverified (harvested, no recorded run)
yuanyige/tea/core/data.py
pointer only (licence: NONE) · get_code("489e90fa2cfbabec")
How it ran

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

plot_calibration_hist Not yet run
unverified (harvested, no recorded run)
yuanyige/tea/core/calibration.py
pointer only (licence: NONE) · get_code("2aca4c8f872ec672")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyige/tea 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 1 the same month, 7 later) and 11 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
softmax_entropy 22 other papers
9 dated earlier, 1 the same month, 11 later, 1 undated · 4 only as an assembly brick
2006.10726 (2020-06)
TENT: FULLY TEST-TIME ADAPTATION BY ENTROPY MINIMIZATION
2105.08714 (2021-05)
Fighting Gradients with Gradients: Dynamic Defenses against Adversarial Attacks
2110.14038 (2021-10)
Robustness of Graph Neural Networks at Scale
and 19 more not named here
copy_model_and_optimizer 8 other papers
5 dated earlier, 3 later · 4 only as an assembly brick
2006.10726 (2020-06)
TENT: FULLY TEST-TIME ADAPTATION BY ENTROPY MINIMIZATION
2105.08714 (2021-05)
Fighting Gradients with Gradients: Dynamic Defenses against Adversarial Attacks
2110.10232 (2021-10)
Test time Adaptation through Perturbation Robustness
and 5 more not named here
softmax_entropy 8 other papers
2 dated earlier, 5 later, 1 undated
2006.10726 (2020-06)
TENT: FULLY TEST-TIME ADAPTATION BY ENTROPY MINIMIZATION
2204.02610 (2022-04)
Efficient Test-Time Model Adaptation without Forgetting
2404.01650 (2024-04)
Test-Time Model Adaptation with Only Forward Passes
and 5 more not named here
update_model_probs 8 other papers
2 dated earlier, 5 later, 1 undated
2204.02610 (2022-04)
Efficient Test-Time Model Adaptation without Forgetting
2309.14949 (2023-09)
Towards Real-World Test-Time Adaptation: Tri-Net Self-Training with Balanced Normalization
2402.17316 (2024-02)
Towards Robust and Efficient Cloud-Edge Elastic Model Adaptation via Selective Entropy Distillation
and 5 more not named here
update_ema 5 other papers
1 dated earlier, 3 later, 1 undated
2302.12400 (2023-02)
Towards Stable Test-Time Adaptation in Dynamic Wild World
2408.13983 (2024-08)
Dual-Path Adversarial Lifting for Domain Shift Correction in Online Test-time Adaptation
2505.20704 (2025-05)
Beyond Entropy: Region Confidence Proxy for Wild Test-Time Adaptation
and 2 more not named here
collect_stats 3 other papers
1 dated earlier, 2 later
2105.08714 (2021-05)
Fighting Gradients with Gradients: Dynamic Defenses against Adversarial Attacks
2404.06065 (2024-04)
Unified Entropy Optimization for Open-Set Test-Time Adaptation
2405.16486 (2024-05)
Decomposing the Neurons: Activation Sparsity via Mixture of Experts for Continual Test Time Adaptation
configure_model 3 other papers
1 dated earlier, 2 later
2105.08714 (2021-05)
Fighting Gradients with Gradients: Dynamic Defenses against Adversarial Attacks
2404.06065 (2024-04)
Unified Entropy Optimization for Open-Set Test-Time Adaptation
2405.16486 (2024-05)
Decomposing the Neurons: Activation Sparsity via Mixture of Experts for Continual Test Time Adaptation
forward_and_adapt_sar 2 other papers
1 dated earlier, 1 undated
2302.12400 (2023-02)
Towards Stable Test-Time Adaptation in Dynamic Wild World
openreview_QYPKLGyz7K
SaTeen: Learning Structural Alignment for Continual Test-Time Adaptation
forward_and_adapt_eata 1 other paper
1 dated earlier
2204.02610 (2022-04)
Efficient Test-Time Model Adaptation without Forgetting

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

Test-time adaptation (TTA) aims to improve model generalizability when test data diverges from training distribution, offering the distinct advantage of not requiring access to training data and processes, especially valuable in the context of large pre-trained models. However, current TTA methods fail to address the fundamental issue: covariate shift, i.e., the decreased generalizability can be attributed to the model's reliance on the marginal distribution of the training data, which may impair model calibration and introduce confirmation bias. To address this, we propose a novel energy-based perspective, enhancing the model's perception of target data distributions without requiring access to training data or processes. Building on this perspective, we introduce $\textbf{T}$est-time $\textbf{E}$nergy $\textbf{A}$daptation ($\textbf{TEA}$), which transforms the trained classifier into an energy-based model and aligns the model's distribution with the test data's, enhancing its ability to perceive test distributions and thus improving overall generalizability. Extensive experiments across multiple tasks, benchmarks and architectures demonstrate TEA's superior generalization performance against state-of-the-art methods. Further in-depth analyses reveal that TEA can equip the model with a comprehensive perception of test distribution, ultimately paving the way toward improved generalization and calibration.

For agents

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

get_harvested_code_for_paper("2311.14402")
get_code_for_paper("2311.14402")
have("2311.14402")

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

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

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

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

Connect an agent — have() is free.