C.W.K.
Stream
Lesson 06 of 10 · published

Neural Network 가 잘하는 것

~16 min · use-cases, applications

Level 0Curious
0 XP0/73 lessons0/11 achievements
0/120 XP to next level120 XP to go0% complete

Deep learning 이 자주 이기는 3 패턴

Perception — raw pixel/waveform/text 를 구조화된 prediction 으로 변환. Image classification, object detection, ASR, OCR, NER. 수십 년의 hand-crafted feature pipeline 이 몇 년만에 대체됐어.

Generation — data distribution 을 따르는 구조화된 output 생성. Translation, image synthesis, code completion, TTS, music generation. Model 이 data manifold 를 배우고 거기서 sampling 해.

Context 하의 sequence reasoning — 긴 input 을 받아 global structure 에 의존하는 output 생성. Document understanding, code refactoring across many files, multi-turn dialog, agentic tool use. Transformer 가 여기서 강한 이유 — attention 이 모든 token 이 모든 token 을 보게 해.

왜 이 패턴들이 비슷한가

셋 다 high-dimensional, redundant, latent structure 가 많은 data 의 learned representation 에서 이득 봐. 그리고 셋 다 pretraining 이 보답하는 곳이야 — open web 으로 pretrain 된 model 은 대부분의 패턴을 이미 봤어, 본인 task 로 가리키기만 하면 돼.

원칙: 문제가 이 셋 중 하나에 맞으면 deep learning 은 default tool 이지 호기심이 아냐. 안 맞으면 왜 deep learning 이 옳은 escalation 인지 본인이 입증해야 해.

경계 사례들

Deep learning 이 자동으로 사람이나 classical method 를 이기는 게 아닌 곳: feature engineering 이 강한 tabular (gradient boosting 여전히 승), pretraining 옵션 없는 작은 dataset, interpretability 가 hard requirement 인 문제, 틀리는 비용이 느린 비용보다 큰 곳. 다음 lesson 이 정확히 그 경계에 대한 거야.

Code

Three task shapes, one library·python
from transformers import pipeline

# Perception
clf = pipeline("image-classification", model="google/vit-base-patch16-224")
print(clf("dog.jpg")[0])

# Generation
gen = pipeline("text2text-generation", model="google/flan-t5-base")
print(gen("translate English to Korean: I love deep learning"))

# Sequence reasoning
qa = pipeline("question-answering")
ctx = "PyTorch was released in 2016 by FAIR. It uses dynamic graphs."
print(qa(question="When was PyTorch released?", context=ctx))

External links

Exercise

본인이 매주 쓰는 product 하나 골라. 어떤 기능이 perception/generation/sequence reasoning 인지 적고, 그 셋 중 어디에도 안 맞는 (그래서 아마 deep learning 모양 아닌) 기능 하나도 적어.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.