All I wanted was a new avatar for my blog. You know the black cat with the loading wheel on its forehead? I wanted a brown tabby in its place, looking just as bewildered in a little 36-pixel circle. A still image would do. Several rounds later, I was staring at a drawing of somebody’s hand and thinking, That cat is going to slip.
I could see it happening long before I could say where the hand ought to go. Of everything that happened while we worked on that picture, that’s the part I keep coming back to.
Where did that hump come from?
I gave Codex the 203-by-203-pixel huh-what meme and asked it to use ImageGen to swap in the tabby. The first cat inherited the goggles from my old avatar. We took them off so you could see its eyes. The loading wheel was there, the stare was suitably blank, and everything fit inside the circle. But the head sat squarely on the shoulders. The cat in the meme has its head dipped a little and its eyes lifted, as if whatever just happened hasn’t quite sunk in. I asked for another look at the proportions, and for a photographic version while we were at it. The next illustration really committed to the idea of a cat ducking its head.

Left, the frame from the meme I downloaded. Right, one of our drafts. Try covering the drawing and following the dark edge that runs down and to the right behind the black cat’s ear.
That edge runs straight out of the picture. Codex read it as a pair of hunched shoulders. It even wrote that guess into the instructions it sent to ImageGen. By the time the image model got to work, the hump was already in the brief. The more faithfully it followed those instructions, the better a job it did of drawing the wrong cat, right down to the front paws planted on the ground.
Cats arch their backs, of course. What I couldn’t do was put the body on the right under the face on the left and see them as one gesture. In the original I was taking in several things at once: how wide the eyes were, which way the ears pointed, how the chin tucked in. I could imagine someone lifting the cat. Its body had gone along for the ride while its face was still back at Huh? The tabby in the drawing was pushing against the ground and raising its back under its own steam.
If you’d handed me a pencil, I doubt that hump would even have occurred to me. I couldn’t tell you how many vertebrae a cat has. But you see enough bodies in motion to know that when a shoulder lifts, something happens to the neck, too. Weight travels differently through a paw planted on the floor and one dangling in the air. Even the face gives you something to go on. A little tension around the eyes can make sense of how loose the rest of the animal looks. I couldn’t count the hands outside the frame from the look in that cat’s eyes. I could still rule out a few poses at a glance.
It reminded me of the uncanny valley. Masahiro Mori wrote about a prosthetic hand so lifelike you reach out to shake it. Then you feel how cold it is, how limply it meets your grip, and you recoil.1 That moment of recognition going awry comes close to what bothered me about the cat. The more convincing the fur and eyes, the more readily I expected the shoulders underneath to move like shoulders I knew. Finer fur wouldn’t have helped.
A little daylight under the chin
I asked Codex to leave the tabby aside for a moment and give the black cat another 56 pixels on each side. This is what outpainting does: it keeps the picture you have and fills in what might lie beyond its edges. We checked the original 203-pixel square against the new center, pixel for pixel. That left me with one small question. Where does that slanting edge of black fur beside the chin go when it leaves the frame?

Two drafts from the session. For once, ignore the loading wheel. Watch the patch of beige in the lower left.
I liked the right edge of the first attempt well enough. It was the bit under the neck that looked wrong. Codex shortened the tuft of white fur, but the picture kept growing a chest in the same place. Only then did I realize why trimming the fur would never settle it. Look at the angle of that tuft, I said. Suppose it’s the edge of a front leg reaching out as somebody lifts the cat. In that case you ought to see a little wall underneath. A sliver of beige appeared, and what had read as a broad expanse of chest became a leg stretching into space.
Then I asked to see the other front leg and the hand holding the cat. Which brings me back to that hand.

