An artificial neural network is the structure behind deep learning. Loosely inspired by the brain, it is made of simple units called neurons arranged in connected layers that pass signals forward.
It has three kinds of layer: an input layer that receives data, one or more hidden layers that process, and an output layer that gives the answer. Information spreads across many small connections, not one rule.
This lets networks handle messy, high-dimensional inputs (images, sound, language) no human could hand-code. The cost is interpretability. Intelligence spread across millions of connections is hard to trace.
Inside the network: neurons and weights
A single neuron takes several numbers as inputs, multiplies each by a weight, adds them, and passes on a signal only if the total is high enough. The weight decides how much each input matters.
Weights are the whole story of what a network knows: a large weight strongly influences the next neuron, a small one barely matters. A network can hold millions of weights that together encode the patterns it picked up.
No human sets the weights; they start random and adjust automatically during training. The knowledge is a grid of numbers, not readable instructions, which is a major reason networks are a black box: even builders cannot say exactly why it decided as it did.
How a neural network learns
A network learns by practising: it makes a guess, compares it with the correct answer to measure the error, nudges its weights to shrink that error, and repeats millions of times.
This process is called training and it is expensive: reaching high accuracy can take millions of examples on banks of specialised chips for days or weeks, so only a handful of well-resourced organisations can train the largest networks.
Because learning comes entirely from the training data, the network absorbs its gaps and biases. Whoever assembles the data effectively decides who it serves well; a group missing from the examples is one the network never learns to handle.
Neural networks for images
In computer vision the network learns a hierarchy of features: early layers detect edges, middle layers combine them into shapes, deeper layers recognise whole objects such as a face or a tumour.
This layered feature-building powers image recognition: photo tagging, self-driving car perception, factory quality checks, and medical imaging that can flag cancer earlier than a rushed human eye, all learned from labelled images.
Risks land unequally. A vision system trained on few dark-skinned faces or few night-time scenes tends to fail exactly where the cost is highest, and tiny deliberate changes can fool it. Whether it is safe to rely on such a system depends on more than its accuracy score; it also depends on who bears the cost when it fails.
Neural networks for language and sound
In speech recognition a network turns a voice waveform into text; in natural language processing networks translate, power chatbots and search, and predict the next words in a sentence.
A voice assistant shows the chain: a speech network transcribes your request, a language model finds a likely response, another network speaks it back, in about a second. The same NLP powers live translation.
A network predicts likely words from patterns, so fluency is not understanding. It can be confidently wrong, and it mishears the voices and languages least present in its data. These tools work best in widely spoken languages and standard accents, so speakers of less common languages and non-standard accents are served worst.
Uses, strengths, and the black-box problem
Across images, language, sound, and games, networks are extraordinarily capable, often matching or beating human experts on narrow tasks, which is why they are deployed in high-stakes settings from hospitals to courts to hiring.
The same feature that makes a network powerful also makes it hard to trust. A decision spread across millions of weights turns it into a black box: accurate, yet unexplainable even to its developers. When it denies a loan or flags a disease, the affected person may get no real explanation.
The debate goes beyond the technical. Accuracy, accountability, and the right to an explanation can pull in different directions, and different communities carry the risks and benefits unequally.
Case study
Diabetic retinopathy screening (case study)
System: a deep computer-vision network trained on labelled retinal photographs to detect diabetic retinopathy, an eye disease that can cause blindness. AI and data topics.
Specifics: in a 2016 JAMA study, Google researchers trained a network on around 128,000 retinal images with accuracy comparable to specialists. From about 2018 it was trialled in clinics in India and Thailand, but a field study of the Thailand rollout found the system rejected many images for quality, and slow internet delayed some patients.
Impacts and implications: Impacts: promised faster screening where specialists are scarce, yet rejected images and workflow friction frustrated nurses and delayed patients. Implications: the opportunity is wider access to sight-saving screening; the risks are over-reliance, unequal deployment, and unclear accountability when a black-box model is wrong.
Concepts: power (the model and data sit with a large company, not the clinics), systems (the tool only works as well as the whole clinic system, with unintended consequences), values and ethics (consent, accountability, equity). Mainly the health context.
Theory of Knowledge
TOK
If a network diagnoses disease more accurately than a doctor but cannot explain how, should it be trusted to decide?
Who should be accountable when a black-box network makes a harmful decision: the developer, the user, or the data?
Active recall
Self review
What is an artificial neural network, and what are its three kinds of layer?
What is a neuron, and what role do weights play inside it?
How does a network learn, and why does training data matter so much?
How do networks handle images (computer vision), and language and sound, and why is fluency not understanding?
What is the black-box problem, and why does it matter for accountability?