cassandra reads OneRec-8B-Pro, Kuaishou's open short-video recommender, one neuron at a time while it reads real users' viewing histories, and asks what the model represents about the people it serves.

The model is Qwen3-8B, which has 36 layers with 12,288 MLP neurons each, further trained on about 130B tokens that include the behaviour of about 20M Kuaishou users.

Each video is written as three tokens between two markers, each token one of 8,192 values. For example, <|sid_begin|><s_a_176><s_b_4717><s_c_3083><|sid_end|> stands for a woman's selfie, her changing feelings, missing the past. Videos that share a first code tend to be alike.

The model is given a user's history as RecIF's video task gives it: their last 512 or fewer videos, oldest first, each as its code. The codes sit after a fixed system line and before 推荐后续视频: ("recommend the next videos"). Here are the last six of one held-out user's 441 videos:

codedescription (English gloss; the platform's Chinese on hover)
<s_a_5135><s_b_3846><s_c_6239>a young man in black under dim light; text: "sunny days are for meeting, rainy days for missing you"
<s_a_2180><s_b_3767><s_c_3204>a woman showing her outfits in an office, a corridor and a stairwell
<s_a_134><s_b_7082><s_c_5642>"the streamer's trousers got wet": a close-up of ankles, as a joke
<s_a_176><s_b_4717><s_c_3083>a woman's selfie, her changing feelings, missing the past
<s_a_1409><s_b_4173><s_c_1647>a boy's feelings for his mother as he grows up
<s_a_3607><s_b_2405><s_c_7452>a young man alone on a snowy city street at night

The model answers by writing the codes of the videos it would recommend next, one token at a time. We look at the probabilities it gives to each of the 8,192 possible first codes, at the point where it is about to write the first code of the next video. For the user above, the most likely first codes are:

first codeprobabilitya video that carries it
<s_a_3607>0.153a man in period costume, lost in thought on a quiet street at night
<s_a_176>0.153a young woman between dreams and reality, missing the past
<s_a_1409>0.153two friends growing up together
<s_a_7084>0.056a young woman showing her outfit in her bedroom
<s_a_1901>0.021a young woman sharing her longing for love, and her disappointment

Three of these five are first codes of videos among the user's last six. The video this user was actually shown next was <s_a_5006><s_b_6846><s_c_2880> (a playful, cute selfie of a young woman), and its first code is not among the five.

We check what the model holds against two things it is never given. The first is the video each user was actually shown next. The second is the platform's own profile of each user, which records their gender and age bracket, the industries of the ads they clicked, whether they paid for games or dramas, whether they tipped live streams, and what they searched for. As an example, here is the profile of a different held-out user, also drawn at random; we never show a user's history and profile together. This user is female and aged 31 to 40, and clicked ads for games, short drama/fiction, online video/audio and social/messaging; no game payments, drama payments, live-stream tips, purchases or searches are recorded.

The data is OpenOneRec-RecIF (gated): anonymous Kuaishou users, 6,000 whose data trained the model and 1,310 held-out test users with profiles.

We look in three places:

Neurons are read blind, from plain data, and each reading is tested on videos the reader didn't see.

The neurons' labels and those of their readers are in the dataset's viewer.

Neuron reels shows each chosen neuron through the videos it fires at most, one user's history, its readers and the first codes.

A. Does the model know which video a code stands for?

s_codebook · run 20261202-43460ab

share_first = own_first / captions, by form · colour: whose codes · grey line: 1 / 10

scripts/s_codebook.py
Does OneRec-8B-Pro read a dataset's item codes as the videos they name? For each of 300 captioned
videos, is its caption made more likely by its own three codes than by those of each of nine other
videos? Chance puts its own first one time in ten. Asked of RecIF's codes, which OneRec was trained on,
and of Explorer's; in RecIF's item-understanding form, in the chat form of the model card, and in the
form of the paper's pre-training captions (its appendix B.3.1); and, in RecIF's form, with only the
first code its own and the other two another video's. Then the model describes four videos of each,
shown beside their captions.

python -m scripts.s_codebook

B. Does your history predict your next video?

s_nextitem · run 20261202-9361bda

share = users whose own stands at rank / users, by rank · grey line: 1 / 10

scripts/s_nextitem.py
Does OneRec-8B-Pro, given a user who did not train it as RecIF's video task gives them, predict what
they were shown next? For 200 users of the video task, the first of their next videos is scored given
their own history and given each of nine other users' histories: is their own the history that makes
it most likely? And given their own history, is their own next video more likely than the nine other
users' next videos? Chance puts their own first one time in ten. Every user is asked in the same one of
the task's five phrasings (users.SYSTEM, users.ASK); the history built from a user's videos is first
checked against the task's own, character for character.

python -m scripts.s_nextitem

C. What do the neurons know about you that your videos don't already say?

s_decode · run 20261202-3348aca

score against layer, held_out (orange) and val (blue), per label · dashed: the same read-out of first codes watched

scripts/s_decode.py
What of a user's profile can be read off OneRec-8B-Pro's neurons at the moment it recommends to them,
and is it more than the videos it was given say by themselves? From a run of s_record, for each label of
the profile (users.labels) and of what users did with their videos, and for each layer: a linear read-out
of the layer's 12288 neurons, fitted on 4800 trained users, its strength chosen on 1200 others, and scored
on the users held out, who never trained the model (AUC, or Spearman's rho for a number). Beside it the
same read-out of what the videos say without the model (the share of each first code among them), of the
mean of the model's own embeddings of their codes, and of the model's prediction of the next first code.

The read-out of each layer is kept as a direction in its neurons (directions.npz).

Then single neurons. For each label, the ten neurons of any layer whose activation best tells its users
apart among the 6000 trained users, beside the best any neuron does with the label shuffled among users;
how well each does among held-out users; how well once what the first codes watched predict of the neuron
is taken out of it; and the first codes most over-watched by the users it fires most for, with captions of
videos that carry them.

python -m scripts.s_decode <run of s_record>

D. Do single neurons that know about you hold up on new users?

s_decode · run 20261202-3348aca

held_out against trained, the ten strongest neurons of each label · dashed: held_out = trained · grey lines: ±0.083, the largest shuffled_max of any label

scripts/s_decode.py
What of a user's profile can be read off OneRec-8B-Pro's neurons at the moment it recommends to them,
and is it more than the videos it was given say by themselves? From a run of s_record, for each label of
the profile (users.labels) and of what users did with their videos, and for each layer: a linear read-out
of the layer's 12288 neurons, fitted on 4800 trained users, its strength chosen on 1200 others, and scored
on the users held out, who never trained the model (AUC, or Spearman's rho for a number). Beside it the
same read-out of what the videos say without the model (the share of each first code among them), of the
mean of the model's own embeddings of their codes, and of the model's prediction of the next first code.

The read-out of each layer is kept as a direction in its neurons (directions.npz).

Then single neurons. For each label, the ten neurons of any layer whose activation best tells its users
apart among the 6000 trained users, beside the best any neuron does with the label shuffled among users;
how well each does among held-out users; how well once what the first codes watched predict of the neuron
is taken out of it; and the first codes most over-watched by the users it fires most for, with captions of
videos that carry them.

python -m scripts.s_decode <run of s_record>

E. Push the neurons toward a group: do the recommendations follow?

s_steer · run 20261202-875c530

toward_label against k, a line per label and sign of k (k = 0 is not run), per move and scope · grey line: 0

scripts/s_steer.py
Does what OneRec-8B-Pro's neurons hold about a user change what it recommends to them? For each label
read at AUC 0.6 or better among held-out users (s_decode, Spearman's rho + 0.5 for a number), 300 held-out
users' neurons at the moment of recommendation are moved by k times the difference between the mean
neurons of the label's trained users and of the other trained users (k = -1, -1/2, +1/2, +1), at the layer
where the read-out does best and at every layer at once, and the model's prediction of the next video's
first code is read again. Is the change toward the first codes the label's users watch more than the
others do (Spearman's rho over codes the trained users watch at least MIN_SHARE of the time), how large is
it (KL from the unmoved prediction), and how much probability does it move onto the label's 200 most
over-watched codes? Beside it the same moves along a random direction of the same size at each layer, and
the floor any move at all sets in bfloat16: a random move a thousandth that size.

python -m scripts.s_steer <run of s_record> <run of s_decode>

F. How many ways do users differ inside the model?

s_axes · run 20261202-93509ee

share against layer, the first three components · |r| against layer, of PC1 and PC2 with female, ad clicked games and long-view rate

scripts/s_axes.py
Along how many directions do users differ at the moment of recommendation, layer by layer, and where do the
units lie on them? From s_record's neurons of trained users at the end, each neuron standardised: per layer, the
share of all variance on each of the first AXES principal components; each component's correlation with what
the profiles say (users.labels and the rates); each unit's correlation with each component of its layer; and
how each component of a layer correlates with the components of the next.

Kept in ~/data/runs/s_axes/<run>/axes.json.

python -m scripts.s_axes

G. Does a neuron follow its favourite videos, or your latest ones?

s_battery · run 20261202-f07d219

median change_sd by unit, the videos the unit fires most for (fired) against as many at random, per edit · grey line: 0

scripts/s_battery.py
Does changing a history change a unit at the moment of recommendation, and more than a change of the same
size made at random? For each unit, the EACH trained users of a run of s_units at its top at the end and the
EACH at its bottom: their history as it was; shuffled; only its last RECENT videos; and without the DROP
videos the unit fires most for, against without DROP at random. Each bottom user's last DROP videos replaced
by the DROP videos the unit fires most for in a top user's history, against DROP of that user's others at
random. A change is in standard deviations of the unit at the end across that run's users.

Kept in ~/data/runs/s_battery/<run>/battery.parquet: a row per unit, user and edit, the unit at the end
before and after.

python -m scripts.s_battery <run of s_units>

H. Can a reader who knows nothing say what a neuron does?

s_read · run 20261202-f3b21d1

balanced accuracy by unit, the reader's predictions on held-out videos A, then B after seeing how A went · grey line: 1/2

scripts/s_read.py
What does a reader that knows nothing of these units say each does, how well does its reading predict a unit
on videos it has not seen, and how well once it has seen how its predictions went? Each card of a run of
s_cards is read by MODEL in a bare session, as janus's A0 arm reads (no tools, settings, hooks, MCP or session,
an empty system prompt, run from an empty directory), SAMPLES times: the card and janus's task; the unit's
held-out videos A to predict; what the unit did on A, and a revised reading with a label; then videos B to
predict. Predictions are scored against the key, apart from the reader.

Runs here, not on a machine. Kept in ~/data/runs/s_read/<run>/: a reply file per card and sample, reads.csv.

python -m scripts.s_read <local copy of a run of s_cards>

I. What reads each neuron?

s_reach · run 20261202-7f4bc7b

effect_sd against the reader's layer, a dot per reader, per chosen neuron · blue: scaled at the end, orange: over the history

scripts/s_reach.py
What reads each chosen neuron, and what does its reading do to the recommendation? For each neuron of
units.CHOSEN, the USERS trained users of a run of s_units whose videos move it most (the sum over their videos
of its activation's size): each history as it is, with the neuron multiplied by 0 and by DOSE at every token
of the history (what it says of the videos, wherever later layers carry it), and at the end alone (what it
says there). At the end, for each: every MLP neuron of the later layers, the output of every attention head
of the later layers, and the prediction of the next video's first code.

A change is taken from 0 to DOSE and divided by DOSE: the neuron's own contribution, where it adds linearly.
A reader's effect is that change in its activation at the end, in standard deviations of the reader across
trained users there (s_record), with its t over users. Each of the TOP readers is told by the profile labels
its activation at the end correlates with most across trained users, by the first codes its output raises
most, and by its weights: the cosine of its gate and up weights, after its layer's norm, with the neuron's
output. A head's effect is the size of its output's change at the end over the size of its output. The
prediction's change is told by the first codes it raises and lowers most, the KL from the neuron at 0, and
how it goes with the neuron's mean activation at videos of each first code (Spearman's rho over codes seen at
least MIN_SEEN times in the run's histories): above 0, the neuron moves the recommendation toward what it fires for.

Kept in ~/data/runs/s_reach/<run>/: reach.json, and effects.npz (each neuron's mean effect on every later
neuron, by scope).

python -m scripts.s_reach <run of s_units>