Model Inversion Attacks on Llama 3: Extracting PII from Large Language Models

Sathesh P. Sivashanmugam
7/6/2025
cs.LGcs.AIcs.CR

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) have transformed natural language processing, but their ability to memorize training data poses significant privacy risks. This paper investigates model inversion attacks on the Llama 3.2 model, a multilingual LLM developed by Meta. By querying the model with carefully crafted prompts, we demonstrate the extraction of personally identifiable information (PII) such as passwords, email addresses, and account numbers. Our findings highlight the vulnerability of even smaller LLMs to privacy attacks and underscore the need for robust defenses. We discuss potential mitigation strategies, including differential privacy and data sanitization, and call for further research into privacy-preserving machine learning techniques.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sivashanmugam2025model,
  title  = {Model Inversion Attacks on Llama 3: Extracting PII from Large Language Models},
  author = {Sathesh P. Sivashanmugam},
  year   = {2025},
  eprint = {2507.04478},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.04478v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.04478.svg)](https://codeofpaper.com/paper/2507.04478)

Discussion