Papers › CATE: Computation-aware Neural Architecture Encoding with Transformers

CATE: Computation-aware Neural Architecture Encoding with Transformers

14 Feb 2021arXiv:2102.07108archive 2025-07-28

Shen Yan, Kaiqiang Song, Fei Liu, Mi Zhang

Recent works (White et al., 2020a; Yan et al., 2020) demonstrate the importance of architecture encodings in Neural Architecture Search (NAS). These encodings encode either structure or computation information of the neural architectures. Compared to structure-aware encodings, computation-aware encodings map architectures with similar accuracies to the same region, which improves the downstream architecture search performance (Zhang et al., 2019; White et al., 2020a). In this work, we introduce a Computation-Aware Transformer-based Encoding method called CATE. Different from existing computation-aware encodings based on fixed transformation (e.g. path encoding), CATE employs a pairwise pre-training scheme to learn computation-aware encodings using Transformers with cross-attention. Such learned encodings contain dense and contextualized computation information of neural architectures. We compare CATE with eleven encodings under three major encoding-dependent NAS subroutines in both small and large search spaces. Our experiments show that CATE is beneficial to the downstream search, especially in the large search space. Moreover, the outside search space experiment demonstrates its superior generalization ability beyond the search space on which it was trained. Our code is available at: https://github.com/MSU-MLSys-Lab/CATE.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2102.07108")

Code

Syntology Ran 9 of 10 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 2 ran · our draft was wrong; 7 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

MSU-MLSys-Lab/CATE officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 9 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
7ran
1unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from MSU-MLSys-Lab/CATE. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Encoder MSU-MLSys-Lab/CATE/layers/transformer.py official repository ran Apache-2.0 (permissive) · ad464810b30d6d25 · report
EncoderBlock MSU-MLSys-Lab/CATE/layers/transformer.py official repository ran Apache-2.0 (permissive) · 2b2a73a9b0d3825e · report
FeedForwardBlock MSU-MLSys-Lab/CATE/layers/transformer.py official repository ran fingerprinted Apache-2.0 (permissive) · 9e5a8995a0d0b684 · report
MultiHeadAttention MSU-MLSys-Lab/CATE/layers/transformer.py official repository ran Apache-2.0 (permissive) · ef066f2fb629b698 · report
PositionalEmbedding MSU-MLSys-Lab/CATE/layers/transformer.py official repository ran Apache-2.0 (permissive) · 21d20b888bdba6a4 · report
PositionwiseFeedForward MSU-MLSys-Lab/CATE/layers/transformer.py official repository ran fingerprinted Apache-2.0 (permissive) · 73d36f4b75757093 · report
SelfAttentionBlock MSU-MLSys-Lab/CATE/layers/transformer.py official repository ran Apache-2.0 (permissive) · 52117ec9c56aa17a · report
attention MSU-MLSys-Lab/CATE/layers/transformer.py official repository ran · our draft was wrong Apache-2.0 (permissive) · bbc7c22f9d8732dc · report
clones MSU-MLSys-Lab/CATE/layers/transformer.py official repository ran · our draft was wrong Apache-2.0 (permissive) · d013dfb22c365f67 · report
Transformer MSU-MLSys-Lab/CATE/layers/transformer.py official repository unverified Apache-2.0 (permissive) · 014afd02662c3b66 · report

Tasks

AutoMLNeural Architecture SearchRepresentation LearningUnsupervised Pre-training

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Neural Architecture Search CIFAR-10 CATE Parameters 4.1 #15 of 41 Archive leaderboard report
Neural Architecture Search CIFAR-10 CATE Search Time (GPU days) 10.3 #15 of 41 Archive leaderboard report
Neural Architecture Search CIFAR-10 CATE Top-1 Error Rate 2.46% #15 of 41 Archive leaderboard report
Neural Architecture Search CIFAR-10 Image Classification CATE Params 4.1 #11 of 19 Archive leaderboard report
Neural Architecture Search CIFAR-10 Image Classification CATE Percentage error 2.46 #11 of 19 Archive leaderboard report
Neural Architecture Search CIFAR-10 Image Classification CATE Search Time (GPU days) 10.3 #11 of 19 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections