Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Do Localization Methods Actually Localize Memorized Data in LLMs? A Tale of Two Benchmarks

About

The concept of localization in LLMs is often mentioned in prior work; however, methods for localization have never been systematically and directly evaluated. We propose two complementary benchmarks that evaluate the ability of localization methods to pinpoint LLM components responsible for memorized data. In our INJ benchmark, we actively inject a piece of new information into a small subset of LLM weights, enabling us to directly evaluate whether localization methods can identify these "ground truth" weights. In our DEL benchmark, we evaluate localization by measuring how much dropping out identified neurons deletes a memorized pretrained sequence. Despite their different perspectives, our two benchmarks yield consistent rankings of five localization methods. Methods adapted from network pruning perform well on both benchmarks, and all evaluated methods show promising localization ability. On the other hand, even successful methods identify neurons that are not specific to a single memorized sequence.

Ting-Yun Chang, Jesse Thomason, Robin Jia• 2023

Related benchmarks

TaskDatasetResultRank
Memorization mitigationPythia 6.9B
Memory Usage (%)87.55
9
Memorization mitigationPythia 2.8B
Memory Usage (%)14.46
9
Showing 2 of 2 rows

Other info

Follow for update