A Polygenic Score for Tampered Silicon

When a brain's white matter — the insulated long-distance cabling of the nervous system — degrades toward illness, it rarely happens because one gene is broken. It happens because many DNA variants, each of tiny effect, accumulate within specific biological pathways; Miruna C. Barbu et al. showed this directly for depression risk, where polygenic risk concentrated in the NETRIN1 axon-guidance pathway predicts damaged specific fiber tracts, while genome-wide risk without that pathway maps to entirely different tracts. Modern silicon faces the same adversarial geometry from the opposite direction. The dangerous tampering of a chip is no longer a single rare "trigger" gate that a detector can spot, but diffuse, functionally silent substitutions spread across the design: Lakshmi Likhitha Mankali et al. showed that a poisoned code-generation model can swap a fast carry-look-ahead adder for a slow ripple-carry one everywhere in a design, and the result passes 95–97% of standard functional verification.

This proposal imports the neurogenetic toolkit — intermediate phenotypes, unsupervised latent representations, and pathway-specific polygenic aggregation — to solve the hardest problem in hardware intellectual property protection: deciding, without a golden reference netlist, whether a gate-level circuit is a legitimate manufacture of a design or a tampered, pirated, or degraded one. The mapping is precise. The register-transfer-level (RTL) source code is the genome: it encodes the design's intent but not its physical realization. The synthesized netlist — the graph of logic gates and wires — is the phenotype, the measurable physical expression of that intent. Functional modules (adders, FIFOs, arbiters, control logic) play the role of biological pathways. Synthesis tool, seed, and optimization settings are the environment. Just as a single risk variant in DTNBP1 measurably degrades temporal-lobe white matter even in healthy people (Thomas Nickl‐Jockschat et al.), a structural substitution should leave a measurable trace in the netlist even when the chip still computes correctly — the damage is visible in the tissue before it is visible in the behavior.

Core Claim

Given only a design's RTL source, we can learn an unsupervised, continuous "latent netlist phenotype" for every functional module of its synthesized netlists, and then detect tampering by aggregating many small module-level deviations into a single polygenic score — catching distributed, functionally equivalent degradation that both functional verification and existing localized Trojan detectors miss. The claim has two parts: that legitimate phenotypic variation (re-synthesis, tool settings) is separable from design identity, so that a tampered netlist falls outside its own design's phenotypic family; and that aggregation across modules, rather than inspection of any single subgraph, is what supplies the detection power.

This is different from everything in the file. The two golden-free hardware detectors — TrojanSAINT, which samples netlist subgraphs for a graph neural network, and GATE-Net, which contrastively clusters trigger subgraphs — are supervised on Trojan-versus-benign labels and hunt for localized anomalous topology; both papers acknowledge they degrade on out-of-distribution circuits and struggle with Trojans engineered to mimic normal logic. Neither models the space of legitimate variation for a specific design. On the neuroimaging side, Xingzhong Zhao et al. compressed whole-brain white-matter images into 128-dimensional latent vectors (UDIP-FAs) that carry far more heritable genetic signal than atlas-based measurements — but only for brains. Nobody has built the analogous latent phenotype for circuits, and nobody has scored a circuit's deviation from its own design family polygenically. Section 2 of the research file confirms no work connects these directions.

Research Program

The program has four components. First, we build a phenotype corpus: take open-source designs (the ISCAS-85 combinational suite, the benign TrustHub circuits, the 18 IP cores used by GATE-Net, and modules from VerilogEval), and synthesize each under many tool settings, seeds, and optimization targets, producing for every RTL "genome" a family of legitimate netlist "phenotypes." Second, we train an unsupervised graph encoder — a contrastive or autoencoding graph neural network over gate-node, wire-edge graphs — to map each module of each netlist to a 128-dimensional latent vector, in direct analogy to the UDIP-FAs trained on 6,000 subjects' images in Zhao et al.. Modules are segmented using design hierarchy and cell-name semantics, following the observation of AutoMarks that semantic embeddings of standard-cell names carry real signal, and correcting its acknowledged simplification of netlists as homogeneous graphs by typing nodes by functional role.

