Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.

Get Started Now!

A to I of artificial intelligence

A to I of artificial intelligence
Human Intelligence

Last updated: 01 December 2026

This A to I of artificial intelligence explains the terms you are likely to meet when reading about AI, from agent to inference. Each entry says what the term means, why it matters and where people often get it wrong.

Start with the umbrella term. In the OECD’s widely cited definition, an AI system is a machine-based system that infers from its input how to produce outputs, such as predictions, content, recommendations or decisions, that can influence physical or virtual environments. Systems differ in how autonomous and adaptive they are.

A to I of artificial intelligence at a glance

Letter Key term Short meaning When you meet it
A Agent Software that plans and takes actions for a user Using a system
B Backpropagation Works out how each weight affected the error Training
C Context window How many tokens a model can process per prompt Using a model
D Deep learning Learning with multi-layer neural networks Building a model
E Embedding Numbers that represent an item so it can be compared Search and modelling
F Fine-tuning Extra training for a specific task Adapting a model
G Generative AI AI that produces content such as text or images Using a system
H Hallucination Confident output that is false or made up Checking results
I Inference Running a trained model on new input Production

How the terms fit together

Most of these ideas sit somewhere on one path. A model learns from data, may be adapted, and is then run to answer requests. Its answers are checked, and the findings feed the next round of changes.

Flow from training data through deep learning to a foundation model, optional fine-tuning, inference, output and evaluation, with grounding feeding inference.
How key A to I terms connect, from training to checked output

The glossary, letter by letter

A: Agent, attention and alignment

An agent is software that reasons about a user’s input in order to plan and carry out actions. A chatbot might tell you how to reschedule a meeting. An agent with calendar access could do it. In reinforcement learning, the word has an older, narrower sense: the entity that follows a policy to maximise expected reward.

Attention is a neural network mechanism that weighs how important different words, or parts of words, are. Self-attention is a building block of the Transformer architecture behind many language models.

Alignment is the work of making a system behave in line with the intentions and values of the people it serves. A model can score well on a narrow target and still miss what you wanted.

B: Backpropagation, bias and benchmark

Backpropagation is central to training neural networks. After the model makes a prediction, a backward pass uses calculus (the chain rule) to calculate how each weight contributed to the error. Gradient descent then uses that information to adjust the weights.

Bias has two meanings. In model maths, it is an offset term, like the intercept of a line. In fairness work, it means favouritism or prejudice, or systematic error from how data was sampled or reported. Check which one a writer means.

A benchmark is a standard test used to compare models. It is useful for shortlisting, but it may not resemble your data or your users.

C: Context window and chain-of-thought

The context window is the number of tokens a model can process in a given prompt. Tokens are words or pieces of words. A larger window lets you supply more material, but it does not guarantee the model will use every part well. Check how your provider counts input and output against its limits.

Chain-of-thought prompting asks a language model to explain its reasoning step by step. This can improve accuracy and gives you something to inspect. Do not treat it as a reliable record of how the answer was reached. In 2025 research from Anthropic, reasoning models often used hints planted in a prompt without mentioning them in their written reasoning.

D: Deep learning, diffusion and distillation

Deep learning uses deep neural networks, meaning networks with more than one hidden layer. It is a subset of machine learning, which is itself one approach within AI.

A diffusion model is a generative model widely associated with images. In simple terms, training involves adding noise to examples and learning to reverse it. Generation starts from noise and removes it in steps. A 2020 paper on denoising diffusion probabilistic models showed strong image results with this family of methods.

Distillation trains a smaller “student” model to imitate a larger “teacher”. The student is typically faster and needs less memory and energy, usually at some cost in prediction quality.

E: Embedding and evaluation

An embedding is a list of numbers that represents something, such as a word, document or image. Embeddings are often learned during training, and similar items tend to receive similar vectors. That makes it possible to search by meaning as well as exact words.

Evaluation, often shortened to “evals”, measures how well a system does its job. Methods include comparing outputs with reference answers, human review and using another model as a judge. An automated judge also needs checking.

F: Foundation model, fine-tuning and few-shot

A foundation model is a very large model pre-trained on broad, diverse data. It can handle many kinds of request and serve as a starting point for further adaptation.

Fine-tuning is a second, task-specific round of training on a pre-trained model. A team might fine-tune a language model on examples of its support replies to get a consistent format and tone.

Few-shot prompting puts several examples of the desired response in the prompt. It changes what the model sees for that request, not its weights.

G: Generative AI, gradient descent, grounding and guardrails

Generative AI produces content, including text, images, audio, video or code. Other AI systems mainly classify, forecast or recommend.

