SPHERE: privacy-preserving synthetic twins of sensitive tabular data. macOS app (Apple Silicon) to generate, evaluate (fidelity + privacy scores) and analyse twins on your Mac; your real data is never uploaded. Free for non-commercial academic research. This repo: handbook, examples and releases (source not public).
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Privacy-preserving synthetic twins of sensitive tabular data — generated, evaluated and analysed on your Mac, without your real records leaving it.
SPHERE is a macOS desktop app for generating, evaluating and analysing privacy-preserving synthetic data — a SPHERE twin of your real data matrix that keeps its statistical structure without carrying its records.
Your real data is read locally and never uploaded. See What leaves your Mac for the precise boundary.
Beta. SPHERE is in active development. Please read the Privacy Handbook before using it with sensitive data.查看完整 README ↗Privacy-preserving synthetic twins of sensitive tabular data — generated, evaluated and analysed on your Mac, without your real records leaving it.
Website · Download for Mac · Preprint · Privacy Handbook · Validation · SPHERE World catalog
SPHERE is a macOS desktop app for generating, evaluating and analysing privacy-preserving synthetic data — a SPHERE twin of your real data matrix that keeps its statistical structure without carrying its records.
Your real data is read locally and never uploaded. See What leaves your Mac for the precise boundary.
Beta. SPHERE is in active development. Please read the Privacy Handbook before using it with sensitive data.
SPHERE-<version>-arm64.dmg from the latest GitHub release.You need macOS 12 or later on Apple Silicon and an internet connection — see Requirements. The app is signed and notarized by Apple. Updates download automatically; click Update ready · Restart in SPHERE to install one.
SPHERE AI is powered by a cloud model, so it is worth being exact about what it does and does not receive.
Your real data is never sent. The assistant develops its analysis against the SPHERE twin — synthetic data with the same schema and statistical shape. It has no access to the real file.
When you deploy that analysis on your real data, the run happens locally. The analysis code executes on your machine inside a sandbox with networking denied.
Results are sent only if you ask for a written summary, and only after you have seen them. SPHERE shows you the exact text that will be sent and waits for you to approve it. Aggregate statistics and figures are included; individual records from your real data are not.
Your conversation is routed through SPHERE. The AI features do not talk to Anthropic directly — requests go through SPHERE's proxy so usage can be metered, and the conversation is retained with your account. This applies whether SPHERE pays for the model or you bill it to your institution's own Anthropic account.
Generating, evaluating and certifying need a connection. The work runs on your Mac, but before each generate, evaluate or certificate save (including saving a ZIP, which holds the certificate) starts, the app asks SPHERE's server to approve it. The request is tied to your account and contains only a random request ID, the step, the row and column counts and file size where the app knows them before the step (in practice your original file's size for generate and evaluate), and the app version. If SPHERE can't be reached, the app retries for up to about 30 seconds, then stops the step before any work is done and says so. Signing in still needs a connection the first time, and again once 7 days have passed since the app last confirmed your sign-in with SPHERE; within those 7 days an app without a connection stays signed in but cannot generate, evaluate or certify.
A small usage record is kept. After each generate, evaluate, certify or share, the app records which step it was (and, for a share, where to), when it happened, how long it took (for generate and evaluate), the row and column counts and the file size where they apply, the app version and, for generate, evaluate and certify, the ID of the step's approval, and sends that to SPHERE with your account the next time it is online with that account signed in. For generate and evaluate the row and column counts and the file size are your original file's (a twin has the same number of rows and columns as the original); for a share they describe the synthetic file. It never contains your data, file names, paths or column names.
The Privacy Handbook documents this in full, including a Limits you should know about section stating plainly what the design does not guarantee.
SPHERE AI is free for academic research during the research preview, within a monthly usage limit that resets on the 1st; commercial use needs a licence. The free usage limit may change or end with notice, and SPHERE AI can pause for everyone when the monthly research budget is reached.
SPHERE produces two independent scores for every SPHERE twin:
| Score | What it measures |
|---|---|
| Fidelity | How closely the twin reproduces the statistical properties of the real data — means, variances, correlations and marginal distributions — on a 0–100 scale |
| Privacy | How resistant the twin is to singling-out, linkability and inference attacks, normalised against a baseline so that 100 means no measurable excess risk |
Every evaluation can be exported as a certificate recording both scores, the file fingerprints and the parameters used.
For pipelines, HPC environments or scripting, the SPHERE algorithm is also available as a standalone command-line tool:
npm install -g sphere-cli
sphere generate real.csv -o synth.csv
sphere evaluate real.csv synth.csv
→ sphere-cli on GitHub · sphere-cli on npm
The examples/ folder contains real NHANES-derived datasets with their SPHERE twins, certificates and parameter files — enough to see what the output looks like before running it on your own data.
If you use SPHERE in your research, please cite the preprint:
Zihuai He, Junyoung Park, Rafael Catoia Pulgrossi, Justin Lee, Robert R. Butler III, Audrey Weber, Lu Tian, Xiang Zhang, Julie Fangran Wang, Sharon Sha, Elizabeth C. Mormino, Tony Wyss-Coray, Victor W. Henderson, Frank M. Longo, James Zou, Manisha Desai, Russ Altman. Unlocking Sensitive Data with SPHERE in the Age of AI. bioRxiv (2026). doi:10.64898/2026.09.01.748580
@article{He2026SPHERE,
title = {Unlocking Sensitive Data with {SPHERE} in the Age of {AI}},
author = {He, Zihuai and Park, Junyoung and Pulgrossi, Rafael Catoia and Lee, Justin and
Butler, III, Robert R. and Weber, Audrey and Tian, Lu and Zhang, Xiang and
Wang, Julie Fangran and Sha, Sharon and Mormino, Elizabeth C. and Wyss-Coray, Tony and
Henderson, Victor W. and Longo, Frank M. and Zou, James and Desai, Manisha and Altman, Russ},
journal = {bioRxiv},
year = {2026},
doi = {10.64898/2026.09.01.748580},
url = {https://doi.org/10.64898/2026.09.01.748580},
note = {Preprint}
}
The same reference is in CITATION.cff, which GitHub's Cite this repository button reads.
This repo distributes the app: the handbook, examples, citation metadata and release binaries. The application source is not public. The "Source code" archive GitHub attaches to each release contains only the files listed here.
Copyright © 2026 The Board of Trustees of the Leland Stanford Junior University.
SPHERE is licensed on Stanford's terms. LICENSE governs — the following is only a summary of it:
For licensing inquiries: [email protected]