DEMIST: Frameworks in Hardware Security & Imaging
- DEMIST in hardware security detects and mitigates stealthy analog trojans using dynamic VDD gating and duty-cycle analysis, achieving 100% detection with minimal overhead.
- DEMIST for myocardial perfusion SPECT leverages a 3D U-Net with combined MSE and channel-based losses to enhance defect detection even at low-dose levels.
- DEMIST for myelin map synthesis employs decoupled multi-stream latent diffusion to produce quantitative PSR maps with superior PSNR, SSIM, and lesion discrimination.
DEMIST refers to several distinct frameworks in the domains of hardware security and medical imaging, each with specialized methodology and application scope. In hardware security, DeMiST (Detection and Mitigation of Stealthy analog hardware Trojans) targets the detection and neutralization of highly stealthy analog hardware trojans in integrated circuits. In medical imaging, DEMIST designates both a detection-task-specific deep learning approach for denoising myocardial perfusion SPECT images, and a decoupled multi-stream latent diffusion framework to synthesize quantitative myelin maps for MRI-based assessment of multiple sclerosis. The following sections provide detailed technical expositions of these three instantiations, elucidating their theoretical foundations, system architectures, algorithmic innovations, evaluation metrics, and documented empirical performance.
1. DeMiST for Detection and Mitigation of Stealthy Analog Hardware Trojans
Definition and Problem Context
A capacitance-based analog hardware trojan (AHT) exploits a minimal on-chip capacitor to accumulate charge via rare or adversarial toggling events. These trojans present with negligible area and power overhead, and can elude detection through classic side-channel analyses, functional tests, and EM localization. The DeMiST methodology introduces the first comprehensive framework for both detection and real-time neutralization of this class of threats (Oriero et al., 2023).
Charge Sharing and Accumulation Model
The crucial step in analog trojan triggering is per-toggle voltage accumulation, modeled as:
Accumulated over toggles: For standard on-chip parasitic values, is and may go unnoticed unless is very large.
Existing Detection Techniques and the "Fortified" Trojan
Conventional detection approaches—power/EM profiling, rare-event logic vectors, laser-based imaging, and switching activity localization—fail when faced with microvolt-scale, million-cycle trojan triggers. Advanced variants of the attack, such as the "fortified AHT," introduce a supplementary -gated PMOS with capacitance to retain charge even during power gating attempts: 0 This architectural modification hardens the AHT against detection via rapid 1 cycling.
Two-Phase DeMiST Methodology
Phase 1: Run-Time Mitigation
DeMiST employs dynamic 2 gating: a PMOS in the power distribution network, controlled by a state machine, periodically disables supply voltage for 3 out of every 4 cycle. This discharges abnormal charge accumulation without interrupting correct pipeline operation, provided 5 meets the leak-down threshold: 6
Phase 2: Duty-Cycle Driven Detection
In pre-market validation, the supply duty cycle 7 is intentionally reduced while monitoring side-channel signatures. The trojan, if present, is forced to activate under these controlled conditions, resulting in observable power transients. The detection protocol uses coarse-to-fine stepping of 8 and monitors for side-channel anomalies: 9
Implementation and Empirical Results
In 45 nm PDK and ISCAS-85 benchmarks, DeMiST yields area overhead ranging from 63.4% (s298, 75 gates) down to 1.65% (c880, 383 gates), with <2% throughput reduction in mitigation mode. All injected AHTs were detected (100% true positive rate; 0% false positive rate on 50 clean chips). Power overhead at test time is <1% (Oriero et al., 2023).
Limitations and Potential Directions
DeMiST requires integration-stage intervention (PDN gating and latches), careful calibration for process variations, and potentially higher 9 for trojans with extreme retention. Future lines of research include adaptive duty cycling, machine-learning-based power analysis, extension to RF/SerDes analog blocks, and integration with EM localization.
2. DEMIST for Task-Specific Denoising in Myocardial Perfusion SPECT
Clinical Motivation and Mathematical Foundation
Reducing radiation dose or acquisition time in MPI-SPECT exacerbates noise and degrades defect-detection. Conventional DL denoisers optimized on voxel-wise metrics (MSE, RMSE, SSIM) can inadvertently deteriorate task-specific detection performance, as measured by model observers (e.g. channelized Hotelling observer, CHO). DEMIST (Detection-task-specific deep-learning-based approach) was developed to simultaneously suppress noise and preserve the frequency-domain features most predictive for defect detection (Rahman et al., 2023).
Architecture and Loss Formulation
DEMIST employs a 3D U-Net, mapping low-dose reconstructions 0 to predicted normal-dose images 1. The loss functional is: 2 where 3 is voxelwise MSE and 4 is a channelized feature loss based on deviation in anthropomorphic channel outputs (frequency profiles centered on defect locations).
CHO-based evaluation is framed as: 5 where 6 represents the mean difference in channel outputs and 7 the covariance under different defect states.
Training Data and Evaluation Protocol
A cohort of 338 normal MPI-SPECT studies was processed, using binomial thinning to simulate 6.25%, 12.5%, and 25% dose levels. Synthetic defects spanning diverse extents/severities were injected for controlled evaluation. Cross-validation was performed for all network hyperparameters, and model-observer AUC was the primary endpoint.
Quantitative Results
DEMIST systematically outperformed task-agnostic denoisers and low-dose reconstructions in observer AUC, especially at the lowest dose levels.
| Dose Level | Low-dose | TADL (task-agnostic) | DEMIST | Normal-dose |
|---|---|---|---|---|
| 6.25% | 0.60 | 0.61 | 0.72 | 0.84 |
| 12.5% | 0.68 | 0.70 | 0.82 | 0.90 |
| 25% | 0.78 | 0.82 | 0.86 | 0.94 |
RMSE and SSIM improved moderately over low-dose and on par or slightly below TADL, but model-observer performance gains were substantial (statistically significant at 8, Bonferroni-corrected).
Theoretical Analysis
Channel-space SNR decomposition shows DEMIST reduces noise variance (eigenvalues 9) and, unlike TADL, preserves task-relevant signal coefficients (0) along critical eigenmodes—leading to net gains in AUC.
3. DEMIST: Decoupled Multi-Stream Latent Diffusion for Quantitative Myelin Map Synthesis
Rationale and Framework
Quantitative magnetization transfer (qMT) imaging provides pool size ratio (PSR) maps, but requires lengthy acquisition. DEMIST synthesizes PSR maps from standard T1w+FLAIR images using a two-stage 3D latent diffusion pipeline with decoupled conditioning (Wang et al., 16 Nov 2025).
Two-Stage Architecture
Stage 1: Separate 3D AutoencoderKL models for cond (input) and PSR (target) images, yielding aligned latents 1 and 2: 3 Alignment loss is imposed between 4 and 5.
Stage 2: Conditional latent diffusion on 6, with only the conditioning modules 7 being trainable: 8
Multi-Stream Conditioning
- Semantic stream: cross-attention tokens provide high-level anatomical and intensity information.
- Spatial stream: ControlNet-style residuals correct spatial feature misalignment.
- Adaptive stream: LoRA-modulated low-rank updates offer lightweight adaptation of frozen pretrained attention layers.
Parameter efficiency is maximized—only about 16 M parameters (15%) are trainable, with the ~100 M backbone frozen.
Results and Empirical Assessment
DEMIST outperformed prior VAE, GAN, and diffusion baselines in PSNR, SSIM, and MSE, as well as ROC-AUC for lesion-vs-NAWM (normal-appearing white matter) discrimination.
| Method | PSNR | SSIM | MSE |
|---|---|---|---|
| DEMIST | 25.73 | 0.8867 | 1.752e-3 |
| cWDM (best prior) | 24.49 | 0.8746 | 2.474e-3 |
Qualitatively, DEMIST produced sharper lesion boundaries and more accurate deep nuclei, with ControlNet and LoRA providing complementary spatial/semantic support.
Future Directions
Prospective work includes multi-site generalization, efficient deterministic inference, and interactive or user-guided synthesis.
4. Comparison and Context Across Application Domains
Although sharing an acronym, DEMIST methodologies address fundamentally different scientific and engineering challenges: adversarial circuit integrity and deep clinical imaging. Common themes include decoupling of roles in complex architectures (e.g., semantic vs. spatial vs. adaptive streams in diffusion models; run-time vs. test-time phases in hardware security) and an emphasis on preserving or revealing critical task-relevant features that are otherwise suppressed or obfuscated by noise, measurement protocol, or adversarial design.
5. References to Primary Research
- "DeMiST: Detection and Mitigation of Stealthy Analog Hardware Trojans" (Oriero et al., 2023)
- "DEMIST: A deep-learning-based task-specific denoising approach for myocardial perfusion SPECT" (Rahman et al., 2023)
- "DEMIST: Decoupled Multi-stream Latent Diffusion for Quantitative Myelin Map Synthesis" (Wang et al., 16 Nov 2025)