Do Cheap Architecture Searches Make Architectural Watermarks Collide?

One way to prove that a neural network is yours is to hide a signature in its wiring rather than its weights. The owner fixes a secret sequence of operations along one path inside the network's repeated building block (its "cell"), searches the rest of the cell for accuracy, and later checks whether a suspect model contains that sequence. Weight-level watermarks break when a thief fine-tunes or prunes the model. Wiring signatures survive fine-tuning, pruning and even retraining from scratch. The weak point is the statistical argument behind the ownership claim. "My secret sequence is in your model" is only evidence if an honest, independent party was unlikely to produce that sequence. Architecture search is now very cheap: training-free scores can rank thousands of untrained candidates in seconds. Many teams may therefore run nearly identical public search pipelines and arrive at nearly identical architectures.

These cheap scores are also known to be strongly biased toward bigger models. That bias pushes searches toward the same high-capacity operations, and so the space of plausible independent outcomes may be much smaller than the uniform count of operation choices suggests. This note proposes to measure that effect and then correct for it. We would build an explicit model of what public, cheap search pipelines produce, and use it as the reference distribution for ownership tests. We would then choose secret wiring signatures that are improbable under that distribution while costing little accuracy, and embed them with training-free search instead of a full supernet run. The two-sentence version is as follows. Architectural watermark collision rates have so far been measured against the owner's own random search seeds, not against the outputs of public search pipelines, and size-biased scoring may make those outputs highly concentrated. We would estimate that public reference distribution, pick signatures that are rare under it, and turn "the architecture matches" into a calibrated p-value.

Core Claim

The closest existing work is the architectural watermarking scheme of Lou et al. (When NAS Meets Watermarking, A Novel Watermarking Framework, cache side-channel verification). It freezes a secret operation path in a supernet, runs gradient-based search (GDAS) around it, and recovers the architecture from a deployed model by spying on CPU cache activity. Its main results are a collision probability below 0.03% for a 4-operation stamp across 100 random seeds and an accuracy drop from 96.53% to 96.16% on CIFAR-10. That collision figure answers how often the owner's own search reproduces the stamp by chance. It does not answer the question a court or auditor would ask: how often does an independent party running a standard, publicly available search pipeline end up with this stamp?

We claim three things. First, under cheap training-free search, that second probability can be far higher than 0.03% for some stamps. This follows from documented size bias. NAS-Bench-Suite-Zero shows many training-free scores mostly track parameter count and FLOPs. Revisiting Training-free NAS Metrics shows a linear-region score with 0.62 correlation to parameter count that collapses at fixed size. Xu et al. show size-driven search collapsing onto high-capacity candidates. Search driven by such scores should therefore pile up on the parameter-heavy operations, so a stamp made of those operations will be "found" by many honest strangers.

Second, the collision risk of a stamp is predictable from its size profile. It can be traded off explicitly against the stamp's accuracy cost.

Third, the expensive part of embedding can be replaced by training-free search around the frozen stamp, at negligible accuracy cost. Expensive full search exists only to make GDAS train a supernet, and the file contains no evidence that it buys anything the cheaper route cannot.

Research Program

The central object is a reference ("null") distribution $P_0$ over architectures. It is a mixture of the output distributions of public search pipelines $\pi$: random sampling, plain parameter count, FLOPs, each of the 13 standardized training-free scores in NAS-Bench-Suite-Zero, ZiCo (ZiCo, a score based on the signal-to-noise ratio of gradients at initialization), the XGBoost ensemble of all scores, ST-NAS short training, and a small number of DARTS/GDAS runs. Each pipeline is run under resampled seeds, data batches and hyperparameters.

For a stamp $s$ placed on a set of edges $E_s$, the null collision rate is

$$c(s) = P_0\big(a[E_s] = s\big),$$

where $a$ is an architecture drawn from the reference mixture and $a[E_s]$ is its operation sequence on the stamped edges. Ownership verification becomes a test that reports $c(s)$ as the p-value of observing the stamp in an honest model. We would report results both for a uniform mixture weighting over pipelines and for the worst case, the pipeline that maximizes $c(s)$. The worst case is the one a defendant would argue for.

Stamp selection then solves

$$\max_s \; -\log c(s) \quad \text{subject to} \quad \mathrm{Acc}^*(s) \ge \mathrm{Acc}^* - \delta,$$

where $\mathrm{Acc}^*(s)$ is the accuracy of the best architecture containing stamp $s$, as found by the owner's cheap search, $\mathrm{Acc}^*$ is the best unconstrained accuracy found by the same pipeline, and $\delta$ is the tolerated loss.

The size-bias lens enters in two places. On the null side, we would test whether $c(s)$ is largely explained by the stamp's parameter count, which would make it cheaply predictable. On the embedding side, we would use size-matched stamps to separate two causes of accuracy cost: a stamp that hurts because it is badly wired, versus one that hurts only because it removes capacity, for example by placing pooling or skip connections on the path. Lou et al. do not make this separation.

Embedding is done by scoring all completions of the free edges with a training-free score and training only the chosen one. We would use ZiCo, chosen because it is among the few scores reported to beat parameter count, and a size-debiased score in the style of NAS-Bench-Suite-Zero. This replaces GDAS supernet training.

