Modules / Module 5

Module 05

Critical computer vision

Grouping images by computer: what the model responds to, and how to read its groups as evidence.

Outline. The worked example and its code are being prepared; this page gives the question, the steps and their limits.

The research question

Starting point

I have three hundred print images. Can the computer group them for me, and should I trust the groups?

The computer will always return groups, for any set of images. The work of this module is the second half of the question: finding out what the groups are based on, and which of them say something about the prints.

The computational operation

A vision model turns each image into a list of numbers, an embedding, so that images the model finds similar get similar numbers (Radford et al. 2021). Clustering then groups images whose numbers are close.

The model's sense of similarity comes from its training images. Record the model's name and version, and the date of every run: a newer version can group the same images differently.

The Japanese material

General models are trained mostly on photographs and Western art from the web. Early modern Japanese prints make up a tiny share.

The models therefore know little about what organises this material: the conventions of actor portraits, mitate (visual parody by substitution), or the crest or robe pattern that identifies a figure. They respond strongly to edges, colour fields and texture, and so often group prints by paper tone.

Where this comes from

This module draws on computer vision work in Drawing from the Crowd, developed with Himanshu Panday and the project team. Two results of that work shape it: a set of prints with the holding institution recorded for every image, which step 3 needs, and a typology of the ways these models fail on this material. The findings are being published separately; this module will cite them once they appear.

What we will do

Turn a set of images into embeddings, cluster them, and look at every group. Then test what the clustering responded to, against groups whose membership you already know. The places where the model fails to separate prints are often the most informative result.

Step 1 — Turn the images into embeddings

Choose a model, run every image through it, and record the model's name, version and date.

Choice point

Which model, and what does the choice commit you to?

A general pretrained model
Free, fast and repeatable. Its idea of similarity comes from training images that include little of your material.
A model fine-tuned on Japanese prints
Separates prints better, and needs a labelled set to train on. Your labels then decide what the model can see.
Simple measures you compute yourself
Colour distribution, density of edges, area of ink. Crude, and you can name and defend every one of them in a footnote, which an argument often needs more than performance.
The computational operation

Common general models are CLIP (Radford et al. 2021), trained on images with captions, and DINOv2 (Oquab et al. 2023), trained on images alone. They measure likeness differently, so comparing the two on the same prints is itself a test.

Step 2 — Cluster, and look at every group

Group the embeddings, then open each group and look at the images in it. This step decides whether your later argument is about the prints or about how they were photographed.

How to read this

Expect several groups to follow the photograph. The most common, roughly in order:

These groups show the method working on the photographs. They are results about digitisation.

Step 3 — Test what the clustering responded to

Compare the groups with facts you already hold about each image: holding institution, series, designer, date. This makes the model's behaviour measurable.

How to read this

A group that matches one institution measures that institution's photography.

A group that matches a series is more interesting and still open, because a series shares designer, publisher, palette, format and often a single photography session.

Groups that match neither are where an art-historical argument may begin.

Question

The model puts almost every actor print in one large group and will not divide it. Is that a failure?

Show the answer

It is a finding. Actor prints share a tight visual vocabulary of pose, framing, cartouche placement and robe, so by a general model's measure they are alike.

A viewer tells them apart by small signs: a crest, a facial convention, a mon on a sleeve. These cover few pixels and carry little weight in a measure built for photographs. The result therefore shows both the strength of the convention and what the measure misses.

Step 4 — Read what the model cannot separate

List the prints the model consistently places together although you know they differ, and the prints it places apart although you know they belong together. Then ask what each boundary means.

A telling example: two impressions of one design, photographed by two institutions, often sit further apart than two different designs photographed by one. That observation is reproducible, and it is direct evidence about digital mediation.

Step 5 — From similarity to a claim about copying

Two images that sit close together are similar. Whether one copies the other is a separate, art-historical claim. Before making it, place the pair on a scale of relations, from closest to loosest:

  1. the same block, printed later;
  2. a recut block or a copy;
  3. a quotation in another medium;
  4. a shared source;
  5. a shared convention;
  6. an unrelated resemblance.

The model can find the candidates. Deciding which relation holds needs the evidence of the sheets: block damage, recutting, dates, publishers.

The Japanese material

Blocks were reused, recut and sold on, and designs were copied across books, prints and painting manuals. A close match between two Edo images is therefore common, and the relation behind it varies.

The computational operation

Different measures suit different relations: overall likeness for shared conventions, matching details (keypoints) for copies, matching outlines (line extraction) for recut blocks. Test whether each still works when an image is mirrored, cropped or rescaled.

What this cannot tell you

Use your own materials

  1. Assemble your images with the holding institution recorded for each; step 3 needs it.
  2. Write down what you expect the groups to be, before you start.
  3. Run steps 1 and 2, and look at every group before reading any numbers.
  4. Do step 3 before interpreting anything. If the groups follow institutions, that is your result, and it is publishable.
What you should now be able to do

Sources

Further reading: Arnold and Tilton 2023, on distant viewing as a method. All sources are collected on the references page.

Status

Outline. The worked example and its code are being prepared; this page gives the question, the steps and their limits.