Skip to content

SingProbe releases an open-source intrinsic guardrail framework, adapted to 29 open-source modelsSingProbe Technical Report

Paper Tracker· arXiv:2608.30703· Sing Team·Indexed by this site · 2026-10-03· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

Sing Team proposes the intrinsic guardrail SingProbe, which reuses decoding hidden states for query intent, response safety, and hallucination monitoring; on Ling-3.0-flash the average F1 for response safety is 0.8728.

Threat modelAn intrinsic guardrail reuses hidden states already produced by the base model during autoregressive decoding, continuously outputting query intent, response unsafety, and hallucination scores for response-level judgments and token-level risk localization; it does not use a separate external guardrail model to repeatedly encode text. The paper does not frame the attacker in terms such as no-box or black-box.

Questions
Generation-time safety monitoring with a separate external guardrail requires repeatedly encoding generated text and adds serving overhead. Industrial intrinsic guardrails have emerged, but an open-source training, serving, and evaluation stack that is reusable across models is lacking.
Methods
SingProbe uses lightweight probes to read concatenated hidden states from several layers of the backbone, outputting query intent, response unsafety, and hallucination scores at each token. Coarse-grained response-level labels are aggregated via adaptive confidence weighting to learn streaming signals, and it is integrated with SGLang and vLLM.
Experiments and results
The authors state that Ling-3.0-flash-singprobe achieves an average response safety F1 of 0.8728, an average streaming T-AUC of 0.9481, and an average hallucination AUC of 0.8012; the decode probe's token-level latency overhead is below 0.5%. The same signal is also used for constrained decoding and selective medical risk intervention.
Limitations and future work
The authors state that training relies on LLM annotation and synthetic data, and the unsafe starting points in the streaming benchmark are labeled by sentence-level prefixes. The main experiments use Ling-3.0 primarily, with adaptations for 29 backbones in the appendix; the paper reports class imbalance in online detection.
Experimental setupLing-3.0-tiny-singprobe、Ling-3.0-flash-singprobe · Aegis2、XGuard et al. · F1、R-AUC et al.
Evaluated models
Ling-3.0-tiny-singprobeLing-3.0-flash-singprobe
Benchmarks
Aegis2XGuardOpenAI ModerationXSTestHarmBenchExpGuardBeaverTailsPKU-SafeRLHFWildGuardSingStreamBenchSingStreamBench-FullFineHarmFactCHDFaithDialFAVARAGTruthShroomWikiBioMATHdatabricks-dolly-15kGSM8KMBPPOpenBookQA
Metrics
F1R-AUCT-AUCROC AUCFPRAccuracyTTFTITLQuery F1Response F1
AI summarySingProbe is an open-source intrinsic guardrail framework for LLM generation-time monitoring. It reuses hidden states already produced during the base model's autoregressive decoding, rather than having a separate model repeatedly process generated text. It uses a lightweight probe to continuously output query intent, response safety, and hallucination risk signals during decoding. The report provides training methods, service integration with SGLang and vLLM, and adapted guardrails for 29 open-source base models covering different families and sizes. The team also proposes SingStreamBench to measure whether a streaming guardrail can remain silent on benign prefixes and promptly detect newly appearing unsafe content. In evaluations of safety, streaming detection, hallucination detection, false-positive robustness, online monitoring, and runtime overhead, SingProbe performs comparably to state-of-the-art standalone guardrails and dedicated hallucination detectors, and is stronger in several settings, with added service overhead below 0.5% in the implementation. Beyond passive monitoring, the intrinsic guardrail signals can also guide constrained decoding and selectively trigger medical risk intervention in SingProbe-Med.

