HƯỚNG DẪN cơ bản

Học sâu

Deep learning is a branch of machine learning that trains artificial neural networks with many stacked layers, each turning its input into a slightly more useful representation.

Nghe hướng dẫn nàyAI thuật lại · ~9 min

Trên trang nàyđọc 10 phút
  1. Tổng quan
  2. Những điểm chính rút ra
  3. Lặn sâu
  4. Trace one gradient descent step by hand
  5. Triển khai trong thế giới thực
  6. Tương lai của học sâu
  7. Đưa nó vào thực tế
  8. Nguồn tham khảo và đọc thêm
  9. Tiếp tục khám phá
  10. Câu hỏi thường gặp

Tổng quan

It is the technique behind modern image recognition, speech recognition, translation and chatbots, because the layers learn their own features from examples instead of relying on rules or features written by hand.

Những điểm chính rút ra

  1. Deep learning trains neural networks with many layers, and each layer learns its own features from data instead of using hand-written rules.
  2. Training repeats one loop: predict, measure the error with a loss function, compute gradients with backpropagation, and nudge every weight to reduce the error.
  3. Backpropagation was described in Nature in 1986, but the field took off in 2012 when AlexNet cut ImageNet top-5 error to 15.3% from the runner-up's 26.2%.
  4. Convolutional networks suit images, recurrent networks once dominated sequences, and Transformers, introduced in 2017, process whole sequences at once with attention.
  5. Deep networks are data hungry, hard to interpret, prone to overfitting and shortcut learning, and can be confidently wrong on unfamiliar inputs.
  6. Epoch AI estimates frontier training compute has grown about 5 times per year since 2020, while the cost of a fixed level of performance has fallen sharply.

Lặn sâu

Deep learning is a way of building software that learns a task from examples. Its core object is an artificial neural network: a large collection of simple arithmetic units, loosely inspired by brain cells, arranged in layers. Each unit multiplies its inputs by adjustable numbers called weights, adds the results, and passes the total through a simple nonlinear function. The word deep refers to the number of layers between the raw input, such as the pixels of a photo, and the final answer, such as the label cat. In their 2015 review in Nature, Yann LeCun, Yoshua Bengio and Geoffrey Hinton describe the central idea as learning representations with multiple levels of abstraction. In an image model, early layers tend to respond to edges, middle layers to combinations of edges and textures, and later layers to parts of objects. Nobody programs those detectors. They emerge during training.

Training follows the same loop for almost every deep network. First, gather many examples with known answers, called labels. Second, run an example through the network to get a prediction; this is the forward pass. Third, score the prediction with a loss function, a formula that produces a large number when the prediction is far from the label and a small one when it is close. Fourth, use backpropagation to work out, for every weight, how much a tiny change would raise or lower the loss. That quantity is called the gradient. Fifth, nudge every weight a small step in the direction that lowers the loss, a method called gradient descent. Sixth, repeat over millions of examples, usually in small groups called batches. When training ends, the weights are frozen and the network is used on new inputs, which is called inference.

Backpropagation is the step that makes depth practical. David Rumelhart, Geoffrey Hinton and Ronald Williams described it in Nature in October 1986: the procedure repeatedly adjusts connection weights to shrink the gap between the network's actual output and the desired output. Their key observation was that hidden units, the ones that are neither input nor output, come to represent useful features of the task on their own. The 2015 Nature review explains why that matters. Conventional machine learning needed careful engineering and domain expertise to design a feature extractor before any learning could happen. Deep learning moves that work into the training process.

Different layer designs suit different data. Convolutional networks slide the same small filter across every position of an image, so a pattern learned in one corner is recognized anywhere. Recurrent networks read a sequence one step at a time and carry a memory forward, which suited speech and text for many years. Transformers, introduced by Ashish Vaswani and colleagues at Google in June 2017, replace that step-by-step reading with attention, a mechanism that lets every position in a sequence look directly at every other position. Because attention can be computed for all positions at once, the original Transformer trained to a new English-to-French translation record in 3.5 days on eight GPUs. Residual connections, introduced by Kaiming He and colleagues in December 2015, let a layer's input skip ahead and be added to its output. That simple shortcut made networks of 152 layers trainable, which the authors describe as eight times deeper than the earlier VGG networks.

The modern boom has a clear starting point. In 2012, Alex Krizhevsky, Ilya Sutskever and Geoffrey Hinton entered AlexNet in the ImageNet image classification contest. The network had 60 million weights and 650,000 units, and it was trained for about 90 passes over 1.2 million labeled images, which took five to six days on two NVIDIA GTX 580 graphics cards with 3 GB of memory each. Its winning top-5 error of 15.3% compared with 26.2% for the next entry. The authors wrote that their results could likely improve simply by waiting for faster GPUs and bigger datasets, and the following decade largely followed that recipe: more data, more compute, and better architectures such as ResNet in 2015 and the Transformer in 2017. By 2024, according to the Stanford AI Index 2025, nearly 90% of notable new AI models came from industry rather than universities, up from 60% in 2023, a sign of how expensive frontier work has become.

