Context Lab
banner
contextlab.bsky.social
Context Lab
@contextlab.bsky.social
A motley crew of science nerds trying to understand the inner workings and limits of human memory. Plus some Bayesian stuff...and 🧁. Director: @jeremyrmanning.bsky.social

https://www.context-lab.com
In our latest study, led by @paxt0n4.bsky.social, we build a geometric framework to ask how our memories change with the passage of time ⏰

Title: Delayed recountings preserve but simplify the semantic geometry of earlier recountings
Preprint: osf.io/mhxtd_v1
Code/data: github.com/ContextLab/m...

🧵
OSF
osf.io
September 8, 2026 at 6:14 PM
Super excited to announce our next big project: an NSF-funded collaboration with the @exploratorium.bsky.social to build museum exhibits that adapt on-the-fly to visitor interests, goals, and background knowledge! 🧑‍🔬🩻🔬🥼🧪🧬🤓🤖🚀

www.nsf.gov/awardsearch/...
Award Details - NSF Award Search
Find award details and explore award abstracts and publications.
www.nsf.gov
August 12, 2026 at 11:29 PM
Check out our latest collab with Manish Saggar, @richardfbetzel.bsky.social, et al. (lead: Chunyin Siu)!

We use TDA to show that 2nd-order (edge) brain interactions more distinctly segregate task connections than other kinds of network patterns.

Paper/code/data: www.biorxiv.org/content/10.6...
Global topology of brain-wide co-fluctuations links task states, personality, and behavioral symptom dimensions
Functional connectivity in network neuroscience is traditionally characterized using time-averaged correlations between brain regions. While these summaries capture stable large-scale organization, they do not fully reflect the temporal structure of moment-to-moment interactions. Here, we investigate how the order of interaction used to represent brain dynamics shapes the organization recovered from neural data. We compare three interaction representations of fMRI dynamics: regional activation (node time series), pairwise co-fluctuations (edge time series), and higher-order triplet interactions (triangle time series); within a common topological framework using Mapper from topological data analysis (TDA). Across task and resting-state data, Mapper representations derived from pairwise co-fluctuations more distinctly segregate task conditions than activation-based or higher-order representations. This organization reflects structured coordination patterns beyond activation polarity and is driven by high-amplitude interaction events. Beyond task states, modularity quality computed across all Mapper representations is highest for edge time series and selectively associated with stable individual differences: higher modularity relates to higher conscientiousness and lower internalizing and externalizing symptom dimensions. Together, these findings suggest that behaviorally relevant information is reflected in the topology of moment-to-moment brain interactions. Topological analysis of interaction-level dynamics therefore provides a complementary and interpretable framework for linking large-scale neural coordination to cognition, personality, and mental health. ### Competing Interest Statement The authors have declared no competing interest. National Institute of Mental Health, https://ror.org/04xeg9z08, MH127608 Stanford Maternal and Child Health Research Institute, https://ror.org/00yt0ea73, Faculty Scholar Award
www.biorxiv.org
May 6, 2026 at 4:04 AM
Curious what a representation of "everything" you know might look like? Wonder how you might fill it in?

Check out our demo and paper (led by @paxt0n4.bsky.social and now out in @natcomms.nature.com ), or read on to learn more!

Demo: context-lab.com/mapper/
Paper: www.doi.org/10.1038/s414...
Knowledge Mapper
An interactive tool that maps out everything you know. Answer questions and watch your personalized knowledge map take shape.
context-lab.com
April 2, 2026 at 2:56 AM
Do you use @youcanbookme.bsky.social or @calendly-official.bsky.social for scheduling? We were frustrated with recent increases in pricing, so we tapped @anthropic.com's Claude to help! You can easily use it yourself: 100% free to set up and host: cdl-scheduler.readthedocs.io/en/latest/
CDL Scheduler documentation
cdl-scheduler.readthedocs.io
March 11, 2026 at 2:46 PM
With our v1.0 release, dream-stream now comes in Android 🤖!

context-lab.com/dream-stream...
January 16, 2026 at 4:57 AM
Reposted by Context Lab
I made a quirky little web app to help guide your lucid dreams: context-lab.com/dream-stream/

It's kind of like a "netflix" or "spotify" for lucid dreaming-- you select different narratives to form a playlist, and then it uses your device's microphone to start playing when it detects you're in REM.
context-lab.com
January 11, 2026 at 5:47 AM
Reposted by Context Lab
Excited to be teaching a new undergraduate course on Models of Language and Conversation this term!

Check it out here: context-lab.com/llm-course/

I've added lots of fun interactive demos of chatbots and NLP techniques that let students dig into the approaches.
Models of Language and Communication - PSYC 51.17
Course materials for PSYC 51.17: Language Models from Scratch - Dartmouth College
context-lab.com
January 7, 2026 at 1:10 PM
Remember when grinding leetcode was still a thing? If you'd like to hone your coding skills, or even just return to that simpler time for nostalgia's sake, you might enjoy this project from our group: github.com/ContextLab/l...

