Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Oracle · OCI AI Foundations

Deep learning

OCI AI Foundations · Lesson 4 of 16 · 28:16

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Prepare for the Oracle Cloud Infrastructure AI Foundations Associate exam (1Z0-1122-26). In this lesson: what deep learning is (features learned from raw data, with lots of data and GPUs), inside a neural network (layers, neurons, weights, biases, and activation functions), how a network learns with backpropagation, and a short history with the main architectures (feedforward networks, CNNs, RNNs, autoencoders, LSTMs, GANs, and transformers). Includes three original practice questions, with Willowmere Motors, a fictional network of car dealerships and repair shops, as the example.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

Learning from pixels

Willowmere's repair shops take thousands of photos of damaged cars every week. Classic machine learning would need someone to describe each dent with hand-made features, like its size and its position. Deep learning skips that step: it learns the features from the pixels themselves, and this lesson shows how.

What deep learning is

Deep learning is a subset of machine learning that uses artificial neural networks, loosely inspired by the neurons of the brain. Classic machine learning needs features defined by people, while deep learning finds features in raw data, like pixels, words, or sound, by itself. It needs a lot of data and a lot of computation, but neural networks can process data in parallel, which suits GPUs. That's why deep learning took off when large data sets and affordable GPUs arrived.

Inside a neural network

An artificial neural network is built from layers of neurons. The input layer receives the data, the output layer gives the result, and the hidden layers between them do the work: input and output layers are required, and deep learning adds many hidden layers. Each connection between two neurons has a weight, a number that sets how strongly one neuron influences the next, and each neuron adds a bias. A neuron sums its weighted inputs and its bias, then passes the result through an activation function, which decides how strongly it fires, and lets the network learn patterns that are not straight lines. For example, a network that reads handwritten digits of twenty eight by twenty eight pixels has seven hundred eighty four input neurons, maybe two hidden layers of sixteen neurons, and ten output neurons, one per digit.

How a network learns

Training a network means finding the weights and biases that give the right outputs. The network starts with random weights, makes a prediction on a training example, and measures its error against the label. Backpropagation then sends that error backward through the layers, and works out how much each weight contributed to it. Each weight is adjusted a little, to reduce the error, and the process repeats over many examples, until the network predicts well. All of this needs lots of data and computation, which is why GPUs, with thousands of cores working in parallel, matter so much.

History and architectures

Deep learning has a long history: artificial neurons and the perceptron appeared in the nineteen fifties, backpropagation spread in the nineteen eighties, and convolutional networks in the nineteen nineties. Then GPUs and big data sets changed everything, and in twenty twelve, a deep network called AlexNet won a major image recognition contest by a wide margin. Today there are several architectures: feedforward networks, also called multilayer perceptrons, the simplest, convolutional networks, recurrent networks and LSTMs, autoencoders, generative adversarial networks, and transformers. The data decides the choice: images point to convolutional networks, text and sequences to transformers, LSTMs, or recurrent networks, and generated images to transformers, GANs, or diffusion models.

Recap

Let's recap. Deep learning uses neural networks that find features in raw data by themselves, with lots of data and parallel GPUs. A network has an input layer, hidden layers, and an output layer, with weights, biases, and activation functions. Backpropagation sends the error backward, and training adjusts the weights to reduce it. Deep learning grew from the perceptron of the nineteen fifties to AlexNet in twenty twelve. And the data decides the architecture: images, sequences, or generated content.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. In Willowmere’s damage network, what sets how strongly one neuron influences a neuron in the next layer?

    • The activation function of the output layer
    • The number of pixels in each photo
    • The weight of the connection between them
    • The label of the training photo
    Show the answer

    The weight of the connection between them

    Each connection has a weight, and the weight sets how strongly one neuron influences the next. “The activation function of the output layer” decides how strongly a neuron fires, once its weighted inputs are summed. “The number of pixels in each photo” sets the size of the input layer, not the strength of a connection. And “The label of the training photo” is the answer that the network learns to predict, not a part of the network.

  2. During training, Willowmere’s network calls a photo of a scratch a dent. What does backpropagation do next?

    • Sends the error back, then each weight is adjusted
    • Adds a hidden layer to the network
    • Removes the photo from the training data
    • Changes the label of the photo to dent
    Show the answer

    Sends the error back, then each weight is adjusted

    Backpropagation sends the error backward through the layers, and each weight is adjusted to reduce it. “Adds a hidden layer to the network” would change the architecture of the network, which training does not do. “Removes the photo from the training data” would throw away a useful example, while errors are how the network learns. And “Changes the label of the photo to dent” would corrupt the data, because the label scratch is the right answer.

  3. Real photos of rare damage are hard to find, so Willowmere wants to create realistic synthetic photos to train its damage model. Which architecture is built to generate them?

    • A feedforward network
    • A long short-term memory network
    • A recurrent neural network
    • A generative adversarial network
    Show the answer

    A generative adversarial network

    A generative adversarial network, or GAN, learns to generate realistic new data, like synthetic photos. “A feedforward network” is the simplest network, built to predict, not to generate realistic images. “A long short-term memory network” is built for sequences, like text or time series, not for images. And “A recurrent neural network” has the same focus on sequences, with a shorter memory.