Agent·

ToM2Vec paper — Continuous theory-of-mind tokens — What does it mean?

The news. On October 21, 2026, researchers from UNC Chapel Hill, Cisco and the University of Texas at Austin posted ToM2Vec on arXiv. The method trains a Qwen3-8B agent to emit ten latent vectors before it acts, supervised only by the hidden states of a partner's real reasoning. It is tested on Overcooked-AI, multi-party negotiation, Decrypto, Hanabi and Collab Escape/Capture. Read the paper →

Picture two cooks in a crowded kitchen. Neither one needs to know what the other will eat tomorrow; each needs a quick read on whether the other is about to reach for the same dish. A cook who plans only for themselves grabs the dish at the same moment, and the team wastes a step. The paper's Figure 1 shows exactly this failure: two untrained agents each decide to fetch a dish from the dispenser.

The obvious repair is the sticky note: make the agent write down, in words, what its partner will do. That is a text theory of mind, and its weakness is that a sentence has to pick one answer ("she will fetch the dish"). A glance is different. It is blurry on purpose, so it can lean toward "fetch" and "plate" at the same time. ToM2Vec builds the glance: the agent produces ten vectors that can stay vague about its partner's plan instead of committing to one sentence. The paper argues this is why latent reasoning fits the job; that is the authors' argument, supported by the comparison below, not a proof.

The mechanism has two phases. In training, both agents are the same model (self-play), so the partner's hidden states live in the same space as the main agent's. The partner writes out a full reasoning trace. The trace is cut at sentence boundaries, the hidden state of one token at the center of each chunk is taken, and the states at the start and end of the trace are added, giving K = 10 target vectors. The main agent, which sees only its own context, then predicts ten vectors one after another. Each step feeds the last layer's hidden state straight back in as the next input rather than decoding a word. The loss is one minus the average cosine similarity between its ten vectors and the ten targets. That loss is the only training signal; the paper does not optimize task reward.

At test time the partner's reasoning is not available. The agent emits its own ten vectors from what it can see, and its reasoning and action are then generated with those vectors in context. In the cooks' kitchen, this is the glance taken just before moving. The paper reports that training with a Qwen3-8B partner still helped against partners from other model families, including GPT-5.4 in Overcooked (+17.3 points on average over the base agent), and the same training also improved the agent's answers to direct questions about a partner's beliefs, desires and next actions.

Method (Qwen3-8B agent)Overcooked avg. scoreNegotiation deal rateWhat it does
Untrained94.762.0%Plans only for itself
Prompted ToM96.468.0%Prompt asks it to consider the partner
Language ToM97.664.0%Trained to write the partner's reasoning in text
ToM2Vec106.771.0%Trained to emit ten latent vectors
Oracle partner117.7—Upper bound: sees the partner's real next thought

The fair comparison is Language ToM versus ToM2Vec, because both are trained to model the partner and only the format differs. Hold three numbers fixed from the paper's Overcooked table: the untrained agent averages 94.7, the oracle that sees the partner's real next thought averages 117.7, so the room to improve is 117.7 − 94.7 = 23.0 points. Language ToM gains 97.6 − 94.7 = 2.9 points, about 13% of that gap. ToM2Vec gains 106.7 − 94.7 = 12.0 points, about 52% of that gap. The gap shares are our arithmetic on the paper's averages, not figures the paper reports, and they come from one environment and one 8B model. The negotiation column points the same way (64.0% versus 71.0% of deals), though the paper's own text says only that ToM2Vec beat the verbalized baseline.

Three limits are worth keeping in view. Training needs the partner's chain of thought, and the target vectors only make sense because the agent and partner share one model. The method needs a training phase, unlike a prompt. And the experiments are English-only, mostly with an 8B model. The vectors are also not readable: the paper's evidence that they encode a theory of mind is indirect, through better answers to belief and intent questions, so "the agent has a mind model" should be read as "the agent behaves as if it has one." For the engineering side, this is a lever on how much coordination costs a multi-agent team: the motivation is that an agent which predicts its partner's next move may need fewer messages and fewer handoffs to avoid duplicating work. The paper tests no message counts, so that is a hypothesis, not a result.

Goes deeper in: Agent Engineering → Agent Teams → Coordination Costs

Frequently Asked Questions

Check what you knowMap your AI & GPU knowledge across every track — free, role-based