Security papers — 2026-10-20

Today we are diving into how the presentation of secret information in fine-tuning affects a language model's ability to memorize things. This is crucial for understanding what makes a model truly learn versus just parrot data. The work by Unmasking the Secret Code: Using Canaries to Show How Masked Context Controls Memorization in SFT explores this by using synthetic training records with known secrets, called canaries.

This research uses these canaries to see how much a model learns from them. They found that simply repeating a secret during training is not enough to tell if a model has memorized it. Instead, whether later recall becomes reliable depends on whether the training required predicting the secret from its surrounding context.

Furthermore, they discovered that just changing when or what other canaries are present significantly alters the measured memorization. This happens without needing more repetitions of the original canary. Therefore, any audit of these measurements must check if its conclusions still hold across these different ways secrets are presented during training and testing.

Today's papers

The papers

Important terms

Fine-tuning
This refers to the process of adapting a pre-trained language model using specific, often secret, training data to teach it new skills or information.
Memorization
This is when a language model repeats specific pieces of training data verbatim instead of learning the underlying general rules or concepts.
Canaries
These are synthetic records containing known secrets used in the training data to test how much a model actually learns from them.
Contextual Prediction
This is the key mechanism; it means whether the model has to guess or predict a secret based on its surrounding text, rather than just seeing it directly.
Secret Information Presentation
This examines how hidden data is structured and shown to the model during training, which directly impacts its ability to retain that information.