Skip to content

Commit 3b9c404

Browse files
ShijieShijie
authored andcommitted
updated change-of-mind with vanessa edits
1 parent 5367184 commit 3b9c404

File tree

2 files changed

+23
-18
lines changed

2 files changed

+23
-18
lines changed

_posts/2025-10-18-ChangeOfMind.markdown

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,53 +13,55 @@ sidebar:
1313
text: "To appear: The hippocampus encodes counterfactual scenarios during change-of-mind behavior, Society for Neuroscience 2025. Authors: Shijie Gu, Anna Gillespie, Chenyan Liu, and Loren Frank."
1414
nav: sidebar-sample
1515
---
16-
> "the “change-of-mind” behavior offers a neat window into the mix of now, past, and the future."
16+
> "The “change-of-mind” behavior offers a window into how the brain uses the past, present and future to make decisions."
1717
18-
Oct 19, 2025
18+
Last updated: Nov 13, 2025.
1919

20-
Have you ever morphed your handwritten choice of A into a B when you were in school doing multiple-choice questions? Have you ever picked up a grocery, then put it back right after? My first grad school paper is on this topic - a change of mind. What happens in your brain when you have such a change of mind? Is switching your choice from A to B actually helpful in your next exam? Let me give you some answers in this blog!
20+
Have you ever been taking a multiple choice test and gone back to change an answer after more deliberation (e.g., from A to B)? Have you ever picked up an item from the shelf in the grocery store, then put it back right after? My first grad school paper is on this topic - a change of mind. What happens in your brain when you have such a change of mind? Is switching your choice from A to B actually helpful in your next exam? Let me give you some answers in this blog!
2121

2222

2323
### The dataset
24-
Between 2022 and 2024, I “raised” 5 rats in a maze where milk from various ports is always delivered in a specific order across 5 milk spouts. 4 of these spouts are located at the end of 4 long maze arms (1 meter each), extending from the center platform, leading to the home spout, the 5th milk spout. I wanted to see if they can figure this milk delivery pattern out. If so, what is the neural mechanism behind it?
24+
Between 2022 and 2024, I trained 5 rats in a maze with 4 outer arms (1 meter each) and a home arm radiating from a central platform, all leading to a milk port. Milk was always delivered in a specific order across the 5 milk spouts. I wanted to see if they could figure out this milk delivery pattern and if so, what is the neural mechanism behind it? If so, what is the neural mechanism behind it?
2525

2626

2727
<figure style="width: 300px" class="align-left">
2828
<img src="{{ site.url }}{{ site.baseurl }}/assets/images/change_maze.jpeg" alt="">
29-
<figcaption> The experimental arena looks like this. There are 4 outer arms and a home arm each leading to a milk port. There is a camera in the room to capture animal location.</figcaption>
29+
<figcaption> The experimental arena looks like this. There are 4 outer arms and a home arm each leading to a milk port. Rats were placed in the maze and a camera in the room captured their location. </figcaption>
3030
</figure>
3131

