# A unified framework for learning with nonlinear model classes from arbitrary linear samples

Guarantees show how much data nonlinear models need from arbitrary linear measurements

Ben Adcock, Juan M. Cardenas, Nick Dexter · arXiv · 2023-11-25

- **Problem** Guarantees for general model classes usually assume Gaussian random measurements, which are rarely practical. Nonlinear models with general linear measurements have had no unified bounds, so each new combination needs a fresh argument.
- **Method** The authors bound the sample count using the variation of the model class and an entropy integral. The variation measures how the sampling operators interact with the model, and the entropy integral measures the model's complexity.
- **Results** The authors prove that the expected squared error is bounded by the best approximation error plus noise and θ terms. The framework recovers known compressed sensing and matrix sketching results as direct corollaries.

## Why sample counts for nonlinear models are hard to bound

Learning an unknown object from training data means choosing an approximation from a model class. The practical question is how much data suffices, and the answer depends on the model class and on the random process that generates the data. The paper frames this as a question about how much training data guarantees good generalization.

Most existing answers are tied to one data type or one model family. Examples include pointwise evaluations, Fourier or Radon samples, sparse vectors, low-rank matrices and generative models. A reader who wants a bound for a new combination of measurement type and model class usually has to rebuild the argument from scratch.

General guarantees for arbitrary model classes have mostly been stated for Gaussian or sub-Gaussian random measurements. The authors describe these guarantees as mathematically elegant but typically not useful in practice. That leaves a gap for general measurements combined with nonlinear models.

The framework is built to close this gap by allowing arbitrary separable Hilbert spaces for the object. Measurements may be scalar-valued, vector-valued, or take values in an infinite-dimensional Hilbert space. Each sampling operator is random and may differ from one measurement to the next. Model classes can be linear or nonlinear, so the framework covers both.

## The framework: arbitrary samples and arbitrary model classes

The unknown object lives in a separable Hilbert space, and the framework sees it only through m measurements. Each measurement applies a random bounded linear operator drawn from its own distribution, so the operators can differ from one measurement to the next. The measurement output can be scalar-valued, vector-valued, or an element of an infinite-dimensional Hilbert space.

Each sampling distribution maps the object space with seminorm into a measurement space that carries its own inner product and norm.

The key requirement on the sampling distributions is nondegeneracy, which the authors state with constants 0 \< α ≤ β \< ∞. Nondegeneracy keeps the average expected squared norm of the samples between α times the squared norm of the object and β times that squared norm. When α and β both equal one, the family is called isotropic. Because the distributions may differ across measurements, the framework covers multimodal sampling as long as nondegeneracy holds.

Multimodal data groups the m measurements into C types, each with its own distribution A(c) and its own count m\_c.

Each measurement is the sampled object plus a noise term e\_i, so the data takes the form of pairs of operators and noisy outputs. The model class U is a subset of the object space, and the authors aim to learn the target from its measurements with an element of U. The estimator is empirical least squares, which picks the element of U that minimises the sum of squared residuals over the m measurements.

The authors also allow an approximate minimiser, to model the case where the minimisation is solved inexactly. The target need not lie in U, and the noise may be adversarial as long as it is small in norm, which the authors call agnostic learning. The framework includes scalar and vector function regression, matrix sketching, and compressed sensing with isotropic vectors, so the model class can be linear or nonlinear.

In many applications the authors take all sampling distributions equal, so A1 = ... = Am = A, while multimodal sampling lets them differ. Model classes are not restricted in the framework, so the later results rely on the entropy integrals of the chosen class.

## Variation and entropy as the two parts of the sample count

The measurement condition splits the sample requirement into two parts, one about the sampling operators and one about the model class. The first part is the variation, the smallest constant Φ = Φ(V;A) such that the squared norm of A(v) stays below Φ for every v in V, almost surely over the sampling operator. The variation is defined through the smallest such constant, but any upper bound on it can be used in the proofs.

The variation generalizes the coherence from classical compressed sensing, so it links the new framework to older results.

