Mathematical Foundations of AI Alignment, Lecture 22 (Computational Boundaries of Forecast Testing)
Overview
Aaron Roth shows that computational difficulty alone does not rescue forecast auditing: a factoring-based audit is easy to sample and grade but hard for both informed and uninformed forecasters to pass. When candidate data distributions have efficiently computable conditional probabilities and the audit is efficient, a constructive minimax algorithm using Hedge and Bayesian best responses produces an uninformed forecaster that passes nearly as often as an informed one, with probability at least 1 − α − ε.
Key takeaways
- The factoring audit is efficiently sampled and graded, yet a forecaster that passes it with probability ρ yields a factoring algorithm with success probability at least αρ.
- The factoring example does not distinguish informed from uninformed forecasters because an honest forecaster also needs to factor N to predict its prime factors.
- If K candidate distributions have efficiently computable next-bit probabilities and an efficient test accepts honest forecasting on every mixture, an uninformed forecaster can achieve acceptance at least 1 − α − ε on each candidate.
- Hedge and Bayesian best responses construct the near-minimax forecaster efficiently, with roughly log(K)/ε² iterations and polynomial dependence on sequence length and 1/ε.
- Passing a test cannot reliably reveal whether a forecaster had prior knowledge, but it can certify an operational ability when passing the test itself demonstrates something useful.
Chapters
- The audit goal is to distinguish a forecaster that knows the true conditional probabilities from one with no prior knowledge.
- The previous lecture's minimax argument says any test that accepts an informed forecaster with probability at least 1 − δ can also be passed by an uninformed forecaster with that probability.
- That general argument is nonconstructive because it applies minimax to an enormous strategy space without accounting for computation.
- The audit sequence places a composite integer before its two prime factors, in sorted order.
- An auditor can sample the sequence by generating two primes and multiplying them, without factoring the product.
- Predicting the factors after seeing only the product requires solving integer factorization, which is believed to be computationally hard classically.
- For a length-4n sequence, the first 2n bits encode N and the next two n-bit blocks encode its smaller and larger prime factors.
- A validity function checks that the factors are prime, sorted, and multiply to N; primality testing and multiplication are polynomial-time operations.
- Each valid N has a unique factor-pair suffix, by unique prime factorization.
- At each round, the audit records the probability assigned to the realized bit: the forecast itself for a 1, or one minus the forecast for a 0.
- For the factor bits, the audit multiplies these probabilities to obtain the forecast's probability for the complete realized factorization.
- The test statistic is efficiently computable from the recorded forecasts and outcomes, without factoring N.
- The audit rejects only when the completed sequence is a valid factorization and the forecaster assigned the realized factor pair probability below α.
- Invalid encodings are accepted so the test can remain valid beyond the special distribution made from semiprimes and their factors.
- This acceptance rule lets the test accept an honest forecaster with probability at least 1 − α on every distribution.
- If N cannot be represented as the product of two primes, no suffix is valid and the audit always accepts.
- If the honest forecaster assigns the correct factorization probability at least α, the audit cannot reject it.
- If the honest forecaster assigns that outcome probability below α, rejection occurs only when nature generates that outcome, an event with probability below α.
- An uninformed forecaster can pass the audit in principle by factoring N and predicting its unique prime factors.
- The audit is therefore covered by the previous lecture's general impossibility result, even though the passing strategy is computationally demanding.
- The key issue is that factoring also makes honest forecasting hard on this distribution.
- A polynomial-time reduction samples two primes P and Q, multiplies them to form N, and submits N followed by P and Q as an audit instance.
- To factor a new input N, the reduction instead queries the forecaster for the factor bits autoregressively.
- The reduction verifies any proposed factors by checking primality and multiplication, both efficiently.
- For each next factor bit, the reduction queries the forecaster and samples a bit using the forecast probability.
- The probability of generating the correct factorization equals the forecaster's assigned probability for that factorization.
- If the forecaster passes the audit with probability at least ρ, this construction factors sampled semiprimes with probability at least αρ.
- A nontrivial audit-passing rate would yield a nontrivial factoring success rate, so a polynomial-time forecaster that passes reliably would challenge the classical factoring assumption.
- The audit is efficiently sampled and graded, but both honest and uninformed forecasters face the same factoring bottleneck.
- Computational hardness therefore does not establish that an informed forecaster passes more easily than a charlatan.
- Roth next restricts the setting to K candidate distributions, each with an efficient algorithm for the conditional probability of the next bit given a history.
- The audit itself must also be efficient to compute from a forecasting rule and an outcome sequence.
- This excludes the factoring example, where even knowing the distribution does not make honest forecasting efficient.
- Nature may choose any mixture over the K known distributions by first selecting one component and then generating the entire sequence from it.
- The test is assumed to accept the honest forecaster with probability at least 1 − α on every such mixture, a weaker condition than validity on all possible distributions.
- Roth's result constructs an efficient forecaster that does not know which base distribution nature selected.
- For every ε > 0, the constructed randomized forecaster passes the test with probability at least 1 − α − ε on each of the K distributions.
- The construction and resulting forecasting algorithm run in time polynomial in K, the sequence length, and 1/ε.
- The result turns the earlier nonconstructive minimax impossibility into an efficient one under the assumption that honest forecasting is efficient.
- A uniform prior over the K distributions may pass on average over the components but can fail badly on a particular distribution.
- For example, passing 99% of the time on average across 100 candidates is consistent with always failing on one candidate.
- The theorem instead requires one forecasting strategy that achieves nearly 1 − α acceptance separately on every candidate.
- The zero-sum game has the forecaster choose a prediction rule and nature choose a mixture over the K base distributions; the payoff is the probability of passing the audit.
- Minimax says the forecaster can secure the same value whether nature chooses first or second, but the general theorem does not construct that strategy.
- Roth makes the strategy constructive by using Hedge for nature's mixture and an efficient best response for the forecaster.
- For fixed mixture weights, the best response is the honest forecast under that mixture, computed by Bayes' rule from component likelihoods and next-bit probabilities.
- The efficient conditional-probability algorithms for each base distribution make these Bayesian calculations efficient.
- Hedge receives unbiased pass-rate estimates by sampling a sequence from each candidate distribution and evaluating the audit.
- After about log(K)/ε² Hedge rounds, the regret term is at most ε; randomly selecting one of the resulting forecasting rules gives acceptance at least 1 − α − ε on every candidate.
- Levin search can enumerate and compete with polynomial-time conditional-probability programs, though Roth notes that the resulting constants make this theoretical rather than practical.
- Passing an audit cannot establish prior knowledge, but it can certify useful capability when the tested task itself matters, such as factoring or decision-calibration guarantees.
Transcript excerpt
0:00 So um last week we considered this problem of forecast testing or auditing a predictive model to try to figure out whether it's doing what it says. To briefly remember got some predictive model that sort of is claiming to us that it has some mechanistic or you know physical model of the world and it knows the true conditional probabilities for each of a sequence of events. And our goal was just come up with any auditing procedure that could run any test it likes that look at the mechanics of the deployed predictive rule like it could really do anything and to be able to distinguish the case in which predictive model is doing what it says.
0:50 Corresponds to like some physical mechanism for the world you know it says a 30% probability of the outcome but it's describing is really like a Bernoulli outcome that occurs with probability 30% versus a model that perhaps knows nothing at all. And sort of a a pretty sweeping impossibility result based on the main So it said look for any test or auditing procedure at all that has a low um false negative rate in that unlikely to reject an informed forecaster for any true generative model. Say it's you know doesn't reject informed forecaster with probability greater than delta on any on any true generative model
1:41 then like there is a single algorithm a completely uninformed forecaster that is guaranteed to pass the same audit to pass the same test with probability one minus delta. So it's sort of saying no test has any predictive power at all like the false negative rate has to be um at one minus the false positive rate The same kind of thing you'd get in this from like Okay, so this is sort of saying
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Aaron Roth.