jax_privacy.matrix_factorization.toeplitz
Library for working with general Toeplitz matrices.
In particular, lower-triangular Toeplitz matrices used in DP matrix factorization algorithms. Generally, these functions operate directly in terms of the n Toeplitz coefficients, and hence can be much more efficient than doing the calculations on the materialized n**2 matrices.
Functions
Returns Toeplitz noising coefficients for the BISR factorization. |
|
Returns squared sensitivity for a banded inverse Toeplitz noising matrix. |
|
|
Create $C^{-1}$ as a StreamingMatrix object. |
|
Finds the inverse coefficients of a lower-triangularToeplitz matrix. |
|
Error of C on prefix workload under single participation. |
|
Creates a lower-triangular Toeplitz matrix. |
|
Returns the sensitivity of the Toeplitz matrix. |
|
Computes the matrix product of two lower-triangular Toeplitz matrices. |
Returns the coefs of the optimal Toeplitz noise matrix for max error. |
|
Returns the coefs of the optimal Toeplitz strategy matrix C for max error. |
|
|
Optimize over banded inverse Toeplitz noising matrices for BandInvMF. |
|
Optimize over the space of banded Toeplitz strategies on a Prefix workload. |
|
Select num_bands (and coefs) to minimize loss subject to a privacy target. |
|
Materializes length-n Toeplitz coefficients. |
|
Expected per-query squared error for a (banded) Toeplitz mechanism. |
|
Sensitivity^2 under single participation. |
|
Solve the linear system T_{coef} x = rhs for x for Toeplitz matrix T. |