SAFETY & ALIGNMENT

EXHIBIT 16 OF 24 · MODULE 4: GUARDRAIL SYSTEMS

DEFENSE

Constrained Decoding & Logit Filtering

Modifying token sampling probabilities in real time using grammar constraints, regex masks, and safety logit biases.

INTERACTIVE EXHIBIT 16

Constrained Decoding & Logit Masking

SAMPLING VOCABULARY LOGITS AT DECODING STEP t"{" (Valid JSON)z = 6.2"Hello" (Disallowed)z = -∞ (Masked)"<script>" (Malicious)z = -∞ (Masked)"\"status\":" (Valid JSON)z = 5.8MATHEMATICAL GUARANTEE: Disallowed tokens have exactly 0.00% sampling probability.
INFERENCE RUNTIME MASKING
STRICT FINITE-STATE AUTOMATON

Grammar transition tables dynamically mask out tokens that violate the required schema.

💡 Near-Zero Latency: Pre-indexed FSA tables in CUDA kernels execute during logit softmax with zero throughput penalty.
Agent-native web · research mode

Experimental WebMCP · evolving community-group draft, not a W3C Standard or on the Standards Track.

Native status: Initializing. Registered: none

DOM → inferred capabilities · WebMCP → declared capabilities. Tools read real CUDA/Inference Atlas content. Calls may highlight temporary UI state. No backend or remote telemetry.

Local harness verifies application logic; it does not demonstrate native discovery or a browser agent.

Input schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

Local log: last 100 calls while this panel is open. Inputs may contain personal text; review before sharing.

[]