Third, we run the heritability analog. In genetics, SNP-based heritability is the fraction of phenotype variance attributable to inherited variants; Zhao et al. report a striking mean of 50.81% for their latent FA phenotypes. Here we decompose latent variance into the part explained by RTL identity versus synthesis conditions. This is the falsifiable gate for the whole project: if design identity explains little of the phenotype, provenance and tamper detection against a design's own family are dead on arrival. Fourth, we define the polygenic drift score. For a suspect netlist $G$ of claimed design $X$, with modules $m$ and encoder $\phi$:

$$D(G) \;=\; \sum_{m \in M} w_m \, d\big(\phi(G_m),\, \mu_{X,m}\big)$$

where $\mu_{X,m}$ is the centroid of module $m$'s latent vectors across legitimate syntheses of design $X$, $d$ is a distance in latent space, and the weights $w_m$ are learned once on a small discovery set of tampered designs — exactly as polygenic risk score weights come from a discovery genome-wide association study and are then frozen and applied to unseen individuals. The methodological bet, taken straight from Barbu et al., is that pathway-specific (module-specific) aggregation localizes signal that genome-wide (whole-design) scores miss: their NETRIN1-pathway score hit the superior longitudinal fasciculus while their whole-genome score hit the forceps and uncinate.

Proposed Experiments

Experiment 1 is the heritability pilot on the corpus above, reporting the variance decomposition per benchmark family. Experiment 2 is tamper detection under three conditions: the 17 TrustHub benchmarks used by TrojanSAINT (classic trigger Trojans), GATE-Net's 18 IP cores with combinatorial and sequential triggers, and a new substitution benchmark we construct by synthesizing RTL-Breaker-style tainted HDL — the carry-look-ahead-to-ripple-carry class and similar silent performance degradation — since the file's material reports no existing detector evaluated on this tamper class. Metrics are true positive rate, true negative rate, F1, and AUC, with detection thresholds tuned only on validation designs disjoint from test designs, and the same compute and tuning budget granted to every baseline. Experiment 3 is piracy attribution: we "steal" designs by re-synthesizing them with different tools, retiming, and netlist randomization in the style of Satwik Patnaik et al., and measure whether the latent phenotype still attributes the suspect netlist to the correct design family, reporting correct attribution rate against a corpus of decoy designs.

We must be honest about one constraining result. Quanfa He et al. found that intermediate brain-volume phenotypes frequently fail to statistically mediate the link between polygenic risk and clinical symptoms — an intermediate phenotype can be measurable and heritable yet still not carry the causal signal that matters. The netlist analog of that failure is a latent phenotype that separates designs beautifully but is blind to tampering that preserves module-level graph statistics. Experiment 2's substitution benchmark is designed precisely to test this, and we will report effect sizes (which latent coordinates shift, by how much, per substituted module), not just detection rates.

Baselines

The "do nothing" reference point is the standard verification flow: functional simulation and logic equivalence checking between RTL and netlist. This is the incumbent practice, and the file quantifies its blind spot rather than a strength: backdoored generation models retain 95% to 97% of clean models' pass@1 on VerilogEval (RTL-Breaker), and equivalence checking passes by construction against functionally identical substitutions. Any detection rate we report should be read against this near-floor reference.

The strongest existing competitor is TrojanSAINT (Hazem Lashen et al.), because it is the only prior detector that works without a golden model, reporting an average true positive rate of 78% and true negative rate of 85% on unseen TrustHub benchmarks, rising to 98% TPR and 96% TNR in leave-one-out validation with known architectures, and localizing Trojans at regular-to-Trojan gate ratios up to 719:1. We will run TrojanSAINT on exactly our TrustHub and substitution splits, with its thresholds tuned on the same validation designs we use, so the comparison isolates the method rather than the protocol. On the trigger benchmarks, GATE-Net (Nikhil Muralidhar et al.) is the second competitor, reporting precision of 1.0 and recall above 0.92 across its 18 IP cores and a 46.99% F1 improvement over manual feature engineering for combinatorial triggers. Beating the field means: at matched true negative rate, higher true positive rate on the substitution benchmark, and no worse than parity on TrustHub triggers. If TrojanSAINT matches us on substitutions, the polygenic claim is falsified.