It helps to place deep learning among its alternatives. Rule-based software follows instructions a person wrote, which is predictable and easy to audit but breaks on messy inputs like handwriting or accents. Classical machine learning, such as logistic regression or decision trees, learns from data but usually relies on features a person chose in advance. Deep learning learns the features too, which is why it dominates tasks with raw, unstructured inputs: images, audio, video and free text. For small tables of numbers, such as a spreadsheet of a few thousand loan records, simpler methods are cheaper to train and easier to explain, and they remain a sensible first try. Deep learning is also distinct from generative AI: generative systems are one use of deep networks, not a separate technology.

The method has real limits. Deep networks need large amounts of data, and they can memorize their training examples instead of learning general patterns, a failure called overfitting. The AlexNet authors reported substantial overfitting until they added dropout, a technique that randomly switches off half of the units in certain layers during each training step. A trained network's knowledge is spread across millions or billions of weights, so it is hard to say why it produced a particular answer. Networks can latch onto accidental shortcuts in the data, such as a background that happens to appear with one label, and they can fail without warning on inputs unlike anything in training. They also give confident answers when they are wrong unless they are specifically calibrated. None of these problems is solved by adding more layers.

The practical requirements depend heavily on scale. A small image classifier can be trained on a single consumer graphics card in hours, and most practitioners start from a network someone else already trained and adjust it for their task, which is called fine-tuning. Frontier models are a different world. Epoch AI estimates that training compute for frontier language models has grown about 5 times per year since 2020 and that frontier training costs have grown about 3.5 times per year, and it puts the up-front cost of a 1-gigawatt AI data center at roughly 38 billion dollars. Running models has become far cheaper, though: the Stanford AI Index 2025 reports that the price of GPT-3.5-level performance fell more than 280-fold between November 2022 and October 2024, while hardware costs fell about 30% per year and energy efficiency improved about 40% per year.

04Ví dụ hoạt động

Trace one gradient descent step by hand

  1. Take the smallest possible network: one weight w that predicts y = w * x. Start with w = 0.5.

  2. Use one training example: input x = 2 with correct answer 3. The forward pass predicts 0.5 * 2 = 1.

  3. Score the prediction with squared error loss, (prediction - answer) squared, which gives (1 - 3) squared = 4.

  4. Compute the gradient with the chain rule: dLoss/dw = 2 * (prediction - answer) * x = 2 * (-2) * 2 = -8.

  5. Update the weight with learning rate 0.05: w := 0.5 - 0.05 * (-8) = 0.9.

  6. Run the forward pass again: 0.9 * 2 = 1.8, so the loss is now (1.8 - 3) squared = 1.44.

  7. Repeat the same four steps several more times and record the weight and loss after each one.

Những gì nó cho thấy

The loss drops from 4 to 1.44 after one step and keeps shrinking, and w approaches 1.5, the value that maps 2 to 3 exactly. A real deep network performs exactly this calculation, only for millions or billions of weights at once, with backpropagation supplying every gradient.

Triển khai trong thế giới thực

Image recognition: AlexNet, a network with five convolutional and three fully connected layers, won the ILSVRC-2012 contest with a 15.3% top-5 test error when the second-best entry scored 26.2%.

Very deep vision models: the 2015 ResNet paper from Microsoft Research trained networks up to 152 layers deep using shortcut connections and took first place in the ILSVRC 2015 classification task with 3.57% error.

Machine translation: the 2017 Transformer reached 28.4 BLEU on the WMT 2014 English-to-German benchmark, more than 2 BLEU above earlier best results, and set a single-model record of 41.8 BLEU on English-to-French.

Speech, science and medicine: the 2015 Nature review by LeCun, Bengio and Hinton credits deep networks with large gains in speech recognition, object detection, drug discovery and genomics, areas where hand-designed features had stalled.

Tương lai của học sâu

Several open problems shape current research. The first is efficiency. If frontier training compute keeps growing near the 5-times-per-year pace Epoch AI measured since 2020, the energy and capital required rise steeply; Epoch notes that the largest AI data centers were already approaching a gigawatt of power capacity in 2025. That pressure drives work on smaller models, better training recipes and cheaper chips, and the Stanford AI Index 2025 recorded hardware costs falling about 30% a year. The second is convergence among competitors. The AI Index 2025 found that the score gap between the top model and the tenth-ranked model shrank from 11.9% to 5.4% in a year, and the gap between leading open-weight and closed models narrowed from 8% to 1.7% on some benchmarks. Whether advantages now come more from data, compute or engineering is an open question. The third is understanding. Deep networks still work better than anyone can fully explain, and interpretability research tries to map what individual units and circuits compute. Reliability on unfamiliar inputs, honest uncertainty estimates and resistance to shortcut learning remain unsolved. Whether simply scaling current architectures will keep producing gains, or whether new ideas are needed, is actively debated rather than settled.

