NeurIPS 2026QuestionsPapersAreasAboutMarkdown

LPG: Balancing Efficiency and Policy Reasoning in Latent Policy Guardrails

Nanxi Li, Zhengyue Zhao, Chaowei Xiao

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: AI Safety, Security & Alignment › LLM Safety · Type: new method · Keywords: latent policy guardrails, dynamic safety policies, efficient inference, LLM safety, policy reasoning

Areas: LLM Reasoning › Efficient Reasoning › Efficient Reasoning; Safety & Security › Safe Alignment › Safety Alignment Methods

Summary

LPG is a latent policy guardrail framework that compresses deliberation into continuous latent states for fast, auditable safety enforcement under dynamic policies.

Explained to a 5-year-old

Some robots help us talk to computers, but we want them to be safe. Sometimes the rules about what is safe change, like when a new rule says not to share secrets. The robot needs to think about the new rule quickly, but thinking takes time. So the robot learns a secret way to think that is short and fast. This helps the robot stay safe and answer quickly without getting slow.

Explained to a 5-year-old, longer

When we use a friendly robot to talk to a computer, we want it to be safe. Sometimes the rules about what is safe change, like when a new rule says not to give away personal info. The robot needs to check the new rule and decide if what we say is okay. Checking rules can be slow because the robot has to think a lot. If the robot is slow, it might not answer quickly enough for a conversation. So scientists wanted to make a robot that can be safe and fast at the same time. They gave the robot a special hidden place to store its thinking. This hidden place is like a short note that holds the important parts of the rule. The robot writes this note quickly and then looks at it to decide what to do. Because the note is short, the robot can answer almost instantly. This way, the robot stays safe even when the rules change, and the conversation stays smooth. It also lets many people use the robot without waiting for slow thinking.

For a technical reader

The system provides a safety layer that can adapt to new policies without requiring full model retraining. It learns compact latent representations that capture the essential semantics of policy rules, allowing fast inference. At runtime, a small set of latent tokens are generated to produce a concise safety verdict, preserving auditability. This design reduces latency compared to traditional reasoning approaches while maintaining high accuracy on safety benchmarks. The result is a scalable guardrail that can be integrated into existing LLM-based assistants with minimal overhead.

Problem

Safety guardrails for AI assistants must adapt to changing policies at inference time, but adapting them requires reasoning that is often too slow for practical deployment. This creates a tension between accurate policy reasoning and low-latency responses.

Method

The approach learns continuous latent deliberation states that capture decision-relevant semantics of dynamic policies, supervised by policy clauses. At inference, it generates a compact verdict from these latent states, avoiding explicit reasoning steps. This compression reduces latency while preserving auditability.

Results

The approach achieves 84.5% average safety accuracy and 77.9% F1 while compressing deliberation into 10 latent tokens, and runs roughly 11 times faster than Qwen3-4B-Thinking in single-sample evaluation.

Contributions

It introduces a method for semantic latent deliberation over dynamic policies, enabling fast and auditable safety enforcement without retraining. The method demonstrates superior accuracy and speed compared to existing dynamic baselines.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction