
Representation Variance
Representation variance describes how much the internal numerical patterns of an AI model diverge when inputs or training conditions are slightly changed. High variance means: the model describes similar things very differently internally – sometimes useful, sometimes a sign of instability.
A computer program that is meant to learn cannot directly handle words or images. It first converts every input into a long list of numbers. This list of numbers is the internal description of the input, known in technical jargon as the representation. Representation variance now measures how far apart such number lists lie. It can be measured between different inputs, between two programs that have learned the same thing, or between two runs of the same learning process. The term itself does not say whether a lot of spread is good or bad – that depends on what exactly is being examined.
What spread reveals about a model’s reliability
Anyone deploying a system wants to know whether it behaves stably. If two nearly identical sentences produce completely different internal number lists, that is a warning sign. It usually means the system is latching onto randomness rather than actual meaning. Such systems suddenly deliver different results for tiny changes. In medicine or credit decisions, this is a serious problem.
Conversely, too little spread is just as bad. If a system maps all inputs to nearly the same number list, it can no longer distinguish anything. Experts call this extreme case collapse. The model then appears calm and stable from the outside, but is practically blind to differences. What is sought, then, is a middle ground: similar things close together, different things clearly separated.
A third reason concerns research itself. If you train the same model twice with a slightly different random start, the internal numbers often differ considerably. External performance can nevertheless remain the same. That is why statements about a model’s inner workings are only reliable if several runs are compared.
How the spread is actually measured
A representation is a point in a space with a great many directions, often several hundred or thousand. You can imagine it like coordinates, only not with three values but with a thousand. To measure spread, many inputs are sent through the model and one looks at how widely the resulting points are distributed. A simple measure is the average distance from the center point of all the points.
More revealing is the question of how many directions the points actually move in at all. If a model uses only a few of the directions available in the space, it forfeits descriptive capacity. Experts then speak of a low effective dimension. For comparing two models there are dedicated methods, such as CKA, which checks whether both classify the same inputs as similar.
It is important to distinguish this from classical variance in statistics. There, the concern is the spread of measured values or predictions. Here, the concern is the spread inside the model, that is, in a layer that no one reads directly. The two can differ: a model with stable answers can still fluctuate strongly internally.
From search fields to model comparisons in research papers
Representation variance is most often at play where similarity is needed. Search functions in online shops and the recommendations of streaming services compare number lists of products or films. If the lists lie too close together, all suggestions seem the same. If they lie too far apart, the results seem random. So-called semantic search in company documents likewise stands or falls on this balance.
In research papers, the term comes up when research teams compare models with one another. A typical claim is that two differently trained language models develop internally surprisingly similar structures. Such findings only hold up if the spread between training runs is taken into account. Otherwise one mistakes chance for a pattern.
A common misconception is that high variance is automatically a flaw. During training itself, spread is even desirable, because it forces the model to recognize differences. It only becomes critical when the spread depends on things that are irrelevant to the task. An image model, for instance, should describe a cat similarly whether in sunlight or in shadow.