Stateful Monitor-Router-Rollback Regulation for Robust Functional Recovery in Large Language Model Agents

Prompt injection can divert large language model (LLM) agents from authorized objectives and contaminate subsequent conversational context. We investigate a deterministic Monitor-Router-Rollback (MRR) supervisory controller designed to detect suspicious instructions, constrain execution paths, and reconstruct trusted task context after exposure. The evaluation uses 400 matched attack scenarios, four attack families, three locally served models (Llama 3.1 8B, Qwen 2.5 32B, and Mistral-Nemo 12B), seven completed defense conditions, and four recorded phases yielding 33,600 completed model-scenario-defense-phase observations. Our findings demonstrate model-dependent robustness improvements—particularly for Llama 3.1 8B, where automated utility increases from 36.00% to 81.25% under MRR—while establishing rigorous methodological boundaries regarding semantic adjudication, component attribution, and repeated snapshot reconstruction.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-10-30
DOI
https://doi.org/10.5281/zenodo.23797101
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Stateful Monitor-Router-Rollback Regulation for Robust Functional Recovery in Large Language Model Agents

YOUNG KYU LEE
Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
preprint

Stateful Monitor-Router-Rollback Regulation for Robust Functional Recovery in Large Language Model Agents

YOUNG KYU LEE
preprint en

Abstract

Prompt injection can divert large language model (LLM) agents from authorized objectives and contaminate subsequent conversational context. We investigate a deterministic Monitor-Router-Rollback (MRR) supervisory controller designed to detect suspicious instructions, constrain execution paths, and reconstruct trusted task context after exposure. The evaluation uses 400 matched attack scenarios, four attack families, three locally served models (Llama 3.1 8B, Qwen 2.5 32B, and Mistral-Nemo 12B), seven completed defense conditions, and four recorded phases yielding 33,600 completed model-scenario-defense-phase observations. Our findings demonstrate model-dependent robustness improvements—particularly for Llama 3.1 8B, where automated utility increases from 36.00% to 81.25% under MRR—while establishing rigorous methodological boundaries regarding semantic adjudication, component attribution, and repeated snapshot reconstruction.

Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon