# Neural networks can fit a spiral without representing one

Markdown copy of https://realalpha.app/s/neural-networks-can-fit-a-spiral-without-representing-one/ 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: 17:29 to 23:15 of the episode (6 min), playing on https://realalpha.app/s/neural-networks-can-fit-a-spiral-without-representing-one/; the episode from there: https://realalpha.app/v/DtePicx_kFY/?t=1049

## Quote

> “there's no feeling when i look at those that that image that the relu version actually **understands that it is a spiral**”
> — [Llion Jones](https://realalpha.app/builders/llion-jones/) at [20:05](https://realalpha.app/v/DtePicx_kFY/?t=1205) · Machine Learning Street Talk

## Takeaways

1. ReLU models classify spiral data using piecewise-linear boundaries.
2. A spiral-shaped representation can extrapolate the pattern.
3. High accuracy alone may hide shallow pattern-matching.

## About this segment

Llion Jones shows ReLU networks matching spiral data with piecewise-linear boundaries, while a spiral-shaped representation continues the pattern. High accuracy can conceal a model that fits the points without capturing their structure.

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.

[17:32](https://realalpha.app/v/DtePicx_kFY/?t=1052) The current technology is actually too good, okay? Another reason why it's difficult to move away from them, right? So they're too good in the following sense. And you spoke about the fact that we have these foundation models that's okay, so that we have the foundation and we can do anything with them. Yes, I think current neural networks are so powerful that if you have enough patients and enough compute and enough data, you can make them do anything.

[18:09](https://realalpha.app/v/DtePicx_kFY/?t=1089) But I don't necessarily think that they want to, right? We're sort of forcing them by their universal approximators. but I think there are probably a space of you know function approximators that will more want to represent things in the way that a human represents them so there's actually quite an obscure paper that is my poster child for this it's called intelligence matrix exponentiation and I think it was actually rejected so you know you can probably project the image of a figure one But there's an image of it solving, you know, the classal spiral data set of needing to separate the two classes in the spiral.

[18:52](https://realalpha.app/v/DtePicx_kFY/?t=1132) And it has the decision boundary for both a classic RNN multilayered perceptron and a TAN-H multilayered perceptron. And you can see they both solve it, right? Technically, they both solve the problem because they classify all the points correctly and get a very good test score on this very simple data set. And then they show you the decision boundary for the M layer that they build in this paper.

[19:23](https://realalpha.app/v/DtePicx_kFY/?t=1163) And it's a spiral. The layer represented the spiral as a spiral. Shouldn't we? If the data is a spiral, shouldn't we represent it as a spiral? And then if you look back at the decision boundaries for the Spira and the classic ReLU multilayer perceptron, it's clear that you just have these tiny little piecewise linear separations. And that's what I mean. Yes. If, you know, if you train these things enough and you push these little piecewise linear...

[20:00](https://realalpha.app/v/DtePicx_kFY/?t=1200) boundaries around enough it can it can fit the spiral and get a high accuracy but there's no feeling when i look at those that that image that the relu version actually understands that it is a spiral right and when you represent it as a spiral it actually extrapolates correctly because the spiral just keeps going out you're touching on something fascinating there because you know we were talking about the need for adaptivity and adaptive computation um i'm really inspired by randall bellistria's spline theory of of neural networks and we've had them on many times and you can look on the tensorflow playground you can look what happens when you have a relu network on on this you know spiral manifold and you know you'd be forgiven for thinking that these things are basically a locality sensitive hashing table right because they they do they they they

[20:56](https://realalpha.app/v/DtePicx_kFY/?t=1256) They partition the space and they can predict the spiral manifold, right? But we want to do something a little bit more different than that. And it also comes into this imposters thing because just tracing the spiral manifold but not continuing the pattern, there's a big difference between that. So from an imposter perspective, just tracing the pattern is not learning it abstractly or constructively, right?

[21:24](https://realalpha.app/v/DtePicx_kFY/?t=1284) If we learned it constructively, so you speak about this in your paper, this complexification, the abstract building blocks, and you can do adaptive computation, you understand the spiral. That means that with adaptive computation, you can continue the spiral, and then you can update the model's weight so it has adaptivity, because that's so important for intelligence. so we know that we need models that can do these things but for some reason they're so sycophantic they're almost better than an adaptive intelligence system because they tell us exactly what we want to hear they seem so intelligent but we know that they're missing these fundamental properties i'm still fairly skeptical when i see video generation models you know we went through a phase where you could detect them because of the number of fingers on somebody's hand

[22:14](https://realalpha.app/v/DtePicx_kFY/?t=1334) right and yes with more data with more compute with better training tricks okay they submit and now they usually do have five fingers but did we fix the problem or did we just use more brute force to just you know force the the neural network to know it's five fingers where something that actually had a much better kind of representation space it's almost mad that it's controversial to say that we should represent a spiral like a spiral but you know something that could do that generally that if it represented a human hand the way that you know maybe i represent a human hand then maybe it would be much easier to count how many fingers are on a hand it's unfortunate that they work so well it's unfortunate that scaling works so well because it's too easy for people to just sweep these problems under the carpet.
