Answer When Needed, Forget When Not: Language Models Pretend to Forget via In-Context Knowledge Unlearning
As large language models (LLMs) are applied across diverse domains, the ability to selectively unlearn specific information is becoming increasingly essential. For instance, LLMs are expected to selectively provide confidential information to authorized internal users, such as employees or trusted p…