Effective and Memory-Efficient Alternatives to ECC for Reliable Large-Scale DNNs

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ahmadilivani, Mohammad Hasan, Roots, Marten, Restifo, Marco, Loorits, Sven-Markus, Di Mauro, Luca, Raik, Jaan
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915992114823168
author Ahmadilivani, Mohammad Hasan
Roots, Marten
Restifo, Marco
Loorits, Sven-Markus
Di Mauro, Luca
Raik, Jaan
author_facet Ahmadilivani, Mohammad Hasan
Roots, Marten
Restifo, Marco
Loorits, Sven-Markus
Di Mauro, Luca
Raik, Jaan
contents Modern Deep Learning (DL) workloads are increasingly deployed in safety-critical domains, such as automotive systems and hyperscale data centers, where transient hardware faults pose a serious threat to system reliability. These workloads are highly memory-intensive, and their correct functionality strongly depends on model parameters stored in memory, which are typically protected using Error Correction Codes (ECCs). In this work, we study ECC's impact on such models and propose two lightweight alternatives to ECCs that achieve superior reliability. The first approach, MSET, selectively hardens the most vulnerable bits in CNN and ViT parameters, while the second approach, CEP, provides fine-grained protection for all parameter bits. Experimental results demonstrate that both methods significantly enhance the reliability of large CNNs and ViTs, mostly outperforming conventional Single Error Detection Double Error Correction (SECDED) ECC schemes, with no memory overhead and, in fact, with considerably lower area and delay characteristics when compared to SECDEC. Experimental results indicate that ViTs can be effectively protected by merely protecting their highest exponent bits in FP16 and FP32 representations. Furthermore, applying the CEP technique can guarantee the resilience of DNNs by up to one order of magnitude higher BERs, with a 3.5x lower area overhead and 7x faster decoder compared to SECDED ECC.
format Preprint
id arxiv_https___arxiv_org_abs_2605_07417
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Effective and Memory-Efficient Alternatives to ECC for Reliable Large-Scale DNNs
Ahmadilivani, Mohammad Hasan
Roots, Marten
Restifo, Marco
Loorits, Sven-Markus
Di Mauro, Luca
Raik, Jaan
Hardware Architecture
Machine Learning
Modern Deep Learning (DL) workloads are increasingly deployed in safety-critical domains, such as automotive systems and hyperscale data centers, where transient hardware faults pose a serious threat to system reliability. These workloads are highly memory-intensive, and their correct functionality strongly depends on model parameters stored in memory, which are typically protected using Error Correction Codes (ECCs). In this work, we study ECC's impact on such models and propose two lightweight alternatives to ECCs that achieve superior reliability. The first approach, MSET, selectively hardens the most vulnerable bits in CNN and ViT parameters, while the second approach, CEP, provides fine-grained protection for all parameter bits. Experimental results demonstrate that both methods significantly enhance the reliability of large CNNs and ViTs, mostly outperforming conventional Single Error Detection Double Error Correction (SECDED) ECC schemes, with no memory overhead and, in fact, with considerably lower area and delay characteristics when compared to SECDEC. Experimental results indicate that ViTs can be effectively protected by merely protecting their highest exponent bits in FP16 and FP32 representations. Furthermore, applying the CEP technique can guarantee the resilience of DNNs by up to one order of magnitude higher BERs, with a 3.5x lower area overhead and 7x faster decoder compared to SECDED ECC.
title Effective and Memory-Efficient Alternatives to ECC for Reliable Large-Scale DNNs
topic Hardware Architecture
Machine Learning
url https://arxiv.org/abs/2605.07417