Deterministic AI Safety

AI Entropy
Control

Lioren's symbolic firewall monitors entropy-aware scores, brakes risky generations in real-time, and resumes only when safety thresholds clear.

APS/ALC_v2.1
01 λ(t) = adaptive_threshold(context)
02 APS = entropy_score(generation)
03 if APS < λ(t) × 2 → BRAKE
04 cooldown → resume_when_safe()

0.27

Current λ(t)

SAFE

ALC Status

Cooldown

01

About Lioren

Building trust in
autonomous systems

Lioren Technologies develops deterministic safety layers for AI and cyber-physical systems. Our mission: make machine behavior predictable, auditable, and trustworthy.

APS

Anomaly Pressure Score — real-time risk signal

ALC

Active Logic Containment — instant brake system

λ(t)

Adaptive threshold that shifts with context entropy

02

How It Works

Three-layer protection

Adaptive Thresholds

λ(t) shifts dynamically with context. Two consecutive sub-threshold APS hits trigger immediate lockdown.

Tail Non-Leakage

Risky tokens buffer in a protected tail. Nothing emits until the system confirms safe-to-resume conditions.

Explainable Signals

APS, entropy, perplexity, and rail violations stay visible for audits and compliance records.

03

Live Demo

AI Entropy Control Dashboard

Connect to a local LLM and watch the APS/ALC guardrails respond in real time.

AI Entropy Control

IDLE

Quick Start

  1. Run LM Studio or Ollama.
  2. Serve this over http:// (e.g., python -m http.server 8000).
  3. Set API Base and Chat Model (LM Studio defaults below).
  4. Click Check API. Then use Self-Test or Start.
Hide advanced controls
Use http://

API & Providers

Live Lookahead

APS (speculative)
0.00
Entropy
0.00
Perplexity
0.00
Speculative Next Sample
Lookahead: —logprobs: no

Weights & Thresholds

Emergency brake threshold
Safe resume threshold
Smoothing factor
Critical anomaly level
Weight for repetitive content
Weight for logical contradictions
Weight for topic deviation
Weight for safety violations
Weight for prompt injection
Weight for personal information
Weight for anomaly score
Weight for change velocity
Weight for generation frequency
Weight for speculative execution

Predictive Upgrades

ALC / ALCad (Control Loop)

ALCad adjusts lookahead frequency and horizon using APS and its velocity. ALC enforces brake/cooldown/resume & tail-buffer non‑leakage.

System Status

IDLE

High Threshold (θ_hi)

0.70

Low Threshold (θ_lo)

0.55

APS* (Blended)

0.000

Critical (θ_crit)

0.85

Live Anomaly Scores

Prompt & Controls

Explanations

Compliance Records

No compliance records yet.

Live Output

Reasons:

Semantic Entropy (SE)

Normalized
0.00
Idle

Formal Verification — nuXmv

This section embeds the enhanced nuXmv model (AEC_nuXmv_model_v2.smv) and provides a one-click download & quick run commands.

nuXmv Model (read-only)

nuXmv AEC_nuXmv_model_v2.smv
go
check_invar
check_ltlspec
simulate -k 25 -r

Automaton Diagram

IDLE GENERATING ANALYZING BRAKED DONE Sequence: IDLE → GENERATING → ANALYZING → BRAKED → DONE (looping) .

States: IDLE → GENERATING → ANALYZING → BRAKED → RESUME. Guards: APS thresholds, cooldown τ, K_RESUME, tail-buffer non-leakage, cadence bounds.

AEC Governor Automaton
AEC Governor Automaton
04

Get In Touch

Let's build safer
AI together

Whether you're deploying LLMs in production or building safety-critical systems, Lioren can help you implement deterministic guardrails.