We would also test the tension raised by the gap analysis: whether restricting search to equal-size slices, as debiasing does, shrinks the effective key space. We would measure the entropy of $P_0$ restricted to the stamped edges under biased and debiased pipelines, and the resulting number of usable low-collision keys.

We take architecture recovery as given, via white-box inspection or Lou et al.'s cache side channel. The known hardware dependence of that side channel remains a limitation that we do not address.

Baselines

The naive reference point is uniform-null accounting with a random stamp. A stamp is drawn uniformly, collision is reported as $5^{-k}$ for $k$ stamped edges with 5 operations each, and embedding uses the same cheap completion search. This is what one would assume without modeling search pipelines. We beat it if the empirical $c(s)$ deviates from $5^{-k}$ by more than an order of magnitude for a meaningful fraction of stamps. Beating it here means showing that the naive accounting is miscalibrated.

The strongest existing method is Lou et al.'s scheme (When NAS Meets Watermarking). Their reported numbers are a collision probability below 0.03% across 100 random seeds for a 4-operation stamp, CIFAR-10 accuracy of 96.53% for the unwatermarked model versus 96.16% worst case, and ImageNet accuracy of 73.97% versus 72.73%. We would reproduce GDAS stamp embedding in the DARTS space on CIFAR-10. We would use their 4-operation stamp length, the same training recipe for the final network as for our models, and the same number of final trainings. Their collision rate would be recomputed under our reference mixture rather than their own seeds. Our method beats theirs if, at matched accuracy loss (within their roughly 0.4 points on CIFAR-10), it achieves a worst-case $c(s)$ at least as low with embedding compute reduced from a supernet run to score evaluations plus one final training. No reported result was found on Lacuna for the collision rate of any architectural watermark under training-free search pipelines, so that comparison is new.

For the search signal itself, the reference scores are ZiCo and parameter count. ZiCo reports Kendall's τ of 0.61 on NATS-Bench topology space, against 0.57 for parameter count and 0.54 for Synflow (ZiCo). Both are run as completion scorers with identical candidate sets.

Two ablations isolate the key ingredient. The first keeps cheap embedding but selects stamps uniformly; this isolates the value of choosing stamps under the null. The second chooses stamps under the null but ignores size matching; this tests whether attributing accuracy cost to capacity changes which stamps are selected.

Why not just…?

Why not just trust the 0.03% collision figure and use random stamps? That figure is measured over the owner's own GDAS seeds. Size-bias results (Yang et al., Xu et al.) give a concrete mechanism by which cheap public pipelines concentrate on parameter-heavy operations. Our first experiment computes $c(s)$ exactly for every stamp in NAS-Bench-201. If the distribution of $c(s)$ turns out close to uniform, this alternative wins, and the contribution shrinks to a calibration check plus cheap embedding. We would report it that way.

Why not just pick the stamp with the fewest parameter-heavy operations? This is the real threat. If $c(s)$ is almost entirely explained by stamp parameter count, a one-line rule replaces the reference model. We would test this directly by regressing $\log c(s)$ on stamp parameter count and FLOPs. If the fit is near-perfect, we adopt the rule and keep the reference model only for calibrated p-values. The rule may still fail on accuracy: low-capacity stamps may cost more than the δ budget. The size-matched ablation measures that cost.

Why not just fingerprint weights, as AWM does? AWM reaches 1.0 AUC with white-box access to Transformer weights. The threat model here, however, is a thief who copies the searched architecture and retrains it from scratch, which leaves no weight similarity to detect. Architecture-level evidence is the only kind that survives this, as the retraining-robust structural backdoors of Neural Architectural Backdoors illustrate.

Why not just keep GDAS embedding? It may give slightly better accuracy. We compare at matched accuracy, so if GDAS wins by more than δ, the cost saving is the only remaining claim and we would say so.

Proposed Experiments

The first stage is exact and runs on NAS-Bench-201 and NATS-Bench topology space (NAS-Bench-201, NATS-Bench), using precomputed scores from NAS-Bench-Suite-Zero. For each pipeline, we compute its top-k output under 100 resampled seeds and batches, and from these obtain $P_0$, $c(s)$ for all 3- and 4-edge stamps, and $\mathrm{Acc}^*(s)$ from tabular accuracies on CIFAR-10, CIFAR-100 and ImageNet-16-120. The best unconstrained architecture reaches 94.37%, 73.51% and 47.31% respectively. The key space here is small, so this stage serves to measure the effect, not to deploy keys.

The second stage moves to the DARTS space, which has a much larger key space, with stamps spanning normal and reduction cells. Here $P_0$ is estimated by sampling pipeline runs. NAS-Bench-301 predictions, available through NAS-Bench-Suite-Zero, screen accuracy. Real CIFAR-10 training is used for final candidates and for the GDAS comparison.

Metrics are worst-case and mixture $c(s)$, entropy of $P_0$ on stamped edges, accuracy loss relative to the unconstrained pipeline best, embedding GPU-time, and survival of the stamp under fine-tuning and pruning. Survival is expected to match Lou et al.'s reported 100% because the stamp is structural.

Three results would settle the question. The first is whether a substantial fraction of uniformly drawn stamps has worst-case $c(s)$ above 0.03% under cheap pipelines. The second is whether debiased pipelines raise or lower null entropy, which resolves the tension between debiasing and key space. The third is whether null-aware stamps embedded by training-free search match GDAS accuracy within δ while keeping worst-case $c(s)$ below the uniform bound.