이 페이지에서10 min read
개요
The goal is not to memorize those examples but to perform well on new ones. Understanding this loop explains why AI needs so much data and computing power, and why it can fail in surprising ways.
주요 시사점
- An AI model learns by adjusting its parameters to reduce a loss, a number that measures how wrong its predictions are on training examples.
- Backpropagation, published by Rumelhart, Hinton and Williams in Nature in 1986, computes how each weight should change to shrink the error.
- Supervised, unsupervised, self-supervised and reinforcement learning differ mainly in where the learning signal comes from, labels, structure, the data itself or rewards.
- Generalization to new data is the real goal, so developers keep separate training, validation and test sets and watch for overfitting.
- Most deployed models stop learning when training ends, so their knowledge stays fixed until developers retrain or fine-tune them.
- DeepMind's 2022 Chinchilla study found that model size and training data should grow together for the most efficient use of compute.
심층 분석
When people say an AI system learns, they mean something narrower and more mechanical than human learning. Most modern AI is built with machine learning: instead of a programmer writing rules such as if the email contains this word, mark it as spam, the programmer supplies examples and a procedure that finds the rules automatically. The thing that learns is a model, which is a mathematical function with adjustable settings called parameters or weights. A small model may have thousands of parameters; AlexNet, the image model that reshaped computer vision in 2012, had 60 million. Learning means finding values for those parameters that make the model's outputs useful.
Training follows a repeating loop. First, the model receives an example, such as a photo, and makes a prediction, such as cat with 70% confidence. Second, a loss function compares the prediction with the correct answer and turns the mistake into a single number: the bigger the mistake, the bigger the loss. Third, the system works out how each parameter contributed to that loss. For neural networks this is done with backpropagation, a procedure described by Rumelhart, Hinton and Williams in Nature in October 1986, which passes the error backward through the layers to compute a gradient, meaning the direction in which each parameter should move to reduce the error. Fourth, an optimizer called gradient descent nudges every parameter a small step in that direction. The size of the step is set by the learning rate. Repeat this over millions of examples, often in small batches and over several full passes through the data called epochs, and the loss gradually falls.
The 1986 paper noted something important: as the weights adjust, hidden units inside the network come to represent useful features of the task that nobody programmed. In an image model, early layers end up detecting edges and later layers respond to shapes and objects. That is why the approach scales to problems, such as recognizing speech, where nobody could write the rules by hand.
There are several kinds of learning signal. In supervised learning every example comes with a correct label, like a photo tagged dog, and the model learns to predict the label. In unsupervised learning there are no labels, and the model looks for structure such as clusters of similar customers. Self-supervised learning creates labels from the data itself: Google's BERT, released in October 2018, hid some words in sentences and learned to fill them in, which let it learn from huge amounts of unlabeled text. Large language models learn the same way by predicting the next word. In reinforcement learning the model acts, receives a reward or penalty, and adjusts to earn more reward over time. DeepMind's AlphaGo Zero, published in Nature in 2017, learned Go entirely from games against itself and beat its human-trained predecessor 100 to 0. Reinforcement learning from human feedback (RLHF) combines these ideas: people rank model answers, and the model is tuned to produce answers people prefer, which is how OpenAI's 2022 InstructGPT was trained.
The central test of learning is generalization, which Google's Machine Learning Crash Course defines as making good predictions on new data. To measure it, developers split their data into three parts. The training set is what the model learns from. The validation set is held back to compare versions and tune settings. The test set is kept aside until the end as a stand-in for real-world data. The main failure is overfitting: the model fits the training examples so closely, noise and all, that it does badly on new data. A typical warning sign is training loss that keeps falling while validation loss starts rising. Another trap is leakage, where near-copies of test examples sneak into the training data and make results look better than they are.
A few more terms make descriptions of AI training easier to follow. Parameters are the numbers the model learns; hyperparameters are the settings people choose before training, such as the learning rate, the batch size and the number of epochs. Pretraining is the first, most expensive phase, in which a model learns general patterns from a very large dataset. Fine-tuning continues training on a smaller, task-specific dataset, which is far cheaper because the model starts from what it already knows; reusing a pretrained model this way is called transfer learning. BERT followed exactly this recipe in 2018: one pretraining run on unlabeled text, then a short fine-tuning step for each of eleven different language tasks. Fine-tuning can also matter more than size. In OpenAI's 2022 InstructGPT study, human evaluators preferred answers from a 1.3-billion-parameter model fine-tuned with human feedback over answers from the 175-billion-parameter GPT-3, a model more than 100 times larger. How a model is trained, and on what, often shapes its behavior as much as how big it is.
Machine learning differs from human learning in ways that matter. A child can learn a new word from a few uses; AlexNet needed about 1.3 million labeled images to learn 1,000 categories. Most deployed models also stop learning once training ends: the parameters are frozen, so a chatbot does not update itself from a single conversation unless its developers retrain it. Compared with hand-written rules, a learned model handles messy inputs far better but is harder to inspect, because its knowledge is spread across millions of numbers rather than written as readable rules.
Learning also fails in predictable ways. A model learns whatever pattern best reduces the loss, which may be a shortcut rather than the intended skill, such as recognizing a hospital's scanner instead of a disease. Biased or unrepresentative data produces biased predictions, and Google's course notes that training, validation and test data should come from similar distributions for results to hold. When the world changes after training, a problem called distribution shift, accuracy can drop without any warning. In reinforcement learning, a poorly chosen reward can be satisfied in unintended ways.
Learning is expensive in data and computing. AlexNet took five to six days to train on two consumer graphics cards in 2012. Modern models need far more: the Stanford AI Index 2025 reports that the training compute used for notable AI models has been doubling about every five months. More is not automatically better, though. DeepMind's 2022 Chinchilla study found that many large language models were undertrained for their size, and that model size and training data should grow together; its 70-billion-parameter Chinchilla, trained on four times more data than the 280-billion-parameter Gopher with the same compute, outperformed Gopher on a wide range of tasks.
04실제 사례
Train a one-number model by hand
Pick a tiny task: predict a price y from a size x, using the model y = w times x, where w is the single parameter, starting at w = 1.
Take one training example where x = 2 and the true answer is y = 6; the model predicts 1 times 2 = 2.
Compute the squared-error loss: (2 minus 6) squared = 16.
Find the gradient of the loss with respect to w: 2 times (prediction minus target) times x = 2 times (minus 4) times 2 = minus 16.
Apply gradient descent with learning rate 0.05: w_new = 1 minus 0.05 times (minus 16) = 1.8.
Predict again: 1.8 times 2 = 3.6, giving a loss of (3.6 minus 6) squared = 5.76, which is lower than 16.
Repeat the update a few more times and check that w approaches 3, the value that fits the example exactly.
그것이 보여주는 것
After a handful of steps w settles near 3 and the loss approaches zero. This is the same loop that trains a large neural network, only with one parameter instead of billions. To check generalization, test the final w on a new pair such as x = 5, y = 15 that the model never saw.
실제 구현
Image recognition: AlexNet learned to sort about 1.3 million labeled photos into 1,000 categories and won the ILSVRC-2012 competition with a 15.3% top-5 error rate, against 26.2% for the next-best entry.
Learning by self-play: DeepMind's AlphaGo Zero, described in Nature in 2017, started from random moves with no human games and, using only reinforcement learning, beat the earlier champion-defeating AlphaGo 100 games to 0.
Learning from raw text: Google's BERT, released in October 2018, was pre-trained on unlabeled text by predicting hidden words and then set new records on eleven language-understanding tasks.
Learning from human ratings: OpenAI's InstructGPT work in 2022 used people's rankings of answers to fine-tune GPT-3, and labelers preferred the 1.3-billion-parameter tuned model over the original 175-billion-parameter GPT-3.
Spam filters and recommendations: everyday systems learn from labeled examples such as emails marked as spam or films a viewer finished, then apply the learned pattern to new emails or new viewers.
The Future of How AI Learns: Data, Loss, Gradient Descent and Feedback
Several research directions aim to make learning cheaper, more reliable and more continuous. Data efficiency is one: the gap between a child learning from a few examples and AlexNet needing about 1.3 million labeled images remains large, and self-supervised methods such as BERT's 2018 masked-word training were a step toward using unlabeled data instead of costly labels. Scaling rules are another. DeepMind's 2022 Chinchilla work changed how labs balance model size against data, and the Stanford AI Index 2025 shows training compute still doubling about every five months, which raises questions about energy use and whether high-quality training data will run short. Continual learning, meaning models that update safely after deployment without forgetting earlier skills, is an open problem; most systems today are retrained in large batches instead. Learning from feedback is also evolving. RLHF, as used for InstructGPT in 2022, depends on human ratings that are slow and can be inconsistent, so researchers are testing feedback generated by other models and rewards checked automatically, such as whether code passes tests. Each approach brings its own risk of the model optimizing the measurement rather than the goal, so better evaluation sits alongside better training on the research agenda.
실천에 옮기기
왜 중요한가요?
- 더 명확한 결정들. 이는 명확한 기술적 주장과 마케팅 언어를 구분하는 데 도움이 됩니다.
- 비용 및 예산. 돈이나 시간을 들이기 전에 더 나은 구현 질문을 할 수 있습니다.
- 팀과 워크플로우. 이해를 공유한 팀은 더 나은 제품, 정책 및 학습 결정을 내립니다.
조심하세요
- 팀마다 동일한 용어를 다르게 사용할 수 있으므로 범위를 조기에 정의하세요.
- 벤치마크는 강력해 보이지만 실제 성능은 고르지 않을 수 있습니다.
- 데이터 품질 및 평가 계획을 무시하면 취약한 결과가 발생하는 경우가 많습니다.
다음 단계
- 필요한 결과에 대한 일반 언어 정의부터 시작하세요.
- 테스트하기 전에 하나의 성공 지표와 하나의 실패 조건을 선택하세요.
- 세련된 데모 세트가 아닌 대표 데이터를 사용하여 소규모 파일럿을 실행하세요.
- Document where How AI Learns: Data, Loss, Gradient Descent and Feedback helps and where simpler methods are better.
출처 및 추가 자료
- Nature (Rumelhart, Hinton and Williams, 1986)Learning representations by back-propagating errors
- NeurIPS 2012 (Krizhevsky, Sutskever and Hinton)ImageNet Classification with Deep Convolutional Neural Networks
- Nature (Silver et al., 2017)Mastering the game of Go without human knowledge
- arXiv (Devlin et al., 2018)BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
- arXiv (Ouyang et al., 2022)Training language models to follow instructions with human feedback
- arXiv (Hoffmann et al., 2022)Training Compute-Optimal Large Language Models
- Google Machine Learning Crash Course과적합
- Stanford Institute for Human-Centered AIThe 2025 AI Index Report
계속 탐색하세요
무료 뉴스레터
일일 AI 브리핑 받기
매주 평일 아침마다 3개의 검증된 AI 스토리를 일반 영어로 작성합니다. 무료이며, 광고 없음.
매주 평일마다 한 번 이메일을 받습니다. 한 번 클릭으로 구독 해지. 주소를 판매하거나 공유하지 않습니다.
자신을 테스트해 보세요
Take the How AI Learns: Data, Loss, Gradient Descent and Feedback quiz
모든 답변에 즉각적인 피드백과, 과정을 통과하면 검증 가능한 ID가 있는 공유 가능한 인증서를 제공합니다.
무료 AI 교육을 지원합니다. AI Understanding는 501(c)(3) 비영리 단체입니다 — 광고 없음, 유료 장벽 없음, 영원히. 기부하기
자주 묻는 질문
What is How AI Learns: Data, Loss, Gradient Descent and Feedback?
AI learns by adjusting millions or billions of internal numbers, called parameters, so that its outputs on training examples get closer to the desired answers, as measured by an error score called the loss. The goal is not to memorize those examples but to perform well on new ones. Understanding this loop explains why AI needs so much data and computing power, and why it can fail in surprising ways.
지도 학습에서 훈련 데이터에는 무엇이 포함되나요?
Supervised learning uses examples paired with target outputs or labels, such as photos labeled “cat” or “dog,” to learn an input-to-output mapping.
사전 정의된 카테고리 없이 유사한 쇼핑 습관으로 고객을 그룹화하는 것은 어떤 학습 유형의 예입니까?
비지도 학습은 레이블이 없는 데이터에서 클러스터와 같은 구조를 찾습니다. 그룹이 무엇이어야 하는지 모델에 알려주는 사람은 아무도 없습니다.
비디오 게임을 배우는 것과 같은 강화 학습 에이전트는 어떻게 개선되나요?
강화 학습은 보상 신호에 따라 진행되는 시행착오입니다. 여러 번의 시도를 통해 에이전트는 더 많은 보상을 얻을 수 있는 작업을 선호합니다.
A model performs well on its training examples but poorly on comparable held-out examples. Which pattern does this show?
Overfitting describes a model that matches training data closely but performs poorly on new data.
Why keep a test set separate from fitting the model and choosing its settings?
A held-out test set gives a separate estimate after training and model choices; repeated use to tune choices weakens that separation.