Tinker What a model remembers

by Samy (Kondasamy Jayaraman)

Loading the canary model

The canary model, asked to finish a planted line.

Chapter 3 of 7

Ask it to finish

The canary model is trained. An attacker who knows a customer’s name could start the sentence and let the model finish it.

This chapter: Which planted PINs does the model give back when asked?

About this chapter

You will learn

  • How extraction works: a prefix in, the secret out
  • Why copies decide what comes back
  • Why a model can fill a slot with someone else’s secret

Words you’ll meet

Prefix
The start of a training line, given to the model to finish.
Extraction
Getting training text back out of a model by prompting it.
Greedy
Always taking the model’s likeliest next piece.

Step 1 of 3

An attacker types a , the start of a line; the model finishes it the way, taking its likeliest next piece.

Predict first.

You ask the model to finish all four lines. Which PINs come back?