cs.AIFeb 17, 2026

Improving LLM Reliability through Hybrid Abstention and Adaptive Detection

Authors: Ankit Sharma, Nachiket Tapas, Jyotiprakash Patra

Organizations: Department of Computer Science & Engineering, Chhattisgarh Swami Vivekanand Technical University, Bhilai, Chhattisgarh, India

Abstract

Large Language Models (LLMs) deployed in production environments face a fundamental safety-utility trade-off either a strict filtering mechanisms prevent harmful outputs but often block benign queries or a relaxed controls risk unsafe content generation. Conventional guardrails based on static rules or fixed confidence thresholds are typically context-insensitive and computationally expensive, resulting in high latency and degraded user experience. To address these limitations, we introduce an adaptive abstention system that dynamically adjusts safety thresholds based on real-time contextual signals such as domain and user history. The proposed framework integrates a multi-dimensional detection architecture composed of five parallel detectors, combined through a hierarchical cascade mechanism to optimize both speed and precision. The cascade design reduces unnecessary computation by progressively filtering queries, achieving substantial latency improvements compared to non-cascaded models and external guardrail systems. Extensive evaluation on mixed and domain-specific workloads demonstrates significant reductions in false positives, particularly in sensitive domains such as medical advice and creative writing. The system maintains high safety precision and near-perfect recall under strict operating modes. Overall, our context-aware abstention framework effectively balances safety and utility while preserving performance, offering a scalable solution for reliable LLM deployment.

Figures & tables

Explore similar work

CardsList
  1. Robust and Efficient Guardrails with Latent Reasoning

    May 27, 2026Siddharth Sai, Xiaofei Wen, Muhao ChenLLM GuardrailsContent Moderation

  2. SafeHarbor: Hierarchical Memory-Augmented Guardrail for LLM Agent Safety

    May 7, 2026Zhe Liu, Zonghao Ying, Wenxin Zhang +5LLM GuardrailsLLM Agent Security

  3. ADTGuard: Adaptive Depth-Time Safeguard for Streaming Inference in Large Language Models

    Oct 27, 2026Chuming Wei, Churui Yang, Zihan Zhang +4LLM Safety MonitoringInference-Time Adaptation of Language Models