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

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

PolicyMem: Geometric Policy Memory for LLM Governance

AI 导读

arXiv 论文提出 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.AI · arxiv.org