SingProbe is an open-source intrinsic guardrail framework for LLM generation-time monitoring. It reuses hidden states already produced during the base model's autoregressive decoding, rather than having a separate model repeatedly process generated text. It uses a lightweight probe to continuously output query intent, response safety, and hallucination risk signals during decoding. The report provides training methods, service integration with SGLang and vLLM, and adapted guardrails for 29 open-source base models covering different families and sizes. The team also proposes SingStreamBench to measure whether a streaming guardrail can remain silent on benign prefixes and promptly detect newly appearing unsafe content. In evaluations of safety, streaming detection, hallucination detection, false-positive robustness, online monitoring, and runtime overhead, SingProbe performs comparably to state-of-the-art standalone guardrails and dedicated hallucination detectors, and is stronger in several settings, with added service overhead below 0.5% in the implementation. Beyond passive monitoring, the intrinsic guardrail signals can also guide constrained decoding and selectively trigger medical risk intervention in SingProbe-Med.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    There is a lack of an open-source intrinsic guardrail stack reusable across models, making it difficult to monitor risk at low overhead during decoding.

    There is a lack of an open-source intrinsic guardrail that can be reused across models and can continuously monitor risk during decoding.

    • Scenario and importance: The authors argue that external guardrails require a separate model to repeatedly process inputs or already-generated text. The intrinsic approach reuses the hidden states already produced during the base model's autoregressive decoding; industrial systems such as Constitutional Classifiers++ and Kelp/PlugGuard have shown its value, but they are mainly aimed at specific models or production environments.
    • Existing shortcomings: The authors state that the community still lacks a reusable open-source stack that simultaneously includes cross-model adaptation, unified training methods, standard service integration, and systematic evaluation resources. Existing safety benchmarks are mostly post-hoc classification with only response-level labels, making it difficult to determine whether a guardrail remains silent on benign prefixes and triggers promptly when harmful content appears.
    • Core observation: Coarse-grained response-level safety and hallucination labels can also train token-level streaming signals; the base model's hidden states already contain query safety, response safety, and hallucination-related information, which can be read out with lightweight prediction heads.
    • Proposed in this paper: SingProbe (Safety in Generation Probe) continuously outputs query intent, response unsafety, and hallucination scores during decoding, supporting response-level decisions and token-level risk localization; it also provides training methods, adaptation to 29 open-source base models, SGLang and vLLM integration, and the streaming benchmark SingStreamBench. The signals can also guide constrained decoding and selectively trigger medical risk intervention in SingProbe-Med.
    • Threat model:
      • The victim system is an LLM service currently performing autoregressive generation; the guardrail runs in the same pipeline as decoding.
      • The monitoring targets are query intent, response safety, and hallucination risk, rather than re-encoding the entire text afterward.
      • Knowledge comes from hidden states of selected layers already computed by the base model; the probe does not introduce an additional text encoder.
      • The output can be used both for post-completion response-level judgments and for token-level localization and generation-time control when risk appears. The paper does not use attacker-knowledge terms such as no-box or black-box.
  2. What related research exists?

    Related work is divided into external guardrails, intrinsic classifiers, and streaming/hallucination detection; this paper adds an open-source reusable stack.
    • External independent guardrails: Llama Guard (Inan et al., 2023), WildGuard (Han et al., 2024), ShieldGemma (Zeng et al., 2024), Granite Guardian (Research, 2024), YuFeng-XGuard (Lin et al., 2026), and Qwen3Guard (Zhao et al., 2025) use separate models to classify input or generated text for safety. Qwen3Guard-Stream, to obtain token-level boundaries, performs multiple rollouts for each prefix and uses an LLM for verification; the authors consider the annotation cost high.
    • Intrinsic guardrails: Constitutional Classifiers++ (Cunningham et al., 2026) uses a softmax-weighted objective to focus supervision on tokens predicted to be more harmful, avoiding explicit token annotation; the authors believe that since the weights are directly determined by current logits, poor initialization calibration may amplify early noise. Kelp/PlugGuard (Li et al., 2025b) similarly uses internal representations for generation-time monitoring. The authors state that both are mainly aimed at specific models or production settings.
    • Post-hoc safety benchmarks and fine-grained annotation: Aegis, HarmBench, BeaverTails, XSTest, WildGuard, etc., mainly provide response-level labels. FineHarm (Li et al., 2025c) first performs sentence-level annotation and then maps content words in harmful sentences to tokens; the authors state that manual inspection found fine-grained labels to be noisy, and harm often depends on context, making it difficult to assign stable labels to isolated tokens.
    • Hidden-state hallucination detection: DRIFT (Bhatnagar et al., 2026), HaMI (Niu et al., 2025), SAPLMA (Azaria & Mitchell, 2023, with both raw and response inputs) cover lightweight probing, adaptive token selection, and training-free NTK scoring, respectively.

    Baseline methods include Gemini 3 Pro, GPT-5.1, the aforementioned open-source guardrails, and Vanilla, CC++, Kelp reproduced on the same data, Ling-3.0-flash, and architecture. Benchmarks/datasets cover Aegis2, XGuard, OpenAI Moderation, XSTest, HarmBench, ExpGuard, BeaverTails, PKU-SafeRLHF, WildGuard, SingStreamBench, SingStreamBench-Full, FineHarm, as well as FactCHD, FaithDial, FAVA, RAGTruth, Shroom, WikiBio.

    The authors position this paper as filling the layer of cross-model adaptation, unified training, SGLang/vLLM integration, and system evaluation, and use adaptive confidence weighting to learn streaming signals from coarse labels.

  3. How does the paper address this problem?

    A lightweight probe reads hidden states from multiple layers and uses adaptive weighting to learn three types of streaming scores from coarse labels.

    SingProbe directly reads hidden states from several layers of the base model during autoregressive decoding and uses a lightweight head to give query intent, response unsafety, and hallucination scores at each token.

    Problem setup and formalization

    • Input: The base model M has L layers. For a sequence x, the hidden state of layer ℓ at token xt is h_t^{(ℓ)}. The probe only takes the concatenated hidden states of a subset S, without adding a text encoder.
    • Output: In Eq. (1), s_t = g_θ({h_t^{(ℓ)}}_{ℓ∈S}), containing a μ-dimensional query intent score, a one-dimensional response unsafety score, and a one-dimensional hallucination score. The scores are treated as logits; task-related normalization is applied when probabilities or decisions are needed. Because the hidden states depend only on the prefix x_{≤t}, predictions update causally with generation.
    • Query intent: Following SingGuard's eight categories, the first seven are risks (Sexual Content Risk, Real-World Crimes & Public Safety, Unethical Behavior, Cybersecurity & Information Manipulation, Agent Safety, Politically Sensitive Content, Animal Abuse), and the eighth is Safe. A higher score indicates stronger evidence for that category.
    • Response side: The unsafety score measures the risk of the response prefix up to the current token; the hallucination score estimates the likelihood that the generated content so far contains hallucination. Both update during decoding.

    Training objective

    • Total loss: Eq. (2) L_total = w_q L_query + w_s L_safety + w_h L_hallu. The weights are not fixed but are reallocated according to an exponential moving average of each task's loss: tasks with higher recent loss receive larger weights, while retaining the configured base weights. The smoothing coefficient is α=0.9, and the denominator uses 10^{-9} to prevent division by zero. The average of the three weight ratios is 1, to keep the total loss magnitude stable.
    • Query intent: Independent binary cross-entropy for each of the seven risk categories, allowing multiple risks to coexist; Safe is mutually exclusive with all risk categories. A soft mutual-exclusion term is added, penalizing Safe and the most likely risk category being high simultaneously. λ_safe and λ_mutex control the Safe loss and the mutual-exclusion penalty, respectively. It is computed only at positions with valid labels.
    • Response safety and hallucination: Datasets usually only have response-level labels. The authors do not use Qwen3Guard-Stream's multiple rollouts, nor do they directly use the weighting determined by current logits as in CC++. Both use token-level BCE, then aggregate via adaptive confidence weighting: when prediction dispersion is insufficient, fall back to uniform averaging; when dispersion is sufficient, assign larger weights to tokens with higher predicted risk. For negative samples, emphasize high-risk tokens to suppress false peaks; for positive samples, reduce the weight of benign prefixes to avoid pushing the entire prefix toward the risk category. Weights are normalized within a sample, so long responses do not dominate training.

    Data and probe structure

    • Corpus: Uniformly covers harmful prompts, sensitive but benign prompts, harmful responses, safe refusals, and helpful safe completions. Query labels and response labels are separate; the same source can be used for prompt screening, response monitoring, and joint classification. For public data, only the official training splits are used; labels are first mapped to this paper's fine-grained taxonomy, then verified by an LLM according to this paper's definitions; inconsistent samples enter a hard-example pool. Unlabeled and hard examples are independently annotated by Qwen3.5-397B-A17B and Kimi-K2.6, requiring both binary consistency and fine-category checks. On the hallucination side, correct answers and honest refusals are labeled as non-hallucination, while wrong, fabricated, or unsupported answers are labeled as hallucination.
    • Synthetic: For each risk category, an internal red-team jailbreak model generates harmful prompts, and an aligned model generates benign counterparts with similar topics, to reduce lexical shortcuts. Unsafe prompts are paired with both harmful responses and compliant refusals or safe alternatives; benign prompts are paired with helpful responses. Multi-category and multilingual samples are also synthesized and re-evaluated by an LLM not involved in generation; samples with inconsistent labels are removed. During training, deduplication and balancing of safe/unsafe samples across major risk categories are performed, and high-confidence boundary examples are retained. Query labels align with representations at the query boundary; response safety and hallucination labels supervise the response trajectory.
    • Default structure: In experiments, the probe is a query-residual multi-head attention block: it computes Q, K, V to obtain attention output O, then outputs Norm(Q+O), followed by a linear classifier. By default, hidden states from three layers uniformly sampled from shallow, middle, and deep are taken. Main-text experiments use Ling-3.0-tiny-singprobe and Ling-3.0-flash-singprobe. For query classification, the base model generates up to 512 tokens for the query, then the eight-dimensional scores at each response position are averaged. Response safety and hallucination take the maximum score over the entire response under teacher forcing as the response-level risk score.

    Streaming benchmark and service integration

    • SingStreamBench: Treats a response as an optional safe prefix followed by a continuation that determines the label. It does not use isolated tokens as ground truth, but splits by sentences, annotates cumulative sentence prefixes, and records the start of the first new sentence in the unsafe prefix as Unsafe_Start_Index. The six tiers in Table 1 range from ordinary samples, unsafe queries paired with safe refusals, safe prefixes paired with safe continuations, to complex safe prefixes followed by unsafe responses, query-side background, and multi-question cases where safe answers precede unsafe content. The core set of 210 items is human-verified; Full has 2,428 items. Seeds come from BeaverTails, PKU-SafeRLHF, WildGuard, XSTest, and expguard. Three reviewers, Qwen3-235B-A22B, GLM-5.2, and Kimi-K2.6, must agree for a seed to be retained; prefix labels are given by Kimi-K2.6.
    • Service: Integrated with SGLang and vLLM, with decoding and scoring in the same pipeline. The Decode Probe runs only during decoding; the Prefill-enabled Probe also runs during the prefill phase. The appendix gives complete prompts and details of additional adaptations; the main text does not enumerate the values of hyperparameters T, τ, and λ one by one.
  4. What experiments did the paper conduct?

    Main results compare against external and intrinsic baselines on query, response safety, streaming, hallucination, and overhead.

    Experimental setup

    • Tested models and baselines: The main text uses Ling-3.0-tiny-singprobe and Ling-3.0-flash-singprobe. External guardrails include Gemini 3 Pro, GPT-5.1, YuFeng-XGuard-Reason-0.6B/8B, Llama Guard 3, WildGuard, GraniteGuardian, ShieldGemma-9B, and Qwen3Guard-Gen and Stream in loose/strict modes. Intrinsic controls Vanilla, CC++, and Kelp use the same training data, Ling-3.0-flash, and architecture, and are compared only on response safety. Hallucination baselines are DRIFT, HaMI, SAPLMA-raw, and SAPLMA-response. Some baseline numbers come from Group (2026). Appendix B extends to 29 open-source backbones.
    • Safety metrics: Query and response classification report F1. Streaming uses response-level R-AUC (the maximum response safety score over all tokens against response-level labels) and token-level T-AUC (each token's score against fine-grained annotations; safe prefix tokens are labeled 0), with the authors using average T-AUC as the primary metric. The benign set reports query/response FPR. Hallucination uses response-level ROC AUC, with the score being the MAX over response tokens.
    • Protocol: Offline safety and hallucination are mostly teacher forcing. Online safety lets Ling-3.0 generate freely, with pseudo-labels from the majority vote of the other three detectors (leave-one-out); SingProbe uses a bias-calibrated checkpoint, a decision threshold of 0.5, and reports Accuracy and F1. Online hallucination is labeled binarily by Qwen3.5-397B-A17B against reference answers. Overhead protocol: input 8,192, output 1,024 tokens, concurrency 1–32, 8 rounds measured, reporting TTFT and ITL relative to the backbone. The paper does not report the number of random repetitions for the main tables.

    Main results

    According to Tables 2–4 and Table 6, the main-text average metrics are as follows.

    Swipe horizontally to read the table

    ModelQuery F1 (T2)Response safety F1 (T3)Streaming T-AUC (T4)Hallucination AUC (T6)
    Ling-3.0-flash-singprobe0.86740.87280.94810.8012
    Ling-3.0-tiny-singprobe0.85610.85080.94790.7765
    GPT-5.10.86830.7804not reportednot reported
    YuFeng-XGuard-Reason-8B0.87140.8513not reportednot reported
    Qwen3Guard best relevant configuration0.8602 (Stream-8B-strict)0.8604 (Gen-8B-strict)0.8988 (Stream-4B-strict)not reported
    Ling-3.0-flash-CC++not reported0.86520.9478not reported
    DRIFT on Ling-3.0-flashnot reportednot reportednot reported0.8000
    • Authors' interpretation: On query, Ling-3.0-flash-singprobe has an average F1 of 0.8674, close to YuFeng-XGuard-Reason-8B (0.8714) and GPT-5.1 (0.8683), and higher than the best average of the evaluated Qwen3Guard configurations at 0.8602; on ExpGuardTest it is 0.8825. Moving from tiny to flash raises the average F1 from 0.8561 to 0.8674.
    • Response safety: flash-singprobe has an average F1 of 0.8728, 1.24 percentage points higher than Qwen3Guard-Gen-8B-strict, and 1.93, 0.76, and 0.98 percentage points higher than Vanilla, CC++, and Kelp in the same setting, respectively. This configuration is highest on WildGuard and XGuard Test (0.8000, 0.8588); on ExpGuardTest, CC++ is highest (0.9253).
    • Streaming and hallucination: flash-singprobe has an average T-AUC of 0.9481 and R-AUC of 0.9887; relative to the strongest Qwen3Guard-Stream, the average T-AUC is 4.93 percentage points higher. Kelp has the highest average R-AUC (0.9912) with a T-AUC of 0.9193. On hallucination, tiny-singprobe has an average AUC of 0.7765, 3.57 percentage points higher than DRIFT; flash-singprobe is 0.8012 and DRIFT is 0.8000.

    False positives, overhead, and number of layers

    • False positives: Table 5 uses free generation on MATH, databricks-dolly-15k, GSM8K, MBPP, and OpenBookQA. Ling-3.0-flash-singprobe has macro-averaged query/response FPR of 0.08%/0.01%; tiny has 0.26%/0.04%. Vanilla and CC++ both have a response macro-averaged FPR of 0.01% and query of 0.08%; Kelp has a query of 0.28%. The authors state that these sets do not exhaust safety auditing, the numbers are apparent FPR, and may slightly overestimate true false positives.
    • Overhead: In Table 7, the Decode Probe's ITL ranges from +0.18% at concurrency 1 to +0.45% at concurrency 32, all below 0.5%; TTFT is mostly within about ±1.5%, with negative point estimates at concurrency 2 and 4. Prefill-enabled TTFT is +0.86% to +2.25%, and ITL remains below 0.5%. The authors state that overhead does not increase with concurrency. The abstract writes that serving overhead in the implementation is less than 0.5%.
    • Number of layers: Figure 3 and the main text, L∈{1,2,3,5,8}. Query AUC ranges from 0.9560 to 0.9579, and Response AUC from 0.9648 to 0.9684. With only the last layer, Response AUC is 0.9648 and streaming response AUC is 0.9767; at L=3 they are 0.9677 and 0.9823, respectively. Hallucination AUC goes from 0.7750 at L=1 to 0.7963 at L=3 and 0.7988 at L=8. Benign FPR for each configuration does not exceed 0.02%. The authors state that beyond L>3 the gains diminish while parameters, memory, and latency continue to increase, so the default is three layers. Figure 3 also marks a set of Stream Token AUC bar values from 0.924 to 0.931.

    Online monitoring

    • Online safety: Table 8. Ling-3.0-tiny-singprobe has an average Acc/F1 of 0.8089/0.4726, below standalone guardrails such as YuFeng under the same protocol. Ling-3.0-flash-singprobe is 0.9641/0.6452, with an average F1 4.88 percentage points higher than YuFeng-XGuard-Reason-8B's 0.5964; WildGuard and XSTest F1 are 0.6364 and 0.5405. The authors state that the low F1 is mainly because free generation is mostly Safe with few positive classes, so relative comparison should be done together with Accuracy.
    • Online hallucination: After free generation, labels are assigned by Qwen3.5-397B-A17B on AA-Omniscience, BBH, GSM8K, MATH-500, NQ-Open, SQuAD, and TruthfulQA. Ling-3.0-tiny-singprobe has an average AUC of 0.6786, higher than DRIFT's 0.6316 (difference 0.047); flash is 0.7271, higher than DRIFT's 0.6546 (difference 0.073). The authors state that on flash, SingProbe ranks first on five of the seven datasets: AA-Omniscience, GSM8K, MATH-500, NQ-Open, and SQuAD.

    Other ablations and analyses

    • Figure 1: With Ling-3.0-flash as the backbone, the x-axis is the additional latency relative to the backbone-only service, and the y-axis is the average of Query F1 and Response F1 across benchmarks; non-streaming guardrails are called once after the full response, and streaming guardrails are called at each step. CC++/Kelp are reproductions under the same architecture and data. The specific endpoint values in the figure are not listed one by one in the main text.
    • Table 22: Among the 29 adaptations, hallucination macro-averaged AUC ranges from Qwen3.5-0.8B-singprobe's 0.7480 to GLM-5.3-singprobe's 0.8170; Qwen3.5-397B-A17B-singprobe and Qwen3.5-35B-A3B-singprobe are both 0.8117.
    • In the appendix, several large backbones have response-side percentages on the benign set around 0.00%–0.08% (the correspondence between excerpt columns and datasets is not fully aligned in the converted text, so these are not cited cell by cell).
    • Generation-time applications: The authors state that the same signal can be used for constrained decoding, and in SingProbe-Med, medical risk intervention is selectively activated only on relevant suffixes rather than throughout. The main-text excerpt does not give numerical tables for these two applications.
  5. What are some points that can be further explored?

    The authors position the open-source stack as convenient for subsequent research; the main-text numbers focus on Ling-3.0.

    Limitations and future directions noted by the authors

    The Conclusion in the paper excerpt only states that the authors hope the open-source infrastructure, training methods, and model adaptations will promote the adoption, deployment, and further research of intrinsic guardrails (abstract and contributions list). The excerpt does not list a separate Limitations section, nor does it write any experimental failure as an explicit future-work list. Therefore, based on the visible main text, the paper does not specifically discuss limitations.

    Limitations directly related to evaluation reliability that the authors state in the results are still recorded:

    • Apparent false positives: Section 4.3 states that the five benign sets such as MATH do not exhaust safety auditing and may contain a small number of truly unsafe samples; the FPR in Table 5 should be treated as apparent values and may slightly overestimate the true false-positive rate.
    • Online F1: Section 4.7.1 states that in free generation most responses are Safe with few positive classes, so a small number of false positives or detector disagreements can lower precision and F1; online F1 should be compared relatively under the same protocol together with Accuracy, and should not be directly compared with more balanced offline benchmarks.
    • Fine-grained ground truth: Section 3.1 states that FineHarm's token labels are noisy, and harm often depends on context, so isolated tokens are hard to label stably for safety; SingStreamBench therefore uses sentence-level cumulative prefix labeling instead.

    Experimental coverage

    • The main-text tested probes are Ling-3.0-tiny and Ling-3.0-flash; Appendix B reports adaptations for 29 open-source backbones, with families including Ling 3.0, Qwen, Llama 3, Gemma 4, gpt-oss, GLM, Step, MiniMax, DeepSeek, and Hy (Section 1 and Table 22).
    • The intrinsic controls for response safety are Vanilla, CC++, and Kelp, compared only in response-safety-related evaluations (Section 4.1); external guardrails include two proprietary models and 12 open-source configurations.
    • SingStreamBench's core set has 210 human-verified items and the Full set has 2,428; streaming metrics are R-AUC and T-AUC (Sections 3.4 and 4.3). Seed review is three-model agreement, and prefix labels use Kimi-K2.6.
    • Overhead is measured on Ling-3.0-flash with input 8192 / output 1024, concurrency 1–32, and 8 rounds (Table 7). Layer ablation uses L=1,2,3,5,8 (Section 4.6).
    • The paper does not report adaptive attacks. Constrained decoding and SingProbe-Med are proposed as generation-time applications in Section 4.7; the excerpt does not give corresponding numbers. The specific values of T, τ, λ_safe, λ_mutex, and base weights in the training objective are not given in the main text.
  6. Summarize the main content of the paper

    SingProbe uses lightweight intrinsic probes for three types of generation-time monitoring, and provides a streaming benchmark and low-overhead serving integration.

    SingProbe is an open-source intrinsic guardrail for generation-time monitoring: it reuses the backbone's decoding hidden states rather than running a separate model that repeatedly encodes text.

    • Problem: External guardrails add extra encoding and service coordination; existing intrinsic systems are often tied to specific models. Post-hoc safety labels also do not show whether the guardrail stays silent on benign prefixes and reacts promptly when harmful content appears.
    • Method: A lightweight query-residual attention head reads hidden states from shallow, middle, and deep layers by default, outputting eight query intent classes, response unsafety, and hallucination scores per token. Three losses are reweighted by a sliding average of recent losses. The response side uses adaptive confidence weighting to learn streaming signals from coarse response-level labels. The corpus is built from normalized public data, policy synthesis, and multi-model quality checks. Serving is integrated with SGLang and vLLM. SingStreamBench evaluates silence and timely detection with six tiers of query/prefix structures; the core set has 210 items and the Full set has 2,428.
    • Results: Ling-3.0-flash-singprobe achieves a query average F1 of 0.8674 (Table 2), a response safety average F1 of 0.8728 (Table 3), a streaming average T-AUC of 0.9481 (Table 4), and an offline hallucination average AUC of 0.8012 (Table 6). On the benign set, this configuration has a macro-averaged response FPR of 0.01% (Table 5). The Decode Probe's ITL overhead is below 0.5% at concurrency 1–32 (Table 7). In online safety, flash has an average F1 of 0.6452 (Table 8); online hallucination has an average AUC of 0.7271, higher than DRIFT's 0.6546 on the same backbone. The tiny backbone is below standalone guardrails on online safety F1.
    • Authors' conclusion: An intrinsic lightweight head can compete with standalone guardrails and dedicated hallucination detectors across several settings, with one fewer independent serving service; the same signal can support constrained decoding and selective medical risk intervention. The authors plan to release open-source training, adaptation, and infrastructure to promote deployment and further research.

Related papers

Show 1 more papers
Read originalarxiv.org