cd /news/artificial-intelligence/geometry-guided-constraint-learning-… · home topics artificial-intelligence article
[ARTICLE · art-69595] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Geometry-Guided Constraint Learning for LLM Safety Classification

A new method called Geometry-Guided Constraint Learning improves LLM safety classification by using sparse autoencoder (SAE) feature extraction, achieving 96-99% accuracy per category on the BeaverTails benchmark with Qwen3.5-9B. The approach reduces the optimal constraint count K to 2 for 12 out of 14 categories, eliminating the need for exhaustive parameter sweeps. The authors introduce a cone constraint with learnable aperture to adapt to each category's cluster concentration.

read1 min views1 publishedJul 23, 2026

arXiv:2607.19366v1 Announce Type: new Abstract: Safety as Polytope (SaP) learns linear half-space constraints in LLM hidden space but requires per-category tuning of the constraint count K. We show that sparse autoencoder (SAE) feature extraction resolves this: K=2 becomes optimal for 12/14 categories on Qwen3.5-9B, achieving 96-99% accuracy per category on our BeaverTails classification benchmark, largely eliminating the need for exhaustive sweeps (K=4-25 with random initialization). This convergence to two planes is consistent with the Linear Representation Hypothesis, providing suggestive evidence that safety boundaries in this setting admit a low-dimensional linear description in the SAE feature space. Building on this geometric perspective, we introduce a cone constraint whose learnable aperture adapts to each category's cluster concentration, stabilized by a three-phase training

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @qwen3.5-9b 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/geometry-guided-cons…] indexed:0 read:1min 2026-07-23 ·