Auditing Extended Netlists Without Golden References: Security-Aware Backbone Extraction

When a chip design is sent to an offshore foundry, the foundry returns a gate-level netlist — a graph whose nodes are logic gates and whose edges are wires — that routinely differs from what the designer's own tools would produce. The same is true when a design house licenses a revised IP block, or when an attacker's insertions are hidden inside a legitimate functional upgrade. In every case an auditor faces one question: is the delta between the prior version and the returned version legitimate engineering, or a malicious implant? The situation is strikingly similar to a problem journals have already formalized: when a conference paper is extended into a journal article, editors enforce an explicit novelty threshold — at least 25% new material for the ASHES-to-JCEN hardware security track (The ASHES 2020 special issue at JCEN), and at least 70% for the APWeb-WAIM track (Special issue on Web information management and applications) — but they verify it purely by subjective human review, with no algorithmic tool that separates genuine structural expansion from cosmetic padding. Hardware IP auditing has the same review problem in an adversarial form, and additionally has no golden reference netlist to diff against (Special Issue on Security and Privacy-Preserving Execution Environments).

This proposal builds a golden-free auditor for extended netlists with three connected ideas. First, it untangles the netlist "hairball" — the visual and computational collapse that happens when a million-gate graph is treated as one undifferentiated dense blob — using block-cut-vertex tree decomposition, which splits the circuit into biconnected blocks joined at cut vertices, computed locally and in parallel (BC tree-based spectral sampling for big complex network visualization). Second, and this is the key new mechanism, it makes that sparsification security-aware: standard backbone extraction keeps only edges with high statistical involvement in shortest paths (Extracting the Globally and Locally Adaptive Backbone of Complex Networks), but dormant Hardware Trojan triggers deliberately live in "cold", rarely switching regions (HTDet: A Clustering Method using Information Entropy for Hardware Trojan Detection) — so a naive backbone would prune exactly the wires an auditor most needs to see. We retain both channels. Third, the delta regions between design versions are classified with open-set prototype learning rather than closed-set signatures, because both legitimate extensions (25–70% new logic, by the editorial analogy) and malicious insertions are out-of-distribution relative to known patterns, and a closed-set classifier will confidently mislabel one as the other (Detecting Zero Day Exploits Beyond Historical Signatures; XFinder: Detecting Unknown Anomalies in Distributed Machine Learning Scenario).

Core Claim

The central claim is that graph sparsification, which every current gate-level detector applies either randomly or not at all, is not a neutral preprocessing step but a security decision — and once it is made deliberately, it enables a golden-free audit that current detectors cannot perform. Specifically: (i) applying standard backbone extraction to netlists prunes dormant Trojan trigger wires, because their link involvement falls into the negligible mode of the bimodal importance distribution demonstrated by Extracting the Globally and Locally Adaptive Backbone of Complex Networks; (ii) a dual-channel decomposition that retains both the backbone and an explicitly preserved "cold complement" — low-involvement edges that sit within small biconnected blocks or near primary outputs — keeps the structures TrojanHound: Structure-aware subgraph analysis for hardware Trojan detection in gate-level designs identifies as Trojan-bearing while still reducing the graph the learning stage must ingest; and (iii) on this reduced, two-channel representation, an open-set classifier can separate legitimate structural extension from malicious insertion in the delta between two netlist versions — a distinction no detector in the literature even measures.

Formally, let the netlist be a graph $G=(V,E)$ and let $SI(e)$ denote the statistical importance of edge $e$ from the backbone computation (link involvement in shortest paths, tested against a null model). We define the retained set as

$$R \;=\; \{\,e : SI(e) \le \tau\,\} \;\cup\; C, \qquad C = \{\,e : SI(e) > \tau \text{ and } e \in B_{\text{small}}\,\},$$

where $\tau$ is the backbone cutoff and $B_{\text{small}}$ is the set of small biconnected blocks and their incident cut edges, plus any low-involvement edge within $k$ hops of a primary output. The first term is the audited backbone; the second term is the cold channel. The prediction, testable and falsifiable, is that Trojan trigger and payload edges concentrate in $C$ while legitimate synthesis rewrites distribute across both channels according to the structural regularities of logic optimization.

