Manuscript Offprint
arXiv:2610.34242Alignment via Generalization
Abstract
AI systems can become better at achieving the goals we give them without becoming better at doing what we actually want. Studying this alignment problem rigorously requires a framework connecting measurable performance to intended behavior. We propose Aligned-PAC learning, whose central idea is to reduce alignment to generalization: does success on the requirements used for training extend to requirements the system has not encountered? Rather than express our entire intention through a single training objective, we represent its different aspects through a collection of specific requirements. This perspective already yields strong theoretical results. We show how independent evaluation can provide rigorous evidence of alignment across the represented requirements, and establish how much evaluation is needed. We also develop an optimization method that, under explicit assumptions, combines learned models to satisfy the training requirements. The framework does not solve alignment in full: choosing requirements that faithfully capture our intentions, and understanding when learning will generalize to unseen requirements, remain open challenges. It provides a foundation for making these questions precise and studying them with the tools of learning theory.
1 Introduction
AI models have become increasingly powerful, with some of their most impressive achievements in mathematical reasoning. These successes suggest a compelling recipe: specify an outcome, reward the model for achieving it, and let learning discover how to get there. Yet the effectiveness of this recipe depends on a crucial assumption: that the objective we optimize faithfully represents the objective we actually care about. When this assumption fails, a model can become better at optimizing its reward without becoming better at the intended task. We define the alignment problem as the gap between the true objective and the proxy used for learning.
This gap is not new to machine learning. In binary classification, for example, we may care about the probability of a prediction error, measured by the zero-one loss, while optimizing the hinge loss for computational convenience. A gap can also arise from the choice of data. A cow detector trained and evaluated on images of cows in grassy fields may rely on the background and fail to recognize cows standing on sand. Even with the right loss function, success on the selected distribution need not imply success in the situations we care about. Thus, a learning proxy specifies both a loss function and a data distribution. In our framework, we additionally specify an acceptable-loss threshold for each proxy, making explicit when a requirement is satisfied.
Mathematics offers an exceptional case in which this gap can disappear. If the task is to prove a precisely stated theorem and success is determined by a sound proof checker, the criterion used to evaluate the model coincides with the desired outcome: a valid proof. This does not mean that every reward used in mathematical training is perfectly aligned, but it illustrates the advantage of a domain in which correctness can be specified precisely and verified independently. In many other domains, defining an equally faithful criterion is itself a central difficulty.
The alignment problem becomes more challenging as both our ambitions and our models grow. First, we ask models to perform tasks whose objectives are harder to specify and whose failures are harder to diagnose. “Detect a cow” admits a relatively direct assessment. In autonomous driving, however, our true objective is “drive safely and comfortably”. This requires judgments across a much broader range of situations and tradeoffs, and we do not know how to fully express this objective as a loss function. A seemingly natural proxy is to imitate human drivers. Yet human behavior is not always desirable, and better imitation does not necessarily mean safer driving: a model may improve its average imitation loss by predicting routine trajectories more accurately, while responding less safely to rare hazards. Thus, improvement under the proxy can come at the expense of the true objective.
Second, more capable models can exploit subtler gaps in the proxy. A model asked to optimize code may produce a sophisticated implementation that passes every supplied test and achieves excellent benchmark performance, yet contains a subtle bug on an untested input [1]. Such failures can arise from exploiting weaknesses in the evaluation procedure—a phenomenon known as reward hacking—or simply from failing to generalize beyond the supplied tests. Deliberate deception is not necessary for either failure: optimizing an incomplete criterion can be enough [2, 3]. Greater capability therefore makes the quality of the proxy more consequential.
Discussions of AI alignment often emphasize the three desiderata of being honest, harmless, and helpful. These are important objectives, but naming them does not resolve the underlying difficulty. We still need to translate them into criteria that can guide learning and evaluation, and those criteria may leave gaps. The same difficulty arises in classification, code generation, and autonomous driving, even when the desired behavior is not naturally described by these three terms. Our focus is the more general problem of relating success under an operational proxy to success under the intended objective.
Alignment is difficult in part because we lack a general theory that makes this relationship precise and yields useful guarantees. Our central proposal is to reduce alignment to generalization. Instead of attempting to encode the true objective in a single loss and distribution, we consider a family of proxies, each capturing an aspect of the intended behavior through its own loss function, data distribution, and acceptable-loss threshold. The learner observes some of these proxies; the question is whether its success extends to proxies it has not observed. This shifts attention from fitting a fixed proxy to generalizing across the requirements that the proxy is meant to represent. Generalization provides both a well-developed theoretical language and a practical evaluation principle: assess performance on held-out proxies, as well as on held-out examples within a proxy.
We formalize this perspective through Aligned-PAC learning, a generalization of the Probably Approximately Correct learning framework. Ordinary PAC learning studies performance under a fixed loss and distribution using sampled examples. Aligned-PAC extends this view to a distribution over proxies, each specifying a loss function, an example distribution, and an acceptable-loss threshold, with a rule for combining performance across proxies. This introduces a question of proxy complexity: how many proxies must a learner observe to perform well on the broader family? The resulting guarantees necessarily depend on how that family represents the intended objective and on the assumptions connecting observed and unobserved proxies. Aligned-PAC does not eliminate the need to specify meaningful requirements; it provides a framework for studying when learning from a limited set of such requirements can generalize to the others. In this way, we aim to bring the tools of learning theory to the alignment problem.
Deep Learning made PAC learning powerful: the hypothesis class H is a family of neural networks or policies implemented by neural-network-based AI agents, and the learning algorithm searches for a hypothesis by minimizing the loss on the data via Stochastic Gradient Descent (SGD) with respect to the parameters of the model. This captures pre-training, in which the loss is the negative log-likelihood of the data under the model. It captures supervised fine-tuning, in which the loss is the cross-entropy loss between the model's predictions and the true labels. It also captures reinforcement learning for reasoning: D is a distribution over prompts or tasks, and is the expected negative outcome reward over trajectories generated by the model h on task x. The model searches for intermediate steps to reach a final correct solution.
In this formulation, the loss function and the distribution specify the objective against which learning is evaluated. A PAC guarantee relates performance on sampled examples to expected performance under this same loss and distribution. It therefore addresses generalization from observed to unseen examples, but does not by itself establish that minimizing this expected loss achieves the true objective of the task.
The alignment problem concerns this latter gap. Even a hypothesis that minimizes over may fail to satisfy an important requirement if the loss does not adequately penalize its violation or the distribution assigns too little weight to the situations in which it matters. Such a failure can persist even when there is no estimation or optimization error. To address it, we need to evaluate behavior across the different requirements of the task, allowing each requirement to have its own loss function and data distribution.
We view the alignment problem as a generalization problem - instead of defining a single proxy that is perfectly aligned with the true objective of the task, we define a family of loss functions and data distributions that reflect different properties of the true objective of the task. This culminates in a new framework for alignment, which we call Aligned-PAC learning.
To motivate Aligned-PAC, consider the problem of learning an end-to-end self-driving neural network. The goal is to learn a policy that takes as input sensor data (video streams from the cameras, ego car kinematics, etc.) and outputs the future trajectory the car should take. Our true objective is to have a safe and comfort driving, but this is hard to formally define. As a proxy loss function we use imitation learning: we aim to learn a distribution over future trajectories that maximizes the likelihood of observed human-driven trajectories.
While imitating humans sounds like a good proxy, it has several disadvantages. Firstly, some common human behaviors are not desirable for a self-driving car. For example, many humans do not fully stop at a stop sign but instead roll slowly and then continue, while the law dictates full stop. Secondly, in a wide road, there is a high uncertainty on how exactly a human would drive (offsetting a bit to the left or right is totally fine). The model therefore must spread the distribution over different trajectories and suffer loss on the likelihood of the actual trajectory in each instance. Not spreading this distribution perfectly would lead to a slightly excess loss over the optimal distribution. On the other hand, given a rare hazard, predicting a 50% probability to hit it and 50% probability to overtake it would yield a much smaller penalty to the total loss, due to the rarity of the event. Now consider two models A and B, where A is better than B in wide roads, but worse in rare hazards. To our proxy loss, model A may appear to be better than model B, while model A is catastrophically worse than B with respect to the true objective.
Practitioners circumvent this problem by manually designing a family of proxies. Each proxy captures a different aspect of the true objective of the task. For example, one proxy may capture the ability to stop at a stop sign, while another proxy may capture the ability to drive in a wide road. Each proxy relies on an underlying abstraction that captures one aspect of the true objective of the task. By combining these proxies, the practitioner can design a policy that is robust to the different aspects of the true objective of the task.
This motivates an objective of Aligned-PAC learning, which we define as follows. Let be a distribution over proxies, where each proxy is a triple consisting of a loss function , a distribution over , and an acceptable-loss threshold . Different proxies represent different requirements of the intended task. The goal is to find a hypothesis that minimizes
This objective measures the probability that the hypothesis violates a requirement sampled from T. Once a requirement is satisfied, further reducing its loss yields no additional benefit, preventing improvements on already satisfied requirements from compensating for failures on others.
In the driving example, one proxy can measure imitation loss under ordinary driving conditions, while another measures collision probability under a distribution concentrated on hazardous situations. Each proxy has its own acceptable threshold. Once the imitation requirement is satisfied, more accurate prediction of routine human trajectories cannot compensate for failing the hazard-avoidance requirement. Moreover, the hazard proxy can receive substantial probability mass under the proxy distribution, regardless of how rarely such situations occur in ordinary driving.
More generally, for a function , we can define the Aligned-PAC objective as
This encompasses Equation 1 by setting .
Equation 2 is a generalization of the PAC learning objective. Indeed, ordinary PAC learning is recovered when is a point-mass distribution on a single proxy and . The generalization of PAC to a distribution over proxies allows us to capture the different aspects of the true objective of the task. It allows us to tackle the alignment problem through the lens of generalization.
Aligned-PAC offers two advantages for alignment. First, in practice, it is much easier to express our true intention through a large collection of specific requirements than to encode it in a single proxy. Each proxy can focus on one aspect of the desired behavior and the situations in which it matters, without having to capture the entire objective. Second, generalization across proxies provides a defense against imperfections in the training proxy, whether these are actively exploited through reward hacking or simply reflect an incomplete or mistaken specification. Success on independently sampled, unseen proxies requires behavior that extends beyond the particular criteria used for training. A train/validation split at the level of proxies therefore assesses whether the learner has captured requirements that the training proxy left unspecified. Good validation performance indicates that the learned behavior generalizes across the aspects of our intention represented by the proxy family.
To specify how the learner accesses the objective, recall that in PAC learning it receives m i.i.d. examples from D. The sample complexity describes how large m must be to achieve a desired accuracy with confidence , as a function of the relevant complexity measures of the hypothesis class and the learning algorithm.
In Aligned-PAC, sampling occurs at two levels. We first draw proxies independently from . The learner receives the loss function and threshold for each proxy, together with sampling access to . At each step, it may choose a proxy based on its observations so far and obtain a fresh example from that proxy's distribution. Conditional on the sampled proxies, the sampling history, and the selected proxy index , the next example is a fresh draw from . The learner may allocate at most examples in total across the proxies. Writing for the number of examples drawn from , we require ; the allocation may be adaptive. Based on these observations, the learner outputs a hypothesis (or an ensemble of such hypotheses). Equal allocation is a special case suitable for the initial analysis: the learner draws examples from each proxy's example distribution.
This protocol gives rise to two notions of complexity: the sample complexity, describing the required total example budget m, and the proxy complexity, describing the required number n of sampled proxies. We can study how both quantities must grow with the accuracy , the confidence parameter , and the relevant complexity measures of the hypothesis class and the learning algorithm, including its sampling strategy. These requirements may depend on one another, so the learning guarantee is naturally expressed in terms of pairs . Increasing m allows the learner to gather more information about the observed requirements, while increasing n exposes it to more requirements from the proxy distribution.
3 Validating Alignment
Suppose we already have a hypothesis h, trained on a known collection of proxies. We want to determine whether its success on those requirements extends to the population of requirements. We first use the smooth loss
This loss is zero when the threshold criterion is satisfied and penalizes violations quadratically. Its derivative with respect to u is 2-Lipschitz, which makes it possible to control the effect of estimating each proxy's expected loss. We assume that all inner losses and thresholds lie in .
For a proxy and a distribution over proxies, write
Let be the uniform distribution over the sequence of training proxies, counting repetitions.
Definition 1 (Mis-alignment gap). The mis-alignment gap of h is
A large positive gap means that success on the training requirements overstates performance on the population of requirements. A small gap together with small training-proxy risk certifies small population risk; a small gap alone does not.
We fix h before evaluation. We may draw fresh examples from the example distribution of any training proxy, and we may independently sample fresh proxies from T and examples from their distributions. To sample from , we simply select a training-proxy index uniformly with replacement; even when an index is selected repeatedly, its evaluation examples are fresh. Thus, estimating the average training-proxy risk does not require evaluating every training proxy individually.
We ask three questions: how can we estimate , how many fresh examples are needed, and how many fresh proxies are needed? Specifically, we seek an estimate satisfying
The sample complexity counts all fresh examples, including examples from training proxies. The proxy complexity counts fresh draws from ; selecting an existing training-proxy index does not count as a fresh proxy. All guarantees below hold conditional on the training process, for any returned h, and require no complexity bound on the hypothesis class.
3.1 A simple estimator with equal allocation
We first estimate each risk separately. For , sample proxies independently from , draw fresh examples per proxy, and compute
Subtract the estimate for from the estimate for . This construction uses N fresh population proxies and 2Nk fresh examples in total.
Theorem 1 (Equal-allocation validation). For , take
The estimator above satisfies Equation 3. Its sample complexity is and its proxy complexity is for .
The proof, given in Appendix A, separates variation across sampled proxies from bias within each proxy. Averaging N bounded proxy scores contributes error of order . Smoothness bounds the bias from using k examples by . Hence, order proxies and examples per proxy suffice, giving the cubic total budget.
This bias cannot be removed merely by sharpening concentration. If a proxy has Bernoulli losses with mean 1/2 and threshold 1/2, its true squared violation is zero, but its empirical squared violation has expectation exactly 1/(8k). Averaging more such scores concentrates around a biased value. These biases need not cancel between the population and training-proxy distributions. A better sample bound therefore calls for a different estimator.
3.2 A multilevel estimator with quadratic sample complexity
The equal-allocation estimator assesses every sampled proxy at the same resolution. Instead, we can estimate a coarse risk using many inexpensive assessments and then estimate corrections using fewer, more expensive assessments. We use an antithetic multilevel Monte Carlo construction for nested expectations [4]. The sample sizes and the number of proxies at each level are fixed in advance: the method uses unequal allocation, but does not require adaptive sampling.
We describe one estimate of , where is either the population proxy distribution or the uniform distribution over training-proxy indices. Throughout, is fixed and . A level specifies the number of examples used to assess a proxy: level uses examples.
To generate one correction at level , sample and draw fresh examples independently from . Let and be the average inner losses in the first and second halves of this sample, respectively. Thus, each half contains examples, and is the average over all examples. Define the correction
The expectation of is the difference between the expected empirical scores using and examples per proxy. At level zero, use one example and set . Consequently, the expectations telescope: summing them through level gives the expected empirical score using examples per proxy.
Choose a largest level and a number of correction replicates at each level. For every and , let denote an independent copy of the level- correction just defined: draw a new proxy from and new examples for that copy. All copies are independent across both and , conditional on training; within a copy, the full-sample and half-sample scores deliberately share the same examples. Average the copies at each level and add the resulting estimates:
The multilevel estimator is generally biased as well. Since its expectation is the expected empirical score based on examples per proxy, a single run satisfies
This is the same bias bound as for the equal-allocation risk estimator with . The advantage is that multilevel estimation controls this bias with fewer total examples: only the fine-level corrections use examples per proxy, while most assessments use much smaller samples. Taking medians provides confidence amplification, not unbiasedness; the final guarantee controls total estimation error.
Thus, one run uses proxy draws and examples. Choose of order and proportional to , rounded up. To obtain high confidence, repeat the entire construction independently and take the median of the resulting values of . Apply this procedure separately to and , with accuracy and failure probability for each risk, and subtract the two medians. Appendix B gives the exact allocations and number of repetitions.
The reason this saves samples is cancellation. The two half-sample means average to the full-sample mean, so their first-order errors cancel in Equation 4. Smoothness makes the correction quadratic in . Its variance is therefore , while its sample cost is only . The fine corrections can be estimated with progressively fewer proxies, and the resulting total sample cost is a convergent geometric sum times .
Theorem 2 (Multilevel validation). There is a nonadaptive estimator satisfying Equation 3 with both sample complexity and proxy complexity
for and . These are deterministic budget bounds, with universal implied constants. The budgets include estimating both risks; only draws from count toward fresh-proxy complexity.
Appendix B specifies the estimator and proves the theorem. The improvement is in the total example budget: the proxy complexity retains the quadratic rate. Although individual corrections can be negative, their telescoping sum estimates the same nonnegative squared-violation risk. The construction therefore changes the estimator, not the objective.
3.3 Matching lower bounds
The quadratic dependence is unavoidable in general. Even with a single hypothesis and two proxy types, estimating the gap can require distinguishing two Bernoulli means separated by order . Conversely, even if the score of each sampled proxy is revealed exactly, estimating its population average can require order independent proxies.
Theorem 3 (Validation lower bounds). There are universal constants such that, for and , any estimator guaranteeing Equation 3 uniformly over the bounded-loss setting must, in the worst case, use at least
fresh examples. There is also a family of instances requiring at least this order of fresh population proxies, even if their exact scores are supplied without example sampling. The lower bounds allow adaptive evaluation and apply conditional on a training outcome providing no information about the unknown parameter.
Appendix C proves the two claims by reduction to binary hypothesis testing. Thus, under our sampling-access model, the multilevel estimator has optimal worst-case sample and proxy complexity, up to universal constants. These guarantees concern the fixed hypothesis under the specified proxy distribution; using validation to modify or select the hypothesis requires further independent evaluation or an analysis accounting for that selection.
3.4 Margin-based validation
A complementary goal is to certify that only a small probability mass of requirements is violated by more than a prescribed margin. For this purpose, return to the pass/fail loss and its margin version:
where . Define
This is a probability of margin violations, rather than the squared-violation risk studied above.
Fix independently of evaluation. Draw proxies independently from and fresh examples from each proxy's example distribution, independently conditional on the proxies. Accept only if every empirical proxy passes:
The intuition is that a proxy whose true loss exceeds its threshold by more than is detected with constant probability using only examples. If more than an fraction of requirements have such violations, each independent evaluation has probability at least a constant times of detecting one. The probability that all evaluations pass therefore decays exponentially in .
Theorem 4 (Margin-based validation). Assume inner losses lie in [0,1]. For any fixed h with , the probability that all empirical proxies pass is at most
In particular, for , take
With probability at least , either an empirical proxy fails or . For , the procedure uses
The proof is in Appendix D. It does not require every individual proxy to be evaluated correctly: constant probability of detecting each margin violation suffices, avoiding a union bound over inner estimation errors. Taking gives a population certificate and the stated fresh-proxy complexity. Taking uses only existing training-proxy indices and fresh examples.
The certificate controls false acceptance: a hypothesis with passes all evaluations with probability at most . It does not assert a posterior probability conditional on acceptance, nor does it guarantee acceptance of every hypothesis with small margin risk. In particular, a proxy whose true loss equals its threshold can fail empirically because of sampling noise. The linear dependence on is consistent with the preceding lower bounds: this procedure certifies a small margin-violation probability when all proxies pass, rather than estimating an arbitrary mis-alignment gap to additive accuracy .
4 Optimizing the Aligned-PAC Objective via Proxy-Boosting
We now turn to optimizing the Aligned-PAC objective
Ignoring L and minimizing the average inner loss does not generally solve this problem. It allows improvements on already satisfied requirements to compensate for violations of other requirements, even when the thresholds specify that the former improvements have no value. Direct stochastic gradient descent on the stated objective also presents difficulties. For the pass/fail loss, the outer function is discontinuous and its derivative is zero away from the threshold. Even for a smooth outer loss, inserting a minibatch estimate into the nonlinear function generally yields a biased gradient estimator. These difficulties motivate an approach that repeatedly solves ordinary weighted learning problems while changing the emphasis placed on the proxies.
The rationale is to use boosting as an outer loop around standard deep learning optimization. The outer loop adjusts the weights of the proxies to emphasize requirements that remain poorly satisfied. For each fixed weighting, the inner loop trains a model on an ordinary expected-loss objective: sample a proxy according to its weight, sample an example from that proxy, and minimize the average loss over the resulting examples using SGD. Thus, each inner problem has the familiar form of minimizing an average of individual losses, while the outer loop handles the requirement thresholds and combines the learned models into an ensemble. Our oracle assumption formalizes the practical premise that motivates much of deep learning: an optimizer such as SGD can find a sufficiently good model for such an objective. The assumption concerns population performance for every weighting encountered, so it is stronger than merely reducing a minibatch or training loss. Subject to this assumption, boosting converts progress on these ordinary learning problems into simultaneous satisfaction of the training requirements.
4.1 Margin realizability and a population learning oracle
We focus on and assume that inner losses and thresholds lie in . Suppose there exists a fixed such that
for some . This is an analogue of separability with margin: one hypothesis satisfies almost every requirement with a common positive slack.
Draw training proxies independently from , and write . With probability one, the same satisfies all sampled proxies with margin . Let be the simplex of distributions over these proxies. Then
Moreover, the signed violations satisfy
Thus, the same hypothesis achieves a negative margin under every weighting of the training proxies. This suggests an iterative procedure that emphasizes poorly satisfied proxies while asking the learner to achieve a negative weighted violation. In this section, the learning oracle acts on their true expected losses; there is no preliminary step of replacing them by a fixed empirical sample.
For any distribution over the training proxies, assume that the oracle returns satisfying
Realizability immediately implies a weighted improvement over the thresholds:
The analysis only needs Equation 7; approximate weighted minimization is a sufficient condition. We require the guarantee for each oracle call, including calls whose weights depend on earlier samples. This is an assumption about the learning procedure, not a consequence of realizability or a claim that SGD always finds a global optimum.
The weighted population objective can be accessed by sampling proxy i with probability , drawing , and using the loss . When differentiation and expectation can be interchanged, this also gives an unbiased stochastic gradient. Thus, the oracle need not explicitly calculate population risks. Its sample and computational requirements are separate from the samples used below to update the proxy weights.
4.2 Proxy-boosting with sampled weight updates
Although the oracle guarantee concerns expected losses, the algorithm updates its weights using only fresh observations. Initialize and fix a number of rounds , a learning rate , and a batch size . For :
-
Apply the population learning oracle with weights to obtain .
-
After is chosen, draw fresh examples from each and compute
These examples are independent across proxies and within each batch conditional on the preceding history and . They are fresh relative to that history, including any samples used to select .
- Update the proxy distribution by
The update emphasizes proxies with larger observed signed violations. It follows the boosting principle of emphasizing difficult requirements, using multiplicative weights over proxies [5]. The signed violations retain the slack provided by the margin assumption; the update does not require accurate pass/fail classification of every proxy in every round.
Return the randomized ensemble that selects uniformly from . Writing for its expected loss over this random choice gives
Consequently, by linearity of expectation,
Operationally, the ensemble selects a constituent uniformly for an evaluation or episode. Its guarantee concerns expected loss over this internal randomization, not the performance of every constituent.
Theorem 5 (Population guarantee with sampled updates). Assume Equation 5 and that the oracle satisfies Equation 6 at every round. For any fixed , , and , the sampled-update algorithm satisfies, with probability at least ,
In particular, , , and
suffice to ensure for every training proxy with probability at least . The theorem holds conditional on any training-proxy sequence satisfying the realizability condition, and hence also over the random training proxies and subsequent sampling.
The proof in Appendix E combines an exponential-potential argument with concentration of accumulated sampling errors. The inequality connects the exponential potential to threshold violations. A proxy with persistently positive cumulative violation would acquire a large exponential weight. The oracle's negative weighted population violation prevents this, up to sampling error. Freshness makes the observed losses conditionally unbiased even though the weights and hypotheses are adaptive. It is therefore enough to control accumulated error over rounds, rather than demanding an accurate estimate in each round. The two sampling-error terms account for individual proxies and for the changing weighted average used by the oracle.
With , the algorithm uses oracle calls and fresh examples for weight updates. These counts exclude samples used internally by the oracle; the theorem does not specify the total sample complexity of implementing that oracle. No additional proxies are drawn during boosting.
The guarantee is zero pass/fail loss on the true expected losses of all training proxies, rather than on a finite empirical sample. Generalization to unseen requirements remains a separate question, addressed by independent validation or an additional proxy-complexity analysis.
5 Related Work
Alignment, reward hacking, and generalization. The mismatch between intended behavior and optimized objectives is a central concern in AI safety, including reward hacking and failures under distribution shift [6]. Formal studies characterize reward hacking through the relationship between proxy and true rewards [7], including conditions under which their correlation under a reference policy supports guarantees for policies regularized toward it [8]. Goal misgeneralization studies already connect alignment failures to generalization: an agent may retain its capabilities in new situations while pursuing an unintended goal [9, 10]. Aligned-PAC makes a specific generalization question explicit: does a common hypothesis satisfy unseen requirements drawn from a distribution over loss functions, example distributions, and thresholds? Its guarantees concern this represented population, without assuming access to a single true reward or resolving whether the population faithfully captures human intentions.
Constrained learning and proxy-boosting. PAC constrained learning studies requirements of the form , allowing different losses and distributions across constraints [11]. Thus, an individual Aligned-PAC proxy has a direct predecessor in constrained learning. Our additional emphasis is on a sampled population of requirements and generalization beyond the observed constraints. Oracle reductions for fair classification already combine exponentiated-gradient updates with randomized classifiers [12]. Proxy-boosting adapts this established approach to thresholded requirements, using a population weighted-learning oracle and fresh sampled losses for weight updates. Its guarantee concerns the observed proxies; it does not establish generalization to unseen proxies.
Alignment verification. Value alignment verification formalizes query-efficient evaluation of whether an agent's behavior agrees with human values [13]. The Seldonian framework provides statistical guarantees against violating specified behavioral constraints, using independent data to assess a selected candidate [14]. Our validation problem introduces uncertainty both across proxies and within each proxy. We study the separate proxy and example budgets required to estimate the gap between training-proxy and population performance, as well as a margin-based certificate for population requirement satisfaction.
Learning across distributions and tasks. Collaborative and multi-distribution learning study simultaneous performance across a specified collection of distributions, using boosting-style reweighting [15] and game dynamics with adaptive sample allocation [16, 17]. These are close predecessors to optimization over our training proxies. Generalization to a population of tasks, with sampling at both task and example levels, also appears in Baxter's model of inductive bias learning [18]. Aligned-PAC evaluates a common hypothesis against heterogeneous requirements, whereas inductive bias learning uses shared structure to support learning task-specific hypotheses. We leave the general proxy complexity of learning open, building on rather than replacing these existing theories.
Principles and generated evaluations. Constitutional AI uses collections of principles to guide AI feedback, while model-written evaluations and automated red teaming use AI systems to construct behavioral evaluations [19, 20, 21]. These provide practical precedents for AI-assisted proxy generation. Our framework asks how a generator defines a distribution of requirements and what independent sampling from that distribution can certify; validity, coverage, and shared blind spots remain separate challenges.
6 Discussion and Open Problems
Aligned-PAC learning proposes to study alignment through generalization across requirements. Rather than encoding the intended behavior in a single operational criterion, we represent its different aspects by a distribution over proxies, each specifying a loss function, an example distribution, and an acceptable-loss threshold. This separates two questions: whether a model succeeds on the proxies used to train it, and whether that success extends to the broader population of requirements.
The paper develops this perspective in two directions. First, we give rigorous procedures for validating a fixed hypothesis. For the squared-violation objective, a nonadaptive multilevel estimator achieves optimal worst-case sample and proxy complexity for estimating the mis-alignment gap, up to universal constants. A complementary margin-based certificate provides a simpler procedure when all sampled proxies pass. Second, under margin realizability and a population weighted-learning assumption, proxy-boosting converts weighted learning into simultaneous satisfaction of the observed proxies. Fresh sampled losses suffice for its weight updates, and the resulting randomized ensemble satisfies the training proxies in terms of their true expected losses.
The proxy complexity of learning. The principal question left open is when success on finitely many training proxies implies success on unseen proxies. More precisely, what assumptions on the hypothesis class, the proxy distribution, and the learning algorithm yield a useful bound on the number of training proxies required to achieve a specified population performance? This is distinct from the proxy complexity of validation: evaluating a hypothesis fixed before sampling does not require controlling how the learning algorithm selects that hypothesis. The proxy-boosting theorem addresses optimization on the observed requirements, but does not establish generalization across requirements.
We leave this question open in its general form. Elementary bounds are possible under restrictive assumptions. For example, for a finite hypothesis class with exact access to each proxy's expected loss, concentration and a union bound give uniform convergence of the bounded outer losses across the class. The challenge is to obtain informative guarantees for expressive models and practical learning algorithms. Even in ordinary learning, available complexity measures often give bounds too loose to explain the observed generalization of modern neural networks. Generalization across proxies introduces an additional question: which properties of the requirements, and of the learner's response to them, determine the effective complexity? A useful theory should also account for finite example budgets, adaptive allocation, and the interaction between sample and proxy complexity. Developing such a theory is beyond the scope of the present paper.
Constructing the proxy distribution. All of our guarantees are relative to the chosen proxy distribution. How should this distribution be constructed so that it faithfully represents the intended objective? A large collection of proxies is useful only to the extent that it captures relevant requirements; many near-duplicate proxies may leave important aspects of the task unspecified. The choice of probability mass also determines the relative importance of different requirements. Understanding how proxy diversity, shared structure, and coverage affect alignment is therefore central to applying the framework.
One promising direction is to use an AI agent as a proxy generator. Given a description of the intended behavior, such an agent could propose requirements, construct example distributions that exercise them, and suggest loss functions and thresholds. It could also search for missing requirements by examining failures of candidate models. This raises concrete research questions: how to assess the validity and coverage of generated proxies, how to avoid shared blind spots between the generator and the learner, and how to assign weight to the resulting requirements. A fixed generator with independent randomness provides one way to define a proxy distribution for training and validation. Generators that adapt to the learner's behavior may discover more informative requirements, but require an analysis beyond the fixed-distribution sampling assumptions used here.
Implementing the learning oracle. The weighted-learning assumption isolates another open problem: obtaining a reliable improvement under changing proxy weights with a practical learning procedure. The sample and computational costs of implementing this oracle, and the effect of occasional failures of its guarantee, are not covered by the proxy-boosting theorem. Studying these questions together with generalization across proxies would connect the optimization framework to end-to-end learning guarantees.
References
[1] doubleAI. doubleAI's Maxwell: Surpassing Expert-Written Kernels at Scale. Research blog post, March 5, 2026. https://www.doubleai.com/research/doubleais-maxwell-surpassing-expert-written-kernels-at-scale.
[2] David Williams-King, Linh Le, Adam Oberman, and Yoshua Bengio. Can Safety Fine-Tuning Be More Principled? Lessons Learned from Cybersecurity. arXiv preprint arXiv:2501.11183, 2025. https://arxiv.org/abs/2501.11183.
[3] Yoshua Bengio. Why are AI agents lying, cheating and coordinating? Blog post, September 11, 2026. https://yoshuabengio.org/en/blog/why-are-ai-agents-lying-cheating-and-coordinating.
[4] Michael B. Giles. MLMC for Nested Expectations. In Contemporary Computational Mathematics: A Celebration of the 80th Birthday of Ian Sloan, pages 425–442. Springer, 2018. https://doi.org/10.1007/978-3-319-72456-0_20.
[5] Sanjeev Arora, Elad Hazan, and Satyen Kale. The Multiplicative Weights Update Method: A Meta-Algorithm and Applications. Theory of Computing, 8(1):121–164, 2012. https://doi.org/10.4086/toc.2012.v008a006.
[6] Dario Amodei, Chris Olah, Jacob Steinhardt, Paul Christiano, John Schulman, and Dan Mané. Concrete Problems in AI Safety. arXiv preprint arXiv:1606.06565, 2016. https://arxiv.org/abs/1606.06565.
[7] Joar Skalse, Nikolaus H. R. Howe, Dmitrii Krasheninnikov, and David Krueger. Defining and Characterizing Reward Gaming. In Advances in Neural Information Processing Systems 35, pages 9460–9471, 2022. https://proceedings.neurips.cc/paper_files/paper/2022/hash/3d719fee332caa23d5038b8a90e81796-Abstract-Conference.html.
[8] Cassidy Laidlaw, Shivam Singhal, and Anca Dragan. Correlated Proxies: A New Definition and Improved Mitigation for Reward Hacking. In International Conference on Learning Representations, 2025. https://proceedings.iclr.cc/paper_files/paper/2025/hash/dbe2cfe4767f3255160b73a36ae3162e-Abstract-Conference.html.
[9] Lauro Langosco di Langosco, Jack Koch, Lee D. Sharkey, Jacob Pfau, and David Krueger. Goal Misgeneralization in Deep Reinforcement Learning. In Proceedings of the 39th International Conference on Machine Learning, PMLR 162, pages 12004–12019, 2022. https://proceedings.mlr.press/v162/langosco22a.html.
[10] Rohin Shah, Vikrant Varma, Ramana Kumar, Mary Phuong, Victoria Krakovna, Jonathan Uesato, and Zac Kenton. Goal Misgeneralization: Why Correct Specifications Aren’t Enough for Correct Goals. arXiv preprint arXiv:2210.01790, 2022. https://arxiv.org/abs/2210.01790.
[11] Luiz F. O. Chamon and Alejandro Ribeiro. Probably Approximately Correct Constrained Learning. In Advances in Neural Information Processing Systems 33, pages 16722–16735, 2020. https://proceedings.neurips.cc/paper_files/paper/2020/hash/c291b01517f3e6797c774c306591cc32-Abstract.html.
[12] Alekh Agarwal, Alina Beygelzimer, Miroslav Dudík, John Langford, and Hanna Wallach. A Reductions Approach to Fair Classification. In Proceedings of the 35th International Conference on Machine Learning, PMLR 80, pages 60–69, 2018. https://proceedings.mlr.press/v80/agarwal18a.html.
[13] Daniel S. Brown, Jordan Schneider, Anca Dragan, and Scott Niekum. Value Alignment Verification. In Proceedings of the 38th International Conference on Machine Learning, PMLR 139, pages 1105–1115, 2021. https://proceedings.mlr.press/v139/brown21a.html.
[14] Philip S. Thomas, Bruno Castro da Silva, Andrew G. Barto, Stephen Giguere, Yuriy Brun, and Emma Brunskill. Preventing Undesirable Behavior of Intelligent Machines. Science, 366(6468):999–1004, 2019. https://doi.org/10.1126/science.aag3311.
[15] Avrim Blum, Nika Haghtalab, Ariel D. Procaccia, and Mingda Qiao. Collaborative PAC Learning. In Advances in Neural Information Processing Systems 30, 2017. https://proceedings.neurips.cc/paper_files/paper/2017/hash/186a157b2992e7daed3677ce8e9fe40f-Abstract.html.
[16] Nika Haghtalab, Michael I. Jordan, and Eric Zhao. On-Demand Sampling: Learning Optimally from Multiple Distributions. In Advances in Neural Information Processing Systems 35, pages 406–419, 2022. https://proceedings.neurips.cc/paper_files/paper/2022/hash/02917acec264a52a729b99d9bc857909-Abstract-Conference.html.
[17] Binghui Peng. The Sample Complexity of Multi-Distribution Learning. In Proceedings of the 37th Conference on Learning Theory, PMLR 247, pages 4185–4204, 2024. https://proceedings.mlr.press/v247/peng24b.html.
[18] Jonathan Baxter. A Model of Inductive Bias Learning. Journal of Artificial Intelligence Research, 12:149–198, 2000. https://doi.org/10.1613/jair.731.
[19] Yuntao Bai et al. Constitutional AI: Harmlessness from AI Feedback. arXiv preprint arXiv:2212.08073, 2022. https://arxiv.org/abs/2212.08073.
[20] Ethan Perez, Saffron Huang, Francis Song, Trevor Cai, Roman Ring, John Aslanides, Amelia Glaese, Nat McAleese, and Geoffrey Irving. Red Teaming Language Models with Language Models. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 3419–3448, 2022. https://aclanthology.org/2022.emnlp-main.225/.
[21] Ethan Perez et al. Discovering Language Model Behaviors with Model-Written Evaluations. In Findings of the Association for Computational Linguistics: ACL 2023, pages 13387–13434, 2023. https://aclanthology.org/2023.findings-acl.847/.
A Analysis of the Equal-Allocation Estimator
Condition throughout on the training process, so that and are fixed. For any proxy , set , let , and let denote the mean of independent inner losses. The function is convex and has 2-Lipschitz derivative. Thus, for all ,
Since and , taking expectations gives
The same bounds hold after averaging over any proxy distribution Q.
Proof of Theorem 1. For either Q, the N empirical proxy scores are independent and lie in [0,1]. Hoeffding's inequality and Equation 9 imply, with failure probability at most ,
A union bound for the two risks gives gap error at most . The budgets are fresh population proxies and fresh examples.
For the bias example in the main text, take inner losses distributed as Bernoulli(1/2) and threshold 1/2. Symmetry about 1/2 gives
whereas .
B Analysis of the Multilevel Estimator
We give a self-contained construction for estimating one risk to accuracy , and then apply it to the two risks defining . Condition throughout on the training process, so that and are fixed. Here is either or . Recall that all inner losses and thresholds lie in . For each proxy , define
Thus, . The function is convex and its derivative is 2-Lipschitz.
One correction and its independent copies. To generate a level-j correction, first draw , then draw independently from and write . At level zero, set . For , let and set
The two halves use the same proxy and are independent conditional on that proxy. The full-sample score uses these same two halves; no additional examples are drawn to compute it.
For chosen integers and , repeat this construction times at level . Denote the resulting corrections by . Each copy has its own independently drawn proxy and fresh examples; this independence also holds across levels. A repeated training-proxy index still receives fresh examples. One run of the risk estimator is
We specify J and below after bounding its bias and variance.
Telescoping and bias. For comparison, let denote the empirical score obtained from a single proxy and examples:
Here describes a distribution of scores; it is not an additional term to sample when computing . Expectations below average over both the proxy and its examples. In a level-j correction, the full-sample score has the distribution of , while each half-sample score has the distribution of . Therefore,
and the sum telescopes:
The following lemma bounds the bias of an empirical score.
Lemma 1 (Bias of the empirical squared violation). Fix a hypothesis and a proxy . Let be independent, identically distributed inner losses conditional on , with conditional mean , and let . For ,
Proof. Write . Convexity of and Jensen's inequality give the lower bound:
For the upper bound, the 2-Lipschitz derivative of implies the smoothness inequality
Substituting and taking conditional expectations eliminates the linear term, since . Hence,
Finally, conditional independence and identical distribution imply
Because , we have and therefore
Combining these inequalities proves the claim.
Applying Lemma 1 with and averaging over t yields
Decay of the correction variance. The following second-moment bound also bounds . It is the reason that fewer copies suffice at finer levels.
Lemma 2 (Second moments of the corrections). For every , .
Proof. For , the correction lies in . For , convexity and the 2-Lipschitz derivative give
To bound its fourth-moment factor, condition on and put . Pair each loss in the first half with one in the second half: with the notation above, let for . Then
Conditional on t, the variables are independent, have mean zero, and satisfy .
In the expansion of , any term containing an index exactly once has conditional expectation zero: independence factors out the mean of the corresponding . Thus, only two types of terms remain: one index appearing four times, or two distinct indices each appearing twice. For each unordered pair , there are ways to place its two copies of each index among the four factors. Consequently,
The inequality uses and , which follow from . Dividing by gives
It follows that . The bound holds uniformly in , so it also holds unconditionally.
Proof of Theorem 2. We first obtain a constant-confidence estimate of each risk, then amplify confidence by taking a median, and finally count the total examples and proxies.
Allocation and accuracy of one run. Set , and define
For one independent run of , Equation 10 bounds the bias by . Independence of correction replicates and Lemma 2 give
Chebyshev's inequality therefore implies
Confidence amplification and the gap estimate. Repeat the entire construction independently B times and take the median, where B is the smallest odd integer at least . Since a run fails with probability at most , Hoeffding's inequality applied to the failure indicators bounds the probability of a majority of failures by . Thus, the median estimates this risk to accuracy with failure probability at most . Apply this procedure separately to the two risks and subtract their medians. A union bound establishes Equation 3.
Sample and proxy budgets. One run uses exactly examples. Using and ,
It uses proxy draws. For , these are fresh population proxies; for , they are draws of existing training-proxy indices. Repetition and estimating both risks therefore give the asserted budgets. Every allocation is predetermined, so these bounds hold deterministically, not merely in expectation.
C Lower Bounds for Validation
We use an estimation-to-testing reduction. Suppose two instances have gaps separated by more than . An estimator satisfying Equation 3 on both instances induces a binary decision rule with error at most under either instance, by comparing its output to the midpoint of . Let denote the distributions of the entire evaluation transcript. Data processing for relative entropy gives
for , where kl denotes binary relative entropy. We also use
Proxy distributions are available through the sampling interfaces specified in the framework; the unknown parameters are not revealed as part of their descriptions.
Proof of the sample lower bound in Theorem 3. Take a singleton hypothesis class and two proxy types. Proxy has loss identically zero and threshold zero. Proxy has threshold zero and loss , where . Let put probability on each type. Condition on a training outcome consisting only of proxies; this has positive probability, and its observations contain no information about . Then
Take , , and . The gap separation is . Fresh proxy labels have the same distribution in both instances and provide no information about ; only examples from are informative. Each such example contributes at most to the relative entropy. Even an evaluator allowed to choose proxy types directly and allocate samples adaptively, subject to a deterministic budget , has transcript relative entropy at most , by the chain rule. Equation 11 therefore implies
This lower bound for the stronger access model also applies to the stated evaluation protocol. ☐
Proof of the proxy lower bound in Theorem 3. Again use a singleton hypothesis class and two proxy types, now with deterministic inner losses zero and one, respectively, and thresholds zero. Let their probabilities under T be 1 - p and p. Condition on a training outcome consisting only of the zero-loss proxy. The gap is . We may reveal the exact score of every proxy for free: neither additional examples nor repeated evaluation of an existing proxy supplies information about p.
For and , the gap separation is . For , each fresh proxy draw contributes at most to the relative entropy. With a deterministic budget of fresh proxies, Equation 11 gives
The chain-rule argument also permits adaptive stopping within that budget. Both constructions concern the conditional evaluation problem after training and establish the claimed worst-case lower bounds.
D Proof of the Margin-Based Validation Certificate
Proof of Theorem 4. Fix and . For a proxy satisfying , the one-sided Hoeffding inequality gives
Thus, for one randomly drawn proxy and its examples,
The proxy evaluations are independent, so whenever ,
The stated ensures , and the stated makes the last expression at most . If , the claimed disjunction holds automatically. The budget bounds follow by multiplying by .
E Analysis of Proxy-Boosting
Proof of Theorem 5. Condition on a training-proxy sequence for which for all . Such sequences have probability one. At round , let include the entire history immediately before the fresh weight-update examples are drawn, including the oracle output and weights . Define
The oracle assumption implies, for every round,
First apply the multiplicative-weights argument to the observed violations. Set , , and . Since , Hoeffding's lemma gives the pathwise bound
Summing over rounds, using , and lower-bounding by each individual weight yields
This inequality holds for every realization of the data.
Next control the difference between observed and population losses. Conditional on , each is the average of independent centered variables with range length one. Therefore, for every real ,
For the weighted error , conditional independence across proxies similarly gives
Iterating these conditional moment-generating-function bounds over rounds and applying the Chernoff bound shows, for any ,
Set . A union bound over the individual inequalities and the one weighted inequality gives, with probability at least ,
Combine these statements with Equations 12 and 13. Since , the result is Equation 8.
For the stated parameter choice, , , and , leaving a margin of at least . The argument allows all oracle choices and weights to depend on the preceding history; it only requires the oracle guarantee at each call and fresh subsequent weight-update samples. Finally, averaging over the training-proxy sequence preserves the probability bound.