The key ablation removes the proposal's central ingredient: the same encoder, same corpus, but a single whole-design latent distance to $\mu_X$ with no module-level aggregation, plus an unweighted variant of the sum. If the whole-design score performs as well as the weighted module-level score on the substitution benchmark, then aggregation — the part imported from psychiatric genetics — is doing no work, and the contribution collapses to "an unsupervised netlist embedding," which is a much weaker paper.

Why not just…?

Why not just use the existing GNN Trojan detectors? They are the natural first answer, and we treat them as the primary baseline rather than arguing around them. The evidence for a gap is specific: both GATE-Net and TrojanSAINT are trained on labeled Trojan examples whose signature is rare, low-controllability trigger logic, and both papers state that out-of-distribution circuit families and Trojans mimicking normal topology degrade them. A ripple-carry-for-carry-look-ahead substitution contains no rare gates at all — every cell is common and well-controlled — so there is a principled reason it evades them; but this is a prediction, not a result, and Experiment 2 settles it head to head on identical data.

Why not just run equivalence checking and static timing analysis? Equivalence checking cannot help by construction: a ripple-carry adder computes exactly the same Boolean function as a carry-look-ahead adder, so the substitution is logically equivalent and passes — this is why the poisoned designs in RTL-Breaker sail through functional verification at 95–97% of clean pass@1. Static timing analysis is a more serious threat to our claim, and we say so: if every substituted module's paths still meet timing constraints at the analyzed corners, STA reports nothing, and that is precisely the regime — distributed deviation with no single violated constraint — the polygenic score targets. We will report the overlap between STA-flagged paths and score-flagged modules to show whether we add signal beyond timing, rather than asserting it.

Why not just prevent theft up front with watermarking or split manufacturing? These are strong preventive tools and complementary, not competitors. AutoMarks embeds layout watermarks with a 100% extraction rate under removal attacks and zero wirelength penalty, and Satwik Patnaik et al. hold proximity attacks to a 0% correct-connection rate with 0% area overhead. But all of these require planning at design time, a trusted back-end facility, or ownership of the original layout; they do nothing for a third-party IP core you were handed, a legacy design with no watermark, or a post-hoc piracy dispute where the question is forensic attribution rather than prevention. Our score is the detective that works when the preventive measures were never applied.

Why not just train a supervised tampered-versus-benign classifier? The tamper space is open: substitutions, mimicry Trojans, overproduction clones, and LLM-injected backdoors keep generating new shapes, and labeled examples of each are scarce. The neuroimaging lesson is exactly this — Zhao et al. abandoned rigid hand-drawn tract atlases in favor of unsupervised representations precisely because enumerating the phenotypes of interest by hand capped what could be discovered. Modeling the distribution of legitimate variation for a design and flagging departures from it generalizes to tamper types never seen in training, which we test by freezing the discovery-set weights and evaluating on tamper classes held out entirely. The honest residual risk is that our encoder is itself trained on a netlist distribution and may also degrade out of distribution; we therefore include leave-one-benchmark-family-out runs throughout.

Decisive Checks

Three results would kill or confirm the idea. The heritability pilot is the first gate: if RTL identity explains only a small fraction of latent variance, the phenotype is dominated by synthesis noise and the provenance track is abandoned before further investment. The second is the substitution benchmark: we must beat TrojanSAINT and GATE-Net at matched false-positive rates on functionally equivalent degradation, since that is the tamper class that motivates the whole design. The third is the ablation: the weighted module-level score must clearly outperform the whole-design score, demonstrating that polygenic aggregation across modules — the mechanism imported from white-matter genetics — is the ingredient doing the work, not merely the existence of a latent embedding.