# On Differentially Private Mechanisms for Linear Regression

ContinualAdaSSP gives private least-squares regression on data streams without constraints

Bardiya Aryanfard, Monika Henzinger, Farhood Rostamkhani · arXiv · 2026-11-5

- **Problem** Private linear regression on data streams has only been studied for constrained problems, and existing methods take time polynomial in the stream length per step. Unconstrained regression therefore lacked a fast private method with a useful error bound.
- **Method** ContinualAdaSSP keeps private running sums and re-solves a ridge system each step.
- **Results** The mechanism's suboptimality gap is proportional to sqrt(d) polylog(n), and on real-world datasets it clearly outperforms rerunning the batch algorithm at each time step.

![Figure 3: Results of the experiment for different algorithms forACSIncomedataset withε= 1. They-axis is the lossF(·)(in logarithmic scale) of different algorit…](https://refivu.com/papers/a8e2597e-f4e0-4024-8f09-3e7b34a34de1/figures/figure-83def1e85a562464f6a989946aac18ef.png?thumb=512)

**Figure 3** :Results of the experiment for different algorithms forACSIncomedataset withε= 1. They-axis is the lossF(·)(in logarithmic scale) of different algorithms and thex-axis is time. Solid lines show the median over 10 random seeds and shaded regions show the 25-75th percentile range. AdaSSP1(in light blue) is our mechanism according to our theoretical guarantees,AdaSSP1/16(in dark blue) is a heuristic improvement of it, andNon-private(in green) is the non-private optimal answer

[Original paper](https://arxiv.org/abs/2611.08737v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bardiya Aryanfard, Monika Henzinger, Farhood Rostamkhani · On Differentially Private Mechanisms for Linear Regression · Original paper figure · Extracted the figure area from page 42 of the original PDF.

## Why continual private regression is hard

In the continual observation setting, one data point arrives per time step, and the mechanism must output a private coefficient estimate for all points seen so far. Kasiviswanathan et al. handle only the constrained version, where the coefficient vector must lie in a publicly known set. For the unconstrained setting, their bound says nothing useful, because they give no non-trivial error bound there.

Their per-step running time is polynomial in the total number of data points n, which makes the method hard to run on large or real-time streams. The online setting is a related but different model, since the loss is revealed only after each estimate and evaluated on that single data point.

The paper's answer to this gap is a continual mechanism for unconstrained regression with time complexity per step of O(d 2 logn+d ω) and space complexity O(d 2 logn). The authors revisit the batch ADASSP mechanism of Wang \[2018\] first, and they check its accuracy proof before reusing its idea. Kasiviswanathan et al. use gradient descent, whereas this work uses a variant of sufficient statistics perturbation (SSP).

Lower bounds are also thin, even in the batch setting, because existing results cover only a broader class of objectives. Bassily et al. \[2014\] show polynomial lower bounds for a specific objective in the class of Lipschitz convex and strongly convex functions. Least-squares regression belongs to that class, yet those lower bounds don't apply to least squares itself.

So the authors prove a first nontrivial lower bound for constrained DP least squares, under both pure and approximate DP.

The problem is set up with feature space X and label space Y, and the objective is F(θ) = 1/2 ∥y − Xθ∥ 2 2 over a constraint set Θ. In the unconstrained setting Θ equals R d, which is the case this paper studies by default. Continual privacy uses substitution neighboring, because add-remove neighboring would produce output sequences of different lengths.

## Repairing the batch ADASSP analysis

ADASSP releases private estimates of X^T X and X^T y, then solves a ridge-type system whose regularization weight is chosen adaptively. The mechanism outputs θe = (X'^T X + λI)^-1 X'^T y, so the quality of the output depends on how far those private estimates sit from the true matrices. The high-level argument in Wang \[2018\] is sound, but the authors found cases where the written proof doesn't go through.

To make the failure concrete, they build a counter-example and show that the mechanism's error on it contradicts the claimed bound.

The fix is a small change: the corrected mechanism is Algorithm 3, and the analysis is carried out for that version. Theorem 1.1 states that Algorithm 3 satisfies (ε, δ)-DP, and that it has accuracy when X^T X is invertible. Under those conditions, with probability at least 1 − δ − ϱ − e^(−d/2ϱ²), the excess loss is bounded by a minimum of two expressions.

The first expression scales with the square root of (d + ln(1/ϱ)) · ln(3.75/δ) over ε, and the second scales with that quantity times ∥X∥² ∥(X^T X)^-1∥ squared, so the guarantee depends on which is smaller for a given design.

Lev et al. proposed Iterative Hessian Mixing (IHM) concurrently and independently, and under the normalization ∥X∥ = 1 both bounds share the form (∥Y∥² + ∥θ\*∥²) min{γ, γ²/λmin(X^T X)}. When g\_X is larger, the paper's γ is smaller than IHM's by a factor of order sqrt(g\_X / max{d, log(1/ϱ)}), so the authors' analysis gives the tighter guarantee in that regime.

Note that the g\_X term grows with the eigenvalue spread λmax(X^T X) − λmin(X^T X), which is why the gap appears on ill-conditioned designs.

## How CONTINUALADASSP runs at each step

CONTINUALADASSP replaces the one-shot private estimates of ADASSP with running ones, so the solve can be redone after every arriving pair. It uses O(d^2) instances of a continual counting mechanism, such as the binary tree mechanism, to privately track X^T X and X^T y. The smallest eigenvalue of X^T X is tracked by the sparse vector technique, and that private estimate sets the regularization weight.

The paper's batch counterpart outputs a ridge-type estimate built from private X^T X and X^T y, so the continual version keeps that same structure at every step.

Each counting instance is a binary tree whose nodes store noisy sums over dyadic intervals of time steps. Any prefix sum then combines at most O(log n) stored nodes, which is why each query stays cheap. As a result, the mechanism needs O(d^2 log n) space and O(d^2 log n + d^ω) time per time step. The matrix multiplication exponent ω enters through the eigenvalue maintenance, which costs O(d^ω) operations per step.

The regularization weight is large early on, when the private eigenvalue estimate is small, and it shrinks as more data arrives. Accuracy is shown only for time steps where X^T X is invertible, which form a suffix of the time steps. The privacy guarantee still holds at the earlier steps where X^T X isn't invertible, and the algorithm itself doesn't change.

The experiments suggest the method still beats the other algorithms in those early stages.

## Lower bounds for box-constrained least squares under differential privacy

The paper asks how hard box-constrained least squares is under differential privacy, and it answers with a polynomial lower bound in d. Existing lower bounds from Bassily et al. don't apply to least-squares linear regression, so this gap motivated the work. The authors use the box constraint Θ = \[−R, R\]^d for R \> 0, and they reduce from a problem they call PTU-FPC.

Peter et al. showed PTU-FPC is hard to solve with small error for (1, O(1/n))-DP, using fingerprinting codes. The authors prove a matching lower bound for pure ε-DP mechanisms on PTU-FPC, which they call Theorem 5.6. For pure DP, they first show that exponentially many binary strings of length d have exactly ⌈d/2⌉ ones. Those strings have pairwise Hamming distance at least 0.25d, and a packing argument then turns this into the lower bound.

The reduction from PTU-FPC carries these hardness results over to linear regression. For ε-DP with ε \> 0, the bound is γ ≥ Ω(min(n, d/ε) ∥X∥^4).

## Real-world results against private baselines

The experiments compare CONTINUALADASSP against state-of-the-art algorithms on the Year, ACSIncome and Household datasets. The privacy settings use epsilon in {1, 2} and delta set to 1/n, matching the standard regime in the differential privacy literature. The comparison includes AdaSSP, PQFTL, the batch baseline rerun at each time step, a non-private OLS reference and an all-zero predictor.

Batch reruns the batch DP method of Wang \[2018\] from scratch at each time step, with privacy parameters rescaled by advanced composition.

The authors also test AdaSSP1/16, which scales the regularization parameter by c = 1/16. They chose c from the values 0, 1/64, 1/32, 1/16, 1/8, 1/4, 1/2, 1, 2 and 4, using benchmarks on synthetic datasets. The theory-driven choice c = 1 looked too conservative for real-world scenarios, so the AdaSSP1/16 results rest on a heuristic choice, not on the proven guarantee.

Batch has the worst cost function of all benchmarked algorithms, and it lacks stability in the experiments. The authors attribute this to rescaling its privacy parameters, for example by O(sqrt(T)) for epsilon, because it is a batch algorithm. PQFTL's regularization parameter always grows with time, equal to t alpha, regardless of the required regularization.

That growth pushes the loss of the final time steps close to the loss of Trivial in many experiments, such as Year and ACSIncome.

AdaSSP1/16 gives a very stable performance and clearly outperforms the other algorithms from early on. Its loss approaches the non-private loss in most of the experiments. Table 1 lists the median losses of the methods on the three datasets for both values of epsilon.

![Table 1: Average lossF(θ)/10 4 on real-world datasets, reported as median of 10 independent runs. Bold indicates the best private method. For standard deviatio…](https://refivu.com/papers/a8e2597e-f4e0-4024-8f09-3e7b34a34de1/figures/figure-49e0c8db487ff8c552ab23672235af27.png?thumb=512)

**Table 1** :Average lossF(θ)/10 4 on real-world datasets, reported as median of 10 independent runs. Bold indicates the best private method. For standard deviations see Table 3.

[Original paper](https://arxiv.org/abs/2611.08737v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

## Limitations of the lower bounds, the accuracy guarantee and the scope

The lower bounds only cover box-constrained least squares, so the paper doesn't settle the unconstrained case. Extending the lower bounds to the unconstrained problem and to the continual setting with polylogarithmic dependence on n remains open. The authors' lower bound for the box-constrained problem is polynomial in d, which is why it matches the upper bounds only in d.

The accuracy guarantee of CONTINUALADASSP is not shown for time steps where X^T X isn't invertible. These early time steps form a prefix of the time steps, so the guarantee misses them. The algorithm itself stays the same whether or not X^T X is invertible, and its privacy guarantee holds regardless. The empirical results suggest the algorithm outperforms the other algorithms even in those early stages, but the paper gives no proof for that range.

The authors leave a principled, possibly data-adaptive, choice of the regularization scale with matching guarantees as future work. They don't study the fully dynamic setting, where data points can also be removed.

## Paper info

- **Authors**: Bardiya Aryanfard, Monika Henzinger, Farhood Rostamkhani
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-5
- **Added**: 2026-11-9
- **Updated**: 2026-11-5
- **Version**: v1
- **arXiv**: 2611.08737
- **Category**: cs.LG · cs.CR · cs.DS
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.08737v1) · [PDF ↗](https://arxiv.org/pdf/2611.08737v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

We study the classic least-squares linear regression problem under differential privacy (DP) in the batch and the continual observation setting. In the latter setting, the mechanism receives a stream of $n$ data points $(x\_i,y\_i)$ ($x\_i\\in\\mathbb{R}^d$ and $y\_i\\in\\mathbb{R}$) and must output an estimate of the optimal parameters at each time step $i$. Although differentially private linear regression has been extensively studied in the batch setting, the problem remains underexplored for the continual setting, with prior work being restricted to constrained linear regression and update time polynomial in $n$. In this work, we introduce ContinualAdaSSP, the first mechanism for unconstrained linear regression under continual differential privacy. Our mechanism's suboptimality gap is proportional to $\\sqrt{d}\\operatorname{polylog}(n)$. It requires $O(d^2\\log{n})$ space and $O(d^2\\log{n}+d^ω)$ update time, where $d$ is the dimension of the input space. We also study fundamental limits of differentially private linear regression by showing the first lower bounds for the box-constrained least-squares linear regression problem. Our lower bounds are proportional to $\\min(n,\\frac{\\sqrt{d}}{\\log^{1.5}d})$ for $(1,O(\\frac{1}{n}))$-DP, and $\\min(n,\\frac{d}ε)$ for $ε$-DP, and are derived using a reduction from a fingerprinting code problem from \[Peter et al., 2024\], providing new insights into the inherent hardness of this canonical task. Our experimental evaluation on real-world datasets shows that the accuracy of our continual observation mechanism clearly outperforms any other known differentially private mechanism for this problem such as rerunning the batch algorithm at each time step.

## Quote from the paper

Bardiya Aryanfard, Monika Henzinger, Farhood Rostamkhani (2026). On Differentially Private Mechanisms for Linear Regression. arXiv:2611.08737v1. https://arxiv.org/abs/2611.08737v1

**BibTeX**

```
@misc{aryanfard2026differentially,
  title = {{On Differentially Private Mechanisms for Linear Regression}},
  author = {Bardiya Aryanfard and Monika Henzinger and Farhood Rostamkhani},
  year = {2026},
  eprint = {2611.08737},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08737v1}
}
```

## Other paper commentary

- [A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning](https://refivu.com/en/papers/08306129-4598-48b6-baf3-9d1af09e03a6-a-reduction-of-imitation-learning-and-structured-prediction.md)
- [NICE: Non-linear Independent Components Estimation](https://refivu.com/en/papers/f56da4f3-4308-4b66-a0bf-e0d6e495195a-nice-non-linear-independent-components-estimation.md)
- [Gaussian Error Linear Units (GELUs)](https://refivu.com/en/papers/264fd129-ba49-4e4c-ac1f-59466a4e43ea-gaussian-error-linear-units-gelus.md)
- [Towards Learning Universal, Regional, and Local Hydrological Behaviors via Machine-Learning Applied to Large-Sample Datasets](https://refivu.com/en/papers/c1ee1227-dd45-4aef-9943-a760b7a45dbc-towards-learning-universal-regional-and-local-hydrological.md)
- [The Look-Elsewhere Effect in Searches for New Physics: from Classical Methods to Machine Learning](https://refivu.com/en/papers/40749a33-958c-4352-8394-19db350aef80-the-look-elsewhere-effect-in-searches-for-new.md)
- [When to Trust a PFN: Detecting Harmful Shift in Tabular Foundation Models](https://refivu.com/en/papers/f72c16f8-edc3-4f30-bb5a-814b2eb7dc46-when-to-trust-a-pfn-detecting-harmful-shift.md)
- [AtariBench: Evaluating Spatiotemporal Reasoning of Vision-Language Models in Atari Gameplay](https://refivu.com/en/papers/f06f628b-d075-4ff5-aef2-b7e03d1a833f-ataribench-evaluating-spatiotemporal-reasoning-of-vision.md)
- [When F1 Is Not Enough: Auditing Codebooks for LLM-Assisted Annotation](https://refivu.com/en/papers/0e416b02-da1d-42ed-9f5c-e1981b2782cd-when-f1-is-not-enough-auditing-codebooks-for.md)
- [Learning Whom to Trust About the Unseen: Source Credibility and Reliability Transfer in Language Models](https://refivu.com/en/papers/fbb926d9-355b-4393-a0d1-5f74d0753be0-learning-whom-to-trust-about-the-unseen-source.md)
- [Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates](https://refivu.com/en/papers/bf8267ce-e77f-4570-a90e-1101d0d6d31b-solver-admitted-metamorphic-testing-of-learned-network.md)
- [Functional Dependency beyond Similarity: Hierarchical Decomposition of Training Data Attribution in Music Generative Models](https://refivu.com/en/papers/ae97ff2b-7044-477b-b620-e8d4984e7fc8-functional-dependency-beyond-similarity-hierarchical.md)
- [Notwithstanding Anything to the Contrary, Ignore All Instructions: Measuring Prompt Injection Guards on Legal Contract Review Attacks](https://refivu.com/en/papers/70560a70-9434-4f0a-9c45-c4e127dd557e-notwithstanding-anything-to-the-contrary-ignore-all.md)

## Terms in this paper

- [ridge regression](https://refivu.com/en/terms/dd2ca0e706c0-ridge-regression)
- [differential privacy](https://refivu.com/en/terms/7f2cc899605c-differential-privacy)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/a8e2597e-f4e0-4024-8f09-3e7b34a34de1-on-differentially-private-mechanisms-for-linear-regression)
