RippleBench: Capturing Ripple Effects Using Existing Knowledge Repositories

Roy Rinberg, Usha Bhalla, Igor Shilov, Flávio P. Calmon, Rohit GandikotaarXiv 2025 · DOI

Abstract

Unlearning harmful knowledge in Large Language Models (LLMs) is often treated as a surgical removal of specific facts. However, knowledge in LLMs is highly interconnected, and removing one concept can trigger unintended "ripple effects" across semantically related domains. We introduce RippleBench, an automated framework that leverages Wikipedia-based Retrieval-Augmented Generation (RAG) to quantify these collateral effects. By mapping knowledge degradation across a gradient of semantic distance, RippleBench provides a more nuanced evaluation of unlearning methods, distinguishing between precision interventions and blunt-force suppression.

Introduction

As the capabilities of Large Language Models (LLMs) expand, so do the risks associated with their potential misuse, such as the synthesis of bioweapons or the generation of harmful instructions. "Unlearning" has emerged as a primary strategy to mitigate these risks by stripping models of specific dangerous knowledge. Traditionally, these methods are evaluated using a binary "forget set" (what should be removed) and "retain set" (what should be kept).

However, this binary lens is a flawed simplification. Knowledge in LLMs is not stored in isolated silos; concepts like "weapons of mass destruction" are inextricably linked to general biology and chemistry. Current benchmarks fail to measure the ripple effect: the unintended degradation of benign, related knowledge when a specific harmful concept is targeted. Without measuring this semantic "spillover," researchers cannot determine if an unlearning method is a precision scalpel or a blunt instrument.

The RippleBench Framework

To address this gap, we propose RippleBench-Maker, an automated pipeline designed to generate comprehensive evaluation datasets without manual labeling. The framework consists of four key stages:

  1. Topic Extraction: The pipeline maps target unlearning datasets (e.g., WMDP) to representative Wikipedia topics.
  2. WikiRAG & Semantic Distance: Using WikiRAG, a retrieval system over English Wikipedia, the framework defines "semantic distance" based on search rank. A topic appearing as the #1 result for a query is considered "core," while a topic at rank #500 is "distant."
  3. Automated Q&A Generation: For retrieved topics at various distances, the system extracts facts and generates multiple-choice questions.
  4. Knowledge-Delta Analysis: The framework formalizes the difference in model utility before and after an intervention as a function of semantic distance.
The RippleBench Pipeline: From unlearned topic to aggregated ripple effect analysis.

Experimental Setup & Datasets

The primary benchmark derived from this framework is RippleBench-Bio, based on the Weapons of Mass Destruction Proxy (WMDP) biosecurity dataset. It contains 70,706 topics and 352,961 questions distributed across semantic distances ranging from rank 1 to 1000, providing a high-resolution view of knowledge propagation.

Analysis of Unlearning Methods

Evaluating eight state-of-the-art unlearning methods on Llama-3-8b-Instruct reveals several critical insights:

  • The "Bomb-Next-Door" Gap: There is a significant discrepancy between forgetting a specific item and the underlying concept. Models often show low accuracy on the exact target (distance 0) but retain high accuracy just one step away (distance 1). This suggests that many current methods achieve only superficial "surface-form" suppression rather than true conceptual removal.
  • Propagation Profiles: Different methods exhibit unique "fingerprints" of collateral damage. Methods like GRADDIFF and TAR act as "blunt force" instruments, causing steep and persistent accuracy drops (over 25% relative to baseline) even on distant, benign topics. In contrast, RMU-LAT and RR (Representation Rerouting) are more surgical, balancing the removal of harmful knowledge with the preservation of neighboring utility.
Ripple Effects: Accuracy of various unlearned models compared to the Llama3 Base model across semantic distances.

Key Results

The base model maintains a stable accuracy of approximately 70% across all distances. However, all tested unlearning methods induced non-trivial accuracy drops on related topics. While accuracy generally recovers as semantic distance increases, residual degradation is often visible even past a distance of 50 (e.g., moving from "Viral Evolution" to "Sequence Alignment"). Furthermore, methods like GradDiff show non-monotonic training behavior, where performance crashes early but partially recovers, indicating that the ripple effect evolves dynamically during the fine-tuning process.

Limitations and Future Directions

While RippleBench provides a scalable way to measure semantic spillover, it has limitations. The "rank" distance is relative to domain density; in dense fields like virology, rank 400 may still be highly relevant, whereas in sparse fields, rank 50 might be unrelated. Additionally, polysemanticity can introduce noise, where a query for a chemical agent might surface unrelated linguistic coincidences (e.g., a band name).

Future research should move beyond binary "forget/retain" metrics. By focusing on "shaping" the ripple effect curve, researchers can develop unlearning methods that meet specific safety requirements while minimizing the impact on general model utility.

Summary updated

BibTeX
@misc{rinberg2025ripplebench,
  author = {Roy Rinberg and Usha Bhalla and Igor Shilov and Flávio P. Calmon and Rohit Gandikota},
  title = {{RippleBench: Capturing Ripple Effects Using Existing Knowledge Repositories}},
  year = {2025},
  eprint = {2512.04144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.04144},
}
Figure