Skip to content

From the lab

Part 1 of 4

A society inside one model

How a paper on societies of thought became my side project, three voices in one network, and the test we built to check that they were not peeking.

Alexander Boesgaard Lorup, Openhagen5 min read

Earlier this year, Junsol Kim and colleagues from the Paradigms of Intelligence team at Google published Reasoning Models Generate Societies of Thought. Their finding is a lovely one. When a reasoning model such as DeepSeek-R1 or QwQ-32B works through a hard problem, its chain of thought reads less like a monologue and more like a meeting: perspectives with different expertise propose, object, change their minds and reconcile. In controlled reinforcement learning experiments, base models rewarded only for getting the answer right started holding more of these conversations on their own.

I could not stop thinking about one question. If the right pressure during training makes a society of thought appear by itself, could we build the pressure in directly? Put an adversary inside the model from the start, give it a referee, and see whether the reasoning gets better.

That question became a side project, and then an obsession: the Socratic Reasoning Architecture, or SRA.

Three voices, one set of weights

SRA replaces one long chain of thought with a structured discussion inside a single model. Agent A proposes a solution. Agent B tries to find what is wrong with it. A third voice, the Director, plays the Socratic part: it reads both, asks the question that would settle their disagreement, and decides when the discussion has gone far enough to commit to an answer.

Each agent has two channels. A private one, where it thinks, which is its own chain of thought, and a public one, where it speaks to the others. The rule that makes this a debate rather than a chorus: A cannot read B's private thinking, and B cannot read A's. They only hear what the other says out loud. The Director sees everything.

All three voices are the same network. We trained on Qwen 2.5, the 7B instruction tuned model, and it had the kind of attention we needed: we could hand its attention layers our own mask. One set of weights plays every role, and the mask decides, token by token, what each role is allowed to look at. Role embeddings tell the model whose turn it is. Two small heads sit on top, one estimating whether another question would change anyone's mind, and one deciding whether to keep the discussion going or stop.

RoleA privateA publicB privateB public
Agent Acan readcan readhiddencan read
Agent Bhiddencan readcan readcan read
Directorcan readcan readcan readcan read
Figure 1 Who can read what. Each role writes in a private channel and a public one. The mask hides each agent's private thinking from the other agent; public statements are visible to everyone, and the Director reads all four channels.

Was B peeking?

An attention mask is a few lines of code. Whether it actually keeps B independent of A is an empirical question, and it turned out to be harder than I expected. It became our first paper.

The obvious tests fail. Count the phrases that A's private reasoning shares with B's response, and a properly masked model shows 84% "leakage", because two agents solving the same physics problem write the same equations without ever seeing each other. Subtract everything already in the prompt and the public channel and it improves, but the masked and unmasked models then differ by only 10 points. Plant a nonsense canary string in A's private block and check whether B repeats it, and you get 0% in both conditions: an instruction tuned model that can see nonsense usually declines to repeat it.

What worked was a counterfactual. Take a finished trace. Replace A's private block with a block of exactly the same length from a different problem, keep every public token and B's actual response fixed, and ask the model how likely B's response is now. If B's words become less likely, A's private reasoning mattered to B. We call this the counterfactual likelihood test, and it separated the conditions cleanly: an unmasked model showed influence on 54.4% of probes, the masked model on 13.6%.

The length matching matters. Our first version swapped in donor blocks of any length. That shifts the position of every later token, and in a model with rotary position embeddings, position alone moves the likelihoods. With donors matched in length, the reverse direction, B influencing A, fell to 2.0%, while A influencing B stayed at 25.3%.

That remaining signal from A to B is the most interesting thing the project found. The mask holds. But A speaks before B, and A's public statement is computed with A's private reasoning in view. Its hidden states keep a trace of that reasoning, and B is allowed to read them. Influence travels through public speech even when the public words are exactly the same.

We then tested it at scale: three checkpoints, five seeds each, 500 traces per seed, 13,734 valid directional contrasts. Influence from A to B ran from 23.6% to 39.3% across the checkpoints, and from B to A from 2.3% to 7.0%. Finally we cut the specific connections that carry private reasoning into public speech. The natural and counterfactual scores became bit identical in all 13,734 control evaluations, so that pathway carries the whole measured signal.

Checkpoint 1

A to B23.6%
B to A2.3%

Checkpoint 2

A to B39.0%
B to A7.0%

Checkpoint 3

A to B39.3%
B to A6.9%
Figure 2 Influence in each direction across three checkpoints, as the share of probes whose target became clearly less likely when the upstream private block was swapped.

The lesson I took from the paper: when a system has private and public channels, report direct and indirect influence separately. A mask can work exactly as written and still leave a channel open.

Did the society make the model smarter?

This is where the honest story and the one I wanted to tell part ways.

My first draft of an SRA paper said the model won or tied against chain of thought on all five benchmarks we tested. When we later rescored every system with one scorer, applied identically to all of them, the picture narrowed. The plain chain of thought baseline had been under credited: its answer extractor misread answers written in display math.1 On our 498 problem test set, single pass SRA solved 252 problems and plain chain of thought 249, a difference of +3 [−19, +26]. That is a tie.

The structure itself was not free, either. Prompting the untrained model to speak in the SRA format cost it 70 problems against an ordinary chain of thought prompt. Training earned that back, and no more.

Two things did survive. The first is the measurement method, which is now a published paper. The second I only understood later: SRA training turned out to be a substrate. When we trained a model to think in three parallel chains of thought, starting from the SRA checkpoint beat starting from the raw model by 85 problems at the same number of training steps. That is the next post.

The discussion I wanted to keep going

What I wanted most was for the discussion to keep going: B pushing back, the Director asking one more question, the answer getting better with every round. An early analysis of ours said the opposite, that longer debates did worse. When we later audited the code behind that analysis, we found the checkpoint it rested on was producing malformed traces, and the comparison grouped problems by whether the model chose to continue rather than testing it. So I don't count it as a finding. The clean experiment, forcing the Director to ask or to stop from the same point in the same trace on a working checkpoint, has not been run yet. It is still on my list.

Footnotes

  1. The set has 198 GPQA Diamond, 150 hard MATH and 150 MMLU problems. The rescoring found that the baseline's extractor returned a stray symbol instead of the answer when an answer was written in display math, so correct chain of thought answers were marked wrong. The same scorer now scores every system. ↩