HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

A Synthetic Dataset for Personal Attribute Inference

Hanna Yukhymenko; Robin Staab; Mark Vero; Martin Vechev

A Synthetic Dataset for Personal Attribute Inference

Abstract

Recently, powerful Large Language Models (LLMs) have become easily accessible to hundreds of millions of users world-wide. However, their strong capabilities and vast world knowledge do not come without associated privacy risks. In this work, we focus on the emerging privacy threat LLMs pose -- the ability to accurately infer personal information from online texts. Despite the growing importance of LLM-based author profiling, research in this area has been hampered by a lack of suitable public datasets, largely due to ethical and privacy concerns associated with real personal data. We take two steps to address this problem: (i) we construct a simulation framework for the popular social media platform Reddit using LLM agents seeded with synthetic personal profiles; (ii) using this framework, we generate SynthPAI, a diverse synthetic dataset of over 7800 comments manually labeled for personal attributes. We validate our dataset with a human study showing that humans barely outperform random guessing on the task of distinguishing our synthetic comments from real ones. Further, we verify that our dataset enables meaningful personal attribute inference research by showing across 18 state-of-the-art LLMs that our synthetic comments allow us to draw the same conclusions as real-world data. Combined, our experimental results, dataset and pipeline form a strong basis for future privacy-preserving research geared towards understanding and mitigating inference-based privacy threats that LLMs pose.

Code Repositories

eth-sri/llm-anonymization
Mentioned in GitHub
eth-sri/synthpai
Official
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
personality-trait-recognition-on-synthpaiLLama-2 7B
Average accuracy in %: 33%
personality-trait-recognition-on-synthpaiLLama-3 70B
Average accuracy in %: 72.2%
personality-trait-recognition-on-synthpaiMixtral 8x22B
Average accuracy in %: 72%
personality-trait-recognition-on-synthpaiMistral 7B
Average accuracy in %: 42.4%
personality-trait-recognition-on-synthpaiGPT-3.5
Average accuracy in %: 55.9%
personality-trait-recognition-on-synthpaiGemini 1.0 Pro
Average accuracy in %: 64.6%
personality-trait-recognition-on-synthpaiYi 34B
Average accuracy in %: 57.7%
personality-trait-recognition-on-synthpaiClaude-3 Opus
Average accuracy in %: 71.1%
personality-trait-recognition-on-synthpaiClaude-3 Sonnet
Average accuracy in %: 70.9%
personality-trait-recognition-on-synthpaiMixtral 8x7B
Average accuracy in %: 52.3%
personality-trait-recognition-on-synthpaiGemma 7B
Average accuracy in %: 34.9%
personality-trait-recognition-on-synthpaiQwen1.5 110B
Average accuracy in %: 65.7%
personality-trait-recognition-on-synthpaiLLama-2 70B
Average accuracy in %: 56.8%
personality-trait-recognition-on-synthpaiLLama-3 8B
Average accuracy in %: 53.5%
personality-trait-recognition-on-synthpaiGPT-4
Average accuracy in %: 77.9%
personality-trait-recognition-on-synthpaiGemini 1.5 Pro
Average accuracy in %: 67.5%
personality-trait-recognition-on-synthpaiLLama-2 13B
Average accuracy in %: 48.7%
personality-trait-recognition-on-synthpaiClaude-3 Haiku
Average accuracy in %: 64%

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
A Synthetic Dataset for Personal Attribute Inference | Papers | HyperAI