# Transcendence: Generative Models Can Outperform The Experts That Train Them

###### Abstract

Generative models are trained with the simple objective of imitating the conditional probability distribution induced by the data they are trained on. Therefore, when trained on data generated by humans, we may not expect the artificial model to outperform the humans on their original objectives. In this work, we study the phenomenon of transcendence : when a generative model achieves capabilities that surpass the abilities of the experts generating its data. We demonstrate transcendence by training an autoregressive transformer to play chess from game transcripts, and show that the trained model can sometimes achieve better performance than all players in the dataset. 1 1 1 To play with our models, code, and data, please see our website at https://transcendence.eddie.win . We theoretically prove that transcendence can be enabled by low-temperature sampling, and rigorously assess this claim experimentally. Finally, we discuss other sources of transcendence, laying the groundwork for future investigation of this phenomenon in a broader setting.

## 1 Introduction

Generative models (GMs) are typically trained to mimic human behavior. These humans may be skilled in their various human objectives: answering a question, creating art, singing a song. The model has only one objective: minimizing the cross-entropy loss with respect to the output distribution, thereby adjusting it to match the distribution of human labels 2 2 2 Although chatbots are subject to a variety of post-training tuning methods, e.g., RLHF, we restrict our scope by assuming that the specialized knowledge and capacities are already provided by cross-entropy loss. . Therefore, one might assume the model can, at best, match the performance of an expert on their human objectives. Is it possible for these models to surpass—to transcend —their expert sources in some domains?

We illustrate an example of such transcendence in Figure 1 , which measures the chess ratings (Glicko-2 [ 7 ] ) of several transformer [ 35 ] models. Our experimental testbed is generative modeling on chess, which we choose as a domain for its well-understood, constrained nature. The transformer models are trained on public datasets of human chess transcripts, autoregressively predicting the next move in the game. To test for transcendence , we limit the maximal rating of the human players in the dataset below a specified score. We find that ChessFormer 1000 1000 and ChessFormer 1300 1300 (the latter number being the maximum rating seen during training) achieve significant levels of transcendence, surpassing the maximal rating seen in the dataset. Our focus is this capacity of a GM to transcend its expert sources by broadly outperforming any one expert. The key to our findings is the observation that GMs implicitly perform majority voting over the human experts. As these models are trained on a collection of many experts with diverse capacities, predilections, and biases, this majority vote oftentimes outperforms any individual expert, a phenomena that is known as “wisdom of the crowd”.

Our objective is to formalize the notion of transcendence and focus narrowly on this source of improvement over the experts: the removal of diverse human biases and errors. We prove that this form of denoising is enabled by low-temperature sampling, which implicitly induces a majority vote. Our result draws a subtle but deep connection from our new setting to a rich prior literature on model ensembling [ 1 , 6 , 19 ] , enabling several key results. We precisely characterize the conditions under which transcendence is possible, and give a rigorous theoretical framework for enabling future study into the phenomenon. To test the predictive power of our theory, we then empirically demonstrate these effects. Digging deeper into the effects of majority voting, we show that its advantage is primarily due to performing much better on a small subset of states—that is, under conditions that are likely key to determining the outcome of the game. We also find that diversity in the data is a necessary condition for practically effective majority voting, confirming our theoretical findings. In short:

• We formalize the notion of transcendence in generative models (Section 2 ).

• We find a key insight explaining one cause of transcendence by connecting the case of denoising experts to model ensembling. In low temperature sampling settings, we prove that a generative model can transcend if trained on a single expert that makes mistakes uniformly at random. We then extend this result to transcending a collection of experts that are each skilled in different domains (Section 3 ).

• We train a chess transformer on game transcripts that only include players up to a particular skill level. We confirm our theoretical prediction that this model only surpasses the maximum rating of its expert data generators at low temperature settings (Section 4 ).

• We visualize the distribution of changes in reward by setting a lower sampling temperature, attributing the increased performance to large improvements on a relatively small portion of states (Section 4.2 ).

• We explore the necessity of dataset diversity, and the inability of ChessFormer to transcend when trained on less diverse datasets (Section 4.2 ).

## 2 Definition of Transcendence

Denote by 𝒳 \mathcal{X} the (variable-length) input space and by 𝒴 \mathcal{Y} the (finite) output space. Let ℱ \mathcal{F} be the class of all functions mapping 𝒳 ↦ P ⁡ ( 𝒴 ) \mathcal{X}\mapsto P(\mathcal{Y}) (where we use the notation P ⁡ ( 𝒴 ) P(\mathcal{Y}) to denote probability distributions over 𝒴 \mathcal{Y} ). That is, the functions in ℱ \mathcal{F} map inputs in 𝒳 \mathcal{X} to probability distributions over 𝒴 \mathcal{Y} , so each function f ∈ ℱ f\in\mathcal{F} defines a conditional probability distribution of y ∈ 𝒴 y\in\mathcal{Y} given x ∈ 𝒳 x\in\mathcal{X} . We denote this distribution by f ⁡ ( y | x ) f(y|x) .