The second part is an entropy integral built from covering numbers, which measures the intrinsic complexity of the model class. A covering number N(K, d, t) is the minimum cardinality of a t-covering of K, that is, the fewest balls of radius t centred in K that cover it. The measurement condition (1.5) multiplies the variation of S(∆U) by the squared entropy integral plus a log(2/ϵ) term.

Here the set S(∆U) is the unit sphere of the difference set ∆U = U − U, which contains the differences of elements of U. The entropy integral is taken over the same set S(∆U), so the two parts describe one set.

Because the sampling operators enter the condition only through the variation, sampling operators with small variation are the ones the theory favours. The same separation suggests a route to active learning, where one minimizes the variation over a class of permitted sampling distributions. The authors leave the entropy integral open in the general theorem, and they add assumptions on U in Corollaries 4.6 and 4.8 to estimate it.

## What the simplified main result guarantees

The simplified main result covers the case where every measurement uses one sampling distribution A and the family is isotropic, with α = β = 1. The model class U is a subset of a finite-dimensional subspace of X0, and the difference set ∆U is assumed to be a cone. The measurement condition (1.5) asks for m to be at least a multiple of the variation of S(∆U) times an entropy integral plus log(2/ϵ), for some ϵ between 0 and 1.

The variation term describes how the sampling operators interact with the set, while the entropy integral measures the intrinsic complexity of U.

Under this condition, the truncated estimator ˇx has expected squared error bounded, up to constants, by the best approximation error in U plus θ squared times ϵ plus the noise term N. Here θ must be at least the norm of the target x, and N is the average of the squared noise norms over the measurements. The estimator ˇx is the minimiser ˆx rescaled to norm at most θ, so the bound applies to a capped estimator.

The truncation exists because the error of the raw minimiser can't be bounded in expectation in general. The authors note that dropping the truncation seems unavoidable if one wants an expectation bound, and they flag that θ must be known a priori. Computing the truncated estimator needs the empirical nondegeneracy constants, which is generally hard in the nonlinear case.

Full Theorem 4.1 relaxes isotropy and identical distributions and allows inexact minimisers, at the cost of a more complicated condition. The variation Φ enters through the nondegeneracy and norm equivalence that the proof relies on, with the norm \|\|\|x\|\|\| defined from the sampling operators.

## Checking the bound on classical and structured sparse models

Here the coherence µ(A) is the smallest constant such that the squared ℓ∞ norm of a is at most µ(A) almost surely. For a unitary sampling matrix, the coherence µ(U) lies between 1 and N, and an incoherent matrix has µ(U) close to 1. In that case the variation is close to s, which is the complexity of the model class.

Applied directly to classical compressed sensing, the measurement condition from Corollary 4.6 scales quadratically in s. The authors fix this by applying Corollary 4.8, which needs a finite set W with the unit ball of ∆U inside its convex hull. For the ℓ2 unit ball of Σs, the set W has size M = 4N, and the variation of S(∆U) ∪ W is at most 2sµ(A).

With this, the measurement condition reduces to m ≳ µ(A) · s · (log(2sµ(A)) · log²(s log(2N/s)) log(N) + log(ϵ⁻¹)), which is linear in s up to logarithmic factors. The authors note that this reproduces the known sparse result from their earlier coherence-based bound (3.9), so the framework recovers an existing bound rather than extending it.

For group sparse vectors with group size g, the variation of S(∆U) ∪ W is at most 4µ(A)sg. The measurement condition then scales as m ≳ µ(A) · s · g times logarithmic factors in sg, P, N and ϵ. This generalizes the bound (5.2), which corresponds to the case g = 1.

The authors also note that the cosparse model satisfies assumption (iii) with \|W\| ≤ 4N when the analysis operator is a Parseval frame.

## Generative models with Lipschitz maps

Here the model class is the range of a map F from a latent space R^k, and the authors take F to be Lipschitz and positively homogeneous. The guarantee also needs an approximation level χ, which the theorem caps at 1/9, and a norm estimate ι\_x. Earlier work by \[11, 12\] covered feedforward ReLU neural networks, while this paper considers a much broader setting with a general Lipschitz map F.

