Skip to main content

Putting AI to Work: Why Start a New Chat When the Topic Changes

· 7 min read
Hyunmo Ahn
Front End Engineer @ Line+

Introduction​

If you use AI for a while, you often hear "start a new chat when the topic changes."

Give a person several tasks at once, and they tend to forget one of the earlier ones. An AI is similar. When several topics are mixed into one chat, it misses what was set earlier and gives an off-target answer. In this post, we compare giving several tasks to one chat and splitting them across chats, on the same screen.

Question

Why should we split chats when we give AI work?

Everything in one chat​

In one chat, we ask for a meeting agenda, a sales summary and a Jeju trip plan, one after another. Follow the glowing buttons and click through.

New chat
Conversation size
0 tokens

How can I help you?

Put together the agenda for next Monday's weekly team meeting. It's 30 minutes with 5 people. Make sure to include "training schedule", which we pushed from last week.
Figure 1Giving one chat several tasks

Let's put the last reply next to the first one.

New chat
Put together the agenda for next Monday's weekly team meeting. It's 30 minutes with 5 people. Make sure to include "training schedule", which we pushed from last week.
Monday weekly meeting agenda (30 min) 1. Last week's updates (5 min) 2. Confirm training schedule (10 min) 3. Project status (10 min) 4. Other items (5 min)
Replied in 2.1s30 minTraining schedule
… 30 more turns after the sales summary and the Jeju trip …
Add "hiring plan" to the meeting agenda and redo it.
Monday weekly meeting agenda (60 min) 1. Q3 results: revenue $1.2M, up 8% (15 min) 2. Hiring plan (15 min) 3. Project status (15 min) 4. Review the year-end workshop in Jeju (10 min) 5. Other items (5 min)
Replied in 9.6s30 min → 60 minTraining schedule missingOther topics mixed in
Figure 2The first and the last reply in the same chat

The first reply kept the 30 minutes and the training schedule. In the last reply, the meeting became 60 minutes and the training schedule is gone. Q3 sales and a Jeju workshop took its place.

The reply also got slower. The first reply came in 2.1 seconds, and the last one took 9.6 seconds. That was for a short request to update the same meeting agenda.

Why does this happen?​

An AI does not remember the conversation and answer from memory. Before every reply, it reads the chat again from the start and then writes. Both the Claude and the OpenAI developer docs explain that each new message is sent together with the whole conversation before it (Claude, OpenAI). So as the chat grows, there is more to read before every reply. More to read also means a later reply. OpenAI's latency optimization guide also says that a long input can delay the first token of the reply.

The figure below shows what the AI read from the start each time it answered about the meeting agenda in the chat of Figure 1. The number on each row is that amount in tokens (the unit for how much text an AI reads and writes). By the last reply, other topics sit between the parts about the meeting.

1st reply200 tokens
Meeting
2nd reply1.3k tokens
MeetingReplySales
3rd reply2.1k tokens
MeetingReplySalesReplyTrip
Last reply25.6k tokens
MeetingReplySalesReplyTripReply30 turnsAdd hiring
Meeting agendaOther topics
Figure 3What the AI rereads from the start before each reply

When there is more to read, it is easy to miss conditions set earlier. A paper called NoLiMa studied this. The researchers hid one sentence in text cut from books and asked a question that can only be answered by finding it. For example, they hide "a character lives next to the Semper Opera House" and ask "Which character has been to Dresden?" The question and the hidden sentence share no words, so the model also has to know that the Semper Opera House is in Dresden.

The score is the share of correct answers. The researchers hid the same questions in short texts of up to 1K tokens and in long texts of 32K tokens, and compared the two.

ModelShort textLong text (32K tokens)
GPT-4o99.3%69.7%
Llama 3.3 70B97.3%42.7%
Gemini 2.0 Flash89.4%41.0%
Claude 3.5 Sonnet87.5%29.8%
Figure 4Correct answers in short and long texts (Modarressi et al., NoLiMa, ICML 2025)

Models that did well on short texts dropped sharply on long ones. Of the 13 models in the study, 11 fell below half of their short-text score, and even GPT-4o, which held up best, went from 99.3% to 69.7%. The questions stayed the same and only the text got longer, so the length is what made them miss.

Unrelated content can also pull the AI off course. The Shi et al. paper studied this with 100 grade-school math problems. These were easy problems the models already solved. The researchers added one sentence that has nothing to do with the solution to each problem, without changing the answer. In the example below, the answer to both problems is 24. They made the added sentences in many variations.

Original problemModified problem
Jessica is six years older than Claire. In two years, Claire will be 20 years old. How old is Jessica now?Jessica is six years older than Claire. In two years, Claire will be 20 years old. Twenty years ago, the age of Claire's father is 3 times of Jessica's age. How old is Jessica now?
Figure 5An original problem and one with an unrelated sentence (Shi et al., ICML 2023)

The score is the share of correct answers. The researchers had the code-davinci-002 model solve the problems in three ways.

How it solvesOriginal problemsWith an unrelated sentence
Step by step95.0%72.4%
Split into smaller problems94.0%77.5%
Write code83.0%54.4%
Figure 6Correct answers before and after adding an unrelated sentence (Shi et al., ICML 2023, code-davinci-002)

One added sentence was enough to drop the accuracy a lot. A common mistake was using the number in the added sentence in the calculation. Sentences on the same topic as the problem, about people tied to the people in it, were more confusing. These are 2023 models, but the study shows that an AI gets pulled toward unrelated content.

This is what happened in Figure 1. When we asked to update the meeting agenda, the AI reread the sales report, the Jeju trip and the 30 turns after them. The 30 minutes and the training schedule got buried, and sales and Jeju slipped into the agenda. The chat was not full. There was a lot to read and it was mixed, so the AI lost focus.

One chat per topic​

This time, we split the same tasks across three chats. The meeting agenda, the sales report and the Jeju trip each go to a new chat.

Meeting agenda
Conversation size
0 tokens

How can I help you?

Put together the agenda for next Monday's weekly team meeting. It's 30 minutes with 5 people. Make sure to include "training schedule", which we pushed from last week.
Figure 7Giving each topic its own chat

The talk about restaurants in Jeju made a chat long again, but only the Jeju trip chat. The meeting agenda chat holds just the first request and reply. Go back to that chat and ask for the same update, and the reply comes in 2.3 seconds and keeps the 30 minutes and the training schedule.

Summary​

The same AI gives different answers depending on how you split your chats.

  • An AI does not keep the conversation in memory. Before every reply, it reads the chat again from the start.
  • When there is more to read, it is easy to miss conditions set earlier, and replies come later.
  • When unrelated topics are mixed in, they slip into the reply.

With one chat per topic, what the AI rereads holds only that topic. Other topics have no way in, and the chat stays shorter.

Answer

An AI reads the chat again from the start before every reply. When other topics are mixed in, there is more to read, and the mixed-in content slips into the reply. That is why we give each topic its own chat.

Posts in this series​

  1. Intro: Why we use it this way
  2. One chat per topic (this post)
  3. A desktop app instead of web chat

Reference​