Fix some input distribution p p over 𝒳 \mathcal{X} such that p p has full support (namely, for every x ∈ 𝒳 x\in\mathcal{X} we have p ⁡ ( x ) > 0 p(x)>0 ). Throughout the paper, we assume that our data is labeled by k k experts, denoted f 1 , … , f k ∈ ℱ f_{1},\dots,f_{k}\in\mathcal{F} . Namely, we assume that the inputs are sampled from the input distribution p p and then each input x ∈ 𝒳 x\in\mathcal{X} is labeled by some expert chosen uniformly at random 3 3 3 Equivalently, we can assume that each example is labeled by all experts. . This process induces a joint probability distribution over 𝒳 × 𝒴 \mathcal{X}\times\mathcal{Y} , which we denote by D \dist . Specifically, D ( x , y ) = p ⁡ ( x ) ​ f ¯ ​ ( y | x ) \dist(x,y)=p(x)\overline{f}(y|x) where f ¯ \overline{f} is the mixture of the expert distributions, namely f ¯ ​ ( y | x ) = 1 k ​ ∑ i = 1 k f i ​ ( y | x ) \overline{f}(y|x)=\frac{1}{k}\sum_{i=1}^{k}f_{i}(y|x) (1) We measure the quality of some prediction function f ∈ ℱ f\in\mathcal{F} using a reward assigned to each input-output pair. Namely, we define a reward function r : 𝒳 × 𝒴 → ℝ r:\mathcal{X}\times\mathcal{Y}\to\mathbb{R} , s.t. for all x x , the function r ⁡ ( x , ⋅ ) r(x,\cdot) is not constant (i.e., for every input x x not all outputs have the same reward). We choose some test distribution p test p_{\mathrm{test}} over 𝒳 \mathcal{X} , and for some f ∈ ℱ f\in\mathcal{F} define the average reward of f f over p test p_{\mathrm{test}} by: R p test ( f ) = 𝔼 x ∼ p test [ r x ( f ) ] , where r x ( f ) = 𝔼 y ∼ f ( ⋅ | x ) [ r ( x , y ) ] R_{p_{\mathrm{test}}}(f)=\mathbb{E}_{x\sim p_{\mathrm{test}}}\left[r_{x}(f)\right],~~~\mathrm{where}~~r_{x}(f)=\mathbb{E}_{y\sim f(\cdot|x)}\left[r(x,y)\right] (2) A learner has access to the distribution D \dist , and needs to find a function that minimizes the cross-entropy loss over D \dist . Namely, the learner chooses some function f ^ ∈ ℱ \hat{f}\in\mathcal{F} s.t. f ^ = arg ⁡ min f ∈ ℱ ​ 𝔼 x ∼ p ​ [ H ⁡ ( f ¯ , f ) ] \hat{f}=\arg\min_{f\in\mathcal{F}}\mathbb{E}_{x\sim p}\left[H(\overline{f},f)\right] where H H is the cross-entropy function.

###### Definition 1 .

We define “transcendence” to be a setting of f 1 , … , f k ∈ ℱ f_{1},\dots,f_{k}\in\mathcal{F} and p ∈ P ⁡ ( 𝒳 ) p\in P(\mathcal{X}) where: R p test ​ ( f ^ ) > max i ∈ [ k ] ⁡ R p test ​ ( f i ) R_{p_{\mathrm{test}}}(\hat{f})>\max_{i\in[k]}R_{p_{\mathrm{test}}}(f_{i}) (3)

In other words, transcendence describes cases where the learned predictor performs better (achieves better reward) than the best expert generating the data. Note that we are focusing on an idealized setting, where the learner has access to infinite amount of data from the distribution D \dist , and can arbitrarily choose any function to fit the distribution (not limited to a particular choice of architecture or optimization constraints). As we will show, even in this idealized setting, transcendence can be impossible to achieve without further modifying the distribution.

###### Remark 1 .

We have made various simplifying assumptions when introducing our setting. For example, we assume that all experts share the same input distribution, we assume that all inputs have non-zero probability under the training distribution p p , and we assume the experts are sampled uniformly at random. We leave a complete analysis of a more general setting to future work, and discuss this point further in section 6 .

## 3 Conditions for Transcendence

In this section we analyze the necessary and sufficient conditions for transcendence in our setting. We begin by showing that low-temperature sampling is necessary for transcendence in our specific setting. Then, we analyze specific sufficient conditions for transcendence, both in the case where the data is generated by a single expert and when the data is generated by multiple experts. We defer all proofs to Appendix A .

### 3.1 Low-Temperature Sampling is Necessary for Transcendence

Observe that by definition of f ^ \hat{f} , and using standard properties of the cross-entropy loss, we get that f ^ = f ¯ \hat{f}=\overline{f} , as defined in Eq. ( 1 ). Therefore, the conditional probability distribution generated by f ^ \hat{f} is simply an average of the distributions generated by the expert. Since the reward is a linear function of these distributions, we get that f ^ \hat{f} never achieves transcendence:

###### Proposition 1 .

For all choice of f 1 , … , f k f_{1},\dots,f_{k} and p test p_{\mathrm{test}} , there exists some f i f_{i} s.t. R p test ​ ( f i ) ≥ R p test ​ ( f ^ ) R_{p_{\mathrm{test}}}(f_{i})\geq R_{p_{\mathrm{test}}}(\hat{f}) .

Note that in our setting, we assume that all experts are sampled uniformly for a given input x x . If instead this assumption is removed, then it may be possible to achieve transcendence with a bayesian weighting. We leave this analysis for future work.

### 3.2 Transcendence with Low-Temperature Sampling

Now, we consider a temperature sampling scheme over the learned function f ^ \hat{f} . Namely, for some temperature τ > 0 \tau>0 , and some probability distribution q ∈ P ⁡ ( 𝒴 ) q\in P(\mathcal{Y}) , denote the softmax operator with temperature τ \tau by softmax ⁡ ( q , τ ) ∈ P ⁡ ( 𝒴 ) \mathrm{softmax}(q;\tau)\in P(\mathcal{Y}) s.t. softmax ​ ( q , τ ) y = exp ⁡ ( q y / τ ) ∑ y ′ ∈ 𝒴 exp ⁡ ( q y ′ / τ ) \mathrm{softmax}(q;\tau)_{y}=\dfrac{\exp(q_{y}/\tau)}{\sum_{y^{\prime}\in\mathcal{Y}}\exp(q_{y^{\prime}}/\tau)} . Additionally, we define arg ​ max ⁡ ( q ) ∈ P ⁡ ( 𝒴 ) \argmax(q)\in P(\mathcal{Y}) to be the uniform distribution over the maximal values of q q , namely arg ​ max ⁡ ( q ) = 1 / | Y q | \argmax(q)=1/{\left\lvert Y_{q}\right\rvert} if y ∈ Y q y\in Y_{q} and 0 if y ∉ Y q y\notin Y_{q} , where Y q = { y ∈ 𝒴 : q y = max ⁡ ( q ) } Y_{q}=\{y\in\mathcal{Y}:q_{y}=\max(q)\} . Now, define f ^ τ \hat{f}_{\tau} to be the temperature sampling of f ^ \hat{f} , i.e. f ^ τ ( ⋅ | x ) = softmax ( f ^ ( ⋅ | x ) ; τ ) \hat{f}_{\tau}(\cdot|x)=\mathrm{softmax}(\hat{f}(\cdot|x);\tau) and f ^ max \hat{f}_{\max} the arg-max “sampling” of f ^ \hat{f} , i.e. f ^ max ( ⋅ | x ) = arg ​ max ( f ^ ( ⋅ | x ) ) \hat{f}_{\max}(\cdot|x)=\argmax(\hat{f}(\cdot|x)) . We now show that if the arg-max predictor f ^ max \hat{f}_{\max} is better than the best expert, then transcendence is possible with low-temperature sampling.

