Skip to content
Sprint projectJun 3, 2024

Belief State Representations in Transformer Models on Nonergodic Data

Junfeng Feng, Wanjie Zhong, Doroteya Stoyanova, Lennart Finke · Team Nerds

Submitted to Computational Mechanics Hackathon. Sprint projects are early-stage work by participants, not Apart Research publications.

Read the report

Report: Belief State Representations in Transformer Models on Nonergodic Data

Code (opens in new tab)
Share

We extend research that finds representations of belief spaces in the activations of small transformer models, by discovering that the phenomenon also occurs when the training data stems from Hidden Markov Models whose hidden states do not communicate at all. Our results suggest that Bayesian updating and internal belief state representation also occur when they are not necessary to perform well in the prediction task, providing tentative evidence that large transformers keep a representation of their external world as well.

Reviews

Judging this Sprint?

Review this project

Your public critique appears on this page without your name. Reviews of strong projects are shared with funders, as you choose below.

Not shown on this page.

Shown on this page, without your name.

Only the Apart team reads this, and funders if you agree below.

Decline to score

Only when the quality of the writing makes the work impossible to follow. Say why in your private critique; nothing shows on this page.

Sharing your name *

When we share a strong project with funders, your name, scores and public critique go with it, confidentially; this choice is only about whether your name is public. If you think this project deserves funding, please also endorse it: that carries the most weight.

Share my private critique with funders *

No public critique yet.

Cite this project

@misc{feng2024belief,
  title = {{Belief State Representations in Transformer Models on Nonergodic Data}},
  author = {Junfeng Feng and Wanjie Zhong and Doroteya Stoyanova and Lennart Finke},
  year = {2024},
  month = jun,
  note = {Submitted to Computational Mechanics Hackathon, an Apart Research Sprint},
  howpublished = {\url{https://apartresearch.com/sprints/projects/belief-state-representations-in-transformer-models-on-nonergodic-data}},
  url = {https://apartresearch.com/sprints/projects/belief-state-representations-in-transformer-models-on-nonergodic-data}
}

Build something like this at the next Sprint

AI Collusion Research Sprint · Oct 23 - 25, 2026