Preprint
Article

This version is not peer-reviewed.

Fuzzy NeMo Guardrails: Compositional Inference, Decision Stability, and Safety-Preserving Integration

Submitted:

26 November 2026

Posted:

30 November 2026

You are already at the latest version

Abstract
Contemporary guardrail pipelines combine heterogeneous detector outputs with programmable controls on language-model applications. Deterministic thresholding of each detector is simple but does not express intermediate evidence, overlapping linguistic risk categories, or the interaction of several signals. This paper formalizes an implementation-oriented fuzzy decision layer for NVIDIA NeMo Guardrails. Trusted detector scores are mapped to triangular, trapezoidal, or Gaussian memberships; rule antecedents are combined by minimum or product; zero-order Sugeno inference or discretized Mamdani aggregation yields a bounded score; and a three-way policy selects allow, review, or block subject to non-negotiable hard vetoes. The treatment is mathematical rather than experimental. We derive convex-hull properties of Sugeno aggregation, explicit sensitivity bounds for rule weights, local decision-invariance certificates away from threshold and veto surfaces, a finite-grid approximation bound for the Mamdani centroid under regularity and nondegeneracy conditions, idempotence properties of max-based rule aggregation, and a non-bypass property for composition with native guardrail outcomes. These statements expose assumptions that are frequently concealed by informal safety terminology: fuzzy grades are not probabilities, the centroid is discretized rather than continuous, and thresholding can introduce discontinuities even when membership functions are smooth. The layer is evaluated without additional language-model inference and is interfaced externally with both NeMo LLMRails and IORails; only the legacy engine supports the optional native Colang action. Detailed software interfaces, illustrative policies, and verification scope appear in an appendix after the references. No independent detection capability, empirically calibrated risk probability, or end-to-end safety guarantee is asserted.
Keywords: 
;  ;  ;  ;  ;  ;  ;  
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.