###### Proposition 2 .

R p test ​ ( f ^ max ) > max i ∈ [ k ] ⁡ R p test ​ ( f i ) R_{p_{\mathrm{test}}}(\hat{f}_{\max})>\max_{i\in[k]}R_{p_{\mathrm{test}}}(f_{i}) if and only if there exists some temperature τ ∈ ( 0 , 1 ) \tau\in(0,1) s.t. for all 0 ≤ τ ′ ≤ τ 0\leq\tau^{\prime}\leq\tau , it holds that R p test ​ ( f ^ τ ′ ) > max i ∈ [ k ] ⁡ R p test ​ ( f i ) . R_{p_{\mathrm{test}}}(\hat{f}_{\tau^{\prime}})>\max_{i\in[k]}R_{p_{\mathrm{test}}}(f_{i}).

The above shows that, even though transcendence cannot be achieved when directly modeling the distribution, it can be achieved by temperature sampling, assuming that the arg-max predictor achieves higher reward compared to all experts. In other words, we make the subtle connection here that low-temperature sampling can be thought of as performning majority vote [ 1 , 6 ] between the experts. Please see Appendix A for a formal proof of this connection. When the experts put non-negligible mass onto the best actions, the resulting majority vote may find the best action [ 9 ] , which improves performance compared to individual experts (i.e., “wisdom of the crowd”) and thus achieve transcendence.

### 3.3 Denoising a Single Expert

We now turn to study particular cases where low-temperature sampling can lead to transcendence. The most simple case is of a single expert that outputs a correct but noisy prediction. Denote by f ∗ f^{*} the optimal expert, s.t. for all x x we have f ∗ ​ ( y | x ) = δ ⁡ ( y ∈ Y x ∗ ) | Y x ∗ | f^{*}(y|x)=\dfrac{\delta(y\in Y^{*}_{x})}{\lvert Y^{*}_{x}\rvert} , where Y x ∗ = { y ∈ 𝒴 : y = max y ′ ⁡ r ⁡ ( x , y ′ ) } Y^{*}_{x}=\{y\in\mathcal{Y}:y=\max_{y^{\prime}}r(x,y^{\prime})\} and δ ⁡ ( condition ) \delta(\text{condition}) is 1 if the condition is true and 0 otherwise. Now, for some ρ ∈ ( 0 , 1 ) \rho\in(0,1) , let f ρ f_{\rho} be a “noisy” expert, s.t., for all x x , with probability ρ \rho chooses a random output, and with probability 1 − ρ 1-\rho chooses an output according to the optimal expert f ∗ ( ⋅ | x ) f^{*}(\cdot|x) , namely f ρ ​ ( y | x ) = ρ / | 𝒴 | + ( 1 − ρ ) ​ f ∗ ​ ( y | x ) f_{\rho}(y|x)=\rho/\left\lvert\mathcal{Y}\right\rvert+(1-\rho)f^{*}(y|x) . We show that transcendence is achieved with low-temperature sampling for data generated by f ρ f_{\rho} :

###### Proposition 3 .

Assume the data is generated by a single expert f ρ f_{\rho} . Then, there exists some temperature τ ∈ ( 0 , 1 ) \tau\in(0,1) s.t. for all τ ′ ≤ τ \tau^{\prime}\leq\tau , the predictor f ^ τ ′ \hat{f}_{\tau^{\prime}} achieves “transcendence”.

### 3.4 Transcendence from Multiple Experts

Next, we consider the case where the dataset is generated by multiple experts that complement each other in terms of their ability to correctly predict the best output. For example, consider the case where the input space is partitioned into k k disjoint subsets, 𝒳 = 𝒳 1 ​ ∪ ˙ ​ … ​ ∪ ˙ ​ 𝒳 k \mathcal{X}=\mathcal{X}_{1}\dot{\cup}\dots\dot{\cup}\mathcal{X}_{k} , s.t. the i i -th expert performs well on the subset 𝒳 i \mathcal{X}_{i} , but behaves randomly on other subsets. Namely, assume the expert f i f_{i} behaves as follows: f i ​ ( y | x ) = ( δ ⁡ ( y ∈ Y x ⋆ ) ​ δ ​ ( x ∈ 𝒳 i ) | Y x ⋆ | + δ ⁡ ( x ∉ 𝒳 i ) | 𝒴 | ) f_{i}(y|x)=\biggl(\frac{\delta(y\in Y^{\star}_{x})\delta(x\in\mathcal{X}_{i})}{|Y^{\star}_{x}|}+\frac{\delta(x\notin\mathcal{X}_{i})}{|\mathcal{Y}|}\biggr) where Y x ∗ Y_{x}^{*} is as previously defined and δ ⁡ ( condition ) \delta(\text{condition}) is 1 if the condition is true and 0 otherwise. We show that, assuming that the test distribution p test p_{\mathrm{test}} is not concentrated on a single subset 𝒳 i \mathcal{X}_{i} , we achieve transcendence with low-temperature sampling:

###### Proposition 4 .

Let p test p_{\mathrm{test}} be some distribution s.t. there are at least two subsets 𝒳 i ≠ 𝒳 j \mathcal{X}_{i}\neq\mathcal{X}_{j} s.t. p test ​ ( 𝒳 i ) , p test ​ ( 𝒳 j ) > 0 p_{\mathrm{test}}(\mathcal{X}_{i}),p_{\mathrm{test}}(\mathcal{X}_{j})>0 . Then, if the data is generated by f 1 , … , f k f_{1},\dots,f_{k} , there exists some temperature τ ∈ ( 0 , 1 ) \tau\in(0,1) s.t. for all τ ′ ≤ τ \tau^{\prime}\leq\tau , the predictor f ^ τ ′ \hat{f}_{\tau^{\prime}} achieves “transcendence”.

In order to build intuition for Proposition 4 , see Appendix C for an intuitive diagram.

## 4 Experiments

To evaluate the predictive power of our impossibility result of transcendence with no temperature sampling ( Proposition 1 ) as well as our result of transcendence from multiple experts with low temperature sampling ( Proposition 2 ), we turn to modeling and training chess players. Chess stands out as an attractive option for several reasons. Chess is a well-understood domain and more constrained than other settings such as natural language generation, lending to easier and stronger analysis. Evaluation of skill in chess is also natural and well-studied, with several rigorous statistical rating systems available. In this paper, we use the Glicko-2 rating system [ 7 ] , which is also adopted by https://lichess.org , the free and open-source online chess server from which we source our dataset.