Đưa nó vào thực tế

Tại sao nó quan trọng

  • Quyết định rõ ràng hơn. Nó giúp bạn tách biệt các tuyên bố kỹ thuật rõ ràng khỏi ngôn ngữ tiếp thị.
  • Chi phí và ngân sách. Bạn có thể đặt các câu hỏi triển khai tốt hơn trước khi chi tiền hoặc thời gian.
  • Nhóm và quy trình làm việc. Các nhóm có sự hiểu biết chung sẽ đưa ra các quyết định về sản phẩm, chính sách và học tập tốt hơn.

coi chừng

  • Các nhóm khác nhau có thể sử dụng cùng một thuật ngữ một cách khác nhau, vì vậy hãy sớm xác định phạm vi.
  • Điểm chuẩn có thể trông mạnh mẽ trong khi hiệu suất trong thế giới thực không đồng đều.
  • Việc bỏ qua các kế hoạch đánh giá và chất lượng dữ liệu thường tạo ra những kết quả mong manh.

Các bước tiếp theo

  1. Bắt đầu với một định nghĩa đơn giản về kết quả bạn cần.
  2. Chọn một số liệu thành công và một điều kiện thất bại trước khi thử nghiệm.
  3. Chạy một thử nghiệm nhỏ với dữ liệu đại diện chứ không phải một bản demo bóng bẩy.
  4. Ghi lại những chỗ mà Deep Learning hỗ trợ và những chỗ mà các phương pháp đơn giản hơn sẽ tốt hơn.

Nguồn tham khảo và đọc thêm

  1. Nature (LeCun, Bengio and Hinton, 2015)Học sâu
  2. Nature (Rumelhart, Hinton and Williams, 1986)Học biểu diễn bằng cách lan truyền ngược lỗi
  3. NeurIPS 2012Phân loại ImageNet với Mạng thần kinh tích chậu sâu
  4. arXiv (Microsoft Research, 2015)Deep Residual Learning for Image Recognition
  5. arXiv (Google, 2017)Sự chú ý là tất cả những gì bạn cần
  6. Stanford Institute for Human-Centered AIBáo cáo chỉ số AI năm 2025
  7. Epoch AIXu hướng học máy

Tiếp tục khám phá

Bản tin miễn phí

Nhận bản tóm tắt AI hàng ngày

Ba câu chuyện AI đã được xác minh vào mỗi buổi sáng các ngày trong tuần, được viết bằng tiếng Anh đơn giản. Miễn phí mãi mãi, không có quảng cáo.

Một email mỗi ngày trong tuần. Hủy đăng ký trong một cú nhấp chuột. Chúng tôi không bao giờ bán hoặc chia sẻ địa chỉ của bạn.

Tự kiểm tra

Take the Deep Learning quiz

Phản hồi tức thì về mọi câu trả lời và chứng chỉ có thể chia sẻ với ID có thể xác minh sau khi bạn vượt qua khóa học.

Bắt đầu bài kiểm tra

Hỗ trợ giáo dục AI miễn phí. AI Understanding là tổ chức phi lợi nhuận 501(c)(3) — không bao giờ có quảng cáo, không có tường phí. Hãy quyên góp

Câu hỏi thường gặp

Học sâu là gì?

Deep learning is a branch of machine learning that trains artificial neural networks with many stacked layers, each turning its input into a slightly more useful representation. It is the technique behind modern image recognition, speech recognition, translation and chatbots, because the layers learn their own features from examples instead of relying on rules or features written by hand.

What does “deep” describe in a deep-learning model?

In this guide, depth refers to multilayer network structure; it does not establish human-like understanding or performance.

A network has 2 inputs, hidden layers of 3 and 2 units, and 1 output. With a bias for each hidden/output unit, how many weights and biases are there?

The layers contribute (2×3+3)=9, (3×2+2)=8, and (2×1+1)=3, for 20 total.

Why use nonlinear activations between hidden layers?

The guide explains that a stack of linear operations remains linear; nonlinear activations let the network represent nonlinear relationships.

During inference, what normally happens to the trained model’s parameters?

Inference uses the trained model; training is the process that updates parameters.

A model fits its training examples closely but performs poorly on comparable held-out data. What pattern does this show?

Overfitting is strong training performance paired with weaker performance on new data.