| type | braintank dispatch |
|---|---|
| headline | A tiny probe inside a language model flags cyber misuse as each token is written |
| dek | A 2026 preprint from Reflection trains a classifier of about 350,000 parameters on a model's internal activations to catch harmful hacking requests and help, at small serving cost. |
| date | 2026-12-02 |
| section | Alignment · Activation monitoring |
| paper | Monitoring Activations for Real-Time Detection of Cyber Misuse |
| status | preprint, not peer reviewed |
| original | https://braintank.ai/a/arxiv-2611.37857.html |
| cite | |
| text | A language model that can help secure a computer system can also help someone break into one. One way to catch misuse is a text monitor: a second language model that reads every exchange and judges whether it is harmful. But in agentic sessions, where a model takes many steps with tools, that check adds cost and delay at every step. A preprint from Reflection, posted to arXiv in 2026 and not yet peer reviewed, takes a cheaper route. It uses an activation probe, a small classifier that reads the numbers inside the model as it runs rather than the text it produces. The probe, called Iris Cyber Probe (ICP), has about 350,000 trainable parameters and watches Reflection's Beam-501B-A23B model. At every token it takes the residual stream from chosen layers. The residual stream is the running internal representation that a transformer passes from layer to layer. Each layer's reading goes through a small learned transformation, and the results feed a minGRU, a minimal recurrent network that keeps a fixed-size memory and updates it one token at a time. Because that memory does not grow, the cost per token stays flat however long the conversation runs. A final layer turns the memory into a harm score between 0 and 1. User requests and model assistance each get their own alert threshold. The authors note that earlier probe work often labelled whole turns or whole conversations. That makes it hard to tell whether a probe separates a harmful request from a harmless reply. ICP is instead trained on chunks, pieces of a conversation that each cover one request, action or explanation. An LLM judge labels each chunk by working through a fixed set of cyber-policy questions. A chunk gets a label only if every branch the judge explores agrees; otherwise it is kept as context only. The training set holds 1,041,072 labelled chunks from 52,387 conversations. These come from deployment data, from the vendors Gray Swan and Handshake, and from an in-house automated red-teaming system. That system is an AI attacker that tries to push target agents into harmful actions in real containers or in simulated environments. Against 100 harmful cyber objectives, the authors report that this attacker broke half at 30 queries per seed, against 131 for PAIR, an established jailbreak method. The held-out test set contains 6,282 traces with 25,004 harmful and 91,585 benign chunks. Thresholds were set so that at most 5% of benign validation traces would be flagged. At that setting, the authors report that ICP caught 93.1% of harmful chunks and flagged 5.44% of benign test traces. A text monitor built on Kimi K3 caught 72.7%. ICP was also compared with simpler and attention-based probes and with two more LLM classifiers, GLM-5.3 Flash and DeepSeek V4.1 Flash. The authors say ICP scored best on chunks in the low-false-alarm region, at far lower estimated compute than the LLM classifiers. A global-attention probe came close but needed substantially more compute. They also replayed successful attacks on Beam recorded by Shade, Gray Swan's red-teaming agent. ICP cut the estimated unflagged attack success rate from 8.27% to 0.56%. Of 88 attack behaviours, 16 still had at least one unflagged success, down from 77. Running inside the SGLang serving engine and sharing a GPU with the model, the probe reduced throughput by 4.8% at 64 users. Median time to the first token rose from 288 to 385 milliseconds. On a dedicated fifth GPU, the throughput loss was 0.6%. The paper reports results that cut against the probe. On CyberSecEval, a set of isolated cyber requests, ICP had the best overall AUROC, a separation score where 1 is perfect, at 0.962. But at the strictest setting it flagged 2.00% of benign requests, against 0.27% for GLM and 0.13% for Kimi and DeepSeek. On 3,217 benign coding sessions from SWE-chat, it flagged 0.56% at the 5% setting, against none for GLM, although the LLM classifiers were evaluated differently. Training and test labels come from the same LLM-judge pipeline, and ambiguous chunks are excluded, so the headline figure measures agreement with that judge. Shade received no feedback from the probe, and attackers who deliberately try to evade the probe were not tested. ICP needs access to one model's activations and encodes one fixed cyber policy. The LLM baselines ran offline in a single call with known chunk boundaries, and the probe baselines are related designs, not reproductions of the cited systems. That labelling caveat echoes a braintankAI report that some guardrail benchmarks mostly reward agreement with a labelling policy. A detector for backdoored GUI agents also checks each step of an agent against a fixed false-alarm target. And ICP rests on harm being readable from a model's internals, as another preprint found for harmful questions inside Qwen3-4B. |