Skip to content

Add user-level DP support to the local-mode synthesizer. - #105

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/956644098
Open

Add user-level DP support to the local-mode synthesizer.#105
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/956644098

Conversation

@copybara-service

Copy link
Copy Markdown

Add user-level DP support to the local-mode synthesizer.

Introduce a max_records_per_user (k) parameter across the discrete mechanisms,
local-mode primitives/initializers, and TabularSynthesizer, so a single user
may contribute up to k rows; the noise for one-way, measurement, and
total-count queries is scaled accordingly. The default k=1 preserves existing
behavior. Also surface the TabularCodec on DataGenerationResult so callers
can map model axes back to labels.

Introduce a `max_records_per_user` (k) parameter across the discrete mechanisms,
local-mode primitives/initializers, and `TabularSynthesizer`, so a single user
may contribute up to k rows; the noise for one-way, measurement, and
total-count queries is scaled accordingly. The default k=1 preserves existing
behavior. Also surface the `TabularCodec` on `DataGenerationResult` so callers
can map model axes back to labels.

PiperOrigin-RevId: 956644098
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants