SingProbe: A streaming safety probe for V4.1-Flash-1017

SingProbe is a small attention probe (approximately 1010 ten-thousand parameters) attached to DeepSeek-V4.1-Flash-1017. It reads the hidden states from layers 12, 25, and 39, and for each generated token, it outputs three sets of scores: 8 categories of query intent, response unsafety, and hallucination risk. The model card states that on three benchmarks—query intent, response safety, and streaming safety—the F1 or AUC is slightly higher than that of specialized moderation models such as YuFeng-XGuard-Reason-8B and Qwen3Guard. The AUC for hallucination detection is 0.7951, which is slightly lower than DRIFT's 0.8000. Deployment requires a modified version of SGLang provided by the authors; the example shows serving it with 8-card parallelism alongside the base model.

Original title: inclusionAI/DeepSeek-V4.1-Flash-1017-singprobe

SingProbe is a small attention probe (approximately 1010 ten-thousand parameters) attached to DeepSeek-V4.1-Flash-1017. It reads the hidden states from layers 12, 25, and 39, and for each generated token, it outputs three sets of scores: 8 categories of query intent, response unsafety, and hallucination risk. The model card states that on three benchmarks—query intent, response safety, and streaming safety—the F1 or AUC is slightly higher than that of specialized moderation models such as YuFeng-XGuard-Reason-8B and Qwen3Guard. The AUC for hallucination detection is 0.7951, which is slightly lower than DRIFT's 0.8000. Deployment requires a modified version of SGLang provided by the authors; the example shows serving it with 8-card parallelism alongside the base model.

Why it matters Instead of running a separate moderation model, this approach directly reads the hidden states from the intermediate layers of the base model to determine query intent, response unsafety, and hallucination risk, allowing for interception mid-generation.

Upvotes 2 · Likes 6 · Downloads 862

Reasons

  • Upvotes 2 and likes 6 (indicating attention level only); MIT license, uploaded on 11/19, accompanied by a technical report and training code repository
  • Provides calibrated release thresholds (both for response unsafety and hallucination are 0.5) and interface fields for reading the scores

Usage

  • Install the SingProbe version of SGLang, run hf download inclusionAI/DeepSeek-V4.1-Flash-1017-singprobe, and use --probe-ckpt to point to it when starting the service; read label_0 through label_9 in meta_info.token_probe_probs returned by /generate

Risks

  • Evaluation metrics are self-reported by the authors; it is only compatible with the V4.1-Flash-1017 version and requires a multi-GPU environment capable of running the original base model
  • Starting the service requires enabling trust_remote_code, which executes code from the repository

Open

Hugging Face

Explore the latest AI Radar updates