蚂蚁 inclusionAI 发布 SingProbe:基于 Qwen3.8-Flash-Next 的流式安全探针
蚂蚁 inclusionAI 发布了 SingProbe,这是一款基于 Qwen3.8-Flash-Next 构建的内嵌式流式安全探针。该探针通过复用基座模型的隐状态在生成过程中逐 token 对查询意图、响应不安全性及幻觉风险进行打分,解码时延开销小于 0.5%,并支持通过 SGLang 或 vLLM 集成加载。
Model Description
SingProbe is an intrinsic streaming guardrail built on Qwen/Qwen3.8-Flash-Next. Rather than running a separate safety model, this lightweight probe reuses the base model's hidden states during generation to score, at every token, query intent, response unsafety, and hallucination risk. It adds less than 0.5% decode-time overhead.
| Base model | Probe parameters | Tapped layers | Outputs |
|---|---|---|---|
inclusionAI/Qwen3.8-Flash-Next-singprobe |
5.18M | [15, 31, 47] |
8 intents + unsafe + hallucination |
See the technical report for methodology and complete results. Training codes are available at inclusionAI/SingProbe.
Evaluation
Higher is better for every metric. Results are averages over the benchmark suites specified below.
| Task | Metric | Qwen3.8-Flash-Next-singprobe | Reference baseline |
|---|---|---|---|
| Query intent classification (6 benchmarks) | F1 | 0.8728 | YuFeng-XGuard-Reason-8B: 0.8714 |
| Response safety classification (8 benchmarks) | F1 | 0.8714 | Qwen3Guard-Gen-8B-strict: 0.8604 |
| Streaming safety (3 benchmarks) | R-AUC / T-AUC | 0.9882 / 0.9320 | Qwen3Guard-Stream-8B-strict: 0.9640 / 0.8893 |
| Hallucination detection (6 benchmarks) | AUC | 0.8063 | DRIFT: 0.8000 |
| Deployment characteristic | Result |
|---|---|
| Benign-response false-positive rate | 0.03% average across 5 datasets |
| Decode overhead | < 0.5% |
Quick Start
SingProbe is supported through the SGLang integration branch or vLLM integration branch. Load the probe by its Hugging Face ID at server launch:
python -m sglang.launch_server \
--model-path Qwen/Qwen3.8-Flash-Next \
--probe-ckpt inclusionAI/Qwen3.8-Flash-Next-singprobe \
--port 30000
The integrations return one score dictionary per generated token (label_0–label_9). Use the exact base-model/probe pair: Qwen/Qwen3.8-Flash-Next with this checkpoint.
Citation
@article{singteam2026singprobe,
title = {SingProbe Technical Report},
author = {Sing Team},
journal = {arXiv preprint arXiv:2608.30703},
year = {2026},
}
来源:蚂蚁 inclusionAI:HuggingFace 新模型 · huggingface.co