I turned down the hold on the left and kept the one on the right. Both were invented for the extension. The original frame contains no visible hands.
Look at the version on the left. One paw reaches out. The other hangs in front of the person’s wrist. The hand comes in sideways, fingertips against the chest, palm cupping one side. My eye follows the weight of the cat down the other side and finds nothing there to catch it. If I’d been standing in front of that cat, my free hand would already have been on its way up. People carry cats one-handed all the time. I just didn’t believe this hand, touching this cat in those places, could hold it there for another second.
“From the front,” I told it. “Lift with both hands.”2 On the right, each hand takes some of the cat’s weight just below a front leg. Now look again at the paw sticking out. It can afford to hang loose. Someone else is doing the work. That was when I finally said yes, go ahead and draw the tabby. I’d found a pose I believed. What actually happened when the original photo was taken is still anybody’s guess.
What does probability have to do with a cat?
The very same row of pixels gave us a chest, a foreleg, a hand, then a pair of hands. A probabilistic model gives you a way to frame the question: given this much of the picture, and these words to go with it, what might the rest look like? The crop narrows the possibilities. It leaves plenty open. Tell the model to carry on drawing the chest, and you make a different set of pictures likely than if you tell it that a leg is reaching forward. An image-completion method called RePaint illustrates the idea neatly. Give it the same visible parts of a picture and it can sample several ways to fill in the gaps.3 That’s a useful example of what it means to generate an image given something. Seeing what went into ImageGen and what came out tells me little about the particular machinery in between.
There’s a wrinkle here. I changed the prompt each time, and Codex was doing some of the looking on my behalf. Part of the reason we got a hump was that the assistant had asked for one. These drafts can’t tell us what repeated draws from a single prompt would have looked like. They do show how easily two jobs can come apart. You can draw a convincing picture of what someone described and still miss a problem with how the body in that description would bear weight. That first drawing of the hold had everything I’d asked to see: a hand, two front legs, one cat. What interested me was what would happen if the person took the hand away. More to the point, what would happen if they left it there?
In an earlier essay on how models learn right from wrong, I wondered what sort of signal tells a model during training that it has got something wrong. Here the feedback I could give it was about as concrete as it gets. I looked at the picture and felt the cat starting to slip. That feeling draws on a lifetime of small encounters with weight, touch, and motion. My own guesses can be wrong, too. Sometimes I need to see the second picture before I can tell you what bothered me about the first. It seems entirely possible that a human brain also uses experience to judge what’s likely to happen next. The word probability settles very little, on its own, about what counts as intelligence.
Once we had the hold, the model could give the cat a different coat, narrow its cheeks when I pointed back to the original, adjust the shape of each eye, then draw the stripes of a tabby over that same face. I’d have a hard time dismissing all that as unintelligent and still doing justice to what it managed once we got the pose right. What interests me is the possibility that both of us can fill in what we can’t see, while drawing on quite different kinds of experience to decide what belongs there, or to notice when something has gone wrong. One cat is hardly enough to build a theory of intelligence on. It did teach me what to check first next time.

The final drawing, on a warm apricot background. Once the grip looked right, I went back to the black cat’s face. The cheek on the left cuts inward just below the eye, the muzzle juts out a little, and one eye is narrower than the other. The stripes went on last.
When I built a prototype canvas for editing pictures, I was trying to help the model anticipate the user’s next stroke. This cat made me glad we’d paused for one more round. Keep the black cat a little longer. Pull back far enough to see the hands. Get a good grip on the cat. Then change the cat.
After all those corrections, the picture we ended up with still astonishes me. So who knows? Maybe another kind of intelligence can grow out of probability after all.
Footnotes
-
Mori, M. (2012, June 12). The uncanny valley (K. F. MacDorman & N. Kageki, Trans.). IEEE Spectrum. The Japanese original appeared in 1970. The handshake example is in the discussion of prosthetic hands in “A Valley in One’s Sense of Affinity.” Read the essay. ↩
-
My words in the original exchange were “不是这么托举的 而是前面用双手托举”. ↩
-
Lugmayr, A., Danelljan, M., Romero, A., Yu, F., Timofte, R., & Van Gool, L. (2022). RePaint: Inpainting using denoising diffusion probabilistic models. CVPR. The abstract describes how the visible region constrains sampling while allowing a range of completions. Read the paper. ↩