Why Prior Work Leaves This Open

Three lines of work come close and each stops one step short. Gate-level Trojan detectors — TrojanSAINT: Gate-Level Netlist Sampling-Based Inductive Learning for Hardware Trojan Detection, TrojanHound, and HTDet — detect Trojans in a single netlist, but sample or cluster subgraphs without any notion of a design delta, and all are closed-set: TrojanSAINT itself flags exactly this limitation, noting that a novel Trojan structure departing from TrustHub trigger archetypes risks overconfident misclassification. Backbone and sparsification methods — GLANB and BC tree sampling — have never been applied to netlists at all, and neither incorporates any security feature, so their behavior on adversarially placed dormant logic is unknown and, by the cold-region argument, plausibly harmful. Open-set and uncertainty methods — XFinder and Towards Improving the Trustworthiness of Hardware based Malware Detector using Online Uncertainty Estimation — flag everything novel as unknown, which is precisely the wrong output for our setting: a legitimate 25–70% extension is novel by construction and must not be flagged, while a Trojan that mimics ordinary logic must be. The problem of separating benign novelty from malicious novelty is stated as an open blind spot in the literature but has no methodology attached to it.

One result in the file partially constrains our design and must be addressed: TROJAN-GUARD: Hardware Trojans Detection Using GNN in RTL Designs shows that deep graph neural networks fail on circuits because over-smoothing blurs local gate distinctions, while Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networks shows shallow models miss long-range dependencies and is forced to prune any graph over 500 nodes. This is exactly the tension block decomposition resolves: cutting the graph at cut vertices preserves long-range connectivity structurally (blocks are never merged) while allowing shallow, local models within blocks. It is also why we do not simply "train a deeper GNN on the full netlist."

Research Program

The program has three build stages and one measurement stage.

The first stage implements dual-channel decomposition on gate-level netlists. We synthesize TrustHub and ISCAS-89 designs into graphs with the node features used by TrojanSAINT (gate type, input/output degree, shortest distance to primary inputs and outputs), then compute the BC tree decomposition and per-block spectral sparsification following BC tree sampling, and the link-involvement importance scores of GLANB. The immediate empirical question is whether the statistical-importance distribution on netlists is bimodal as it is on social and airline networks, and where TrustHub's annotated Trojan trigger edges fall in it. If trigger edges land in the backbone mode, the cold channel is unnecessary and the proposal simplifies; if they land in the negligible mode — which the dormancy design of Trojans predicts — the naive-backbone failure is demonstrated directly. We also measure whether netlists behave like the Facebook graph in the BC study, where one giant biconnected block suppressed the parallel speedup to 23%, since that determines how much of the 68–72% sampling speedup transfers to circuits.

The second stage builds the delta auditor. Given a reference version and an extended version of a design, we align the two decomposed graphs (block-level matching via graph sketches, then gate-level matching within matched blocks), producing delta subgraphs: new or rewired regions. Each delta subgraph is embedded using a shallow two-layer graph network (per the over-smoothing evidence from TROJAN-GUARD) over structural features, and scored against two prototype sets in feature space, in the manner of XFinder: prototypes of known legitimate transformations (built from re-synthesis runs of the same RTL under different optimization seeds and technology mappings, and from functional extension grafts) and prototypes of known Trojan families (built from TrustHub trigger/payload archetypes). A delta falling near neither set is flagged for expert review rather than force-classified — mirroring, deliberately, the dual-track editorial structure of Editorial for Special Issue: VLDB 2022, where original reviewers verify relative novelty and fresh experts verify standalone merit: the machine proposes the delta decomposition, and a human makes the final call on flagged regions only.

The third stage produces the audit report itself: a quantified structural delta (fraction of gates and edges in delta regions, decomposed by channel), the novelty-threshold analogue of the editorial rules, plus the flagged subgraphs. This makes the auditor's output directly usable in the IP supply-chain contexts where a licensing or fabrication contract needs a defensible number, and directly parallel to the journal thresholds of 25% and 70% that are today assessed only by human judgment (The ASHES 2020 special issue at JCEN; Special issue on Web information management and applications).

