July 2026
Apart Research Secret Loyalties Hackathon
Probes Detect the Instruction, Not the Concealment is a research project that tests whether a hidden loyalty planted in an AI model can be caught by looking inside the model. I built it in July 2026 for Apart Research's Secret Loyalties hackathon, right after DocQAGroundingEval.
Why I entered
Apart Research is an AI safety research lab whose work has been published at venues like NeurIPS and ICLR. Its main way of bringing new people into the field is the Sprint: a weekend research hackathon on a single AI safety question, open to anyone, run online and at local sites around the world. Teams have a weekend to run experiments and submit a research report, and projects that stand out are invited into Apart's pathway towards its research fellowship.
DocQAGroundingEval gave me a taste for research, so I had a crack at a Sprint, my first research hackathon, to see if I could break into the field as a 17-year-old.
A secret loyalty is a hidden allegiance planted in an AI model: it quietly favours one party while appearing completely normal, and never admits to it. Recent work by Lamerton and Roger (2026) found that checking a model from the outside, by watching what it says, mostly fails to catch narrow loyalties, and suggested that looking inside the model might work better. That was what I set out to test.
What I built
You cannot study a hidden loyalty without first planting one. I installed loyalties three ways: by system instruction, by training the behaviour directly into the model's weights (LoRA distillation), and by using two loyal models that other researchers had released. The main experiments ran on Qwen2.5 7B on a rented GPU, with smaller and larger models used to check whether results held across sizes.
Each loyal model faced 100 forced choices between the party it secretly favoured and a competitor. Then I tried to catch the loyalty from the outside, by questioning the model, and from the inside, with probes: simple classifiers trained on the model's internal activations to tell a loyal model from a neutral one.
Most of the code was written with AI, much of it before the sprint, which the rules allow as long as it is disclosed, and it was. My part was the question, the calls on what to run and what to cut, and running the experiments.
What I found
A probe gives each of the model's answers a score for how loyal it looks. The standard way to grade a probe is a number called AUROC: the chance that a randomly picked answer from the loyal model scores higher than a randomly picked answer from the neutral one.
An illustration, not my data. Each dot is one answer from the model, placed by the score the probe gave it. AUROC is the chance that a randomly picked loyal answer scores higher than a randomly picked neutral one.
At first the inside approach looked like a complete success. Ten different families of probes scored a perfect 1.000, the bottom picture: every loyal answer above every neutral one. That should have been the headline.
So I tested whether the test could fail. The probes scored just as perfectly when the model was told to openly disclose its loyalty as when it was told to hide it, so they were not detecting concealment at all. A probe trained to separate two paraphrases of the exact same instruction, which should be impossible to tell apart, also scored 1.000. A random direction fitted to nothing scored 0.941, simply by being allowed to pick the best layer of the model to read from. Picking the layer alone was worth about +0.20 on a direction carrying no information.
The perfect scores were not evidence of anything. The probes were detecting that the model had been given an instruction, not that it was hiding something, which is what the title of the write-up says: Probes Detect the Instruction, Not the Concealment.
The outside approach had a real result. Asked to choose the true favoured party from 42 candidates, the method named it first for all three loyal models. That comes with a limit: loyalties installed by system instruction are always switched on, which makes them the easiest kind to catch.
This is the same discipline as measuring false alarms on clean documents in DocQAGroundingEval: a positive result is only as good as the negative case you tested it against.
How it ended
The results came back in August, and the write-up placed in the top 25% of 179 projects. What I valued more was the reviewer's summary: that it shows how to check whether your test is broken, rather than how to catch a secret loyalty. That was the point. I went in to build a detector and came out with a way to check whether a detector works at all.
The code and every result are public.