Back to AI News
arxiv

Family-Conditioned HMMs Enable Scalable Cross-Architecture OOD Monitoring

Researchers propose a runtime monitor that detects out-of-distribution inputs by extracting per-layer activation representations, converting them into normalized anomaly scores, and discretizing them into ordered severity levels. A Hidden Markov Model is trained for each structural network family to capture shared activation patterns. Across 13 networks from three families, within-family alignment was 5.25x better than cross-family alignment, and leave-one-network-out evaluation showed an AUROC gap of at most 0.009 for held-out architectures. The monitor performed comparably to per-network baselines while avoiding separate calibration for every network.

AI Brief

It offers a potentially scalable way to detect OOD inputs across multiple neural network architectures without building and calibrating a dedicated monitor for each model.

arXiv:2612.03863v1 Announce Type: cross Abstract: Deep Neural Networks (DNNs) are transforming perception tasks across a wide range of applications, yet their reliability can degrade when inputs at deployment differ from the training distribution. This work presents a family-conditioned runtime monitor for detecting such out-of-distribution (OOD) inputs. The monitor extracts per-layer activation representations, converts them into normalized anomaly scores, and discretizes these scores into ordered severity levels. The resulting sequence of levels across the network is used to train a Hidden Markov Model (HMM) for each structural family, capturing characteristic activation patterns shared across its constituent networks. The central hypothesis is that networks within the same structural family exhibit stronger alignment in their activation behavior than networks from different families. Empirical evaluation across 13 networks from three structural families supports this hypothesis, with within-family alignment 5.25x better than cross-family alignment. The family-conditioned HMM also generalizes to unseen network architectures: under a leave-one-network-out protocol, the AUROC gap between networks used to train the monitor and held-out networks is at most 0.009. Furthermore, the proposed monitor achieves OOD detection performance comparable to per-network baseline methods while eliminating the need to construct and calibrate a separate monitor for every network. These results demonstrate the potential of family-level monitoring as a scalable approach to runtime OOD detection across diverse neural network architectures.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!