Proposed Experiments

All experiments run on the TrustHub gate-level benchmarks (RS232 series and ISCAS-89 s-series including s15850, s35932, s38417) that the three gate-level detectors used, plus the industrial IBM Superblue designs from Raise Your Game for Split Manufacturing: Restoring the True Functionality Through BEOL for scale testing. The corpus construction is the novel experimental contribution: for each clean design we generate an "extended version" containing (a) legitimate deltas — re-synthesis of the same RTL with different ABC optimization scripts and technology mappings, plus grafted new functional logic sized to hit 25% and 70% gate-count expansion — and (b) malicious deltas — Trojans drawn from held-out TrustHub families, including Trojans engineered without rare switching signals following Holistic hardware Trojan design of trigger and payload at gate level with rare switching signals eliminated, which specifically evades entropy-style detectors. The auditor must find the malicious delta inside a sea of legitimate delta; this is the setting no prior benchmark provides.

Metrics are, first, standard detection: true positive rate, true negative rate, false positive rate, and F1 on Trojan-bearing extended designs, and gate-level localization precision at the extreme imbalance ratios TrojanSAINT documents (Trojan gates under 0.2% of circuitry, ratios up to 719:1). Second, and new: the false-accusation rate — the fraction of purely legitimate extended designs in which the auditor flags any subgraph as malicious. Third, open-set behavior: distance-based rejection of delta types unseen in training (leave-Trojan-family-out), reported as accuracy on unknown detection in the manner of XFinder's evaluation. Fourth, efficiency: wall-clock and memory versus full-graph processing, against the 68–72% sampling speedup and 71x layout speedup reported for BC-tree methods on social networks, to establish what transfers to netlists.

Baselines

The do-nothing reference point is the standard functional test bench run on the returned netlist. It is not a strawman: it is what supply-chain contracts typically specify. It is expected to be blind here because the Trojan corpus is dominated by designs whose corrupted output matches specification under non-triggered conditions, the implicit functional masking documented by Securing Integrated Circuits Against Untrusted Foundries, and by functionally equivalent substitutions that pass all digital verification while degrading timing. Any auditor that cannot beat a test bench at a low false-accusation rate is useless in practice, so this baseline mainly calibrates the false-accusation metric: the test bench trivially achieves a 0% false-accusation rate on legitimate extensions while missing most Trojans.

The strongest existing competitor is TrojanSAINT (TrojanSAINT: Gate-Level Netlist Sampling-Based Inductive Learning for Hardware Trojan Detection), because it is the only prior method that is simultaneously gate-level, golden-free, and inductive across unseen designs; its practical validation on unseen TrustHub circuits reports an average true positive rate of 78% and true negative rate of 85%, rising to 98% TPR and 96% TNR under leave-one-out validation. It will be run on exactly our extended-design corpus, given the same training labels, the same feature budget, and the same threshold search over its published 0-to-0.5 probability range, so the comparison isolates the delta-and-decomposition contribution rather than tuning. Note that its leave-one-out number is the right target for detection on Trojans from seen families, but its practical-validation number (78% TPR) is the honest target for the open-set splits, since both remove the detector from familiar territory. Beating TrojanSAINT means: equal or better TPR at comparable TNR on Trojans from seen families, materially higher TPR on held-out families (its 78% practical figure is the number to surpass), and — the result it structurally cannot match — a low false-accusation rate on legitimate-only extended designs, because its per-gate probability threshold has no representation of "new but benign" logic and our corpus places large benign deltas adjacent to the Trojan. A second competitor, TrojanHound (TrojanHound: Structure-aware subgraph analysis for hardware Trojan detection in gate-level designs), reports 95.64% TPR, 97.44% F1, and 0.00% FPR across 10 of 13 TrustHub test cases — the strongest detection numbers in the file — but it assumes the characteristic "dumbbell" Trojan topology and manually chosen hyperparameters. It will be run unchanged on our corpus, where it is expected to excel on dumbbell-shaped insertions and to be tested on distributed and non-dumbbell Trojans; its recall improvement from 61.5% to 100% on s35932-T100 makes it the localization benchmark to match.

