分段泄露:LLM 助教中的跨会话答案泄露及基于账本的防御
Leaks by Installments: Cross-Session Answer Disclosure in LLM Tutors and a Ledger-Based Defense
AI总结:
本文针对LLM助教的跨会话答案泄露问题,提出基于持久型学习者账本的防御机制,可有效降低重新编号练习变体的答案泄露率,同时保持较高的诚实学习者完成率。
摘要:
基于大语言模型(LLM)构建的助教被要求不得泄露答案,但学习者无需一次性索要答案。现有安全措施仅判断当前对话中的每一次回复,因此学习者可开启新会话、重新表述问题或请求带有不同数字的同一问题的完整解答,我们将此称为跨会话泄露。本文提出一种防御机制:针对每位学习者的持久型泄露账本。对于学习者提出的每个问题,系统会构建一个类型化解答图。在回复发布前,一个匹配门会根据回复自身内容(而非学习者的表述),通过结果值和带类型标签的解答结构与账本进行匹配,计算学习者当前可推导的步骤集合。若该集合得出最终答案或超出预算,则扣留回复。在包含3000个问题的模拟实验中,该账本将通过重新编号的练习变体造成的泄露从100%降至10.6%,同时诚实学习者完成94%-99.5%的问题。在使用两个真实LLM助教(Qwen2.5-3B-Instruct和Phi-3.5-mini-instruct)对60个问题进行的实验中,通过重新编号变体造成的泄露分别从0.58降至0.08、从1.00降至0.18,诚实完成率达98%。在实际运行中,该账本未超出单会话门控对拆分请求的限制,所有接受标准均在每次运行前确定。
英文摘要:
Tutors built on large language models (LLMs) are told not to give away answers, but a learner does not have to ask for the answer all at once. Existing safeguards judge each reply within the current conversation, so a learner can open a new session, reword the problem, or request a worked solution to the same problem with different numbers. We call this cross-session disclosure and propose a defense: a persistent, per-learner disclosure ledger. For every problem a learner brings, the system builds a typed solution graph. Before a reply is released, a gate matches the reply's own content, not the learner's wording, against the ledger by result values and by type-labeled solution structure, then computes which steps the learner could now derive. The reply is withheld if that set reaches the final answer or exceeds a budget. In a simulation of 3,000 problems, the ledger reduced leakage through renumbered practice variants from 100% to 10.6% while honest learners completed 94-99.5% of problems. With two real LLM tutors (Qwen2.5-3B-Instruct and Phi-3.5-mini-instruct) on 60 problems, leakage through renumbered variants fell from 0.58 to 0.08 and from 1.00 to 0.18, with 98% honest completion. The ledger did not reduce split requests beyond a per-session gate in the live runs. All acceptance criteria were fixed before each run.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。