Benchmark evaluates forgetting ability of deployed ai agents

K-Bench: A Benchmark for LLM Unlearning in Agentic Deployments

Artificial Intelligence

Summary

Sometimes, AI models need to forget certain secret information to protect privacy or security. Traditional tests say a model has forgotten the secret if it refuses to answer questions about it. This paper shows that once the AI model is used as a more complex agent with many communication parts, simply refusing to answer isn't enough to prove forgetting. The authors created K-Bench, which carefully checks all the ways these AI agents share information to see if secrets still leak. They found that many current methods do not fully prevent the agent from leaking secret information during real use.

What this means in practice

  • For ai system developers: Evaluate and improve AI agent deployments to ensure secret data is truly forgotten across all communication channels.
  • For security teams: Verify that AI-powered systems do not leak sensitive information when used in complex, multi-channel environments.

Authors

Guangsheng Yu, Yanna Jiang, Qin Wang, Baihe Ma, Xu Wang

Abstract

Unlearning benchmarks such as TOFU and MUSE certify forgetting by reading the model's final answer, where a model that refuses to answer already counts as having forgotten. We show that this model-level certificate does not transfer once the model is deployed as an agent. We introduce K-Bench, a benchmark that scores LLM unlearning under agentic deployment. K-Bench inspects all six channels a ReAct agent exposes, including its chain-of-thought (CoT), tool calls and tool observations, and elicited summary. A query counts as leaked if the secret appears in any of them. Each experiment places the secret in exactly one of the agent's three sources (the weights, the prompt, or the retrieval store). The K-Score is computed separately for each source and credits forgetting only when the agent remains usable. Clearing the answer channel does not make the secret unrecoverable. On structured retrieval, the secret stays verbatim in the tool-observation channel and the aggregate leak rate is unchanged. When the secret lives in the prompt or the retrieval store, TOFU and MUSE report no leakage, while the deployed agent still leaks it on 22--86\% of queries. When the secret is in the weights, none of the twenty evaluated published methods demonstrably removes it, and only an input-corruption intervention reaches selective forgetting under the evaluated observer. The top-ranked method changes across base models. A refusal-tuning method resists the evaluated extraction without verified knowledge removal.