기본 가이드

AI가 학습하는 방법

머신러닝 시스템은 데이터와 훈련 목표를 사용하여 모델을 조정하여 학습합니다.

3 min read마지막 업데이트 Part of the AI Foundations learning path

개요

The aim is to perform well on new examples, not simply to remember the training examples; some AI systems use explicit rules and do not learn this way at all.

주요 시사점

  • Training changes the model; inference uses it.
  • Keep evaluation examples separate from the examples used to choose or train the model.
  • Choose metrics that reflect the cost of mistakes, not only a large accuracy number.

심층 분석

In supervised learning, training examples pair inputs with target outputs. The model makes a prediction, a loss function measures how far that prediction is from the target, and a training algorithm changes the model to reduce the loss. Neural networks commonly use gradient-based optimization, but not every learning algorithm uses gradients. Validation data helps developers choose settings and compare candidate models. A held-out test set provides a separate estimate of performance after those choices are made. Repeatedly choosing models based on the test set weakens that separation. If the same person, document, or near-duplicate example appears on both sides of a split, the result can look better than performance on genuinely new data. Other learning setups use different signals. Unsupervised learning looks for structure without a target label for every example. Self-supervised training creates prediction tasks from the data itself, such as predicting text that follows a context. Reinforcement learning uses feedback about actions and outcomes. In every case, the training objective is a useful proxy, not a complete definition of what people want. After training, inference is the use of the model to produce an output. Supplying an example in a prompt can change the current response without updating the model's learned weights. Whether a service later uses a conversation for training is a separate product and data-policy question.

기술적 통찰력

Low training error can coexist with poor real-world performance. Overfitting, data leakage, changes in the input distribution, and a mismatch between the measured objective and the real task all need separate checks.

Why accuracy can mislead: a toy spam test

  1. Imagine 100 test messages: 10 are spam and 90 are legitimate. A system that never flags spam is 90% accurate but catches none of the spam.
  2. Another system flags 20 messages. Eight really are spam and 12 are legitimate. It misses two spam messages.
  3. Its accuracy is 86%, precision is 8/20 = 40%, and recall is 8/10 = 80%. Decide whether catching eight spam messages is worth wrongly flagging 12 legitimate messages.

These are invented counts for an arithmetic example, not a benchmark result. They show why a single metric cannot determine whether a model is fit for a task.

전략적 영향

더 명확한 결정들

이는 명확한 기술적 주장과 마케팅 언어를 구분하는 데 도움이 됩니다.

비용 및 예산

돈이나 시간을 들이기 전에 더 나은 구현 질문을 할 수 있습니다.

팀과 워크플로우

이해를 공유한 팀은 더 나은 제품, 정책 및 학습 결정을 내립니다.

실제 구현

Predicting tomorrow's demand from historical sales is supervised learning when the past outcomes are known.

Grouping similar documents without predetermined categories is an unsupervised task.

Predicting missing or next tokens in text creates a training signal from the text itself.

위험 및 가드레일

팀마다 동일한 용어를 다르게 사용할 수 있으므로 범위를 조기에 정의하세요.

벤치마크는 강력해 보이지만 실제 성능은 고르지 않을 수 있습니다.

데이터 품질 및 평가 계획을 무시하면 취약한 결과가 발생하는 경우가 많습니다.

구현 로드맵

1

필요한 결과에 대한 일반 언어 정의부터 시작하세요.

2

테스트하기 전에 하나의 성공 지표와 하나의 실패 조건을 선택하세요.

3

세련된 데모 세트가 아닌 대표 데이터를 사용하여 소규모 파일럿을 실행하세요.

4

AI 학습이 도움이 되는 부분과 더 간단한 방법이 더 나은 부분을 문서화하세요.

출처 및 추가 자료

계속 탐색하세요

Free newsletter

Get the daily AI briefing

Three verified AI stories every weekday morning, written in plain English. Free forever, no ads.

One email each weekday. Unsubscribe in one click. We never sell or share your address.

Test yourself

Take the How AI Learns quiz

Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.

퀴즈 시작

Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation

Next in AI Foundations

AI 트레이닝

자주 묻는 질문

Does an AI system learn permanently from every prompt?

Not necessarily. A prompt changes the model's current context; it does not by itself imply that model weights are updated. A service's later training and retention policies are separate questions.

Why use a separate test set?

It provides examples that were not used to fit the model or repeatedly choose its settings. This makes the evaluation more informative about performance on new data.