### 4.1 Experimental Setup

#### Training Details.

We trained several 50 50 M parameter autoregressive transformer decoders following best practices from modern large model training, including a cosine learning rate schedule and similar batch size-learning rate ratios as prescribed by the OPT-175B team [ 37 ] . Our dataset consists of human chess games from the lichess.org open source database from January 2023 to October 2023. In total, this dataset contains approximately one billion games. In this setting, an expert is a specific individual player. To test for transcendence, we truncate this dataset by a maximum rating, so that during training a model only sees data up to a given rating. We train our model on the next-token prediction objective, and represent our chess games as Portable Game Notation (PGN) strings, such as 1.e4 e5 2.Nf3 Nc6 3.Bb5... 1/2-1/2 . Note that we do not give any rating or reward information during training—the only input the model sees are the moves and the outcome of the game. We tokenize our dataset at the 32 32 -symbol character level. (For further details, see Appendix E .) Our model plays chess “blind”—without direct access to the board state—and, furthermore, is never explicitly given the rules of the game: at no point is play constrained to valid outputs for a given piece or board state. Nontrivial chess skill is therefore not straightforward to acquire, and if not for the surprising capabilities of modern large transformers, one might imagine such a model would fail to learn even the basic rules of playing chess. This blindfolded setting has also been studied by prior work [ 23 , 30 ] , as discussed further in section 5 .

One gap between our theory and practice is that in our theory, we assume that each expert is defined over the entire input space 𝒳 \mathcal{X} . However, in the chess setting such full coverage is extremely unlikely to be the case after around move 15 15 , as there are more unique chess games than atoms in the universe due to the high branching factor of the game tree. To address this gap, we visualize the latent representation of our model in Figure 3 , where we find the model is able to capture meaningful semantics regarding both the relative advantage of a state, as well as the identity of the black and white player. This visualization illustrates the ability of our model to generalize by compressing games into some shared latent representation, enabling experts to generalize to unseen states, bridging this gap between theory and practice.

#### Evaluation.

We evaluate each model by its Glicko-2 ratings against Stockfish 16.1 [ 29 ] , a popular open-source chess engine. Stockfish uses a traditional minimax search equipped with a bespoke CPU-efficient neural network for evaluation [ 22 ] and α \alpha - β \beta pruning for further efficiency. We evaluate Stockfish at levels 1, 3, and 5 with a 100ms timeout directly on Lichess’ platform against the Maia [ 18 ] 1, 5, and 9 bots (human behavior cloned convolutional networks trained at rating bins 1100-1200, 1500-1600, and 1900-2000, respectively) for several hundred games, obtaining calibrated Glicko-2 ratings for Stockfish specifically on Lichess’ platform ( 1552 ± 45.2 1552\pm 45.2 , 1842 ± 45.2 1842\pm 45.2 , 2142 ± 59 2142\pm 59 for Stockfish Levels 1, 3, and 5, respectively). Next, for evaluating our own models, we then play against Stockfish levels of 1, 3, and 5 for 100 games each, reaching a final rating calculation with 300 games. We then report both the Glicko-2 rating R R as well as rating deviation R ​ D RD of our models, where R ± 2 ∗ R ​ D R\pm 2*RD provides a 95 % 95\% confidence interval. To play against Stockfish, we successively prompt our model with the current game PGN string. Note that our output is entirely unconstrained, and may be either illegal in the current board state or altogether unparsable. If our model fails to generate a valid legal move after 5 samples, we consider it to have lost. After generation, we give the updated board state to Stockfish and pass a new PGN string appended with the prior move of Stockfish back to our model. We repeat this process until the game ends.

### 4.2 Experimental Results

#### Main Result: Low-temperature sampling enables transcendence.

In this section we attempt to answer our primary research question, can low-temperature sampling actually induce transcendence in practice? We test Proposition 2 by evaluating several ChessFormers across different temperature values, from 0.001 0.001 (nearly deterministic), to 1.0 1.0 (original distribution), to 1.5 1.5 (high entropy). In Figure 1 we definitively confirm the existence of transcendence. Our ChessFormer 1000 (where the latter number refers to the maximum rating seen during training) and ChessFormer 1300 models are able to transcend to around 1500 rating at temperature τ \tau equal to 0.001 0.001 . Interestingly, ChessFormer 1500 is unable to transcend at test time, a result we further analyze in Dataset Diversity .

To more deeply understand when and why transcendence occurs, we investigate two questions. (1) How does the reward function defined in Equation 2 shift with respect to low-temperature sampling? (2) Does transcendence rely on dataset diversity, as introduced theoretically in subsection 3.4 ?

#### Lowering temperature increases rewards in expectation on specific states, leading to transcendence over the full game.

When playing chess, a low-skilled player may play reasonably well until they make a significant blunder at a key point in play. If these errors are idiosyncratic, averaging across many experts would have a denoising effect, leaving the best moves with higher probability. Therefore, low-temperature sampling would move probability mass towards better moves in specific play contexts. Without low-temperature sampling, the model would still put probability mass onto blunders. To gain intuition for this idea, we visualize it theoretically in Appendix C and empirically in Figure 2 and Appendix B . This hypothesis motivates our first research question in this section: Does low-temperature sampling improve the expected reward very much for just some specific key game states, or a little for many game states?

To formalize this notion, we first define a “favor” function, which captures the improvement in reward by following some new probability distribution over some baseline probability distribution. Our definition is inspired by the Performance Difference Lemma (PDL) [ 10 ] from Reinforcement Learning (RL), which establishes an equivalence between the change in performance from following some new policy (a probability distribution of actions given a state) over some old policy, and the expected value of the advantage function of the old policy sampled with respect to the new policy. In RL, the advantage function is defined as the difference between the value of taking a single action in a given state versus the expected value of following some policy distribution of actions in that state.

Here, we define the “favor” of f ′ f^{\prime} over f f in x x as the change in the reward function by comparing what f f would have done when following f ′ f^{\prime} for a given input x x :

