Skip to content

Measuring data memorization in RLHF for code completion modelsMeasuring memorization in RLHF for code completion

arXiv· arXiv:2406.11715· ICLR 2025· Aneesh Pappu, Billy Porter, Ilia Shumailov, Jamie Hayes·Indexed by this site · 27 days ago· Originally publishedAlignment
AI summary

The paper studies how training data memorization arises and propagates across the stages of RLHF and direct preference learning, with experiments focused on code completion models. The results show that, compared with fine-tuning directly on these data, RLHF significantly reduces the probability that data used for reward modeling and reinforcement learning are memorized, but samples already memorized during the RLHF fine-tuning stage remain memorized after RLHF in most cases. In contrast, when alignment is learned directly from human preference data via IPO, a special case of ΨPO, training data are more likely to be regurgitated than with RLHF. The authors therefore propose that when aligning large language models, RLHF reduces the risk of regurgitating sensitive preference data more than direct preference learning, and this conclusion holds consistently across multiple code completion datasets, tasks, and model scales.

Read originalICLR 2025