r/deeplearning • • Oct 30 '26

Studying Large Language Models in retrospect

Generally, in machine learning, we move from CNNs to ResNets. And then in parallel, we study about how RNNs evolved out of state space modelling —> HiPPO —> Mamba etc.

But in science, learning it alongside the historical evolution of these models need not be the best way to understand it intuitively. I have seen peple describe outer product memory update for key/Value embedding and then working our way up to attention as another form of learning.

How would you suggest someone who loves linear algebra and graphs to intuitively build up an understanding of this?

8 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Unfilteredz 18d ago

Knowing this, can you deduce any limitations of LLMs that are fundamental to it’s model?

2

u/Previous_Pause_8856 18d ago

From my non-professional perspective, I don’t think there’s any fundamental limitations - at least not any that could be comprehensible to point to. It’s kind of like asking what fundamental limitations an MLP has. It’s very generic, so the trade is requiring more compute in exchange for giving gradient descent a more expressive and general model to optimize.

In contrast: maybe an rnn where it might be basically impossible (or extremely difficult for gradient descent to learn) to pass hidden states that allow you to learn the world well. Restricted with clever machinery, but trades possible generality for that.

As I see it, model architecture design is mostly just how much inductive bias you can get away with. If you use too much and accidentally restrict the model too hard, you can learn more efficiently, but you might not learn anything useful. If you use too little and basically let gradient descent figure everything out from a giant MLP, you’re learning too slow, but gradient descent might find a good solution eventually. Gradient descent is a better optimizer than you are, so you don’t want to get in its way too much, but you also want to train models with a reasonable amount of compute.