Abstract
As artificial intelligence migrates to edge devices, securing proprietary model weights stored in non-volatile memory (NVM) has become critical. Traditional encryption methods like AES impose significant area, power, and latency overheads, while previous in-memory encryption schemes often sacrifice storage density. This paper introduces a novel in-situ XOR encryption technique utilizing single-transistor Ferroelectric Field-Effect Transistors (FeFETs). By exploiting the unique physics of FeFETs to perform logic operations directly within the memory cell, the proposed architecture achieves robust security with zero area overhead. Hardware validation on a 28nm platform demonstrates a 95% reduction in system latency compared to AES-based schemes and a 45x improvement in encryption throughput, paving the way for high-density, secure edge AI hardware.
The Security Challenge at the Edge
The proliferation of AI in edge applications—such as smart cameras, drones, and autonomous vehicles—has exposed a significant vulnerability: the physical security of trained model weights. These weights, often stored in NVM, represent substantial intellectual property. If an adversary gains physical access to an unsecured edge device, they can extract these weights to clone or reverse-engineer the model.
Standard cryptographic solutions like the Advanced Encryption Standard (AES) are effective but "heavy." They require dedicated silicon area, consume significant power, and introduce latency because data must be moved out of the memory array to a separate engine for decryption. While "lightweight" in-memory XOR operations have been proposed, they typically require two transistors per bit (2T-1C configurations), effectively doubling the memory footprint. This research addresses the "density loss" problem by achieving in-situ encryption with a single-transistor-per-bit (1T) footprint.
Methods: The 1T XOR Innovation
The core of this work is the utilization of Ferroelectric Field-Effect Transistors (FeFETs). FeFETs incorporate a ferroelectric layer in the gate stack, allowing them to store a non-volatile state as a specific threshold voltage ($V_{TH}$).
The 1T XOR Trick
The researchers developed a method to treat the FeFET as a dynamic logic gate. In this scheme, the ciphertext ($CT$) is stored as the device's $V_{TH}$ (High or Low). During the decryption process, the secret key is not applied as a traditional logic signal but as a specific bias across the Source and Drain terminals. By switching which terminal is set to $V_{DD}$ and which is grounded based on the key, the device naturally performs an XOR operation between the stored state and the applied bias in a single clock cycle.
Multi-Level Cell (MLC) Extension
To further push density limits, the team extended this scheme to Multi-Level Cells. In this mode, a single transistor stores two bits of encrypted data by utilizing four distinct $V_{TH}$ levels. This allows for even greater storage capacity within the same physical area.
Hardware Validation
The proposed scheme was validated using an experimental 8x6 FeFET AND array fabricated on a 28nm High-K Metal Gate (HKMG) platform. This hardware-level proof ensures that the theoretical physics-based logic translates effectively to real-world silicon.
Performance and Benchmarking
To evaluate the system-level impact, the authors employed the SCALE-Sim cycle-accurate simulator across several standard Deep Neural Network (DNN) benchmarks, including AlexNet, ResNet-18, and YOLO-Tiny.
Key Results
- Throughput Gains: The 1T-FeFET design achieved a 45.2x improvement in encryption throughput and a 14.12x improvement in decryption throughput compared to a standalone AES engine.
- Latency Reduction: In neural network simulations, the in-situ scheme reduced average latency by 50% compared to prior FeFET designs and by 95% compared to traditional AES-based architectures.
- Zero Area Overhead: Unlike previous XOR schemes that required complementary bit storage (2 devices per cell), this work maintains the same density as unencrypted memory, as shown in the density comparison plots.
- Accuracy: The experimental 28nm hardware achieved 100% accuracy for Single-Level Cell (SLC) decryption operations.
Limitations and Future Directions
While the SLC results were perfect, the 2-bit MLC mode exhibited a 6.25% error rate in the experimental prototype. This is attributed to the narrow "memory window" (the voltage range available to distinguish states) in the current generation of devices and the absence of iterative "write-and-verify" programming.
Future work will focus on optimizing FeFET fabrication to widen this memory window and improve multi-bit reliability. Additionally, while the paper assumes the use of Physically Unclonable Functions (PUFs) for key generation, the full lifecycle of key management in a scaled system remains an area for further development.
By turning a storage element into a functional cryptographic primitive, this work provides a scalable path for securing the next generation of high-density edge AI devices.
Summary updated