跳到正文
arXiv cs.CL· Yuanchen Bei, Zhengzhang Chen, Yanjun Zhao, Haoyu Wang, Hanghang Tong, Haifeng Chen·· 12 小时前AI 评分32

PolicyMem:面向 LLM 治理的几何策略记忆

PolicyMem: Geometric Policy Memory for LLM Governance

AI 导读

PolicyMem 将自然语言策略编译为可学习的低秩子空间,作为几何策略记忆在评估、改写与验证等治理阶段复用。策略评估器把查询-回复表示投影到这些子空间,产出直接支撑安全判定与策略归因的证据;改写器依据涉及策略修订不安全回复,并由同一评估器复评。在五个常用基准上,PolicyMem 的平均不安全行为检测表现优于代表性基线,同时支持策略归因、改写与干预后评估。

正文 · 原文

View PDF HTML (experimental)

Abstract:Effective LLM governance extends beyond detecting unsafe responses to guiding their correction through closed-loop assessment, revision, and verification. Learning-based guards provide strong semantic discrimination but often leave policy knowledge implicit in trained parameters, limiting its explicit reuse across stages. Programmable guardrails make policies explicit through prompts and workflows, but rely heavily on manual engineering to operationalize them. This motivates explicit policy representations that are both learnable and reusable across governance operations. To this end, we introduce PolicyMem, a geometric policy memory that compiles natural-language policies into learnable low-rank subspaces for reuse across governance stages. A policy assessor projects query-response representations onto these subspaces, producing evidence that directly mediates safety judgments and policy attribution. A response rewriter uses the implicated policies to revise unsafe responses, with the same assessor re-evaluating the revised responses. Beyond inference, the same memory constructs training data from model-generated candidates to supervise the rewriter without external teacher calls. Across five widely used benchmarks, PolicyMem achieves the best average unsafe-behavior detection performance among representative baselines while supporting effective policy attribution, rewriting, and post-intervention assessment through the shared policy memory.
Comments: 28 pages, 13 figures
Subjects: Computation and Language (cs.CL); Artificial Intelligence (cs.AI)
Cite as: arXiv:2609.13734 [cs.CL]
  (or arXiv:2609.13734v2 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2609.13734

arXiv-issued DOI via DataCite

Submission history

From: Yuanchen Bei [view email]
[v1] Sat, 12 Sep 2026 06:07:43 UTC (726 KB)
[v2] Tue, 3 Nov 2026 20:53:39 UTC (2,061 KB)

来源:arXiv cs.CL · arxiv.org