Merger-as-a-Stealer: Stealing Targeted PII from Aligned LLMs with Model Merging
Lin Lu, Zhigang Zuo, Ziji Sheng, Pan Zhou
TL;DR
The paper addresses a realistic privacy threat in model merging for LLMs, showing how targeted PII can be extracted from aligned models. It proposes Merger-as-a-Stealer, a two-stage attack that first fine-tunes a malicious model to respond affirmatively to PII prompts and then reconstructs targeted PII from the merged model, leveraging memory transfer formalized by $\Delta\theta_{merged} = Merge(\Delta\theta_1,...,\Delta\theta_N) = \sum_{i=1}^{N} \lambda_i \Delta\theta_i$ and $\theta_{merged} = \theta_{pre} + \Delta\theta_{merged}$. Experiments across multiple victim models and merging methods show substantial exact-match PII extraction (e.g., up to $88\%$ in some configurations) while preserving notable domain utilities, highlighting the stealthy nature of the attack. The results emphasize the urgent need for stronger model alignment and defense mechanisms in model merging workflows to mitigate privacy risks.
Abstract
Model merging has emerged as a promising approach for updating large language models (LLMs) by integrating multiple domain-specific models into a cross-domain merged model. Despite its utility and plug-and-play nature, unmonitored mergers can introduce significant security vulnerabilities, such as backdoor attacks and model merging abuse. In this paper, we identify a novel and more realistic attack surface where a malicious merger can extract targeted personally identifiable information (PII) from an aligned model with model merging. Specifically, we propose \texttt{Merger-as-a-Stealer}, a two-stage framework to achieve this attack: First, the attacker fine-tunes a malicious model to force it to respond to any PII-related queries. The attacker then uploads this malicious model to the model merging conductor and obtains the merged model. Second, the attacker inputs direct PII-related queries to the merged model to extract targeted PII. Extensive experiments demonstrate that \texttt{Merger-as-a-Stealer} successfully executes attacks against various LLMs and model merging methods across diverse settings, highlighting the effectiveness of the proposed framework. Given that this attack enables character-level extraction for targeted PII without requiring any additional knowledge from the attacker, we stress the necessity for improved model alignment and more robust defense mechanisms to mitigate such threats.
