Reproduce “Guardrail Baselines for Unlearning in LLMs” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Pratiksha Thaker, Yash Maurya, Shengyuan Hu, Zhiwei Steven Wu, Virginia Smith

Researchers at Carnegie Mellon University investigate the effectiveness of simple, lightweight guardrail-based approaches, such as prompting and input/output filtering, for unlearning in Large Language Models. Their work demonstrates that these methods can achieve comparable or superior performance to computationally intensive finetuning techniques on existing unlearning benchmarks, particularly under an API-access threat model.

Key insights

  • Simple guardrail approaches (prompting, filtering) can achieve unlearning performance comparable to or even surpassing computationally intensive finetuning methods on existing output-based benchmarks for LLMs.
  • Guardrails tend to make LLMs refuse to answer or express uncertainty on forbidden topics, promoting safer behavior compared to finetuning methods that might lead to hallucinations.
  • The effectiveness of guardrails, especially prompting, scales with the capability of the underlying base LLM to follow instructions, and their success highlights potential weaknesses or specific threat models in current unlearning benchmarks.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.