Command Palette
Search for a command to run...
التعقيد المعلوماتي للتحسين المحدب العشوائي: تطبيقات في التعميم والحفظ والتتبّع
التعقيد المعلوماتي للتحسين المحدب العشوائي: تطبيقات في التعميم والحفظ والتتبّع
Idan Attias Gintare Karolina Dziugaite Mahdi Haghifam Roi Livni Daniel M. Roy
الملخص
نبحث في هذا العمل التفاعل بين الحفظ والتعلّم في سياق التحسين المحدب العشوائي (SCO). نُعرّف الحفظ عبر المعلومات التي يكشفها خوارزم التعلّم عن نقاط بيانات التدريب، ثم نكمّم هذه المعلومات باستخدام إطار المعلومات التبادلية الشرطية (CMI) الذي اقترحه شتاينكي وزاكينثينو [SZ20]. النتيجة الرئيسية هي توصيف دقيق للمقايضة بين دقة خوارزم التعلّم من جهة ومقدار CMI من جهة أخرى، مما يُجيب عن سؤال مفتوح طرحه ليفني [Liv23]. نُبَيّن أنه في الإطار محدود ليبشيتز بمعيار L2 وتحت شرط التقعّر القوي، فإن كل متعلّم يمتلك خطأً زائدًا مقداره ε له حدّ أدنى لـ CMI يساوي Ω(1/ε2) وΩ(1/ε) على التوالي. كما نُبرِز الدور الجوهري للحفظ في مسائل التعلّم ضمن SCO من خلال تصميم مهاجم قادر على تحديد نسبة كبيرة من عينات التدريب بدقّة في مسائل SCO محدّدة. أخيرًا، نعدّد عدة استدلالات لنتائجنا، من بينها قصور حدود التعميم القائمة على CMI، وعدم قابلية عينات مسائل SCO للانضغاط.
One-sentence Summary
This work establishes a precise tradeoff between excess error and conditional mutual information in stochastic convex optimization, proving CMI lower bounds of Ω(1/ε2) for L2 Lipschitz-bounded settings and Ω(1/ε) for strongly convex settings, and demonstrates that memorization is inherent by constructing an adversary capable of identifying a significant fraction of training samples.
Key Contributions
- Memorization is defined as the information a learner reveals about its training samples and is measured by conditional mutual information, yielding lower bounds of Ω(1/ε^2) in the L2 Lipschitz bounded setting and Ω(1/ε) under strong convexity for any learner with excess error ε.
- An adversary is constructed for specific stochastic convex optimization instances that accurately identifies a significant fraction of the training samples, showing that memorization is essential for learning these problems.
- Corollaries prove that sample compression schemes achieving sample complexity Θ(1/ε^2) for Lipschitz bounded losses or Θ(1/ε) for strongly convex losses require size Ω(n) when the dimension is at least Ω(n^4 log n), implying limitations of generalization bounds based on CMI and sample incompressibility in stochastic convex optimization.
Introduction
The paper revisits how much a learner must know about its training data in order to generalize. In machine learning, stochastic convex optimization (SCO) provides a tractable model for modern gradient-based training, especially because first-order algorithms can often generalize well even when the parameter dimension is large. This makes SCO a natural testbed for the tension between ideal learning, which extracts structure without memorizing noise, and deep models, which can achieve high accuracy while retaining training examples. Earlier information-theoretic explanations mainly used input-output mutual information, but that measure conflates the number of memorized points with the entropy stored in each point and is known to scale badly with dimension. Building on conditional mutual information, the authors prove tight CMI-accuracy tradeoffs for ε-learners in SCO, showing that sample-efficient learning requires CMI on the order of the optimal sample size. They also show that this information can be interpreted as memorization, since an adversary can identify a constant fraction of training examples, and they derive consequences for generalization bounds and the impossibility of constant-size sample compression.
Method
The analysis is organized as an information-theoretic pipeline for characterizing what an accurate ε-learner must reveal about its training sample. Rather than studying a concrete neural architecture or training loop, the method treats a learning algorithm An as a randomized channel that maps a training set Sn to an estimator θ=An(Sn), and then asks how many bits of sample information must leak through this channel whenever the learner achieves a target accuracy. The resulting framework connects excess risk, sample complexity, conditional mutual information, and algorithmic information usage under stochastic convex optimization problems.
At the center of the framework is the excess error decomposition for a stochastic convex optimization problem (Θ,Z,f). For a data distribution D, define the population and empirical objectives
FD(θ)=EZ∼D[f(θ,Z)],FSn(θ)=n1i=1∑nf(θ,Zi).A standard way to control the expected excess population error is to split it into a generalization term and an optimization term:
E[FD(An(Sn))]−θ∈ΘminFD(θ)≤EGED(An)+E[FSn(An(Sn))−θ∈ΘminFSn(θ)].For convex L-Lipschitz losses over a parameter space of diameter bounded by R, the conditional mutual information based generalization bound controls the generalization term by
EGED(An)≤LRn8CMID(An).This gives the information-dependent excess error control
E[FD(An(Sn))]−θ∈ΘminFD(θ)≤LRn8CMID(An)+E[FSn(An(Sn))−θ∈ΘminFSn(θ)].The first analytical module checks whether this decomposition is sharp for optimal learners. The optimal sample complexity for learning convex Lipschitz losses at accuracy ε is on the order of
Θ((εLR)2).The framework then constructs distributions under which every learner with near-optimal sample complexity has large conditional mutual information. In the normalized case L=R=1, the conditional mutual information of any ε-learner scales as
CMID(An)=Ω(ε21).After restoring the dependence on L and R, this implies that the conditional mutual information term must be large enough that
LRnCMID(An)=Θ(LR),even though the learner may achieve excess error at most ε. Thus, for such problems, the conditional mutual information based generalization bound cannot certify the optimal excess risk of every optimal-sample-complexity learner. The limitation is not tied to one specific algorithm; it is universal across algorithms whose sample complexity matches the statistical minimum.
The lower-bound construction is built in stages. The first stage constructs a hard convex Lipschitz problem. In the simplified normalized case, one sets
Z={±d1}d,Θ=Bd(1),f(θ,z)=−⟨θ,z⟩.This loss is convex and 1-Lipschitz. Its population optimum is determined by the distributional mean
μ=EZ∼D[Z].The second stage proves that any accurate learner must produce an output that is strongly aligned with μ. More concretely, for every accurate learner and suitable distribution, one can establish correlations of the form
∥μ∥−ε≤E[⟨θ,μ⟩],θ=An(Sn).This says that a learner that predicts well on average must implicitly encode information about the mean of the unknown data distribution. Since the learner only observes finite samples, the framework then converts this mean-correlation into correlation with individual training samples. A weighted coordinate correlation expression of the form
E[i=1∑nk=1∑d1−d(μ(k))2144ε2−d(μ(k))2θ(k)(Zi(k)−μ(k))]≥2ε−4δis used to quantify how the learned parameter tracks sample fluctuations around the mean. Equivalently, one can aggregate these coordinates through a diagonal weighting matrix A and define sample-wise statistics
T0,i=⟨θ,A(Z0,i−μ)⟩,T1,i=⟨θ,A(Z1,i−μ)⟩.The conditional mutual information construction introduces two possible realizations Z0,i and Z1,i for each sample coordinate, together with a hidden bit Ui indicating which realization is used in the actual training set. The learner’s output and these statistics are then examined through the lens of Ui.
The key information-counting idea is to identify coordinates where the two possible realizations straddle a carefully chosen threshold. With
τ=Θ(nε),define
I={i:max{T0,i,T1,i}>τ and min{T0,i,T1,i}<τ}.For coordinates in I, the learner’s statistic is sensitive to which realization was present, so these coordinates tend to reveal the hidden bits Ui. The high-dimensional parameter d≥Ω(n4logn) ensures that the statistic corresponding to the unused realization is small with high probability, while the aggregate correlation with the actual samples remains large. The cardinality of I is then related to a ratio of sums:
∣I∣=Ω(∑i=1nTUi,i2(∑i=1nTUi,i)2).Using the lower bound on the aggregate correlation and an upper bound on the squared aggregate, one obtains
E∣I∣=Ω(ε21),which translates into
CMID(An)=Ω(ε21)for the normalized convex Lipschitz instance. After rescaling, this yields the corresponding lower bound for general L and R.
The next module extends the argument from proper learners, whose outputs lie in Bd(1), to improper learners, whose outputs may lie anywhere in Rd. This is done by replacing the original constrained loss with an extension to the full space:
f(θ,z)=w∈Bd(1)inf{f(w,z)+∥θ−w∥}.For the linear loss f(θ,z)=−⟨θ,z⟩, this modified loss remains convex and 1-Lipschitz. The analysis then projects any improper learner’s output back onto Bd(1):
Π(θ)=Π(An(Sn)),where Π denotes projection onto the unit ball. Projection does not increase conditional mutual information because of the data processing inequality. Moreover, if the improper learner is accurate for the extended problem, then the projected learner is accurate for the original constrained problem. Therefore, the improper case reduces to the proper case, and the same conditional mutual information lower bound follows.
The framework also includes matching upper bounds, which show that the lower bounds are not artifacts of the particular hard instances. For convex Lipschitz losses, there exists a proper ε-learner with sample complexity
N(ε,δ)=ε2128(LR)2log(δ2),such that, whenever n≥N(ε,δ), the learner satisfies
FD(An(Sn))−θ∈ΘminFD(θ)≤εwith probability at least 1−δ, and its information complexity obeys
CMID(An)≤ε2128(LR)2log(δ2).This matching construction places an upper envelope on the amount of sample information required by optimal learners. It shows that, for this class, the conditional mutual information required for learning and the sample complexity needed for accuracy scale in a compatible ε−2 manner.
A parallel pipeline handles strongly convex losses. The hard problem is defined by
Θ=Rd,Z={±d1}d,f(θ,z)=−⟨θ,z⟩+21∥θ∥2.The population optimum is again the mean μ=ED[Z], and for any output θ the excess population risk reduces to a squared Euclidean distance:
FD(θ)−θ∈RdminFD(θ)=21∥θ−μ∥2.Because the data mean lies inside Bd(1), any output can be projected onto Bd(1) without increasing excess risk. Projection also does not increase conditional mutual information, so the analysis can focus on learners whose outputs lie inside the unit ball.
For such learners, accuracy implies not only alignment with μ, but also closeness to μ:
∥θ−μ∥2≤2εwith high probability. A fingerprinting-style lemma then guarantees the existence of a distribution for which the learner’s output correlates with the sample fluctuations:
E[i=1∑n⟨θ−μ,Zi−μ⟩]≥31−2ε−3δ.The conditional mutual information construction uses the statistics
T0,i=⟨θ−μ,Z0,i−μ⟩,T1,i=⟨θ−μ,Z1,i−μ⟩.A boundary set is again defined using a threshold τ=Θ(1/n):
I={i:max{T0,i,T1,i}>τ and min{T0,i,T1,i}<τ}.The same information-counting logic applies. The cardinality of I is lower bounded by a ratio of aggregate correlation terms:
∣I∣=Ω(∑i=1nTUi,i2(∑i=1nTUi,i)2).In the strongly convex case, the numerator is bounded below by a constant under the construction, while the denominator scales like O(ε). This yields
CMID(An)=Ω(ε1).A matching upper bound for strongly convex Lipschitz losses shows that there exists a learner with sample complexity depending on L2/(λε), where λ denotes the strong convexity parameter, such that
E[FD(An(Sn))]−θ∈ΘminFD(θ)≤ε,and
CMID(An)≤O(λεL2).Thus the strongly convex pipeline produces a tighter ε−1 dependence rather than the ε−2 dependence of the convex Lipschitz case.
The framework also considers a refined information measure called individual sample conditional mutual information, defined by
ISCMID(An)=i=1∑nI(An(S);Ui∣Z0,i,Z1,i).This quantity is designed to avoid the conditioning structure of standard conditional mutual information, which can be large even for some natural deterministic learners. It is always bounded above by standard conditional mutual information:
ISCMID(An)≤CMID(An).The lower-bound construction therefore checks whether the previously derived tradeoffs depend only on the more demanding conditioning used by standard conditional mutual information. The result is negative: the same Ω(1/ε2) lower bound for convex Lipschitz learning and the same Ω(1/ε) lower bound for strongly convex learning persist for individual sample conditional mutual information. In other words, the necessity of sample information revealed by accurate learners is robust to this refinement.
Overall, the methodological structure is a sequence of reduction steps: first connect excess risk to information leakage, then build hard geometric problem instances, then prove that accurate learners must correlate with distributional mean and individual samples, then convert correlation into hidden-bit recovery, and finally match the lower bounds with explicitly constructed learners. The resulting framework characterizes not only whether a generalization bound is mathematically valid, but also whether that bound can tightly track the information that optimal learners are forced to expose during training.
Experiment
The evaluation studies the relationship between mutual information and accuracy in stochastic convex optimization by considering Lipschitz convex and strongly convex objectives in high-dimensional settings. The results establish information lower bounds for ε-learners and show that these bounds are tight through matching upper bounds obtained via subsampling and stability-based learning. A recall-based memorization game further validates that the information captured by a learner can be exploited by an adversary to identify actual training examples, connecting large CMI to concrete memorization behavior.