What is AI?
Artificial intelligence means computer systems that do things we used to think required human intelligence - understanding language, recognising images, drawing conclusions and making decisions.
This page is a basic map of the field. Read on about the history of AI and where it is heading.
A broad term
“AI” covers very different things. A 1990s chess program, the filter that weeds out spam, the recommendations in Spotify and a chatbot that writes essays are all called AI. What they have in common is that they solve tasks that cannot be captured in a simple, fixed rule.
It is common to distinguish between:
- Narrow AI - systems that are good at one specific task, such as reading X-rays or translating text. Almost all AI in use today is of this kind.
- General AI (AGI) - a hypothetical system that can handle virtually any intellectual task at least as well as a human. There is no agreed definition, and how close we are is one of the field’s great controversies.
- Superintelligence - AI that far surpasses humans in almost every domain.
Two main approaches: rules and learning
Early AI research was mostly symbolic AI: people wrote rules and logic for the computer to follow (“if the patient has a fever and a rash, consider measles”). That worked in narrow settings, but the real world turned out to have too many exceptions to capture in rules.
Today’s AI is built almost entirely on machine learning. Instead of programming the rules, you let the system find patterns by itself in large amounts of data.
- Supervised learning - the system is trained on labelled examples, such as pictures tagged “cat” or “dog”.
- Unsupervised learning - the system looks for structure in data without labels, for example to group customers.
- Reinforcement learning - the system learns by trial and error, receiving rewards or penalties. AlphaGo first learned from human games and then grew much stronger by playing against itself in this way.
Neural networks and deep learning
A neural network is a mathematical model loosely inspired by the brain’s nerve cells. The idea is old: the first mathematical model of an artificial neuron was described back in 1943. A network consists of layers of simple computing units connected by “weights”. During training, millions or billions of weights are adjusted so that the network’s answers keep getting better.
Deep learning means neural networks with many layers. The method for training them, backpropagation, became widely known in 1986, but the big breakthrough came around 2012, when three things came together: huge datasets from the internet, powerful graphics processors (GPUs) and better training methods. Since then deep learning has taken over image recognition, speech recognition, translation and much more.
Language models and generative AI
The systems most people mean by AI today, such as ChatGPT, Claude and Gemini, are large language models (LLMs). They are built on a network architecture called the transformer, introduced by researchers at Google in June 2017.
The basic principle is surprisingly simple: the model is trained on vast amounts of text to predict the next word (strictly, the next “token”, a piece of a word). To get really good at that, the model in effect has to learn grammar, facts, reasoning and style. It is then fine-tuned, often with human feedback, to become a helpful assistant.
Generative AI is the umbrella term for AI that creates new content: text, images, music, video and code.
In recent years two developments have stood out:
- Reasoning models that “think” in several steps before answering, which makes them much better at maths, programming and complex problems.
- AI agents that don’t just answer questions but carry out tasks: searching the web, writing and running code, filling in forms and working on their own for longer stretches.
What AI is good and bad at
AI systems can now write, summarise, translate, program, analyse images and solve hard problems at a level that seemed far off ten years ago. At the same time they have clear weaknesses:
- Hallucinations - language models can invent facts, sources and quotes and present them with complete confidence. Always check anything important.
- Uneven ability - a model can solve an advanced maths problem and fail at something that seems trivial.
- Bias in data - models learn from data created by people and can reflect its skews.
- Limited transparency - it is hard to explain exactly why a neural network gives a particular answer. The research field trying to change that is called interpretability.
AI in Sweden
Sweden has an active AI scene spanning research, public initiatives and companies:
- WASP (Wallenberg AI, Autonomous Systems and Software Program), launched in 2015 and funded mainly by the Knut and Alice Wallenberg Foundation, is the largest individual research programme in Sweden.
- AI Sweden is the national centre for applied AI, with partners from industry, the public sector and academia. Together with RISE and WASP it developed GPT-SW3, the first large generative language model for the Nordic languages.
- The Berzelius supercomputer at the National Supercomputer Centre in Linköping, donated by the Knut and Alice Wallenberg Foundation, went into service in 2021 and has been expanded since. It is used for AI research.
- Swedish companies such as Spotify, Klarna, Lovable and Legora use or build AI at the core of their products.
- As an EU member, Sweden is covered by the EU AI Act, the world’s first broad AI legislation, which entered into force on 1 August 2024 and is being phased in through 2028.
- In February 2026 the government presented Sweden’s first comprehensive AI strategy, with the goal of making Sweden one of the world’s ten leading AI nations.
Sweden also has a unique role through the Nobel Prize: in 2024 both the physics prize (John Hopfield and Geoffrey Hinton) and the chemistry prize (David Baker, plus Demis Hassabis and John Jumper for AlphaFold) went to AI-related research.
Glossary
| Term | Explanation |
|---|---|
| Algorithm | A step-by-step procedure for solving a problem. |
| Model | The result of training: the system that is then used to make predictions. |
| Training data | The data a model learns from. |
| Parameters / weights | The numbers in a neural network that are adjusted during training. Large models have hundreds of billions. |
| Token | A piece of a word. Language models read and write text as tokens. |
| Prompt | The instruction or question you give an AI model. |
| Context window | How much text a model can keep “in mind” at once. |
| Fine-tuning | Training an existing model further for a particular task. |
| Hallucination | When an AI model makes up something that isn’t true. |
| Multimodal | A model that handles several kinds of data, such as text, images and sound. |
| Open weights | Models whose parameters are published so anyone can run them. |
Sources
- McCulloch and Pitts: A logical calculus of the ideas immanent in nervous activity (1943)
- Rumelhart, Hinton and Williams: Learning representations by back-propagating errors (Nature, 1986)
- Silver et al.: Mastering the game of Go with deep neural networks and tree search (Nature, 2016)
- Vaswani et al.: Attention Is All You Need (2017)
- WASP: About us
- AI Sweden: GPT-SW3
- NSC: Berzelius
- European Commission: AI Act
- Government of Sweden: Sweden’s AI strategy (in Swedish)
- Nobel Prize in Physics 2024
- Nobel Prize in Chemistry 2024