F ( f ′ , f ; x ) = 𝔼 x ∼ d f ′ , y ∼ f ′ ( ⋅ | x ) [ r ( x , y ) ] − 𝔼 x ∼ d f ′ , y ∼ f ( ⋅ | x ) [ r ( x , y ) ] . F(f^{\prime},f;x)=\mathbb{E}_{x\sim d^{f^{\prime}},y\sim f^{\prime}(\cdot|x)}[r(x,y)]-\mathbb{E}_{x\sim d^{f^{\prime}},y\sim f(\cdot|x)}[r(x,y)]. (4)

Where d f d^{f} refers to the state visitation distribution [ 31 ] when following f f in a sequential setting—informally, this variable can be thought of the distribution of states seen when sampling from f f with a fixed transition function that takes in an input x x , a output y y , and outputs a next input x x . Here, that transition function is given by the rules of chess and the opponent player. Given this favor function, we can now quantitatively explore the effects that lead to transcendence by setting the baseline f f to be the original imitation-learned probability distribution (temperature τ = 1 \tau=1 ), and f ′ f^{\prime} as a low-temperature intervention on f f (e.g. temperature τ = 0 \tau=0 ). We can empirically calculate the reward by using the evaluation function [ 22 ] of Stockfish, an expert neural reward function that Stockfish uses to calculate its next move. This reward function is a neural network trained to predict the probability of winning through a sigmoid on a linear combination of handcrafted expert heuristics, such as amount of material versus opponent material, and number of moves to a potential checkmate.

In Figure 4 , we find that lowering the temperature has the effect of skewing the expected reward distribution to the right, especially for the green τ = 0.001 \tau=0.001 distribution. This result implies that the model does not improve the expected reward by a small amount for many game states, but rather improves the expected reward by a relatively large amount for a few game states. Thus, τ = 0.001 \tau=0.001 improves the expected reward (probability of winning) by an average of 2.15 ± 0.17 % \mathbf{2.15\pm 0.17\%} , but for some states, this expected improvement is over 5%. Note that the original temperature expected reward can be thought of as a Dirac distribution centered at 0 0 . The above finding answers our research question in this section: Low-temperature sampling is able improves the expected reward by relatively large amounts for some specific game states, which is likely why the ChessFormer 1000 1000 and 1300 1300 model was able to achieve transcendence.

In Table 1 , we present the statistics of the favor function for different temperature values. From this table, we observe that as the temperature decreases, the top- k k accuracies monotonically increase, suggesting that the model becomes more consistent in selecting good moves. We also observe that although the model improves as temperature decreases, the probability of winning is still below 50 % 50\% , meaning our model should tend to lose more games than it wins against Stockfish 1 1 . This result matches with our results in Figure 1 , as the rating of Stockfish 1 1 is also higher than the reported rating for τ = 0.001 \tau=0.001 ( 1550 1550 for Stockfish 1 vs ∼ 1450 \sim 1450 for Chessformer 1000 1000 ). Overall, the analysis of the advantage statistics provides further evidence for the effectiveness of low-temperature sampling in inducing transcendence in chess models.

#### Dataset diversity is essential for transcendence.

As we note in subsection 3.4 , our theory requires dataset diversity as a necessary condition for enabling transcendence. Importantly, we find in Figure 1 that not all models are able to transcend. Unlike ChessFormer 1000 or 1300, the Chessformer 1500 fails to transcend. We hypothesize that this results is due to the fact that in the band of ratings from 1000 1000 to 1500 1500 , diversity does not significantly increase. If so, a 1000 1000 rated player can be thought of as a noisy 1500 1500 rated player, but a 1500 1500 rated player cannot be thought of as a noisy 2000 2000 rated player. In this section we ask the following research question: Is diversity in data required for enabling transcendence?

In Figure 5 , we explore this research question by quantifying dataset diversity through the normalized entropy on the action distribution ℋ f ​ ( Y | X ) = 𝔼 y ∼ f ⁡ ( y | x = X ) ​ [ − log 2 ⁡ f ⁡ ( y | x = X ) ] / log 2 ⁡ | 𝒴 | . \mathcal{H}_{f}(Y|X)={\mathbb{E}_{y\sim f(y|x=X)}[-\log_{2}f(y|x=X)]}/{\log_{2}|\mathcal{Y}|}. To gain intuition for this metric, imagine the action distribution of moves taken for any given state. Entropy will be higher for more uniform action distributions, and lower for more deterministic, peaked action distributions. The average entropy of these action distributions can therefore serve as a measurement of the diversity of the dataset. We normalize this entropy to the range [ 0 , 1 ] [0,1] by dividing by the binary log of the number of legal moves: log 2 ⁡ | 𝒴 | \log_{2}|\mathcal{Y}| .

Importantly, we cannot calculate this normalized entropy for every state, as most states after move 16 16 in the midgame and before the engame are unique within the dataset and we therefore observe just a single action for thus states. Therefore our metric is limited in that it only considers opening moves, the beginning of the midgame, and the endgame. We consider only common states with greater than 100 100 actions by sampling 1,000,000 1,000,000 games from each dataset. The average entropy confirm our hypothesis: The < 1500 <1500 cut off dataset has on average less diversity than the < 1300 <1300 dataset, which has is again less than the < 1000 <1000 dataset. This result suggests that Chessformer 1500 1500 likely is not transcendent due to a lack of diversity in its dataset. If the entropy instead stayed constant for each dataset, it would imply that each had a similar level of diversity. In such a case, we would expect that ChessFormer 1500 1500 likely would also transcend. Instead, as predicted, it is likely not transcendent due to a lack of diversity.

### 4.3 Additional Settings

SQuADv2 Natural Language Temperature Denoising Experiment. We extend our analysis to the Natural Language Processing domain by running experiments on the Stanford Question Answering Dataset (SQuAD 2.0). We tested the effects of temperature denoising on the performance of several large language models (LLMs) of varying sizes. The SQuAD task involves reading comprehension and question-answering based on Wikipedia articles, making it an ideal setting to evaluate the impact of denoising on language models. We measured the exact-match, semantic-match, and F1 scores of the model outputs at different temperatures. The results show that temperature denoising leads to improved performance, corroborating the findings of our chess experiments and providing broader validation of the underlying mechanism of temperature denoising in diverse domains.

Toy Model Setting and Results. In addition, we develop a toy theoretical model to further study when transcendence is possible. This model involves a classification task with Gaussian input data and linearly separable classes. Experts label the data with noisy versions of the ground truth separator. We trained a linear model on a dataset labeled by random experts and observed the test accuracy for different temperature settings. The synthetic experiments demonstrated that transcendence occurs when expert diversity is high and temperature is low, aligning with our theoretical and empirical analysis in the chess domain.