Happy hacking! 👩‍💻
GitHub - ContextLab/leetcode-solutions: Leetcode discussions, brainstorming, musings, and solutions
Leetcode discussions, brainstorming, musings, and solutions - ContextLab/leetcode-solutions
github.com
November 6, 2025 at 1:42 PM
🚨 New preprint alert!

We use trained-from-scratch GPT-2 models to characterize & capture the unique writing styles of individual authors. We also develop a new LLM-based relative stylometric measure.

Paper: arxiv.org/abs/2510.21958
Code/data: github.com/ContextLab/l...
🤗: huggingface.co/contextlab
October 28, 2025 at 4:28 AM
🤠 New release announcement for our datawrangler package! Try it using:

pip install --upgrade pydata-wrangler

Lots of awesome performance improvements (including native polars support!), simplified API, support for @hf.co text embeddings, etc. More info here: data-wrangler.readthedocs.org
DataWrangler — datawrangler 0.4.0 documentation
data-wrangler.readthedocs.org
June 14, 2025 at 12:10 PM
We're super excited to announce that we've officially convinced @cgonciulea.bsky.social to join our rag-tag (but VERY classy) team of science nerds this fall as a @dartmouthpbs.bsky.social PhD student 🎉🥳🤓🧠🧑‍🔬🎓!!
a group of men and women are standing next to each other on a stage dancing .
ALT: a group of men and women are standing next to each other on a stage dancing .
media.tenor.com
April 25, 2025 at 3:28 AM
Reposted by Context Lab
Just finished a draft of my Models of Memory (grad) course that I'm teaching this spring! Please share/borrow/re-use/follow along as desired, and if you have feedback or suggestions I'd really love to hear (especially while I can still change it)!

All materials are here: github.com/ContextLab/m...
February 13, 2025 at 6:01 PM
Re-sharing from Xitter-- new paper out in @pnas.org (lead: Lucy Owen)!

We show how the informativeness and compressibility of brain activity patterns change under different levels of cognitive engagement: www.pnas.org/doi/10.1073/...

Lots of neat stuff in there!
www.pnas.org
November 26, 2024 at 1:12 AM
Excited to have this out in @natureportfolio.bsky.social!

We found that real & fictional people communicate roughly 1.5x more about the past than the future.

In turn, this influences the interferences we make about past & future events in *other* people's lives.

www.nature.com/articles/s41...
November 19, 2024 at 3:58 AM
Excited to announce the latest release of our "Davos" #python package (v0.2.3)! 🎉🥳

Add Davos to a Jupyter notebook by:
- inserting a new cell with this code at the top:

%pip install davos
import davos

- replacing all uses of "import" with "smuggle"

More info here: github.com/ContextLab/d...
December 19, 2023 at 5:32 PM
Jumping on the "make it more" bandwagon to depict an *extremely* typical day in our lab!
November 30, 2023 at 3:12 PM
Reposted by Context Lab
Imagine Google Colab notebooks that support:
✔️ Automatic dependency installs
✔️ Pinned package versions
✔️ Ability to download/run locally without additional setup

"pip install davos" today!

Share + vote for "default" Colab integration by clicking the 👍 here: github.com/googlecolab/...
Add a new package, `davos`, to the set of preinstalled packages in colaboratory to help manage depen...
Is your feature request related to a problem? Please describe. I've run into several dependency-related "frustrations" when sharing colaboratory notebooks: Importing packages that aren't included i...
github.com
November 1, 2023 at 2:42 PM
🚨 Updated preprint (lead: @xxming.bsky.social) on how inferences about unobserved past/future events are informed by conversations! osf.io/yp2qu/ 🚨

This update includes a new pre-registered replication + meta analysis. We think we've found some neat fundamental properties of human conversation!

🧪🧠
osf.io
October 31, 2023 at 7:45 PM
📣: Just updated our "modeling Khan Academy learning" preprint (lead: @paxt0n4.bsky.social)!

We're excited about this revision and grateful to our reviewers-- lots of neat new analyses using text embeddings to show how knowledge changes over time + conceptual content.

Link: osf.io/preprints/ps...
osf.io
October 25, 2023 at 12:13 PM
Excited to announce the latest release of our "Davos" #python package (v0.2.3)! 🎉🥳

Add Davos to a Jupyter notebook by:
- inserting a new cell with this code at the top:

%pip install davos
import davos

- replacing all uses of "import" with "smuggle"

More info here: github.com/ContextLab/d...
October 3, 2023 at 1:43 PM
Hello blue sky! Our lab studies #learning & #memory. We do roughly 50% cog sci style studies and 50% brain networky things, with some overlap where possible. Lately we've been excited about real-world memory in classrooms and conversations. We'll use this account to share our papers/software!

🧑‍🔬🧪🧠🧑‍💻
September 18, 2023 at 2:42 PM