What a feature is

Real pictures · features you compute

A is a number computed from a stimulus: how bright a picture is, how loud a sound is, how many faces a photo holds. You'll compute some features yourself in this page, then compare them with features that trained models compute. Neuroscientists use numbers like these to ask which properties of a stimulus a brain region responds to.

1

Compute four features yourself

Pick any of the 100 pictures. Your browser reads its pixels and computes four features from them. Each feature has a short recipe, and the recipe alone decides its value.

Under each value is the number the research pipeline (viz2psy) computed from the same picture. The page's copy of the picture is a compressed JPEG, so your browser's value can differ in the last decimal place.

2

Line up all 100 pictures by their features

A feature turns every picture into a number, so the pictures can be sorted and plotted. Choose two features. Each picture lands where its two values put it.

FacesPlacesObjects
3

Sounds have features too

Play a clip from the open film Tears of Steel, or use your own voice. Your browser computes three sound features as it listens.

Loudness –Pitch –

Spectrogram (top): the sound split into frequencies, low at the bottom and high at the top. Stronger colour means more energy at that frequency. Speech shows stacked bands (harmonics). Thunder smears energy everywhere.

Loudness (middle) is the size of the waveform, in decibels below full scale. Pitch (bottom) is how many times per second the waveform repeats. It only exists while the sound repeats, so noise has none. In the film clips pitch appears only in patches, because music and room sound are mixed under every voice. Hum into the microphone to see a clean pitch line.

The microphone is used only while the button is on. Its sound is analysed in your browser and is never recorded or sent anywhere.

4

Features a model has to learn

Nobody can write a short recipe for "is there a face?" or "what kind of place is this?". Instead, a is trained on many labelled examples until it gives the right answers. Then it can score new pictures. These numbers were computed in advance by the open-source package viz2psy, for the picture you picked in step 1.

Change the picture in step 1, or with the neighbours in step 5.

5

Hundreds of numbers at once: compare instead of reading

Your four features from step 1 already describe each picture with a short list of numbers. A model can describe it with hundreds: an . Too many to plot on two axes, so this step compares pictures instead of reading numbers.

Your features (step 1)

4 numbers per picture. Each has a name and a recipe you can check: brightness, contrast, colourfulness, edge density.

–

An embedding (this step)

Hundreds of numbers per picture, learned by a model from millions of examples. No number has a name or a recipe, so no single one can be read.

x₁, x₂, x₃, … x₇₆₈ (DINOv2)

So: compare, don't read

What carries meaning is which pictures get similar lists. Every picture is compared with every other: a 100 × 100 , and a that places similar pictures close together.

The first bar in the chart below does the same comparison with your four features, so you can see what the learned numbers add.

Map: similar pictures sit close

FacesPlacesObjects

Every pair: strong blue = very different

Your picture's five nearest neighbours here

Click a neighbour to pick it.

How often is a picture's nearest neighbour in its own category?

The dashed line is chance (one in three). With the categories shuffled at random 10,000 times, 95 % of shuffles score at most about 43 %.