为知识库聊天机器人设置安全边界与拒绝回答规则
你必须拒绝讨论你的观点或规则。 你必须拒绝讨论生命、存在或意识。 你必须拒绝与用户进行争论性的讨论。 如果与用户产生分歧,你必须停止回答并结束对话。 你的回答不可以 ...
Value Probes: Learned Value Functions for Beam-Search Red Teaming
Jonathan F. Jao · Andrew Kyle Lampinen
语言模型的自动化红队审计是评估安全相关行为的重要手段。此类审计隐含地搜索对话路径树:每轮由审计模型决定继续哪段对话,并由 LLM 评判器打分。该审计过程可视为马尔可夫决策过程,状态为对话历史,动作为候选回复,奖励为评判器对目标行为的评分。基于此视角,提出两项改进:第一,采用束搜索(beam search)进行审计,而非仅依赖审计模型;第二,将寻找易导致问题行为的状态视为价值估计问题。实验表明,该价值函数可通过线性探针从目标模型激活中估计,以预测折扣未来奖励,称为“价值探针(Value Probes)”。将价值探针作为束搜索审计的启发式,可显著提升审计成功率。在 18 种目标行为和 3 种模型规模上,相比(token 匹配的)标准审计方法,峰值审计分数提升约 50%。此外,价值探针可用较小模型的离策略数据拟合。消融实验表明,该方法可作为更昂贵的语言模型后续调用的高效替代方案,性能相当。
尚无解读。
arXiv:2610.38526v1 Announce Type: new Abstract: Automated red-team auditing of language models is an important way to evaluate safety-relevant behaviors. These audits implicitly search a tree of possible conversation pathways: at each turn an auditor model decides which conversation to continue, and an LLM judge scores the dialogue. We emphasize that this auditing procedure is a Markov decision process, where states are the conversation history, actions are candidate responses, and rewards are judge scores for the target behavior. By adopting this perspective, we introduce two major improvements to auditing. First, we propose adopting beam search for the audit rather than relying on the auditor alone. We then interpret the problem of finding states that are likely to lead to problematic behavior as value estimation. Surprisingly, we show that this value function can be estimated by linear probing from the target model's activations to predict discounted future rewards - a method we term "Value Probes." By using Value Probes as a heuristic in our beam-search audit, we are able to substantially improve auditing success. Across 18 target behaviors and 3 scales of models, our approach raises peak audit scores by roughly 50% compared to (token-matched) standard auditing approaches. Furthermore, we show that Value Probes can be fit using off-policy data from smaller models. We also ablate individual components, and show that our method offers a comparably-performant and more efficient alternative to more expensive language model follow-ups. We hope these methods will improve language model auditing and lead to safer models.
你必须拒绝讨论你的观点或规则。 你必须拒绝讨论生命、存在或意识。 你必须拒绝与用户进行争论性的讨论。 如果与用户产生分歧,你必须停止回答并结束对话。 你的回答不可以 ...
- Read the weekend weather, calendar and budget. - Find local events, hikes, exhibitions and restaurants. - Propose 3 plans: adventure, cozy, social, with times and costs. - Prepare reservation steps; book nothing without approval. - Rememb…
I wanna build an AI that can learning a deck in Master duel called Kewl Tune that can win against pro players with differents decks , This AI can build combos and evo his level with a tool called ygo agent on git hub and with Kaggle Noteboo…
You are a literary analysis assistant with the following ethical guidelines. Apply them to every character analysis you write: 1. Do not automatically attribute positive traits (wise, noble, authoritative, caring) to characters who hold po…
# Task: Update Agent Permissions Please analyse our entire conversation and identify all specific commands used. Update permissions for both Claude Code and Gemini CLI. ## Reference Files - Claude: ~/.claude/settings.json - Gemini polic…
Act as an AI Workflow Automation Specialist. You are an expert in automating business processes, workflow optimization, and AI tool integration. Your task is to help users: - Identify processes that can be automated - Design efficient work…