The authors restrict the class to elements whose latent code has norm at most 2η and whose norm exceeds ι\_x by a margin of order χ. This restriction is what allows the entropy integral to be bounded, since the general range would not give a usable estimate. Condition (a) asks that x be approximated up to accuracy χ by some x\* in Ran(F) whose latent code has norm at most η.

Condition (b) asks that ι\_x approximate the norm of x to within accuracy χ.

The measurement conditions scale linearly in the latent dimension k, not in the ambient dimension N. The entropy bound comes from a covering argument: the covering number of the image of a ball of radius r at scale t is at most (1 + 2Lrt)^k. The proof maps a Lipschitz image of a ball, so the Lipschitz constant L enters the covering bound directly.

For the restricted set, the authors bound the covering number by (1 + 4Lη√αχι\_x t)^(2k).

The influence of η is only logarithmic in the measurement conditions, and the authors suggest η around √k, since a standard Gaussian latent prior puts most of its mass inside that radius. The authors claim that their general Lipschitz result is new, since earlier work covered feedforward ReLU networks with Gaussian or subsampled unitary measurements.

## Limitations of the guarantees and the estimator

The estimator needs an a priori bound on the norm of the target object, and that bound is a practical cost of the truncation. The error bound in expectation depends on this bound, so the estimator is truncated at θ rather than left untruncated. A conditional estimator avoids the a priori bound in some limited settings, because it sets the estimate to zero when the event E fails.

Computing this conditional estimator, however, requires computing the empirical nondegeneracy constants.

In the nonlinear case, computing them is generally impossible, so the conditional estimator doesn't apply broadly. For classical compressed sensing, the nondegeneracy condition (8.1) is equivalent to the restricted isometry property. Computing RIP constants is NP-hard, so this route is closed for the classical sparse model.

The set W in that case has size M ≤ 4nd, which leads to a term log(2M) behaving like log(8nd). This term scales logarithmically in d rather than double-logarithmically, which may be problematic. Using this general estimate in the classical compressed sensing case would give a quadratic scaling in s in the measurement bound. For classical compressed sensing, a smaller set W from (5.1) gives a linear scaling in s instead.

The evidence in this excerpt is analytical, consisting of theorems, lemmas and derived bounds. The excerpt shows no numerical experiments, so it doesn't test whether the bounds are tight in practice.

## Paper info

