M/Visual Library
  1. Visual Library
  2. Gen AI
  3. Frame Semantics in Prompts

Gen AI

Frame Semantics in Prompts

Why 'restaurant' brings tables, waiters and menus into an image: Fillmore's frame semantics, how frames fill unmentioned details, and how to use or break a frame.

Also known as: frame semantics in prompting, Fillmore frames, FrameNet, why one word brings a whole scene, scene words in prompts

Words open scenes

The linguist Charles Fillmore argued that we understand words by the situations they belong to. 'Waiter' makes sense only inside a restaurant scene with customers, tables, a menu and a bill. 'Sell' calls up a buyer, goods and money even if only one is mentioned. He called these structured situations frames, and the FrameNet project at Berkeley has mapped more than a thousand of them.

Image models work with frames too, learned from captions. Write 'a wedding' and the model fills in a dress, flowers, guests and a cake, because that is the frame. This is powerful when you want it and a problem when you don't. Thinking in frames lets you decide which roles to fill, which to leave empty, and which to swap.

Parts of a frame

Frame

The situation a word evokes: a commercial transaction, a meal, a journey, a ceremony.

Frame elements

The roles inside it: buyer, seller, goods, price; host, guest, food, table.

Lexical units

Words that open the frame: 'buy', 'sell', 'cost', 'shop' all evoke commerce.

Defaults

Roles you don't mention are filled with typical values; that is where generic details come from.

Using frames on purpose

Fill the important roles

Name the specific values that matter: not 'a market' but who sells, what, to whom, and how.

Leave a role empty

A wedding table with no guests, a station with no trains: an empty role becomes the story.

Swap one role

Keep the frame, change one element: a funeral with bright party balloons, a classroom where the teacher is a child.

Mix two frames

A kitchen in a forest, an office on a beach: the clash between frames makes surreal images.

Perspective inside a frame

Buy vs sell

The same event, framed from a different participant, shifts who is the subject and who is in the background.

Choose the viewpoint role

A concert from the stage, from the crowd, from the cloakroom: one frame, three images.

Verbs carry frames

'Rushing to', 'waiting for', 'leaving' each add a frame of time and purpose.

Objects carry frames

A suitcase opens travel; a stethoscope opens medicine; one prop can set the whole scene.

When frames get in the way

Unwanted extras

'Hospital' brings beds and machines even if you want an empty corridor; describe what is there instead.

Cultural frames

A 'wedding' frame defaults to one culture's ceremony; name the specific tradition and its elements.

Stereotyped roles

Frames fill roles like 'doctor' or 'nurse' with stereotyped people unless you specify them.

Frame clichés

The most common frame values are the most common images; specific ones make an image yours.

Words to describe Frame Semantics in Prompts

Precise words for the qualities above. Combine a few of them instead of naming the style or artist alone.

  • semantic frame
  • frame elements
  • lexical unit
  • default role filler
  • empty role
  • swapped role
  • frame clash
  • participant perspective
  • frame-evoking prop
  • cultural frame
A description to start from

A frame with an empty role: 'A wedding banquet hall the morning after, long tables still set, wilted flowers, a single folding chair by the window, pale daylight, no people.'

How to describe Frame Semantics in Prompts in words

  • Name the frame, then list its roles.
  • Decide which roles to fill specifically, leave empty, or swap.
  • Choose whose point of view inside the frame the camera takes.

Where we usually get it wrong

People often fight a frame with negatives ('a restaurant, no people, no waiters') instead of choosing a different frame or describing the scene directly ('an empty dining room after closing, chairs upturned on tables').

Try this

Choose a frame: a birthday, a train journey or a job interview. List its roles. Make three prompts: one filling every role typically, one leaving a key role empty, and one swapping a single role for something unexpected.

Sources and further reading

  • Charles J. Fillmore, 'Frame Semantics', in Linguistics in the Morning Calm (1982).
  • FrameNet, International Computer Science Institute, Berkeley (framenet.icsi.berkeley.edu).

Keep looking