## 5 Related Work

#### Chess and AI.

Chess has been motivating AI research since the field began. In 1950, before anyone had used the term “artificial intelligence”, automated chess were explored by both Claude Shannon [ 26 ] and Alan Turing [ 32 ] . Arguably, this history goes back even further: the famed “mechanical turk” of the 18th century was a fraudulently automated chess player. These centuries of mechanical ambitions were finally realized in 1997, when world champion Garry Kasparov was defeated by IBM’s Deep Blue [ 3 ] . Since then, chess program developers have drawn on neural approaches, with the RL-based convolutional network AlphaZero [ 27 ] far surpassing prior world champion engines such as Stockfish [ 25 ] .Our chess model testbed is inspired by a number of existing approaches, including other models trained on lichess data [ 18 ] , and other transformer-based sequential chess agents [ 23 , 5 ] .

#### Diversity beats Strength.

Another historical thread in AI research is the strength of diverse learners. Long since the development of ensemble methods that exploit learner diversity—including bagging [ 1 ] , boosting [ 6 ] , and model averaging [ 19 ] —researchers have continued to articulate this insight across settings. Similar to our chess setting, a diverse team of go playing agents have been proven and empirically shown to outperform solitary agents [ 9 ] and homogeneous teams [ 28 ] , even when the alternative models individually outperform the diverse team members [ 17 ] . We draw a connection to this deep literature through our theory, which shows that imitation learning objective and then performing low-temperature sampling subtly implies the same principle of majority voting. Teacher diversity has also been explored in the machine learning literature. One related method is ensemble distillation [ 16 ] , in which a model is trained with an additional objective to match a variety of weaker teacher models. Closer to our setting, ensemble self-training approaches [ 24 ] train a learner directly on the labels produced by varied teachers. Large language models supervised by smaller or less trained models are said to exhibit “weak to strong generalization” [ 2 ] . Overall, evidence continues to accrue that the general phenomenon we address is pervasive: that is, models can substantially improve over the experts that generate their training data.

#### Offline Reinforcement Learning.

Our work also draws connections to the Offline Reinforcement Learning [ 14 ] setting, where one attempts to learn a new policy π \pi that improves upon a fixed dataset generated by some behavior policy π β \pi_{\beta} . However, our setting of imitation learning differs substantially from this literature, as we do not explicitly train our model on a RL objective that attempts to improve upon the dataset. Importantly, such an objective oftentimes introduces training instabilities [ 15 ] and also assumes reward labels. We defer a more extended discussion of related work to Appendix D .

## 6 Discussion and Future Work

This paper introduces the concept of transcendence. Our theoretical analysis shows that low-temperature sampling is key to achieving transcendence by denoising expert biases and consolidating diverse knowledge. We validate our findings empirically by training several chess models which, under low-temperature sampling, surpass the performance of the players who produced their training data, as well as further experiments in natural language question-answering and toy Gaussian models. We additionally highlight the necessity of dataset diversity for transcendence, emphasizing the role of varied expert perspectives.

#### Limitations.

While our work provides a strong foundation for understanding and achieving transcendence in generative models, several avenues for future research remain. Future work may investigate transcendence and its causes in domains and contexts beyond chess, such as natural language processing, computer vision, and text-to-video, to understand the generalizability of our findings. Additionally, our theoretical framework assumes that game conditions at test time match those seen during training; in order to extend our findings to cases of composition or reasoning, we must forego this assumption.

#### Future Work.

Future work could also explore the practical implementations of transcendence, and ethical considerations in the broader context of deployed generative models. Ultimately, our findings lay the groundwork for leveraging generative models to not only match but exceed human expertise across diverse applications, pushing the theoretical boundaries of what generative models can achieve.

#### Broader Impact.

The possibility of “superintelligent” AGI has recently fueled many speculative hopes and fears. It is therefore possible that our work will be cited by concerned communities as evidence of a threat, but we would highlight that the denoising effect addressed in this paper does not offer any evidence for a model being able to produce novel solutions that a human expert would be incapable of devising. In particular, we do not present evidence that low temperature sampling leads to novel abstract reasoning, but just denoising of errors.

## Acknowledgements

Sham Kakade acknowledges this work has been made possible in part by a gift from the Chan Zuckerberg Initiative Foundation to establish the Kempner Institute for the Study of Natural and Artificial Intelligence; support from the Office of Naval Research under award N00014-22-1-2377, and the National Science Foundation Grant under award #IIS 2229881.

## Appendix A Proofs

Here we prove Proposition 1 , where transcendence cannot occur by purely using imitation learning in our setting where all experts are sampled uniformly across the input distribution.

###### Proof.

From linearity of the expectation R p test ​ ( f ^ ) \displaystyle R_{p_{\mathrm{test}}}(\hat{f}) = 𝔼 x ∼ p test ​ [ r x ​ ( f ¯ ) ] \displaystyle=\mathbb{E}_{x\sim p_{\mathrm{test}}}\left[r_{x}(\overline{f})\right] = 𝔼 x ∼ p test ​ [ 1 k ​ ∑ i = 1 k r x ​ ( f i ) ] = 1 k ​ ∑ i = 1 k R p test ​ ( f i ) ≤ max i ⁡ R p test ​ ( f i ) \displaystyle=\mathbb{E}_{x\sim p_{\mathrm{test}}}\left[\frac{1}{k}\sum_{i=1}^{k}r_{x}(f_{i})\right]=\frac{1}{k}\sum_{i=1}^{k}R_{p_{\mathrm{test}}}(f_{i})\leq\max_{i}R_{p_{\mathrm{test}}}(f_{i}) ∎

We now give the proof of Proposition 2 that if the arg-max prediction is better than the best expert, then transcendence is possible with low-temperature sampling.

###### Proof.

