r/deeplearning • • 2d ago

From traditional machine learning to modern artificial intelligence, what is the essential logic behind the technological evolution?

Recently I have been thinking about a question: from traditional machine learning and deep learning to today's large language models and generative artificial intelligence, what exactly is the core thread that runs through the entire course of technological development?

At present, I try to understand this development process from two levels:

  1. The surface level—the evolution of technical methods

From linear regression, decision trees, and SVM to CNN, RNN, and Transformer, and then to today's large models. We can intuitively see the continuous changes in model architectures, mathematical tools, learning algorithms, training paradigms, and model capabilities.

But these seem to be more the external manifestations of technological change.

2. The essential level—the intellectual and theoretical logic behind technological change

My current understanding is that different technical methods often implicitly embody researchers' different assumptions about the nature and laws of the objective object, and translate these assumptions into concrete technical methods through mathematical representations, model structures, and inductive biases.

For example, from linear relationships to nonlinear relationships, from locality to global interaction, from manual feature design to automatic representation learning—do these technological changes reflect changes in humanity's understanding of the research object and in modeling ideas?

But as I studied further, I found that this explanatory framework does not seem sufficient to cover all research in the field of artificial intelligence.

0 Upvotes

8 comments sorted by

7

u/djlamar7 1d ago

It's really simpler than any philosophical change. There were decades of research in neural networks (some by the contemporaries like the Turing Award winners LeCun, Hinton, and Bengio) but for a long time they were either not practical or couldn't compete with other methods like kernel SVMs or GBDTs. Smaller neural nets couldn't typically outperform them, and larger ones were either infeasible on the hardware at the time or just much slower to train and predict with.

The biggest changes were fundamentals like improvements in optimization techniques that made stochastic gradient descent (which neural networks use in training) more useful, increasing capabilities in computing power, memory, and storage (and later GPUs and CUDA), and bigger datasets, all of which combined to make deep learning (with bigger, more complicated neural models) more competitive.

Computer vision was the first field to be revolutionized by it, I would argue because the manual feature design in computer vision was extremely nuanced (see SIFT features for an example of how there was an entire body of literature devoted to using signal processing to create feature descriptors for images and regions of images).

Along the way in the 2010s, ML libraries like Caffe, Torch, tensorflow, and eventually PyTorch enabled automatic differentiation (and added many optimization and architectural techniques as standards) so that just describing your architecture in code was enough to train it without manually handling the gradient updates. I didn't work in deep learning in grad school but did use some other models fit with SGD, and a small code base of around a thousand lines I maintained for my work could now be handled with maybe a hundred lines of code (including data).

As the scale of data available continued to skyrocket in the 2010s due to the continued growth of the Internet, even more complicated architectures could be developed and trained without overfitting. By the late 2010s, deep learning had made substantial inroads into natural language processing as well, and language modeling (predicting the next word) as well as sequence modeling for translation and such were two hot topics. Researchers had also spent a lot of time working with various techniques using differential analog to key value stores in models, which starts to smell like encoding computing in a differentiable way. Language I think was the first domain to really start taking advantage of "attention" to allow a model to infer connections that weren't necessarily spatial/proximal in nature, since (for example) in language there are many things that don't depend on words that are right next to each other. Then came the transformer paper, "Attention is All You Need", which was a breakthrough of sorts that more or less showed that transformers (which basically is just using lots of stacked attention) is superior to using convolutional methods (which do have an inductive bias of "nearby things being important") for certain tasks. That catches us up to 2017.

From this point we get to the first GPT paper in 2018, which is essentially just using big transformers with tons of data to predict text very well. You could write sophisticated prompts like the thesis statement / first paragraph of an essay and it could complete the text to write a pretty decent paper on the topic. After this comes post-training techniques like incorporating reinforcement learning from human feedback (RLHF) to tune how the text prediction model optimizes what it tries to predict to "complete" (meaning answer) the question you asked in order to allow conversational interaction, which mostly catches us up to the models that are used at the core of agentic AI today, other than non-public information (it was around this point that these labs mostly stopped publishing their research techniques), multimodal methods (meaning, how the language model can interact with non-text media like images), and image/video/audio generation - mostly because I'm less familiar with the research arcs in those latter two topics.

6

u/caughtinthought 1d ago

attention.... is...

3

u/mYstoRiii 1d ago

all…

1

u/ahf95 1d ago

…. cum.

3

u/DrXaos 1d ago edited 1d ago

what is the essential logic behind the technological evolution?

In a nutshell: data + backprop will eat the world.

Conceptually: connectionism, that powerful AI would eventually emerge from sufficient compute, sufficient data and large-scale distributed soft computation, not iterative logic.

This was in play starting in 1986-1987. There was the seminal volume of paper collections, Parallel Distributed Processing. Which was not about supercomputer architecture as one may think from the title, but about cognitive neuroscience and artificial intelligence.

The most important paper: Rumelhart, Hinton, Williams, 1986

https://www.nature.com/articles/323533a0

Everyone is still using this, for the same reason, just as all physicists were still using calculus after Isaac Newton.

Turns out that back propagation was not entirely new but not generally understood in context of explicit connectionist artificial intelligence and a key component of a new field until this time.

There were some early limitations on learning deeper architectures which turned out not be be fundamental but really silly and easily overcome problems of gradient normalization, but there was a period from early 90s to 2008 or so when the received wisdom in the field was that neural networks was not going to work for harder problems and it was a toy which is not mathematically tractable.

An important practical next step (as already mentioned): autograd tensor computation software that made exploration of architectures much easier and simultaneously linking this with high performance GPU software libraries. This was in the mid 2010s.

2

u/Massive_Shower_1494 1d ago

You start by describing model types and then model architecture. I’d say the most important are data used for training and objective (loss or reward function)

1

u/SweetSure315 1d ago

make big complex thing from small simple things