Built independently by an author, for readers. Read the story and support ChapterPal

keyword

sample complexity

Sample complexity is the number of training samples, observations, or environment interactions that a machine learning algorithm requires to learn a target concept, function, or policy with high accuracy and high probability. In computational and statistical learning theory, it serves as a standard metric for evaluating the data efficiency of an algorithm, typically expressed as a mathematical function of the desired error tolerance, the allowed failure probability, and the intrinsic complexity or dimension of the hypothesis class. Lower sample complexity indicates that an algorithm can generalize effectively or achieve near-optimal decision-making using less data, contrasting with computational complexity, which measures the processing time or memory required during the learning process.

11 items

Pessimistic Model-based Offline Reinforcement Learning under Partial Coverage

Pessimistic Model-based Offline Reinforcement Learning under Partial Coverage

Masatoshi Uehara, Wen Sun

OrganizationsCornell University

Why you should read this

Develops Constrained Pessimistic Policy Optimization (CPPO) to prove that model-based offline reinforcement learning with general function approximation can succeed under partial data coverage, extending PAC guarantees to low-rank and factored MDPs.

We study model-based offline Reinforcement Learning with general function approximation without a full coverage assumption on the offline data distribution. We present an algorithm named Constrained Pessimistic Policy Optimization (CPPO)which leverages a general function class and uses a constraint over the model class to encode pessimism. Under the assumption that the ground truth model belongs to our function class (i.e., realizability in the function class), CPPO has a PAC guarantee with offline data only providing partial coverage, i.e., it can learn a policy that competes against any policy that is covered by the offline data. We then demonstrate that this algorithmic framework can be applied to many specialized Markov Decision Processes where additional structural assumptions can further refine the concept of partial coverage. Two notable examples are: (1) low-rank MDP with representation learning where the partial coverage condition is defined using a relative condition number measured by the unknown ground truth feature representation; (2) factored MDP where the partial coverage condition is defined using density ratio based concentrability coefficients associated with individual factors.

Added

2026-10-05

Linear-Time User-Level DP SCO via Robust Statistics

Linear-Time User-Level DP SCO via Robust Statistics

Pasin Manurangsi, Badih Ghazi, Daogao Liu, Ravi Kumar

OrganizationsGoogle

Why you should read this

Introduces a linear-time algorithm for user-level differentially private stochastic convex optimization that employs median and trimmed-mean gradient estimators to eliminate per-step noise accumulation and achieve near-optimal privacy-utility trade-offs.

User-level differentially private stochastic convex optimization (DP-SCO) has garnered significant attention due to the paramount importance of safeguarding user privacy in modern large-scale machine learning applications. Current methods, such as those based on differentially private stochastic gradient descent (DP-SGD), often struggle with high noise accumulation and suboptimal utility due to the need to privatize every intermediate iterate. In this work, we introduce a novel linear-time algorithm that leverages robust statistics, specifically the median and trimmed mean, to overcome these challenges. Our approach uniquely bounds the sensitivity of all intermediate iterates of SGD with gradient estimation based on robust statistics, thereby significantly reducing the gradient estimation noise for privacy purposes and enhancing the privacy-utility trade-off. By sidestepping the repeated privatization required by previous methods, our algorithm not only achieves an improved theoretical privacy-utility trade-off but also maintains computational efficiency. We complement our algorithm with an information-theoretic lower bound, showing that our upper bound is optimal up to logarithmic factors and the dependence on ϵ\epsilon. This work sets the stage for more robust and efficient privacy-preserving techniques in machine learning, with implications for future research and application in the field.

Added

2026-10-01

On the Hardness of Bandit Learning

On the Hardness of Bandit Learning

Nataly Brukhim, Aldo Pacchiano, Miro Dudík, Robert E. Schapire

OrganizationsBoston UniversityBroad InstituteInstitute for Advanced StudyMicrosoft

Why you should read this

Establishes fundamental theoretical limits of structured bandit learning by proving that no combinatorial dimension can characterize learnability and demonstrating that finding optimal actions can be computationally intractable even when sample complexity is minimal and standard empirical risk minimization is efficient.

We study the task of bandit learning, also known as best-arm identification, under the assumption that the true reward function f belongs to a known, but arbitrary, function class F. We seek a general theory of bandit learnability, akin to the PAC framework for classification. Our investigation is guided by the following two questions: (1) which classes F are learnable, and (2) how they are learnable. For example, in the case of binary PAC classification, learnability is fully determined by a combinatorial dimension - the VC dimension- and can be attained via a simple algorithmic principle, namely, empirical risk minimization (ERM). In contrast to classical learning-theoretic results, our findings reveal limitations of learning in structured bandits, offering insights into the boundaries of bandit learnability. First, for the question of "which", we show that the paradigm of identifying the learnable classes via a dimension-like quantity fails for bandit learning. We give a simple proof demonstrating that no combinatorial dimension can characterize bandit learnability, even in finite classes, following a standard definition of dimension introduced by Ben-David et al. (2019). For the question of "how", we prove a computational hardness result: we construct a reward function class for which at most two queries are needed to find the optimal action, yet no algorithm can do so in polynomial time unless RP=NP. We also prove that this class admits efficient algorithms for standard algorithmic operations often considered in learning theory, such as an ERM. This implies that computational hardness is in this case inherent to the task of bandit learning. Beyond these results, we investigate additional themes such as learning under noise, trade-offs between noise models, and the relationship between query complexity and regret minimization.

