vLLM 集成 Reflection AI 探针,在模型输出首个 token 前拦截 AI 辅助攻击
Reflection AI 和 vLLM 把攻击检测做进了推理引擎本身,读 hidden states 而不是等输出结果,比事后过滤快一个层级。自己部署开源模型、做安全护栏的团队可以研究这套探针接口了。
Reflection AI 的 Beam + Iris 网络攻击探针在 vLLM 推理引擎中实现了 Day 0 支持。该探针读取模型处理 prompt 时的实时 hidden states,能在服务器输出任何 token 之前标记并阻断一次真实攻击,同时让看似相似的安全问题正常通过。
技术上,vLLM 新增在线激活监测器,包括 linear、MLP 和 stateful(minGRU)三类探针,可在 CUDA graphs、chunked prefill 和 speculative decoding 并行运行的情况下给出逐 token 风险分数。探针按模型无关设计,可覆盖 vLLM 服务的各类模型。
与封锁在闭源 API 里的安全机制不同,这套方案以开源形式内置在推理引擎中。Reflection AI 工程师主动发起 PR 并与 vLLM 团队协作构建了适配所有模型的接口。对自建探针、开发 guardrail 或部署开源模型的服务方来说,这是可直接参与的开放推理安全计划的起点。
The best time to stop an AI-assisted attack is before the model writes its first token.
Here's @reflection_ai's Beam + Iris cyber probe Day 0 support on vLLM: the probe reads the model's live hidden states as it processes the prompt - flagging and blocking a real attack before a single token leaves the server, while letting a benign look-alike security question stream right through.
This is open-source security built into the inference engine - not locked behind a closed API: - Online activation monitors in vLLM: linear, MLP, and stateful (minGRU) probes - Live per-token risk scores alongside CUDA graphs, chunked prefill, and speculative decoding - Model-agnostic by design: built to work across models vLLM serves
Huge credit to @reflection_ai's engineers: they initiated the PRs and worked with us to build the interface for every model.
This is just the start of an open inference-security initiative in vLLM. If you train probes, build guardrails, or serve open models, come build with us.
Inference isn't solved. It's just getting interesting.
This report is categorized under AITOP's "Products" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include vLLM, Reflection AI, AI safety, inference engines.
Source attribution: curated from vLLM (@vllm_project).