Observe that for all q q , it holds that lim τ → 0 softmax ⁡ ( q , τ ) = arg ⁡ max ⁡ ( q ) \lim_{\tau\to 0}\mathrm{softmax}(q;\tau)=\arg\max(q) . Therefore, for all x x lim τ → 0 r x ​ ( f ^ τ ) = lim τ → 0 ∑ y r ⁡ ( x , y ) ⋅ f ^ τ ​ ( y | x ) = ∑ y r ⁡ ( x , y ) ​ f ^ max ​ ( y | x ) = r x ​ ( f ^ max ) \lim_{\tau\to 0}r_{x}(\hat{f}_{\tau})=\lim_{\tau\to 0}\sum_{y}r(x,y)\cdot\hat{f}_{\tau}(y|x)=\sum_{y}r(x,y)\hat{f}_{\max}(y|x)=r_{x}(\hat{f}_{\max}) and so, lim τ → 0 R p test ​ ( f ^ τ ) \displaystyle\lim_{\tau\to 0}R_{p_{\mathrm{test}}}(\hat{f}_{\tau}) = lim τ → 0 𝔼 x ∼ p test ​ [ r x ​ ( f ^ τ ) ] \displaystyle=\lim_{\tau\to 0}\mathbb{E}_{x\sim p_{\mathrm{test}}}\left[r_{x}(\hat{f}_{\tau})\right] = 𝔼 x ∼ p test ​ [ lim τ → 0 r x ​ ( f ^ τ ) ] = 𝔼 x ∼ p test ​ r x ​ ( f ^ max ) = R p test ​ ( f ^ max ) \displaystyle=\mathbb{E}_{x\sim p_{\mathrm{test}}}\left[\lim_{\tau\to 0}r_{x}(\hat{f}_{\tau})\right]=\mathbb{E}_{x\sim p_{\mathrm{test}}}r_{x}(\hat{f}_{\max})=R_{p_{\mathrm{test}}}(\hat{f}_{\max}) Therefore, the required immediately follows. ∎

To prove Proposition 3 , we directly use the result in Proposition 2 .

###### Proof.

Notice that for this expert, arg ​ max ( f ( ⋅ | x ) ) = f ∗ ( y | x ) \argmax(f(\cdot|x))=f^{*}(y|x) , which achieves higher reward compared to f f . Therefore, Theorem 2 implies that we achieve transcendence in the setting where all the data is generated by a single expert f f . ∎

Next, we give the proof for that low-temperature sampling can be thought of as performing majority vote [ 1 , 6 ] between the experts:

###### Proposition 5 .

