# CTM's adaptive computation emerges from its loss setup

Markdown copy of https://realalpha.app/s/ctms-adaptive-computation-emerges-from-its-loss-setup/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Llion Jones](https://realalpha.app/builders/llion-jones/) · Co-founder & CTO, Sakana AI · Co-founded Sakana AI and co-authored Attention Is All You Need, which introduced the Transformer.
- Host: [Tim Scarfe](https://realalpha.app/people/tim-scarfe/) · Host, Machine Learning Street Talk
- Host: [Keith Duggar](https://realalpha.app/people/keith-duggar/) · Co-host, Machine Learning Street Talk
- Show: Machine Learning Street Talk
- Episode: [He Co-Invented the Transformer. Now: Continuous Thought Machines Llion Jones / Luke Darlow](https://realalpha.app/v/DtePicx_kFY/), Nov 23, 2025
- Moment: 47:56 to 51:17 of the episode (3 min), playing on https://realalpha.app/s/ctms-adaptive-computation-emerges-from-its-loss-setup/; the episode from there: https://realalpha.app/v/DtePicx_kFY/?t=2876

## Quote

> “adaptive computation time seems to just **fall out naturally**”
> — [Llion Jones](https://realalpha.app/builders/llion-jones/) at [50:54](https://realalpha.app/v/DtePicx_kFY/?t=3054) · Machine Learning Street Talk

## Takeaways

1. CTM was nearly perfectly calibrated after training.
2. Calibration was not an explicit training target.
3. The loss produced adaptive computation without a separate compute penalty.

## About this segment

Luke reports near-perfect post-training calibration, though the team did not optimize for it. Llion Jones says adaptive computation also emerged from the loss without a separate compute penalty.

From “He Co-Invented the Transformer. Now: Continuous Thought Machines [Llion Jones / Luke Darlow]”, Nov 23, 2025. [Watch the full episode](https://realalpha.app/v/DtePicx_kFY/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[48:00](https://realalpha.app/v/DtePicx_kFY/?t=2880) It's really segmented into its easy to difficult components. And I think we know that curriculum learning and learning in this continuous sense, again, seems to be a good idea. It's how humans learn. And if we can get at that architecturally and just have that fall out in the model, again, this seems like something worth exploring. I'm not sure if you know much about model calibration and how neural networks tend to be poorly calibrated.

[48:24](https://realalpha.app/v/DtePicx_kFY/?t=2904) Go for it, Tommy. It's a bit of an old finding, but if you train a neural network for long enough and it fits really, really well and you've regularized it really, really well, you'll find that the model is uncalibrated, which essentially means that it is very certain about some classes where it's wrong and uncertain for some classes where it's correct. Essentially, what you want for a perfectly calibrated model is if it predicts a probability that this is in the correct class with 50%, 50% of the time, you want it to be correct about that class, and so on and so forth.

[48:59](https://realalpha.app/v/DtePicx_kFY/?t=2939) So a well-calibrated model, if it's predicting a probability of 0.9 that it is a cat, then 90% of the time, it should be correct. And it actually turns out that most models that you train for long enough get poorly calibrated. And there are loads of post hoc tricks to fixing this. We measured the calibration of the CTM after training, and it was nearly perfectly calibrated, which is again a little bit of a smoking gun that this actually seems to be probably a better way to do things the flavor of this kind of research is such that we didn't actually go out and actually try to create a very well calibrated model right and we didn't even try to create a model that was necessarily going to be able to do some kind of adaptive computation time right I was a very big fan of the paper, yeah, Adaptive Computation Time.

[49:54](https://realalpha.app/v/DtePicx_kFY/?t=2994) It was Alex Graves, was it? But that paper, it had a massive amount of hyperparameter sweeps in it because in that paper, he needed to have a loss on the amount of computation that was being done. Because anytime you try to do some sort of adaptive computation time research, what you're fighting is the fact that neural networks are greedy right because obviously the way to get the lowest loss is to use all the computation that you have access to so unless you had like an extra loss that had a penalty that said okay actually you're not allowed to use all the computation that's and and very very carefully balance loss that's when you actually got the interesting dynamic computation time behavior falling out of the the model in that paper what was really gratifying to see with the continuous thought

[50:51](https://realalpha.app/v/DtePicx_kFY/?t=3051) machine is that because of the way that we set up the loss that luke described earlier adaptive computation time seems to just fall out naturally so that's more the way that i think research should go okay because we don't actually have like a specific goal um like a specific
