Fast-MIA: Efficient and Scalable Membership Inference for LLMs

Hiromu Takahashi, Shotaro Ishihara


Abstract
We propose Fast-MIA (https://github.com/Nikkei/fast-mia), a Python library for efficiently evaluating membership inference attacks (MIA) against large language models (LLMs).MIA has emerged as a crucial technique for auditing privacy risks and copyright infringement in LLMs. However, computational demands have grown substantially: recent methods rely on repeated inference, while practical auditing requires large-scale evaluation.Progress is further hindered by existing implementations that execute methods independently, redundantly computing shared intermediate results such as log-probabilities.To address these challenges, Fast-MIA combines two strategies: (1) high-throughput batch inference via vLLM, achieving approximately 5× speedup, and (2) a cross-method caching architecture that computes intermediate results once and shares them across methods.The library includes representative MIA methods under a unified framework, integrates with established benchmarks, and supports flexible YAML configuration.We release Fast-MIA under the Apache License 2.0 to support scalable and reproducible MIA research.
Anthology ID:
2026.acl-demo.9
Volume:
Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations)
Month:
July
Year:
2026
Address:
San Diego, California, United States
Editors:
Greg Durrett, Ping Jian
Venue:
ACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
89–98
Language:
URL:
https://preview.aclanthology.org/ingest-acl/2026.acl-demo.9/
DOI:
Bibkey:
Cite (ACL):
Hiromu Takahashi and Shotaro Ishihara. 2026. Fast-MIA: Efficient and Scalable Membership Inference for LLMs. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), pages 89–98, San Diego, California, United States. Association for Computational Linguistics.
Cite (Informal):
Fast-MIA: Efficient and Scalable Membership Inference for LLMs (Takahashi & Ishihara, ACL 2026)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingest-acl/2026.acl-demo.9.pdf