# A Hidden Markov Preference Model for Online Prediction of Adversary Actions

DevFeed: [A Hidden Markov Preference Model for Online Prediction of Adversary Actions](<https://devfeed.tech/articles/a-hidden-markov-preference-model-for-online-prediction-of-adversary-actions-120750.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.08445>)

Author: Angel Daruna, Michael Cogswell, Tixiao Shan, Yi Yao, Han-Pang Chiu, Ajay Divakaran

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [model architecture](<https://devfeed.tech/topics/model-architecture.md>), [threat detection](<https://devfeed.tech/topics/threat-detection.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Language models](<https://devfeed.tech/topics/language-models.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [adversary](<https://devfeed.tech/tags/adversary.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [convex](<https://devfeed.tech/tags/convex.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cyber](<https://devfeed.tech/tags/cyber.md>), [cyber-defense](<https://devfeed.tech/tags/cyber-defense.md>), [defender](<https://devfeed.tech/tags/defender.md>), [defense](<https://devfeed.tech/tags/defense.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [fallback](<https://devfeed.tech/tags/fallback.md>), [hidden](<https://devfeed.tech/tags/hidden.md>), [information](<https://devfeed.tech/tags/information.md>), [markov](<https://devfeed.tech/tags/markov.md>), [model](<https://devfeed.tech/tags/model.md>), [next](<https://devfeed.tech/tags/next.md>), [online](<https://devfeed.tech/tags/online.md>), [prediction](<https://devfeed.tech/tags/prediction.md>), [probability](<https://devfeed.tech/tags/probability.md>), [recurrent](<https://devfeed.tech/tags/recurrent.md>), [sequence](<https://devfeed.tech/tags/sequence.md>)

## AI overview

The model predicts an adversary's next action while tracking behavioral regimes that can persist and switch, and accounting for action arguments whose feasible values change with the state. It uses a hidden Markov model over regimes and a feasibility-masked tree of executable actions; the same likelihood predicts the next action and updates the regime belief after an action is observed. Partially observed prefixes contribute their resolved local factors. Estimation uses convex logistic fits that Baum-Welch reuses when regimes are unlabeled. On the CAGE 2 cyber defense benchmark, the filtered latent state is reported to be worth 0.8 nats per step; after a controller switch, loss begins falling in three steps, compared with ten for a recurrent baseline. The abstract also reports a regime-information expression, a sequence-wise log-loss bound for switching paths, and a uniform fallback guarantee.

## Source excerpt

arXiv:2611.08445v1 Announce Type: new Abstract: A defender anticipating an attacker needs a probability distribution over the attacker's next action from information available before that action occurs. Two structures complicate this: the attacker's behavioral regime persists and can switch within an episode, and each action combines an operation with state-dependent arguments whose feasible values change over time. We capture both with a hidden Markov model whose latent state is the active regime and whose regime-conditioned action law is defined on a feasibility-masked tree of executable actions. The same likelihood forms the next-action distribution and updates the regime belief once the action is seen, and a partially observed prefix contributes its resolved local factors. Estimation separates into convex logistic fits that Baum-Welch reuses when regimes are unlabeled. We derive a reach-weighted nodewise KL expression for regime information, a sequence-wise log-loss bound for switching regime paths, and a uniform fallback guarantee. On the CAGE 2 cyber defense benchmark the filtered latent state is worth 0.8 nats per step, and after a controller switch the loss begins to fall in three steps against ten for a recurrent baseline.