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 “Belief State Representations in Transformer Models on Nonergodic Data”

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

Not shown on the project page.

Shown on the project 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; the project page shows only that a judge declined, not why.

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 *

See our Privacy Policy.

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 x Epistemics Research Sprint · Nov 13 - 15, 2026