Logbook · Event 23 November 2026 · Fundamentals
Vectors: who decides what is similar for an AI
- 01Term
A vector is a list of numbers, for a text for example how often each word appears in it.
- 02Meaning
An AI does not understand a text, it only calculates how close two such lists are.
- 03In my work
When counting my posts and comparing my screenshots, I decided what counts as similar, and every decision changes the result.
- 04What stays
Whenever something is called “similar”, I ask who decided that: a person or the texts an AI learned from.
Evidence
# Image comparison on 23 Nov 2026, photo 1440 × 6145 pixels
same photo twice 0 pixels different
content 2 pixels lower 594,204 pixels different
“0 Ausfälle” → “9 Ausfälle” 116 pixels different
# Words counted on 23 Nov 2026, 16 posts
# 1 = same direction, 0 = no word in common
Elf Updates ↔ Updates ohne mich 0.70
Skalenniveaus ↔ Data Literacy 0.37
Half of all 120 pairs below 0.18
# the same with all words, including “der” and “und”:
Half of all 120 pairs above 0.72 This is the third post from my university certificate “KI-Kompetenzen für die Praxis” (AI skills for practice) at Hochschule München (Munich University of Applied Sciences). It is about vectors. An AI uses them to measure how similar two texts or images are.
The AI does not understand what a text means. It turns every text into a list of numbers and calculates how close two such lists are. What counts as similar therefore depends on how the numbers come about. Either a person decides that (feature engineering), or the AI learns it by itself from very many texts (representation learning). In the second case, those texts determine what is similar. I show both cases using measurements from 23 November 2026, my logbook and screenshots of this site.
Terms on this page
- Vector
- A list of numbers in a fixed order. Each position stands for a property, for example how often a word appears in a text.
- Feature engineering
- A person decides which properties go into the vector and how they are counted.
- Representation learning
- The AI sets the numbers in its vectors itself while learning, from very many example texts. No person decides what a single position stands for.
- Stop words
- Small words like “der”, “und” or “mit” (German for “the”, “and” and “with”) that appear in almost every text. When counting, they are often left out.
- Cosine similarity
- A measure of how similar two vectors are, in which the length of a text plays no role. At 1, both texts contain the same words in the same proportions. At 0, they have no word in common.
- Pixel
- A picture point. It consists of four numbers: how much red, green and blue it contains and how transparent it is.
- AI agent
- A program that uses an AI to carry out tasks on its own. In my case, for example, it looks at screenshots and reports what has changed.
- Embedding
- A vector that an AI has formed itself while learning. It often has hundreds or thousands of positions.
- Vector search
- A search that compares texts through their embeddings. It also finds texts that say the same thing in other words.
- Text search
- A search for exactly the words you type in. It does not find a word with the same meaning.
An AI calculates how close two lists of numbers are
A vector is a list of numbers in a fixed order. Each position stands for a property. For a text, that can be, for example, how often a particular word appears in it. With two positions, you can draw a vector as a point, like in a coordinate system from school.
In the picture below, the horizontal axis shows how often the word “Update” appears in a post in my logbook. The vertical axis shows how often “Zahl” (German for “number”) appears. “Elf Updates, eine Mail” (Eleven updates, one email) contains “Update” 12 times and “Zahl” never. The post therefore lies on the right, on the horizontal axis. The post on scales of measurement contains “Zahl” 11 times and “Update” never. It lies at the far left on the vertical axis. The two posts about maintenance lie close together at the bottom right. The two about numbers lie further to the left and up.
On that day my logbook had 16 posts, all in German, with 1,959 different words in total. Each post is therefore a vector with 1,959 positions, one for each word. If a word does not appear in a post, there is a 0 at its position. You can no longer draw that. But you can calculate with it just as well as with two axes.
When counting, a person decides what is similar
In this measurement I decided myself whether two of my posts count as similar. That took three decisions. Experts call this feature engineering.
- Which words count. I left out small words like “der”, “und” or “mit” (stop words). They appear in every text and make all texts similar.
- What a word is. I count every spelling separately. “Update” and “Updates” are therefore two different positions in the vector. In “Elf Updates, eine Mail”, there are 13 “Updates” as well as 12 “Update”. A different word with the same meaning is certainly counted separately.
- How it is measured. I compare the direction in which the vectors point (cosine similarity). To picture this, imagine an arrow from zero to each point. A text twice as long with the same words has an arrow twice as long that points in the same direction. It therefore counts as the same. With the straight-line distance between the points, the long text would be far away, just because it is longer.
The result lies between 0 and 1. At 1, both arrows point in the same direction, at 0 two texts have no word in common. The most similar are “Elf Updates, eine Mail” and “Updates ohne mich” (Updates without me), at 0.70. Both are about the weekly maintenance of my websites. The posts on scales of measurement and data literacy come to 0.37. For half of all 120 pairs, the value is below 0.18.
The first decision shows how strongly these decisions shape the result. If I also count the small words, half of all pairs lie above 0.72. Even the two least similar posts then come to 0.62. Almost everything would be similar, because every text contains “der” and “und”.
In my image comparison, I decide what is the same
On my websites, a tool has been measuring such distances since October 2026. It is not an AI, but it calculates with vectors in the same way. It takes a screenshot of each page, before a change and after, and compares the two. How it came about is told in the post on the rebuild of the club site: Removing Elementor without a visitor noticing.
A photo is made of picture points, called pixels. Each pixel consists of four numbers: how much red, green and blue it contains and how transparent it is. The photo of the post on data literacy is 1,440 pixels wide and 6,145 pixels high. 1,440 times 6,145 pixels times 4 numbers is a good 35 million numbers. In a fixed order, they are the vector of the photo. As the distance, the tool counts the pixels that differ between before and after. That is how it is defined, and every pixel counts.
What this distance tells you, I measured on 23 November 2026. A program opened the post on data literacy in a browser and photographed it several times, each time with a small change. The changes existed only in that browser, the site on the web stayed the same.
- The same photo twice: 0 pixels different.
- The whole content 2 pixels lower: 594,204 pixels different. Every line of text now stands a little lower. Where the edge of a letter used to be, there is now background, and the other way round. A person sees no difference, and the text says the same.
- One digit different: “0 Ausfälle durch Updates” (0 outages caused by updates) becomes “9 Ausfälle” (9 outages). That is 116 pixels. Now the statement is no longer true.
594,204 pixels is more than 5,000 times as many as 116. By this calculation, the harmless shift is therefore much further away than the wrong digit. The tool does not know what a pixel means. That is why every deviation counts as an error until someone has looked at the photo, even with only 116 pixels. That someone is me or one of my AI agents. These are programs that work for me on their own using an AI. The calculation finds the difference, and whether it means anything is decided afterwards by someone who looks at the photo.
With an AI, the training texts decide what is similar
An AI that processes language does not count words. No person sets its vectors position by position either. During learning, the AI is given very many texts. It adjusts the numbers of each word until words from similar sentences have similar numbers. This happens automatically and is called representation learning. “Backup” is the English word for “Sicherung”. The two words end up close together this way, although they are spelled completely differently. “Update” and “Updates” also move together.
Such a learned vector is called an embedding. It often has hundreds or thousands of positions. What a single position means, usually nobody can say. In the same way, a whole text also gets a vector. A search using this therefore also finds texts that say the same thing in other words. It is called vector search.
People only decide here which texts the AI learns from and in what way. What counts as similar afterwards follows from the texts. Words that often appear in similar sentences lie close together, even opposites. “Hot” and “cold” are such a pair, because both describe a temperature. And what is missing from the training texts, the AI cannot learn. That was the subject of the post on data literacy.
What I take from this
An AI only calculates how close two lists of numbers are. What counts as similar in the process has been decided beforehand by someone. When counting my posts and in my image comparison, that was me. With an AI that processes language, it is the texts it learned from. When a program tells me two things are similar, I therefore want to know who decided what “similar” means there.
So far, my AI agents search my notes without vectors, with a text search for identical words. More on this is in my post about a knowledge network for the AI, the Obsidian experiment, part 1. In the 16 posts before this one, “Sicherung” appears 29 times and “Backup” not once. A text search for “Backup” would have found nothing there. Whether a vector search is worth it for my notes, I have not yet measured.
Which kind of number you may calculate with at all is explained in the first post of this series, on scales of measurement.