The decisive ablation isolates the dual-channel ingredient: the full auditor versus the same auditor with the cold channel removed (backbone-only sparsification) and versus random subgraph sampling in the GraphSAINT manner. The prediction is specific: backbone-only retains legitimate deltas (which spread through both channels) while stripping dormant triggers (concentrated in the cold channel), producing high TNR with collapsed TPR — the failure mode that motivates the whole proposal and that no prior paper has measured. A second ablation replaces the open-set prototype scoring with a closed-set softmax classifier on the same representation, predicting confident misclassification of held-out Trojan families as benign — the closed-world failure documented across Detecting Zero Day Exploits Beyond Historical Signatures and Towards Improving the Trustworthiness of Hardware based Malware Detector using Online Uncertainty Estimation.

Why not just…?

Why not just diff the source files, as plagiarism tools do for manuscripts? The editorial thresholds of 25% and 70% are today enforced by human judgment over surface text, and a token-overlap diff would be the cheap automation of that. It fails here for two documented reasons. Synthesis destroys the mapping: the RTL-to-gate-level transition flattens hierarchy and renames everything, so textual diffing of Verilog cannot even establish correspondence, let alone judge intent — this is why gate-level detectors model netlists as graphs in the first place (TrojanSAINT). And surface form is adversarially brittle: Detecting Zero Day Exploits Beyond Historical Signatures shows trivial reordering or renaming defeats literal matching, while Devign shows sequential token models lose the multi-step control and data dependencies — a 10.51% accuracy and 8.68% F1 gap — that graph structure preserves. Our delta alignment is structural, not lexical, precisely for these reasons.

Why not just rely on the foundry's functional verification and design rule checks? This is the standard industrial answer and the experiments include it as the do-nothing baseline. The literature rules it out for adversarial settings: verification catches unintentional flaws, not malice; Trojans are dormant under test benches by design; implicit functional masking makes corrupted output match specification unless triggered; and the hardest attacks substitute functionally equivalent, slower logic that passes every truth-table check (Securing Integrated Circuits Against Untrusted Foundries). The corpus deliberately includes a functionally-equivalent-degradation and rare-signal-free Trojan class built to Holistic hardware Trojan design's recipe, so this baseline's blindness is measured, not asserted.

Why not just train a bigger supervised classifier on the delta, as TrojanSAINT already does? This is the closest real threat, and part of the answer is empirical rather than architectural: TrojanSAINT is the strongest baseline in our design, and the open-set splits will show whether closed-set confidence on held-out families is a real drop or a tolerable one. But the architectural answer is already constrained by two cited results. Bigger is worse on circuits: five-layer GNNs underperform two-layer ones through over-smoothing (TROJAN-GUARD), and full-graph learning hits the scale wall that forced Devign to prune at 500 nodes (Devign). And classification alone cannot answer the audit question: on our corpus every design contains a large benign delta, so the task is not "classify this gate" but "separate benign novelty from malicious novelty," which a closed-set model has no output for. If, however, the experiments show that TrojanSAINT's probability threshold already separates benign from malicious deltas as well as prototype scoring does — a live possibility — then the dual-channel decomposition remains the contribution, and we will say so plainly.

Decisive Checks

Three results decide the proposal. First, the importance distribution of annotated Trojan trigger edges in netlist backbones: if they sit in the negligible mode, the naive-sparsification hazard is real and the cold channel earns its place; if not, the proposal simplifies and we report it. Second, the false-accusation rate on legitimate-only extended designs, a metric no prior gate-level detector reports, against a TPR on hidden-family Trojans exceeding the 78% practical-validation figure of TrojanSAINT under matched tuning. Third, the transfer of the BC-tree speedups to netlists: if gate netlists decompose into one giant biconnected block like the Facebook graph, where the speedup fell to 23%, the efficiency claim weakens while the security claim stands — and the audit framing, the delta corpus, and the dual-channel retention remain the durable contributions either way.