AI-secure/aug-pe
[ICML 2024 Spotlight] Differentially Private Synthetic Data via Foundation Model APIs 2: Text
Implements the Augmented Private Evolution (Aug-PE) algorithm, which generates differentially private synthetic text by iteratively prompting LLM APIs (OpenAI, Hugging Face models) with noisy embeddings of private data, eliminating the need for model training or weight access. The approach embeds private text, adds calibrated DP noise, and uses LLM inference to generate candidate samples ranked by embedding similarity, achieving competitive utility with DP-SGD baselines across Yelp, OpenReview, and PubMed datasets.
No commits in the last 6 months.
Stars
57
Forks
17
Language
Python
License
Apache-2.0
Category
Last pushed
Jan 11, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/AI-secure/aug-pe"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
dottxt-ai/outlines
Structured Outputs
takashiishida/arxiv-to-prompt
Transform arXiv papers into a single LaTeX source that can be used as a prompt for asking LLMs...
microsoft/promptpex
Test Generation for Prompts
Spr-Aachen/LLM-PromptMaster
A simple LLM-Powered chatbot software.
equinor/promptly
A prompt collection for testing and evaluation of LLMs.