Skip to content

Commit 723a0d9

Browse files
committed
release: private evolution for images using simulators
1 parent 254bd78 commit 723a0d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2577
-19
lines changed

.github/workflows/sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python
1515
uses: actions/setup-python@v4
1616
with:
17-
python-version: '3.8' # Replace with your Python version
17+
python-version: '3.9' # Replace with your Python version
1818
- name: Install dependencies
1919
run: |
2020
sudo apt-get update

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ This repo is a Python library to **generate differentially private (DP) syntheti
88
* **Differentially Private Synthetic Data via Foundation Model APIs 2: Text**
99
[[paper (ICML 2024 Spotlight)]](https://proceedings.mlr.press/v235/xie24g.html) [[paper (arxiv)](https://arxiv.org/abs/2403.01749)] [[website](https://alphapav.github.io/augpe-dpapitext)]
1010
**Authors:** [[Chulin Xie](https://alphapav.github.io/)], [[Zinan Lin](https://zinanlin.me/)], [[Arturs Backurs](https://www.mit.edu/~backurs/)], [[Sivakanth Gopi](https://www.microsoft.com/en-us/research/people/sigopi/)], [[Da Yu](https://dayu11.github.io/)], [[Huseyin Inan](https://www.microsoft.com/en-us/research/people/huinan/)], [[Harsha Nori](https://www.microsoft.com/en-us/research/people/hanori/)], [[Haotian Jiang](https://jhtdavid96.wixsite.com/jianghaotian)], [[Huishuai Zhang](https://huishuai-git.github.io/)], [[Yin Tat Lee](https://yintat.com/)], [[Bo Li](https://aisecure.github.io/)], [[Sergey Yekhanin](http://www.yekhanin.org/)]
11+
* **Differentially Private Synthetic Data via APIs 3: Using Simulators Instead of Foundation Models**
12+
[[paper (arxiv)](https://arxiv.org/abs/2502.05505)]
13+
**Authors:** [[Zinan Lin](https://zinanlin.me/)], [[Tadas Baltrusaitis](https://www.microsoft.com/en-us/research/people/tabaltru/)], [[Sergey Yekhanin](http://www.yekhanin.org/)]
1114

1215
Please refer to [this repo](https://github.com/fjxmlzn/private-evolution-papers) for the full list of Private Evolution papers and code repositories related to PE.
1316

@@ -16,8 +19,9 @@ Please refer to the [documentation](https://microsoft.github.io/DPSDA/) for more
1619

1720
## News
1821

19-
* `1/8/2025`: **Text generation** based on the paper [`Differentially Private Synthetic Data via Foundation Model APIs 2: Text`](https://arxiv.org/abs/2403.01749) has been integrated into the library! If you want to reproduce the results in the [paper](https://arxiv.org/abs/2403.01749), please refer to [our original codebase](https://github.com/AI-secure/aug-pe).
20-
* `11/21/2024`: The refactored codebase for **image generation** based on the paper [`Differentially Private Synthetic Data via Foundation Model APIs 1: Images`](https://arxiv.org/abs/2305.15560) has been released! It is completely refactored to be more modular and easier to use and extend. The code originally published with the [paper](https://arxiv.org/abs/2305.15560) has been moved to the [deprecated](https://github.com/microsoft/DPSDA/tree/deprecated) branch in this repository, which is no longer maintained.
22+
* `2/11/2025`: **Image generation with simulator APIs** based on the paper [`Differentially Private Synthetic Data via APIs 3: Using Simulators Instead of Foundation Models`](https://arxiv.org/abs/2502.05505) has been released in this library!
23+
* `1/8/2025`: **Text generation with foundation model APIs** based on the paper [`Differentially Private Synthetic Data via Foundation Model APIs 2: Text`](https://arxiv.org/abs/2403.01749) has been integrated into the library! If you want to reproduce the results in the [paper](https://arxiv.org/abs/2403.01749), please refer to [our original codebase](https://github.com/AI-secure/aug-pe).
24+
* `11/21/2024`: The refactored codebase for **image generation with foundation model APIs** based on the paper [`Differentially Private Synthetic Data via Foundation Model APIs 1: Images`](https://arxiv.org/abs/2305.15560) has been released! It is completely refactored to be more modular and easier to use and extend. The code originally published with the [paper](https://arxiv.org/abs/2305.15560) has been moved to the [deprecated](https://github.com/microsoft/DPSDA/tree/deprecated) branch in this repository, which is no longer maintained.
2125

2226
## Contributing
2327

doc/build_autodoc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sphinx-apidoc -e -f --module-first -d 7 -o source/api ../pe ../pe/*/test* ../pe/*/bk*
1+
sphinx-apidoc -e -f --module-first -d 7 -o source/api ../pe ../pe/*/test* ../pe/*/*/test* ../pe/*/bk*
22
make clean html
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pe.api.image.avatar\_api module
2+
===============================
3+
4+
.. automodule:: pe.api.image.avatar_api
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pe.api.image.draw\_text\_api module
2+
===================================
3+
4+
.. automodule:: pe.api.image.draw_text_api
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pe.api.image.nearest\_image\_api module
2+
=======================================
3+
4+
.. automodule:: pe.api.image.nearest_image_api
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

doc/source/api/pe.api.image.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@ Submodules
2020
.. toctree::
2121
:maxdepth: 7
2222

23+
pe.api.image.avatar_api
24+
pe.api.image.draw_text_api
2325
pe.api.image.improved_diffusion_api
26+
pe.api.image.nearest_image_api
2427
pe.api.image.stable_diffusion_api
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pe.callback.common.compute\_precision\_recall module
2+
====================================================
3+
4+
.. automodule:: pe.callback.common.compute_precision_recall
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

doc/source/api/pe.callback.common.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ Submodules
1313
:maxdepth: 7
1414

1515
pe.callback.common.compute_fid
16+
pe.callback.common.compute_precision_recall
1617
pe.callback.common.save_checkpoints
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pe.callback.image.dpimagebench\_classify\_images module
2+
=======================================================
3+
4+
.. automodule:: pe.callback.image.dpimagebench_classify_images
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

0 commit comments

Comments
 (0)