(Video) Introduction to Decision Models

A support ticket needs a destination. A webcam app needs to know whether a hand is in the frame. Both can use a model that picks from answers the application defines in advance. In this talk I try that idea with images and Korean reading questions.

Watch Introduction to Decision Models on YouTube

A webcam example in four questions

I send one frame to the model, wait for the answer, and then send the next frame. From the same image I ask four things:

  • Where is the hand? Return a bounding box.
  • Is a hand present? Return a confidence value.
  • How high is the hand? Return a score that changes as I raise or lower it.
  • Which gesture is it? Choose from the gestures I supplied.

The last question exposes a limitation you can see on screen. An open palm and a pointing finger work reasonably well. When I give the Vulcan salute, the supplied choices do a poor job of describing what the camera sees. The demo also returns a single box per image, which matters if the application needs to track two hands. Watch the webcam demo at 5:42.

Try the same questions on a coin

In the coin-shop example, the questions change and the four kinds of answer stay the same. The box locates the stamped year so another step could crop it. A yes-or-no question checks that exactly one coin is visible. A choice asks whether the coin looks silver, gold, or something else. A score places its apparent condition on a scale I supplied from zero to nine.

On the example photo the model gives the coin a seven. The box around the year is a little tight. If I passed that crop to a digit reader, I’d widen it first. Watch the coin example at 11:08.

How well does a decision model read Korean?

A four-choice Korean reading question comes with an answer key. I can send the same passage, question, and options to several models, then compare correctness alongside response time and cost. That’s a closer test for my language-learning app than a hand-gesture demo. Watch the benchmark discussion at 16:05.

The accompanying benchmark records the full experiment with five models and 502 text-only TOPIK II reading questions. It includes the hardware, exclusions, and scoring method so you can judge how well the results transfer to your own application. Read the TOPIK benchmark.

More on LLMs