32-
The way I “raised” them is such that initially, a rat just needs to alternate between going back to home and outer arm milk locations. Once they developed the idea of home vs outer arms, I upgraded the milk delivery pattern to be: Home - Well3 - Home - Well4 - Home - Well2 - Home - Well1 - Home - Well3 and the loop continues. Of course they don’t know this pattern, after 2 weeks of hanging out in this maze, they all figured it out. Their motivation to find this pattern could be to maximize the milk they get. The initial plan of my PhD study is to use this dataset to study how the brain extracts patterns from memories. See more in [this](https://shijiegu.github.io/jekyll/update/2025/10/25/ripple.html) blog post.
32+
Initially, I trained them to alternate between going back to home and outer arm milk locations. Once they had learned to alternate home vs outer arms, I upgraded the milk delivery pattern to be: Home - Well3 - Home - Well4 - Home - Well2 - Home - Well1 - Home - Well3, in a continuous loop. Of course they are not aware of this pattern initially, but after 2 weeks of hanging out in this maze, they all figured it out. Their motivation to find this pattern could be to maximize the milk they get. The initial plan of my PhD study is to use this dataset to study how the brain extracts patterns from memories. See more in [this](https://shijiegu.github.io/jekyll/update/2025/10/25/ripple.html) blog post.
3333

3434

3535
### Rats show “change-of-mind” behavior
36-
Here’s something unexpected: rats often change their mind half way through an arm when they forage for milk.
36+
However, I observed something unexpected that sent me in a new direction: when foraging for milk, rats often change their mind half way down an arm.
3737

3838
<figure style="width: 500px" class="align-middle">
3939
<img src="{{ site.url }}{{ site.baseurl }}/assets/images/change_path.jpg" alt="">
4040
<figcaption> Two example paths, one with a change mind at arm 2 before heading to arm 4. </figcaption>
4141
</figure>
4242

43-
It’s something other projects in the lab also observe but the frequency in this task is way higher -- up to 20% of attempts have change of mind insinuation in some rats. There are multiple reasons why my rats do this more than others: my rats are good students who take things seriously; I use a very large maze scale where the outer arms are 1m rather than the shorter 50cm ones used in the lab [W maze](https://rnel.rice.edu/pubs/Jadhav%20et%20al_2012_Awake%20Hippocampal%20Sharp-Wave%20Ripples%20Support%20Spatial%20Memory.pdf). This large maze set up creates a large cost of a bad choice, potentially facilitating rats think hard about each choice.
43+
This is something other projects in the lab also observe but the frequency in this task is way higher -- up to 20% of attempts have changes of mind in some rats. There are multiple reasons why my rats do this more than others: first of all, my rats are good students who take things seriously/. Secondly, I use a very large maze scale where the outer arms are 1m rather than the shorter 50cm ones typically used in the lab [W maze](https://rnel.rice.edu/pubs/Jadhav%20et%20al_2012_Awake%20Hippocampal%20Sharp-Wave%20Ripples%20Support%20Spatial%20Memory.pdf). This large maze set up creates a larger cost for wrong choices, potentially forcing the rats really think hard about each choice. Finally, rats are given sufficient time to complete a set number of trials rather than a set duration to complete as many trials as possible. This allows them to take the time deliberating each choice if they need to.
4444

45-
### “change-of-mind” behavior is corrective
46-
This project is like an indie/alternative part of my PhD, as it started as a small data exploration during a holiday break with no expectations. One of the first things I was curious about are whether the rats were better off keeping their initial choice or changing their mind. It turns out across all rats and all sessions, the choice after a change of mind has on average better outcome. (each day I let them run in the maze for 4-6 sessions of 30-60 min each, with naps in a separate area in between.)
45+
### “change-of-mind” behavior is generally corrective
46+
This project is not the main focus of my PhD work, and it started as a small data exploration during a holiday break with no expectations. One of the first things I was curious about are whether the rats were better off keeping their initial choice or changing their mind. It turns out across all rats and all sessions, the choice after a change of mind has on average better outcome.
47+
48+
Each day, the rats ran 4-6 sessions of 30-60 min each, with naps in a separate area in between.
4749
<figure style="width: 600px" class="align-middle">
4850
<img src="{{ site.url }}{{ site.baseurl }}/assets/images/change_corrective.jpg" alt="">
49-
<figcaption> Each dot in this plot represents a session's data. In each rat, a dot in the left column is the average correct rate for initial choice on change-of-mind trials; a dot on the right column is the average correct rate for final choice on change-of-mind trials. </figcaption>
51+
<figcaption> Each dot in this plot represents a day's data. In each rat, a dot in the left column is the average correct rate for initial choice on change-of-mind trials; a dot on the right column is the average correct rate for final choice on change-of-mind trials. </figcaption>
5052
</figure>
5153

52-
From the plot we see that the final choice is on average better. All these efforts to change their mind are worth it! There is more to the story. We analyzed rats’ long-term behavior changes in this maze and found that this increase of correct rate has something to do with the animal overcoming their foraging bias. Please see the final paper for this detail.
54+
From the plot we see that the final choice is better on average. All these efforts to change their mind are worth it! There is more to the story. We analyzed the rats’ long-term behavior changes in this maze and found that this increase of correct rate has something to do with the animal overcoming their foraging bias. Please see the final paper for this detail.
5355

5456

5557
### “change-of-mind” behavior is not preceded by predictive coding in the hippocampus
56-
The hippocampus is a brain structure that is very important for memory formation and retrieval; it is also a brain structure critical for maintaining a so-called [“GPS” signal](https://www.nobelprize.org/prizes/medicine/2014/press-release/) — where you are physically in a space. As a step beyond recalling memory and encoding GPS signal, recently, there have been a few findings linking the hippocampus to the flip side of the past and the current: the future (see [here](https://www.nature.com/articles/nature12112), and [here](https://www.cell.com/cell/fulltext/S0092-8674(20)30061-1)).
58+
The hippocampus is a brain structure that is very important for memory formation and retrieval; it is also a brain structure critical for maintaining a so-called [“GPS” signal](https://www.nobelprize.org/prizes/medicine/2014/press-release/)a sense of where you are physically in a space. Recently, evidence has suggested that the hippocampus may also play a role linking the hippocampus to planning into the future (see [here](https://www.nature.com/articles/nature12112), and [here](https://www.cell.com/cell/fulltext/S0092-8674(20)30061-1)).
5759

58-
In neuroscience terms, the hippocampus has been linked to predictive coding and mental simulation. In simple terms, the “predictive coding” part says that before an animal does something, you can read out (to some extent) from the hippocampus neural activities what the animal is about to do next; the “mental simulation” part is a mellower version that says before an animal makes a choice, you can read out the few options the animal considered rather than just the specific choice the animal picked. In summary, the field is grappling with how the hippocampus decides to encode where you are now, what you are about to do next, or your past, and how it serves you altogether.
60+
In neuroscience terms, the hippocampus has been linked to predictive coding and mental simulation. In simple terms, the “predictive coding” part says that before an animal does something, you can predict what the animal is about to do next (to some extent) from the hippocampal neural activity; the “mental simulation” part is a mellower version that says before an animal makes a choice, you can read out the few options the animal considered rather than just the specific choice the animal picked. In summary, the field is grappling with how the hippocampus decides to encode where you are now, what you are about to do next, or your past, and how it serves you altogether to help you make smart choices.
5961

60-
This is the point where I realized this project is not indie neuroscience after all — **the “change-of-mind” behavior offers a neat window into the mix of now, past, and the future**. At the tip of a change of mind, does the hippocampus forgo being a GPS and present another option or other options, prompting the rats to change their mind? What is going on in the hippocampus when the rat is actively leaving the initial choice before committing to another one? In the exam analogy, what is going on in the hippocampus while I morph A to B? Does the hippocampus encode the initial choice once the final choice is made?
62+
This is the point where I realized this project is not a side project after all — **the “change-of-mind” behavior offers a neat window into the mix of now, past, and the future**. During a change of mind, does the hippocampus forgo being a GPS and present another option or other options, prompting the rats to change their mind? What is going on in the hippocampus when the rat is actively leaving the initial choice before committing to another one? In the exam analogy, what is going on in the hippocampus while I morph A to B?
6163

62-
To study this, we assume that the hippocampus encodes the GPS signal when the animal is running and create a map that eats in animal body location and returns the average hippocampus signal. We then apply this map [in reverse](https://www.jneurosci.org/content/18/18/7411). This reversed function eats in specific moments of hippocampus signal and returns an estimate of the animal body location. If that the moment the hippocampus signal deviates a lot from the usual GPS signal, the estimated body location will not track the actual animal location. It is a mouthful to explain, and it might make more sense to see the plot directly:
64+
To study this, we assume that the hippocampus encodes the GPS signal when the animal is running and create a map that takes in animal body location and returns the average hippocampus signal. We then apply this map [in reverse](https://www.jneurosci.org/content/18/18/7411). This reversed function takes in specific moments of hippocampus signal and returns an estimate of the animal body location. If that the moment the hippocampus signal deviates a lot from the usual GPS signal, the estimated body location will not track the actual animal location. It is a mouthful to explain, and it might make more sense to see the plot directly:
6365

6466
<figure style="width: 600px" class="align-middle">
6567
<img src="{{ site.url }}{{ site.baseurl }}/assets/images/change_thetadecode_lewis.jpg" alt="">
@@ -68,8 +70,11 @@ To study this, we assume that the hippocampus encodes the GPS signal when the an
6870

6971
Here is a video version of the static plot. Magenta denotes where the rat is and the little line on top shows its head direction. The blue/green/yellow shades show the estimate of the animal location from its hippocampus signal, with brighter color denoting regions of higher confidence of the inference.
7072

71-
To our surprise, there is little loss of GPS signal before a change of mind, defined by animal abruptly stopping on an arm before backing off or turning around to go to another arm. Instead, the hippocampus actively simulates going towards the end of the arm while actively leaving the arm — a mental simulation of what could have been if the choice is not changed.
73+
To our surprise, there is little loss of GPS signal before a change of mind, defined by animal abruptly stopping on an arm before backing off or turning around to go to another arm. Instead, the hippocampus actively simulates going towards the end of the arm while actively leaving the arm — a mental simulation of what could have been if the choice was not changed.
74+
75+
There is more to the story. It turns out there are some specific temporal pattern in which this counterfactual trajectory is packed with the GPS signal. In addition, sometimes the hippocampus encodes other arm options, which are statistically predictive of where the animal will go next. Please stay tuned for the final paper!
7276

7377

74-
There is more to the story. It turns out there are some specific temporal pattern in which this counterfactual trajectory is packed with the GPS signal. In addition, sometimes the hippocampus encodes other arm options. Please stay tuned for the final paper!
78+
Written by Shijie Gu, Oct 19, 2025.
79+
Edited by Vanessa Bender, Nov 13, 2025.
7580

assets/images/.DS_Store

6 KB
Binary file not shown.

0 commit comments

Comments
 (0)