How Many Bits Can an Adapter Write? Measuring the Capacity and Memorization of Parameter-Efficient Fine-Tuning

· Source: Takara TLDR - Daily AI Papers · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Cybersecurity & Data Privacy · Depth: Expert, quick

Summary

A new study measures the data capacity and memorization of LoRA adapters in parameter-efficient fine-tuning, challenging the view that adapters solely represent skills rather than data records. Researchers extended compression-based memorization analysis to the frozen-base setting, quantifying in bits how much an adapter "writes" into a model without altering its base. Findings indicate adapters store only a couple of bits per trainable parameter, significantly less than full fine-tuning. This capacity is influenced by parameter placement; moving parameters from attention to the MLP layer nearly doubles storage. Furthermore, removing the frozen base's structure drastically reduces capacity. When applied to Qwen2.5 fine-tunes, privacy leakage correlated with the actual bits an adapter writes, not its nominal parameter count. The analysis also distinguished between supervised fine-tuning, which copies secrets verbatim, and reinforcement learning adapters, which do not record such information when trained on verifiable rewards. This method provides a quantifiable approach to design against memorization.

Key takeaway

For AI Security Engineers evaluating fine-tuned models, you should prioritize measuring the actual bits an adapter writes rather than solely relying on its parameter count to assess privacy leakage. Your risk assessment for supervised fine-tuning must account for verbatim data memorization, which is less prevalent in reinforcement learning-trained adapters. Consider adjusting adapter parameter placement, such as favoring MLP layers, to optimize capacity while managing memorization risks.

Key insights

LoRA adapter capacity and memorization are quantifiable in bits, revealing data leakage risks.

Principles

Method

Extended compression-based memorization analysis to frozen-base models to measure bits written by adapters.

In practice

Topics

Best for: Research Scientist, CTO, VP of Engineering/Data, AI Scientist, Machine Learning Engineer, AI Security Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Takara TLDR - Daily AI Papers.