AI & ML
Enforcing a Strict Safety Margin in LLM Text Generation via Barrier Lyapunov Control
arXiv eess.SY0 views
arXiv:2610.17929v1 Announce Type: new Abstract: Large language models are increasingly deployed without formal guarantees against toxic text generation. Existing control barrier function (CBF) based safety filters can keep the generation trajectory within a toxicity-free region, but do not enforce a positive distance from its boundary, allowing formally safe trajectories to approach the toxicity threshold arbitrarily closely and leaving little buffer against modelling errors or disturbances. We address this limitation with a Barrier Lyapunov Function (BLF) safety filter that enforces a prescribed clearance margin throughout generation while retaining the continuous-time transformer dynamics, including feedforward layers. The resulting safe input set is a half-space defined by a constraint affine in the control input, and is non-empty under certified surjectivity and classifier-nondegeneracy conditions. For margin-compatible initial conditions we prove that the clearance margin is never violated and that the prescribed clearance is restored exponentially, yielding an explicit clearance floor, and show that, as the margin vanishes, the admissible trajectories satisfy the exponential second-order CBF condition. We further derive an explicitly computable sufficient disturbance budget under which the clearance guarantee degrades gracefully. Simulations on a small transformer illustrate the resulting improvement in safety clearance.
Source:https://arxiv.org/abs/2610.17929PreviousSafe Unicycle Navigation Among Multiple Obstacles Under Bounded Disturbances: A Learning-Augmented CLF-CBF Approach (Extended Version)NextPreliminary Exploration of Large Models Based on Self-Supervised Learning for Health Monitoring of Power Electronic Converters
Related posts

Keep Distributed Training Running with Automated Workload Recovery
0NVIDIA Developer Blog

Diagnose Distributed AI Workload Failures with NVIDIA Attribution
0NVIDIA Developer Blog
Alibaba Lab Cuts AI Upgrade Bills By Rewriting Core Numbers
0dev.to AI
Regalos para la persona que tiene un negocio pequeno, ensena, o crea cosas (en espanol)
0dev.to AI
CrowdStrike Expands Project QuiltWorks Across Europe
0dev.to AI
Lighthouse 13.6 Can Raise PageSpeed Insights Scores Without a Site Change
0dev.to AI