GUÍA DE FUNDAMENTOS

Aprendizaje profundo

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.

Escuche esta guíaNarrado por IA · ~9 min

En esta pagina10 min read
  1. Descripción general
  2. Conclusiones clave
  3. Buceo profundo
  4. Trace one gradient descent step by hand
  5. Implementación en el mundo real
  6. El futuro del aprendizaje profundo
  7. Poniéndolo en práctica
  8. Fuentes y lecturas adicionales
  9. Sigue explorando
  10. Preguntas frecuentes

Descripción general

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.

Conclusiones clave

  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.

Buceo profundo

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.

04Ejemplo resuelto

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.

lo que muestra

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.

Implementación en el mundo real

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.

El futuro del aprendizaje profundo

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.

Poniéndolo en práctica

Por qué es importante

  • Decisiones más claras. Le ayuda a separar las afirmaciones técnicas claras del lenguaje de marketing.
  • Costo y presupuesto. Puede hacer mejores preguntas sobre implementación antes de gastar dinero o tiempo.
  • Equipo y flujo de trabajo. Los equipos con conocimientos compartidos toman mejores decisiones sobre productos, políticas y aprendizaje.

cuidado con

  • Diferentes equipos pueden usar el mismo término de manera diferente, por lo tanto, defina el alcance con anticipación.
  • Los puntos de referencia pueden parecer sólidos, mientras que el desempeño en el mundo real es desigual.
  • Ignorar la calidad de los datos y los planes de evaluación a menudo genera resultados frágiles.

Próximos pasos

  1. Comience con una definición en lenguaje sencillo del resultado que necesita.
  2. Elija una métrica de éxito y una condición de fracaso antes de realizar la prueba.
  3. Ejecute un pequeño piloto con datos representativos, no un conjunto de demostración pulido.
  4. Documente dónde ayuda el aprendizaje profundo y dónde son mejores los métodos más simples.

Fuentes y lecturas adicionales

  1. Nature (LeCun, Bengio and Hinton, 2015)Aprendizaje profundo
  2. Nature (Rumelhart, Hinton and Williams, 1986)Learning representations by back-propagating errors
  3. NeurIPS 2012ImageNet Classification with Deep Convolutional Neural Networks
  4. arXiv (Microsoft Research, 2015)Deep Residual Learning for Image Recognition
  5. arXiv (Google, 2017)Atención es todo lo que necesitas
  6. Stanford Institute for Human-Centered AIThe 2025 AI Index Report
  7. Epoch AIMachine Learning Trends

Sigue explorando

Boletín gratuito

Recibe el resumen diario de IA

Tres noticias verificadas sobre IA cada mañana de lunes a viernes, explicadas con claridad. Gratis para siempre y sin anuncios.

Un correo cada día laborable. Date de baja con un clic. Nunca vendemos ni compartimos tu dirección.

Ponte a prueba

Haz el cuestionario Aprendizaje profundo

Corrección inmediata en cada respuesta y un certificado para compartir, con un ID verificable, cuando apruebas un curso.

Empezar el cuestionario

Apoya la educación gratuita sobre IA. AI Understanding es una organización sin fines de lucro 501(c)(3): sin anuncios ni muros de pago, nunca. Hacer una donación

Preguntas frecuentes

¿Qué es el aprendizaje profundo?

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.