跳到正文
arXiv cs.AI· Hrishikesh Karmarkar, Mohammad Afzal, Sayantan Saha·· 3 天前AI 评分32

面向跨架构分布外监测的家族条件隐马尔可夫模型研究

Family-Conditioned Hidden Markov Models for Cross-Architecture Out-of-Distribution Monitoring

AI 导读

一项新研究提出家族条件运行时监测器,用于检测深度神经网络部署时的分布外(OOD)输入:提取各层激活表示、归一化为异常分数并离散化为严重性等级,再按结构家族训练隐马尔可夫模型(HMM)。

正文 · 原文

View PDF HTML (experimental)

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.
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computer Vision and Pattern Recognition (cs.CV); Logic in Computer Science (cs.LO)
Cite as: arXiv:2612.03863 [cs.LG]
  (or arXiv:2612.03863v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2612.03863

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Mohammad Afzal [view email]
[v1] Wed, 2 Dec 2026 13:57:39 UTC (71 KB)

来源:arXiv cs.AI · arxiv.org