Gradient descent is an optimisation method that repeatedly nudges a model’s parameters in the direction that reduces its loss, a measure of error.

Grounding ties a model’s answer to identified information, such as retrieved company documents. A common pattern, retrieval-augmented generation, fetches relevant passages and adds them to the prompt.

Guardrails are controls around a model, such as input filters, output checks, permission limits and approval steps. They reduce risk but do not remove it.

H: Hallucination and human oversight

A hallucination is output that sounds plausible but is false or invented, such as a reference to a document that does not exist. The US National Institute of Standards and Technology uses the term confabulation in its generative AI risk profile.

Human-in-the-loop means a person reviews, approves or corrects the system at defined points. It works only if the reviewer has the time, evidence and authority to say no.

I: Inference, injection and interpretability

Inference is using a trained model to produce an output from new input. It can happen on demand or in batches. Training builds or changes the model; inference puts it to work.

Injection, usually called prompt injection, occurs when input changes a language model’s behaviour in unintended ways. It can come directly from a user, or indirectly from a web page or file the model reads. OWASP, a security organisation, notes that it is unclear whether any foolproof prevention exists.

Interpretability is the study of why a model produces its outputs, including what its internal components represent. A fluent explanation from the model is not the same thing.

Choosing between prompting, grounding and fine-tuning

Approach What changes Good first use Main limitation
Few-shot prompting Examples in the prompt Showing a format or style Longer prompts
Grounding with retrieval Source material supplied per request Answers from changing or private documents Poor retrieval leads to poor answers
Fine-tuning Model parameters Consistent behaviour on a specific task Needs training data and re-evaluation
Distillation A smaller model is trained Cutting latency or resource use Possible quality loss

A sensible order is to try clear instructions and examples first, add grounding when facts are missing, and consider fine-tuning when evaluations show a persistent gap.

Hands-on exercise: compare embeddings

This Python example uses invented three-number vectors to show the idea behind embedding search. Real embeddings come from a model and are much longer. The code has not been tested here.

from math import sqrt

def cosine(a, b):
    dot = sum(x * y for x, y in zip(a, b))
    size_a = sqrt(sum(x * x for x in a))
    size_b = sqrt(sum(y * y for y in b))
    return dot / (size_a * size_b)

documents = {
    "refund policy": [0.8, 0.2, 0.1],
    "shipping times": [0.2, 0.9, 0.1],
    "careers page": [0.1, 0.3, 0.9],
}

query = [0.9, 0.1, 0.2]  # pretend: "Can I get my money back?"

ranked = sorted(documents.items(),
                key=lambda item: cosine(query, item[1]),
                reverse=True)

for name, vector in ranked:
    print(name, round(cosine(query, vector), 2))
  1. Run it. The refund policy should rank first, well ahead of the others.
  2. Change the query to [0.5, 0.5, 0.5]. The scores move much closer together, yet one document still comes first.
  3. Add a minimum score, such as 0.9, and print “no good match” when nothing reaches it.

The lesson is that a top result is not always a relevant one. The threshold here is only illustrative, so set real ones by testing on your own data.

Common mistakes

  • Using AI, machine learning and deep learning as synonyms. Each is narrower than the one before it.
  • Assuming a chat teaches the model. Inference alone does not retrain it. Products may store memory or use data for later training, so read their settings and terms.
  • Believing grounding ends hallucinations. A model can still misread or go beyond its sources.
  • Picking a model on benchmark rank alone. Test it on examples from your real task.
  • Giving agents broad permissions. A wrong or manipulated step can then cause real damage.

Best practices

  • Write a small set of realistic test cases before changing prompts or models.
  • Verify important facts against original sources.
  • Give agents the least access they need, and require approval for high-risk actions.
  • Treat web pages, emails and uploaded files as untrusted input.
  • Define key terms in project documents so everyone means the same thing.

Frequently asked questions

Is generative AI the same as artificial intelligence?

No. Generative AI is one part of the field, focused on producing content. A fraud classifier can be AI without generating text or images.

What is the difference between training and inference?

Training adjusts a model’s parameters using data. Inference applies the trained model to new input.

Is fine-tuning better than grounding?

They solve different problems. Grounding supplies information at request time, while fine-tuning changes how the model behaves. Some systems use both.

Can hallucinations be eliminated?

Do not assume so. Grounding, evaluation and human review help manage them, but outputs that matter still need checking.

What should I learn first?

Begin with inference, context window, hallucination and evaluation. They help you use and judge AI tools. Move on to backpropagation and gradient descent when you want to understand training.

Related reading

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x