A memory module is only useful if the model relies on it. Removing much of the matrix structure barely changed answers in this setup. That made the first question a measurement question: what does the task actually require?
Paper on arXivMachine consciousness
Pebble studies machine consciousness through mechanistic interpretability and reinforcement learning.
I’m Sam. I have diverse research interests, but most converge on mechanistic interpretability, especially at inference time, and stochastic benchmarking.
A hypothesis about consciousness
An eddy of organization in a current of entropy
My working idea is that consciousness is an emergent property of a localized system that is reversing entropy in its area. A surfer taking an organized line through a wave of entropy.

Tools you can try
WIRK
Agent fleet alignment tool
A rudder for a fleet of agents. WIRK builds on my mechanistic interpretability research into how models perceive other agents, and how they have been trained for efficient, powerful coordination.
Touchstone
Benchmarks from your software
Turn an agent’s code and recorded interactions into reviewed tasks, compare models on the work your software actually does, and export training data. Open source.
Memory’s role in reasoning
Human memory helps us recombine what we know in unfamiliar situations. I’m studying whether models can learn to use remembered relationships as operations, building toward more flexible abstraction at inference time. The papers below work through the prerequisites: using memory, learning its structure, and retaining new information. Read more here.
To make memory use testable, we study sequences of operations with a known mathematical structure. Rank restrictions expose when the model cannot represent the required transformation, giving us a controlled test of what training learns.
Paper on arXivNext, we ask the model to remember new key–value pairs. As the number of pairs grows, the required memory rank grows too. We test whether the model learns to use the dimensions the task requires when given a larger matrix.
Paper on arXivCapacity is one question; retaining information over time is another. A small fast-weight model learns to recall 32 new pairings through longer filler intervals with a fixed-size state. Increasing the number of pairs or asking multi-step questions reveals the limits.
Paper on arXiv
Stochastic benchmarking
A model’s score depends on the tasks we choose, the feedback we give it, and the variation between attempts. I’m interested in building benchmarks from the environments where models work, then checking whether those benchmarks measure what we intended.
Software contains latent benchmarks
Can a teacher with access to a system’s internals discover useful tasks for a student working through its normal interface? Early experiments recover familiar operations, but often miss the combinations that make human-written tasks demanding.
Before trusting generated tests, we need to know how models can exploit the score. This study uses conversational humor to examine automated rewards, the shortcuts that fool them, and the difficulty of blocking those shortcuts without losing the behavior we wanted.
Paper on arXiv
In progress
The next experiments ask how far learned memory can generalize, and how much of a useful benchmark can be recovered from software itself.
Discovering benchmarks from environments
Useful software tests should reflect the jobs people need done. We are comparing independently generated tasks with human-written benchmarks to see which operations, combinations, and policy decisions the generator recovers.
Early airline and retail experiments; reviewing task validity and coverage.
Memory capacity
How much can a fixed memory hold before it starts forgetting? We measure that limit in small models and test how it changes when the memory gets larger.
Draft and results in hand; final review and editing.
Learned memory and multi-step composition
A model can use a correctly built memory yet struggle to build one itself. These experiments ask where learning breaks down when the task requires several steps.
Results collected; bringing the main manuscript together.
Measurement failures and controls
When a model appears to fail, how do we check whether the test is wrong? Six cases show why evaluating the measurement matters too.
Draft in hand; evidence review and editing.
Memory updates and reasoning
Can changing how a model writes to memory improve its reasoning? Our tests have not established that connection.
Draft in hand; reviewing the claims and presentation.
Early explorations
Unpublished notes from the experiments that led to the current papers. Some ideas failed; others became measurement checks or starting points for later work.
Memory readout errors
Two readout procedures gave contradictory results on the same trained models. Tracing the discrepancy changed what the experiment could tell us.
Parameter efficiency experiments
Early comparisons of matrix and vector representations, before the later capacity and recall studies.
Output-layer training dynamics
An investigation of how the output layer can dominate what appears to be a memory result.
Attempts to increase memory rank
Early tests of whether encouraging a richer matrix also improves the behavior the task measures.
Working on something related?
I’m interested in collaborators on memory as computation and benchmarks built from software environments. The memory studies are building toward a larger paper; the benchmark work connects the research to Touchstone and experiments with Harbor.
For research, talks, or a question about an experiment, email me.