| |
| ▲ | soVeryTired 2 hours ago | parent | next [-] | | At this point it's either wrong or meaningless to call LLMs "next token predictors". Yes, pretraining involves predicting the next token. But after that you're in the world of RLHF, RLVR, and other post-training. A model is _sort of_ designed to predict the next token in a string of text. But it's equally accurate to say it's designed to edit code until it passes a suite of unit tests. Yes, they generate sequentially, so "next token predictor" isn't technically incorrect (which is why I chose the word "meaningless"). But it's pretty clear there's a mechanism inside them that allows them to "plan" what they generate. I might as well call you a next word predictor. | | |
| ▲ | ghosty141 2 hours ago | parent | next [-] | | My understanding is that the underlying part is a next token predictor and that's what is "actually" editing the code but the part that decides what to do (to achieve a successful unit test result for example) is a mix of all the things including post training. | |
| ▲ | jgilias 2 hours ago | parent | prev | next [-] | | Yes, I didn’t mean that literally. Since “attention is all you need” it’s more like “predict the full output in full for this blob of input text”. That doesn’t change the “wtf is going on with the weight understanding bit” in what I wrote. | | |
| ▲ | libraryofbabel an hour ago | parent [-] | | > it’s more like “predict the full output in full for this blob of input text" Hm. I would actually go so far as to say "predict" is just the wrong word to use in 2026, as it drags in a picture of what LLMs are that's from the pre RLVR era, and which is frequently used to suggest they have all sorts of limitations that they've now surpassed ("an LLM will never solve a major open mathematics problem, they're just predicting tokens"). These days I tend to use the more neutral phrase "generate the next token"; I'd only say "predict" in the technical context of (say) the pre-training part of the training run where the object is indeed to minimize the cross-entropy loss function by predicting next tokens in existing text. Generating a token with a modern LLM is better described as something like, "given the totality of its training, including not just next token prediction with pre-training but also solving vast numbers of math and coding problems with RLVR, the LLM generates tokens one by one." Anyhow. I'm not sure the weight understanding is all that strange. (It's impressive, but so are many thing LLMs do these days.) LLMs are very very good at coding and math problems, of which this is one, and in particular, their RLVR training presumably includes many tasks involving neural networks. It's amazing and impressive, I agree, but I'd say less amazing than proving major open theorems in mathematics, which we already know they can do. |
| |
| ▲ | lifeisloving an hour ago | parent | prev [-] | | Its a stateless function that takes in x amount of words and calculates logits. It is in fact s next token predictor. Its literally nothing more than that. | | |
| ▲ | coldtea 41 minutes ago | parent [-] | | Is there literally anything more than some basic underlying mechanisms combining in how anything in the universe operates? |
|
| |
| ▲ | coldtea 43 minutes ago | parent | prev | next [-] | | >I mean, an LLM is still fundamentally a next token predictor, right? Yes, but everything, including the human brain, is "fundamentally" some underlying simpler primitives. >E.g., “breakout game weights” always look the same regardless of training and model? Wouldn't this be expected to be roughly the case, given NNs that share the same basic architecture to model the same quite simple thing like a breakout game? | |
| ▲ | ninglor 39 minutes ago | parent | prev | next [-] | | > “breakout game weights” always look the same regardless of training and model The prompt told Astra what the input and output layers mean -- that is, how the current state of the game is turned into a vector for matrix multiplication, and how the result of those multiplications is turned into an action to take in-game. Astra saw that the model was trained on a game where the player is at the bottom of the grid and moves left and right, reward objects live at the top, and there's some not-player-controlled thing moving around in the middle. Astra knows that this type of game is called "breakout." A model that plays breakout will have meaningful weights for the player being in the bottom row, but not for the player being anywhere else, because the player can't go anywhere else. Astra saw that there were meaningful weights for the player in the bottom row, and nodes representing the player in any other row had low-magnitude noise, so the model had never been trained on the player being anywhere besides the bottom row. Similarly, breakout has "reward" objects in the top rows, and "there is a reward object at [COORDINATE]" is part of the input layer. Astra saw that the model was trained on reward objects in the top few rows. | |
| ▲ | HAL3000 2 hours ago | parent | prev | next [-] | | This implies that weights are a type of language. Neural networks are good at language because they are good at patterns. They can reason about it because their "reasoning" isn’t how we think. The same goes for how they encode images, their vision is entirely different from ours. That's why adversarial attacks work on them and not on us. We don't see anything change in the image, while the neural network now sees that the dog is a cat. | | |
| ▲ | jgilias an hour ago | parent | next [-] | | Ok? But does that mean that the “weights language” is universal? E.g. same weight patterns mean the same thing regardless of if it’s Kimi, Grok, or Astra? | | |
| ▲ | HAL3000 an hour ago | parent [-] | | There could be different patterns that solve the same problem. Just as you can have different algorithms, there could be different weights, but the abstracted result or logic from those weights would be the same.
Take these words I'm writing now, they will be transformed into numbers, then sent to your screen, and then your brain will transform them into analog signals. I bet the neural networks in our brains have "different numbers", but the algorithms that understand language and other concepts are similar and could be universal. It's like a sorting algorithm, which I can implement in many different ways in just a few dozen lines. If you look at the binary code (so like raw weights) of the compiled program, you will see just a bunch of a different numbers, but if you read the code, in most cases you will understand that it's a sorting algorithm. So it seems they just operate on different levels of abstraction that are not available to our brains. |
| |
| ▲ | cout an hour ago | parent | prev [-] | | How do we (or can we) know adversarial attacks don't work on us? | | |
| ▲ | HAL3000 22 minutes ago | parent | next [-] | | That's not the point I'm making. So in context of vision we pattern match too, and you can see it in the hundreds of optical illusions online. Our visual system relies on built in shortcuts, and they break in different places than a neural network's do. Image models get fooled by things we would never notice, and we get fooled by things they handle fine. IMO that's good evidence that we and these models use different algorithms to solve similar problems. I think the same is probably true of LLM "reasoning", there's some overlap with how we think, but a lot of it likely works very differently under the hood.
Good example of this is anthropic's interpretability research where they found claude doing addition in a way that's nothing like the carry the one method it describes when you ask how it did it. | |
| ▲ | naniwaduni an hour ago | parent | prev [-] | | We're pretty confident that adversarial attacks do work on us, actually—we have entire industries built around it. Some of them even start with "adver-"... There are classes of adversarial attacks targeting them that don't work as well on us, and vice versa. |
|
| |
| ▲ | rao-v an hour ago | parent | prev | next [-] | | It’s important to understand that it had pytorch to actually run subsets of the weights. So its more like a dedicated person running the model to find the token it shouldn’t generate, then following the weight chain back up while calculating the NN outputs to find a place where if it changes some weights (again with a lot of testing via pytorch) the result is better. Its not natively reading the weights in the Matrix “symbols scrolling on a screen” sense. Still bloody impressive and not an outcome I would have bet on! | |
| ▲ | taneq 11 minutes ago | parent | prev | next [-] | | Calling it ‘next-token prediction’ is missing the forest for the trees. The reason prediction gives rise to so many capabilities is that to effectively predict something requires modelling the entities involved and their capabilities. You can’t predict a cat’s next action without knowing how to chase a mouse. | |
| ▲ | api an hour ago | parent | prev | next [-] | | There's a long standing line of thinking that data compression has something to do with intelligence, or that intelligence may "just" be data compression in some sense. In the case of models, the almost-theory (hypothesis with a good deal of evidence) is that once the amount of training data exceeds what the model can simply represent internally, the best way to keep improving is to start to "understand" the data. Understand in this case means to form internal control structures and decision systems that represent the data algorithmically rather than just memorizing it. I put understand in quotes because we don't know how far this goes toward what we call understanding, or whether there's still a lot missing. | |
| ▲ | oblio 2 hours ago | parent | prev [-] | | Maybe I'm missing something, but isn't training an LLM very well documented? Why wouldn't an LLM be able to read those docs just like it would read Java Spring docs? | | |
| ▲ | jgilias an hour ago | parent [-] | | Maybe I’m misunderstanding something. The way I read the results, I understand it like this - you give Astra “a bunch of numbers”, and tell it - “hey, this is a net trained on some game? What game is that?” And Astra goes - “Breakout, no doubt!” To me this is fundamentally different from having ingested a bunch of docs so it now “knows Java” in its weights. | | |
| ▲ | oblio 28 minutes ago | parent [-] | | Ah, ok, so basically advanced pattern matching. I wonder if they train models on each other's weights? |
|
|
|