Added

2026-09-29

In-context Convergence of Transformers

In-context Convergence of Transformers

Yu Huang, Yuan Cheng, Yingbin Liang

OrganizationsNational University of SingaporeThe Ohio State UniversityUniversity of Pennsylvania

Why you should read this

Establishes the first finite-time convergence guarantees and characterizes the stage-wise gradient descent dynamics of single-layer softmax transformers performing in-context learning on linear tasks across balanced and imbalanced feature distributions.

Transformers have recently revolutionized many domains in modern machine learning and one salient discovery is their remarkable in-context learning capability, where models can solve an unseen task by utilizing task-specific prompts without further parameters fine-tuning. This also inspired recent theoretical studies aiming to understand the in-context learning mechanism of transformers, which however focused only on linear transformers. In this work, we take the first step toward studying the learning dynamics of a one-layer transformer with softmax attention trained via gradient descent in order to in-context learn linear function classes. We consider a structured data model, where each token is randomly sampled from a set of feature vectors in either balanced or imbalanced fashion. For data with balanced features, we establish the finite-time convergence guarantee with near-zero prediction error by navigating our analysis over two phases of the training dynamics of the attention map. More notably, for data with imbalanced features, we show that the learning dynamics take a stage-wise convergence process, where the transformer first converges to a near-zero prediction error for the query tokens of dominant features, and then converges later to a near-zero error for query tokens of under-represented features, via one and four training phases. Our proof features new techniques for analyzing the competing strengths of two types of attention weights, the change of which determines different training phases.

Added

2026-09-26

Unpacking Reward Shaping: Understanding the Benefits of Reward Engineering on Sample Complexity

Unpacking Reward Shaping: Understanding the Benefits of Reward Engineering on Sample Complexity

Abhishek Gupta, Aldo Pacchiano, Yuexiang Zhai, Sham M. Kakade, Sergey Levine

OrganizationsHarvard UniversityMicrosoftUniversity of California BerkeleyUniversity of Washington

Why you should read this

Establishes theoretical guarantees and algorithmic methods showing how reward shaping provably improves reinforcement learning sample complexity by reducing the effective state space and horizon dependence during exploration.

Reinforcement learning provides an automated framework for learning behaviors from high-level reward specifications, but in practice the choice of reward function can be crucial for good results – while in principle the reward only needs to specify what the task is, in reality practitioners often need to design more detailed rewards that provide the agent with some hints about how the task should be completed. The idea of this type of “reward-shaping” has been often discussed in the literature, and is often a critical part of practical applications, but there is relatively little formal characterization of how the choice of reward shaping can yield benefits in sample complexity. In this work, we build on the framework of novelty-based exploration to provide a simple scheme for incorporating shaped rewards into RL along with an analysis tool to show that particular choices of reward shaping provably improve sample efficiency. We characterize the class of problems where these gains are expected to be significant and show how this can be connected to practical algorithms in the literature. We confirm that these results hold in practice in an experimental evaluation, providing an insight into the mechanisms through which reward shaping can significantly improve the complexity of reinforcement learning while retaining asymptotic performance.

Added

2026-09-26

A Convergence Theory for Deep Learning via Over-Parameterization

A Convergence Theory for Deep Learning via Over-Parameterization

Zeyuan Allen-Zhu, Yuanzhi Li, Zhao Song

OrganizationsHarvard UniversityMicrosoftPrinceton UniversityStanford UniversityUniversity of Texas at AustinUniversity of Washington

Why you should read this

Proves that standard stochastic gradient descent finds global minima in polynomial time for deep, over-parameterized neural networks with ReLU activations across fully-connected, convolutional, and residual architectures.

Deep neural networks (DNNs) have demonstrated dominating performance in many fields; since AlexNet, networks used in practice are going wider and deeper. On the theoretical side, a long line of works has been focusing on training neural networks with one hidden layer. The theory of multi-layer networks remains largely unsettled. In this work, we prove why stochastic gradient descent (SGD) can find global minima\textit{global minima} on the training objective of DNNs in polynomial time\textit{polynomial time}. We only make two assumptions: the inputs are non-degenerate and the network is over-parameterized. The latter means the network width is sufficiently large: polynomial\textit{polynomial} in LL, the number of layers and in nn, the number of samples. Our key technique is to derive that, in a sufficiently large neighborhood of the random initialization, the optimization landscape is almost-convex and semi-smooth even with ReLU activations. This implies an equivalence between over-parameterized neural networks and neural tangent kernel (NTK) in the finite (and polynomial) width setting. As concrete examples, starting from randomly initialized weights, we prove that SGD can attain 100% training accuracy in classification tasks, or minimize regression loss in linear convergence speed, with running time polynomial in n,Ln,L. Our theory applies to the widely-used but non-smooth ReLU activation, and to any smooth and possibly non-convex loss functions. In terms of network architectures, our theory at least applies to fully-connected neural networks, convolutional neural networks (CNN), and residual neural networks (ResNet).

Added

2026-09-24