← Lab /AI/ML

Entropy lull pattern enables near-zero false-positive detection of targeted LLM attacks

DualSentinel can accurately detect backdoor and prompt-injection attacks with near-zero false positives

AI/ML arXiv 2 Mar 2026 Defense Simulation evidence

Published as “DualSentinel: A Lightweight Framework for Detecting Targeted Attacks in Black-box LLM via Dual Entropy Lull Pattern”

Why it matters

Enables real-time, black-box protection against backdoor and prompt-injection attacks for API-based LLM services without noticeable performance loss.

Summary

DualSentinel detects targeted backdoor and prompt-injection attacks in black-box LLMs with near-100% true-positive rates and very low false-positive rates (often 0-6%) while adding virtually no latency; however, some test cases show non-zero false positives up to 16% and modest overhead variations, so the evidence is strong but not flawless.

What they found 5

  1. DualSentinel achieves near-perfect detection accuracy with near-zero false positives and negligible overhead.

    “Our comprehensive evaluation demonstrates that DualSentinel achieves near 100% detection accuracy with nearzero false positives and negligible overhead”

  2. Across all tested models and datasets DualSentinel attains TPRs approaching 100% while keeping FPRs minimal.

    “DualSentinel consistently achieves TPRs approaching 100% while maintaining minimal FPRs.”

  3. DualSentinel’s false-positive rate is at least 2.5× lower than the best baseline.

    “DualSentinel could achieve at least 2.5× as low FPRs.”

  4. The additional inference cost (ATGR) of DualSentinel is only slightly above 1.0, i.e., virtually no extra latency.

    “DualSentinel’s ATGR is only slightly higher than the ideal value of 1.000.”

  5. On closed-source LLMs DualSentinel still reaches >87% TPR with virtually zero FPR.

    “It achieved TPRs higher 87%, effectively identifying all attacks, while simultaneously holding the FPR at virtually zero.”

Caveats 1

  • 16.00

What’s new here 4

  • Detects attacks by monitoring a sustained low-entropy (Entropy Lull) pattern in the model's token distribution.
  • Uses a dual-check mechanism that combines real-time entropy monitoring with a task-flipping verification step.
  • Operates with only top-20 token probabilities, requiring no white-box access or model fine-tuning.
  • Introduces negligible inference overhead, suitable for latency-sensitive black-box deployments.