Learning High-Quality Latent Representations for Anomaly Detection and Signal Integrity Enhancement in High-Speed Signals
Muhammad Usama, Hee-Deok Jang, Soham Shanbhag, Yoo-Chang Sung, Seung-Jun Bae, Dong Eui Chang · 2025
Read Learning High-Quality Latent Representations for Anomaly Detection and Signal Integrity Enhancement in High-Speed Signals by Muhammad Usama, Hee-Deok Jang, Soham Shanbhag, Yoo-Chang Sung, Seung-Jun Bae, Dong Eui Chang (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2506-18288.txt.
Introduction
Muhammad Usama and co-authors teach a model to spot faults in high-speed memory signals in this 2025 paper. The signals inside fast DRAM chips must stay clean, and rare glitches are hard to catch. Their framework trains an autoencoder together with a classifier so the model learns a sharper internal picture of valid signals.
Across three anomaly detection methods, the joint training beat two baseline approaches. Follow-up tests that removed parts of the system confirmed each part helped. The team also built a cleanup method that improved signal quality by about eleven percent on average. Code and data are shared openly. The work targets chip testing and design.
Catalog record
| CREATOR | Muhammad Usama, Hee-Deok Jang, Soham Shanbhag, Yoo-Chang Sung, Seung-Jun Bae, Dong Eui Chang |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 32 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2506-18288
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Learning High-Quality Latent Representations for Anomaly Detection and Signal Integrity Enhancement in High-Speed Signals Muhammad Usama, Hee-Deok Jang, Soham Shanbhag, Yoo-Chang Sung, Seung-Jun Bae, Dong Eui Chang Abstract This paper addresses the dual challenge of improving anomaly detection and signal integrity in high-speed dynamic random access memory signals. To achieve this, we propose a joint training framework that integrates an autoencoder with a classifier to learn more distinctive latent representations by focusing on valid data features. Our approach is evaluated across three anomaly detection algorithms and consistently outperforms two baseline methods. Detailed ablation studies further support these findings. Furthermore, we introduce a signal integrity enhancement algorithm that improves signal integrity by an average of 11.3%. The source code and data used in this study are available at https://github.com/Usama1002/learning-latent-representations . keywords Anomaly Detection, Signal Integrity, Representation Learning, Machine Learning, Autoencoders 1 Introduction Dynamic random access memory (DRAM) systems are critical for modern computing infrastructure, requiring robust signal transmission to prevent data corruption and system failures. Anomaly detection and signal integrity (SI) monitoring are essential for DRAM reliability, especially in high-performance computing where minor signal degradations can cause significant system-wide issues. Detecting anomalies in DRAM signals is challenging due to subtle signal degradations and high-dimensional, time-series characteristics. Anomalies manifest as voltage deviations, timing variations, or noise patterns that are difficult to distinguish from normal variations. The dynamic nature of DRAM operations means normal patterns vary significantly with operating conditions, memory access patterns, and environmental factors, making fixed thresholds or rule-based systems unreliable. DRAM anomaly detection has evolved from traditional rule-based and threshold-based methods Liu et al. 2013 ; Kim et al. 2014 ; Pattabiraman et al. 2008 to machine learning-based solutions. Recent research uses trained encoders and feature extraction methods for anomaly detection algorithms Medico et al. 2019 ; Medico et al. 2018 ; Borghesi et al. 2019 ; Gao et al. 2023 . Autoencoder-based approaches learn latent representations of error-free circuit simulations for detecting anomalies in waveform data Medico et al. 2019 ; Medico et al. 2018 , while memory-augmented autoencoders capture temporal dependencies Gao et al. 2023 ; Gong et al. 2019 . Current methods have significant limitations. Trained encoders excel at general feature extraction but struggle with task-specific features crucial for DRAM anomaly detection Palakurti 2024 ; Zhou and Paffenroth 2017 ; Malhotra et al. 2015 ; Ruff et al. 2020 . Unsupervised autoencoders that train on normal data and use reconstruction error Borghesi et al. 2019 lack discriminative power to distinguish subtle normal variations from genuine anomalies. Semi-supervised approaches combining autoencoders with supervised classifiers have been proposed Zhou and Paffenroth 2017 ; Ruff et al. 2020 ; Akcay et al. 2019 , using classifier loss to guide learning of discriminative representations. However, obtaining labeled anomalous DRAM data is extremely difficult, as anomalies are rare and hard to identify. Our experiments and previous work Ruff et al. 2020 ; Thomas 2009 ; Gong et al. 2019 show that using labeled anomalous data causes overfitting and reduced performance on diverse anomaly types. We propose a semi-supervised approach that trains an autoencoder and classifier simultaneously while backpropagating gradients only from normal data through the classifier. This addresses overfitting while learning discriminative latent representations that capture normal data patterns. By jointly optimizing autoencoder reconstruction loss and classifier objective on normal data only, our method learns representations that are both reconstructive and discriminative. Our approach significantly improves over existing methods by combining autoencoder reconstruction with classifier discrimination while avoiding pitfalls of training on limited anomalous samples. The learned representations demonstrate superior performance detecting various DRAM signal anomalies compared to traditional autoencoder-based and other machine learning methods. We also propose a signal integrity enhancement algorithm that leverages our learned latent representations to improve DRAM signal quality. This SI enhancement capability is unique, as existing anomaly detection methods focus solely on detection without remediation. Our approach identifies anomalies and provides signal improvement, validated through eye diagram analysis demonstrating measurable SI enhancements. This enhancement algorithm also shows the improvements afforded by our proposed training method to learn high-quality latent representations. 2 Details about the Dataset In this section, we provide an overview of the data utilized in our study, including its collection process and subsequent preprocessing steps. We collect experimental data to evaluate the signal integrity using simulation modeling of a mobile DRAM channel. The channel structure modeled in the simulation is shown in Figure 1 . DRAM and system-on-chip (SoC), represented as triangular shapes in Figure 1 , act as data transmitter and receiver, respectively. DRAM generates a pseudorandom binary sequence pattern and transmits it to SoC at a speed of 10\text{\,}\mathrm{G}\mathrm{b}\mathrm{p}\mathrm{s} . We set the rise time for waveform generation at 30\text{\,}\mathrm{ps} and record the received waveforms with a minimum sampling time of 1\text{\,}\mathrm{ps} . Furthermore, to observe different signal characteristics, we generate waveforms in five different cases, which are given in Table 1 . Figure 1: The structure of the channel for waveform generation. Table 1: Data Collection Test Cases Configurations Case Channel Driver On-Die Pattern Configuration Strength Termination Type 1 DRAM package only 80\text{\,}\mathrm{\SIUnitSymbolOhm} 80\text{\,}\mathrm{\SIUnitSymbolOhm} Single 2 DRAM + Board + SoC 80\text{\,}\mathrm{\SIUnitSymbolOhm} 80\text{\,}\mathrm{\SIUnitSymbolOhm} Single 3 DRAM + Board + SoC 240\text{\,}\mathrm{\SIUnitSymbolOhm} \infty Single 4 DRAM + Board + SoC 240\text{\,}\mathrm{\SIUnitSymbolOhm} 240\text{\,}\mathrm{\SIUnitSymbolOhm} Single 5 DRAM + Board + SoC 240\text{\,}\mathrm{\SIUnitSymbolOhm} 240\text{\,}\mathrm{\SIUnitSymbolOhm} Multiple The collected experimental data undergoes a series of preprocessing steps. This involves selecting the waveform data while excluding the initial transient portion, \approx 3000\text{\,}\mathrm{ps} in duration. Although the recorded waveform data have a minimum sampling time of 1\text{\,}\mathrm{ps} , there are variations in the time intervals between the recorded values. To standardize the dataset, time intervals between recorded values are adjusted using linear interpolation to 1\text{\,}\mathrm{ps} . We use eye diagram analysis to classify signals as valid or invalid. Eye diagrams are constructed by superimposing rising and falling edges across 100 unit intervals of 100\text{\,}\mathrm{ps} each, yielding 10,000 data points total. A rectangular window measuring 80 mV in height and 35 ps in width is fit within the eye-opening Usama and Chang 2023 . If the signal intersects this window, it is labeled as invalid ( y=0 ); otherwise, it is considered valid ( y=1 ), as illustrated in Figure 2 . Each signal is divided into n_{x}=100 length vectors, such that the training data consists of vectors \mathbf{x}\in\mathbb{R}^{n_{x}} , with all vectors from the same signal sharing the same label y\in\{0,1\} (valid: y=1 , invalid: y=0 ). In our case, each signal is divided into 100 vectors. To address class imbalance favoring valid data, we generate synthetic invalid samples by applying distortions (inter-signal interference, amplitude distortion, harmonic distortion) to valid samples, mimicking real-world semiconductor signal anomalies. The combined dataset is randomly split into 80\text{\,}\mathrm{\%} training and 20\text{\,}\mathrm{\%} testing. ((a)) Example of an invalid signal ( y=0 ) ((b)) Example of a valid signal ( y=1 ) Figure 2: Illustration of the signal validity labeling criteria. The rectangular window (80 mV \times 35 ps) is shown in red. (a) An invalid signal where signal transitions intersect the window, and (b) a valid signal where no transitions occur within the window region. 3 Main Contributions This section details our approach to DRAM anomaly detection and signal integrity (SI) enhancement. We present: