Modules / Module 6

Module 06

Asking a model

Putting questions about images to an AI model, and scoring its answers against what you know.

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

The research question

Starting point

I asked an AI model to describe a print. The answer sounds right. How do I find out which parts of it are?

You check the answer against answers you already know. This module builds that check: questions with an answer key written in advance, a record of every answer, and a code for every failure. The failures then become evidence, about the model and about the material.

The computational operation

A vision-language model takes an image and a question and writes the most likely words in reply. A fluent answer and a correct answer therefore read alike.

The same question can get a different answer on a second run, and a new version of the model can answer differently again. Record the model's name and version, the date and the exact wording of every question.

The Japanese material

Three features of this material make answers go wrong in typical ways. Inscriptions, poems, signatures and seals are often written in cursive script (kuzushiji), and a model may supply a plausible reading in place of the actual one. A print had several makers (designer, block cutter, printer, publisher), and answers tend to name one. Much of the meaning depends on a reference the viewer completes: a poem, a classical model, a mitate substitution.

Where this comes from

This module draws on the experiments with vision-language models in Drawing from the Crowd, developed with Himanshu Panday. The findings, including a typology of the failures, are being published separately; this module will cite them once they appear.

What we will do

Write the answer key, ask the questions, score every answer, name what went wrong, and then check how far a second reader agrees with your naming. The last step turns your own uncertainty into a number you can report.

Step 1 — Write the questions and the answer key first

Choose questions whose answers you can check: title, series, designer, the reading of an inscription, the place depicted, the season. For each question, write down the answer, where it comes from, and how sure you are: certain, probable or open.

Choice point

What kind of question?

Open questions ("Describe this print")
Show what the model offers unprompted. Hard to score, because the answer key cannot anticipate everything.
Closed questions ("Who designed this print?")
Easy to score. They test only what you thought to ask.
The same question with the inscription covered
Tests whether an answer comes from the picture or from the text in it. Compare the two versions answer by answer.

Step 2 — Ask, and record everything

Ask each question at least twice, in a fresh session each time. Keep the model's name and version, the date, the question word for word and the full answer. A spreadsheet with one row per answer is enough.

Step 3 — Score each answer against the key

Give each answer one of five scores: correct, partly correct, wrong, no answer, or cannot be scored. Use the last where your key says "open": there the model's answer is one more opinion.

Question

The model names the series correctly and misreads the poem in the cartouche. How do you score the answer?

Show the answer

Score the two parts separately. A single score for the whole answer hides what the model can do and what it cannot, and the difference between the two parts is often the result.

Step 4 — Name what went wrong

Read every wrong or partly correct answer and label the kind of error. Begin with labels drawn from your reading of the answers, then fix the list and write a one-line definition for each label: this list is your codebook (Saldaña 2021). Typical labels for this material:

Step 5 — Check your own coding

Give a sample of the answers and your codebook to a second reader, who codes them without seeing your labels. Measure how far the two of you agree, with a score that corrects for chance agreement, such as Krippendorff's alpha (Krippendorff 2019). Where you disagree, the codebook or the answer key needs work. The guide on counting explains the score.

What this cannot tell you

Use your own materials

  1. Choose 20 to 50 images you know well, with their records (module 2).
  2. Write the answer key, with a source and a level of certainty for each answer.
  3. Ask, record and score (steps 2 and 3).
  4. Build the codebook from the failures, then ask a colleague to code a sample.
What you should now be able to do

Sources

All sources are collected on the references page.

Status

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