- **Authors**: Ben Adcock, Juan M. Cardenas, Nick Dexter
- **Venue**: arXiv · Preprint
- **First published**: 2023-11-25
- **Added**: 2026-10-29
- **Updated**: 2026-3-5
- **Version**: v2
- **arXiv**: 2311.14886
- **Category**: cs.LG · cs.IT
- **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/2311.14886v2) · [PDF ↗](https://arxiv.org/pdf/2311.14886v2)

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 fundamental problem of learning an unknown object from data using a prescribed model class. We introduce a unified framework that accommodates objects in arbitrary Hilbert spaces, general (possibly vector-valued) random linear measurements and general types of nonlinear models. We establish novel learning guarantees for this framework that explicitly relate the required amount of data to structural properties of the model class, yielding near-optimal generalization bounds. A central concept we introduce is the variation of a model class relative to a distribution of sampling operators, which quantifies how the model interacts with the measurement process. Combined with entropy integrals that capture the model's complexity, this forms the foundation of our guarantees. Our framework is sufficiently general to recover and unify various well-known problems, such as matrix sketching, compressed sensing with isotropic measurements and compressed sensing with generative models. In each case, existing results arise as direct corollaries of our theory. For compressed sensing with generative models, we also derive the first guarantees for arbitrary Lipschitz generative maps combined with general linear measurements. Overall, our work provides a unified perspective on learning from general data and introduces novel theoretical guarantees that consolidate, sharpen and extend existing results.

## Quote from the paper

Ben Adcock, Juan M. Cardenas, Nick Dexter (2023). A unified framework for learning with nonlinear model classes from arbitrary linear samples. arXiv:2311.14886v2. https://arxiv.org/abs/2311.14886v2

**BibTeX**

```
@misc{adcock2023unified,
  title = {{A unified framework for learning with nonlinear model classes from arbitrary linear samples}},
  author = {Ben Adcock and Juan M. Cardenas and Nick Dexter},
  year = {2023},
  eprint = {2311.14886},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.14886v2}
}
```

## Related papers

- [Reward-Augmented Data Enhances Direct Preference Alignment of LLMs](https://refivu.com/en/papers/65834077-ca50-4e4f-a8f0-062cd12e44d8-reward-augmented-data-enhances-direct-preference-alignment.md)
- [From Certified Pairs to a Certified Hub: Reasoner-Checked Crosswalks for the Information Exchange Standard](https://refivu.com/en/papers/2223debf-80ef-4fb4-9106-ea557331d908-from-certified-pairs-to-a-certified-hub-reasoner.md)

## Other paper commentary

- [Scaling Tractable Probabilistic Circuits: A Systems Perspective](https://refivu.com/en/papers/e32b51bf-5311-4420-bc25-ec49bc5d82ec-scaling-tractable-probabilistic-circuits-a-systems.md)
- [Dolphin: A Programmable Framework for Scalable Neurosymbolic Learning](https://refivu.com/en/papers/45dd94f7-4a58-4799-bc56-64bca4cda2ed-dolphin-a-programmable-framework-for-scalable-neurosymbolic.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)
- [TASK Memory: Beyond Text-Only Memory with Activation Steering and Knowledge Editing against Memory Hallucination](https://refivu.com/en/papers/b18e954a-3014-44f6-b927-a1312ec35082-task-memory-beyond-text-only-memory-with-activation.md)
- [The Reliability Function of Error-Correcting Output Codes with Noisy Binary Classifiers](https://refivu.com/en/papers/8c266525-b2cc-4dc5-bfd3-2f2927e30f5a-the-reliability-function-of-error-correcting-output-codes.md)
- [Exploration Hacking: Can LLMs Learn to Resist RL Training?](https://refivu.com/en/papers/dbeab130-4e4c-4074-9b9a-cf61e193e4fb-exploration-hacking-can-llms-learn-to-resist-rl.md)
- [Sparser, Faster, Lighter Transformer Language Models](https://refivu.com/en/papers/c03f76e6-a19f-4ab8-bbcd-67edc4bc8786-sparser-faster-lighter-transformer-language-models.md)
- [To the Max: Reinventing Reward in Reinforcement Learning](https://refivu.com/en/papers/03998282-c5e6-4ef1-816e-db0cf7914a6b-to-the-max-reinventing-reward-in-reinforcement-learning.md)
- [MUDDFormer: Breaking Residual Bottlenecks in Transformers via Multiway Dynamic Dense Connections](https://refivu.com/en/papers/2b11d064-bbbd-40ba-8755-91e0f98fcbf6-muddformer-breaking-residual-bottlenecks-in-transformers-via.md)
- [SWE-Lancer: Can Frontier LLMs Earn $1 Million from Real-World Freelance Software Engineering?](https://refivu.com/en/papers/a2f97f02-0e25-4600-9ab4-dbca1070183e-swe-lancer-can-frontier-llms-earn-1-million.md)
- [Graph Generative Pre-trained Transformer](https://refivu.com/en/papers/f6ca3fa0-e807-499d-af61-83b0cd89bf26-graph-generative-pre-trained-transformer.md)

## Terms in this paper

- [active learning](https://refivu.com/en/terms/0e0dd6f76a6c-active-learning)
- [coherence](https://refivu.com/en/terms/ecb461480940-coherence)
- [Compressed Sensing](https://refivu.com/en/terms/edcd957c4d1d-compressed-sensing)
- [model class](https://refivu.com/en/terms/dfbf8bf11fa0-model-class)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/cd3c393f-7a82-47bc-9d3e-9770cfc27865-a-unified-framework-for-learning-with-nonlinear-model)
