arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.23074cs.CRcs.CL
收藏

Fast-MIA:高效且可扩展的大型语言模型成员推断

Fast-MIA: Efficient and Scalable Membership Inference for LLMs

Independent Researcher(独立研究者);Nikkei Inc.(日本 Nikkei 公司)

Hiromu Takahashi, Shotaro Ishihara

AI总结:

本文提出Fast-MIA库,通过高吞吐量批量推理和交叉方法缓存架构,提升LLM成员推断攻击的效率与可扩展性,支持统一框架和灵活配置,促进可重复的隐私风险审计研究。

摘要:

我们提出Fast-MIA(https://github.com/Nikkei/fast-mia),一个用于高效评估对抗大型语言模型(LLM)成员推断攻击(MIA)的Python库。MIA已成为审计LLM隐私风险和版权侵权的关键技术。然而,计算需求显著增加:近期方法依赖重复推理,而实际审计需要大规模评估。现有实现通过独立执行方法,重复计算共享中间结果如log-probabilities,阻碍了进展。为解决这些问题,Fast-MIA结合两种策略:(1)通过vLLM实现高吞吐量批量推理,实现约5倍加速;(2)交叉方法缓存架构,一次计算中间结果并跨方法共享。该库包含代表性的MIA方法,整合现有基准测试,并支持灵活的YAML配置。我们以Apache License 2.0发布Fast-MIA,以支持可扩展和可重复的MIA研究。

英文摘要:

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$\times$ 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