Let 𝐳 = [ z 1 , z 2 , … , z n ] \mathbf{z}=[z_{1},z_{2},\dots,z_{n}] be a vector and τ > 0 \tau>0 be a temperature parameter. Define the softmax function as σ τ ​ ( z i ) = e z i / τ ∑ j = 1 n e z j / τ . \sigma_{\tau}(z_{i})=\frac{e^{z_{i}/\tau}}{\sum_{j=1}^{n}e^{z_{j}/\tau}}. Then, as τ → 0 + \tau\to 0^{+} , the limit of the softmax function is given by lim τ → 0 + σ τ ​ ( z i ) = { 1 k , if ​ z i = z max , 0 , otherwise , \lim_{\tau\to 0^{+}}\sigma_{\tau}(z_{i})=\begin{cases}\displaystyle\frac{1}{k},&\text{if }z_{i}=z_{\max},\\ 0,&\text{otherwise},\end{cases} where z max = max 1 ≤ j ≤ n ⁡ z j z_{\max}=\max_{1\leq j\leq n}z_{j} , and k k is the number of indices i i such that z i = z max z_{i}=z_{\max} .

###### Proof.

Let z max = max 1 ≤ j ≤ n ⁡ z j z_{\max}=\max_{1\leq j\leq n}z_{j} , and define the set S = { i ∣ z i = z max } , S=\{i\mid z_{i}=z_{\max}\}, with cardinality k = | S | k=|S| .

For each i i , let Δ i = z i − z max ≤ 0 . \Delta_{i}=z_{i}-z_{\max}\leq 0. Then the softmax function becomes σ τ ​ ( z i ) = e ( z max + Δ i ) / τ ∑ j = 1 n e ( z max + Δ j ) / τ = e Δ i / τ ∑ j = 1 n e Δ j / τ , \sigma_{\tau}(z_{i})=\frac{e^{(z_{\max}+\Delta_{i})/\tau}}{\sum_{j=1}^{n}e^{(z_{\max}+\Delta_{j})/\tau}}=\frac{e^{\Delta_{i}/\tau}}{\sum_{j=1}^{n}e^{\Delta_{j}/\tau}}, since e z max / τ e^{z_{\max}/\tau} cancels out in the numerator and denominator.

We analyze the behavior of the terms as τ → 0 + \tau\to 0^{+} .

For i ∈ S i\in S we have Δ i = 0 \Delta_{i}=0 and so: e Δ i / τ = e 0 = 1 . e^{\Delta_{i}/\tau}=e^{0}=1.

For i ∉ S i\notin S we have Δ i < 0 \Delta_{i}<0 so lim τ → 0 e Δ i / τ = 0 \lim_{\tau\to 0}e^{\Delta_{i}/\tau}=0

Therefore, the denominator simplifies to lim τ → 0 + ∑ j = 1 n e Δ j / τ = ∑ j ∈ S lim τ → 0 + e Δ j / τ + ∑ j ∉ S lim τ → 0 + e Δ j / τ = ∑ j ∈ S 1 + ∑ j ∉ S 0 = k . \lim_{\tau\to 0^{+}}\sum_{j=1}^{n}e^{\Delta_{j}/\tau}=\sum_{j\in S}\lim_{\tau\to 0^{+}}e^{\Delta_{j}/\tau}+\sum_{j\notin S}\lim_{\tau\to 0^{+}}e^{\Delta_{j}/\tau}=\sum_{j\in S}1+\sum_{j\notin S}0=k.

Similarly, the numerator becomes lim τ → 0 + e Δ i / τ = { 1 , if ​ i ∈ S , 0 , if ​ i ∉ S . \lim_{\tau\to 0^{+}}e^{\Delta_{i}/\tau}=\begin{cases}1,&\text{if }i\in S,\\ 0,&\text{if }i\notin S.\end{cases}

Thus, for each i i , lim τ → 0 + σ τ ​ ( z i ) = lim τ → 0 + e Δ i / τ lim τ → 0 + ∑ j = 1 n e Δ j / τ = { 1 k , if ​ i ∈ S , 0 , if ​ i ∉ S . \lim_{\tau\to 0^{+}}\sigma_{\tau}(z_{i})=\frac{\lim_{\tau\to 0^{+}}e^{\Delta_{i}/\tau}}{\lim_{\tau\to 0^{+}}\sum_{j=1}^{n}e^{\Delta_{j}/\tau}}=\begin{cases}\displaystyle\frac{1}{k},&\text{if }i\in S,\\ 0,&\text{if }i\notin S.\end{cases}

This concludes the proof. ∎

Finally, we give the proof of Proposition 4 , or the statement that transcendence can occur from multiple experts if the test distribution p test p_{\mathrm{test}} is spread across multiple disjoing subsets of 𝒳 i \mathcal{X}_{i} .

###### Proof.

In this case, observe that for all i i R p test ​ ( f i ) \displaystyle R_{p_{\mathrm{test}}}(f_{i}) = p test ​ ( 𝒳 i ) ⋅ 𝔼 x ∼ p test | 𝒳 i ​ r x ​ ( f ∗ ) + p test ​ ( 𝒳 ∖ 𝒳 i ) ⋅ 𝔼 x ∼ p ¯ | 𝒳 ∖ 𝒳 i ​ [ 𝔼 y ∼ Uni ⁡ ( 𝒴 ) ​ r ​ ( x , y ) ] \displaystyle=p_{\mathrm{test}}(\mathcal{X}_{i})\cdot\mathbb{E}_{x\sim p_{\mathrm{test}}|_{\mathcal{X}_{i}}}r_{x}(f^{*})+p_{\mathrm{test}}(\mathcal{X}\setminus\mathcal{X}_{i})\cdot\mathbb{E}_{x\sim\overline{p}|_{\mathcal{X}\setminus\mathcal{X}_{i}}}\left[\mathbb{E}_{y\sim\mathrm{Uni}(\mathcal{Y})}r(x,y)\right] < R p test ​ ( f ∗ ) \displaystyle<R_{p_{\mathrm{test}}}(f^{*}) Therefore, we get that for all x x f ^ ​ ( y | x ) = 1 k ​ ∑ j = 1 k f j ​ ( y | x ) = k − 1 k ⋅ 1 | 𝒴 | + 1 k ​ f ∗ ​ ( y | x ) = k − 1 k ⋅ | 𝒴 | + 1 k ​ | Y x ∗ | ⋅ 𝟏 y ∈ Y x ∗ \hat{f}(y|x)=\frac{1}{k}\sum_{j=1}^{k}f_{j}(y|x)=\frac{k-1}{k}\cdot\frac{1}{\left\lvert\mathcal{Y}\right\rvert}+\frac{1}{k}f^{*}(y|x)=\frac{k-1}{k\cdot\left\lvert\mathcal{Y}\right\rvert}+\frac{1}{k\left\lvert Y_{x}^{*}\right\rvert}\cdot\mathbf{1}_{y\in Y_{x}^{*}} Thus, we get f max = f ∗ f_{\max}=f^{*} , and the required follows from Proposition 2 .

∎

## Appendix B Additional Denoising Visualizations

## Appendix C Intuition of low temperature sampling inducing transcendence

To build intuition for the primary mechanism of transcendence that we explore in this paper, we give the following toy progression of distributions in order to clearly illustrate how low-temperature sampling can induce transcendence through majority voting. Here, the middle purple action represent the correct, high-reward output, whilst the left and right actions are low-reward bad outputs. We plot the probability of each output as a label on the x axis.

## Appendix D Further Related Work

### D.1 Label Disagreement

Label disagreement in training data, in particular, can improve models in practice. Xie et al. [36] empirically show that adding random noise to teacher-generated labels can improve a student model. Uma et al. [33] even survey the literature on human interannotator disagreement and find a trend of improvements when models are trained on the full set of disagreeing labels rather than on majority vote labels or only on data where labelers agree. Our theoretical claims build on these findings by making the point that the learner can even improve on these original diverse labelers.

### D.2 Offline Reinforcement Learning

Although most Offline Reinforcement Learning algorithms train on an RL objective, perhaps most similar to our work is Decision Transformer [ 4 ] and Trajectory Transformer [ 8 ] : prior models trained on just the sequence prediction of trajectories. Most notably, Decision Transformer also finds an alternative form of transcendence than the one explored in this paper: by conditioning the trained transformer by the performance of the trajectory, at inference time they can then prompt the model to perform better than the best trajectory seen during training. This remains another promising direction to explore transcendence under.

Interestingly, an analogue to low-temperature sampling also has been noticed and exploited by Reinforcement Learning practitioners in the context of off-policy learning , where a different exploration policy π E \pi_{E} is used than the final learned target policy π T \pi_{T} . Oftentimes π T \pi_{T} will just be set to a greedy version of π E \pi_{E} [ 21 ] , such as choosing π T \pi_{T} to take the arg ​ max \argmax action of π E \pi_{E} , which we note is directly equivalent to setting temperature to 0.

## Appendix E Training Details

We give a full list of the hyperparameters we used for training here. Note that we largely follow the same hyperparameter set as [ 37 ] , but lower the batch size to 125 ​ K 125K as we found training to still be stable ta this level. We also release our code openly to support further research into transcendence, which was built off the wonderful work done by Karvonen [12] and Karpathy [11] .

## Appendix F Compute Resources

We train all of our models on the Nvidia H100 80GB GPU. To train one of our models takes around 6 to 12 hours.

## Appendix G Full t-SNE

We visualize the full t-SNE here, coloring by the reward of the game. We see that the model has learned some representation of the reward, with high absolute reward states being more likely to be near each other in the latent space. This also points towards evidence that the model has learned some sort equivariant representation of the player identity, as the region of symmetric high reward states indicate. Note that reward is not directly given to the model during training.

We visualize the same t-SNE, but this time coloring by game length rather than reward. We see that games with high reward tend to be longer, which makes logical sense as the result of the game will tend to be clearer as the game proogresses.

## Instructions for reporting errors

We are continuing to improve HTML versions of papers, and your feedback helps enhance accessibility and mobile support. To report errors in the HTML that will help us improve conversion and rendering, choose any of the methods listed below:

Click the "Report Issue" ( ) button, located in the page header.

Tip: You can select the relevant text first, to include it in your report.

Our team has already identified the following issues . We appreciate your time reviewing and reporting rendering errors we may not have found yet. Your efforts will help us improve the HTML versions for all readers, because disability should not be a barrier to accessing research. Thank you for your continued support in championing open access for all.

Have a free development cycle? Help support accessibility at arXiv! Our collaborators at LaTeXML maintain a list of packages that need conversion , and welcome developer contributions .
