Beyond Continuity: Challenges of Context Switching in Multi-Turn Dialogue with LLMs
Users interacting with Large Language Models (LLMs) in a multi-turn conversation routinely refine their requests or pivot to new topics. LLMs, however, often miss these topic shifts and carry over irrelevant context from previous turns, leading to inaccurate responses. In this paper, we stress-test the multi-turn understanding of LLMs and study the following two sub-tasks: (1) detecting whether the user pivots or refines in the current turn, and (2) shortlisting relevant context from previous turns. To this end, we construct synthetic benchmarks based on real-world datasets from varied domains, as to simulate context shifts of different levels of difficulty. We then evaluate the zero-shot performance of ten LLMs (open-weight, closedsource and reasoning), and demonstrate that only some reasoning and strongly instructed LLMs are accurate in detecting pivots; open-weight LLMs struggle with the task and frequently carry stale context even with explicit cues; and all models suffer from a position bias. Based on the results, we discuss key takeaways for improving long-term robustness in multi-turn capabilities for LLMs.
Introduction. In real-world dialogues with conversational assistants, users routinely change topics mid-dialogue (i.e., without explicitly starting a new session). In contrast, LLM-based conversational assistants typically expect coherence and continuity in interactions, which leads to the carrying of stale information across turns. Deployment of off-the-shelf models in chat based interfaces Casheekar et al. (2024) without any task-specific fine-tuning is a realistic scenario for small enterprises, yet the ability of these models to reliably detect topic shifts and reset context at the current user utterance in a multi-turn conversation is understudied in literature. To stress-test the multi-turn comprehension of the models, we frame this task as having two key aspects - (1) a classification problem predicting whether a user’s intent is to pivot to a new topic at the current turn (relative to the previous turns), or to refine the current topic, and (2) a context selection task identifying prior turns that are relevant to the current turn. We evaluate these behaviours across several LLMs via prompt-based zero-shot detection in controlled settings to probe the inherent generalization capability of out-of-the-box LLMs in multi-turn dialogue and expose their failure modes.
Overall, our contributions are as follows:
• We formalize the pivot vs. refine detection task together with appropriate context resetting at pivots, and construct synthetic conversations from real world datasets over diverse domains with precise control of pivot boundaries and their positions in a session.
• We introduce the over-carry rate metric to quantify context carry-over errors, complementing standard F1 measures, offering a direct readout of reset quality, as a useful evaluation metric for future work in assessing the quality of multi-turn understanding.
• Since different real-world applications have varied latency/token constraints, we conduct an extensive zero-shot prompt-based evaluation of ten LLMs spanning reasoning/non-reasoning and open/closed-weight families, providing (to our knowledge) one of the first direct comparisons of out-of-the-box models on pivot detection and context resetting capabilities.
• We analyze the impact of reasoning and cue phrases in the pivot detection and context resetting tasks. We also uncover how conversation structure with different pivot positions influences model performance, and offer insights into the failure modes for each model. This could be helpful for improving the performance of LLMs (and specifically open-weight models) for enhancing their multi-turn understanding.
Related work. Impressive progress has been made in conversational assistants’ abilities to interact with human users in multi-turn conversations. Challenges like long-horizon decision-making or dealing with delayed rewards have been tackled by reinforcement learning (RL) in the context of multi-turn conversations with human users, e.g., Zhou et al. (2024; 2025); Jaques et al. (2020); Jang et al. (2022), as well as in the context of web-agents Wei et al. (2025); Chae et al. (2025); He et al. (2024). Maintaining relevant context in memory is another challenge in multi-turn conversations, and has been addressed by query-rewriting in Yang et al. (2024); Lai et al. (2025) and memory augmentations in Xu et al. (2021a); Packer et al. (2024); Wang et al. (2023); Zhong et al. (2024). Humans often tend to start a conversation with under-specified queries, which was identified as an important unsolved problem in Laban et al. (2025). Challenges and failure modes of LLMs for long-context management have been discussed in Liu et al. (2023); Lu et al. (2024). A common underlying assumption in all these works is that the conversation follows a coherent topic, i.e., the user does not suddenly pivot to a different/unrelated topic during the conversation.
In real-world conversations, however, users routinely change topics suddenly Soni et al. (2021). The task of topic shift detection in real-time dialogues was defined in Xie et al. (2021): Does the utterance of the user in the current turn of the conversation change the topic compared to the preceding turns? Early methods to solve this problem used topic segmentation Hearst (1997); Eisenstein & Barzilay (2008); Galley et al. (2003) and specialized classifiers Konigari et al. (2021), however they often struggled with incorporating subtle cues. Recent work uses hierarchical representations Lin et al. (2023) or task-specific methodology Xie et al. (2021); Hwang et al. (2024) with smaller models, such as T5. We discuss additional related works in Section A in the Appendix owing to space constraints.
This serves as the primary motivation in our effort to construct a systematic study for stress-testing several recent LLMs in their inherent ability to detect topic shifts in conversations via prompting alone, i.e. zero-shot on base models without any task-specific fine-tuning, and expose their failure modes in detecting context switches.
Method. In this paper, we focus on a simple yet fundamental scenario: we assume that users either intend to PIVOT from the topics discussed in the previous turn(s), or to REFINE them further. Such a binary setup is very common in practice, as evidenced from prior research in real-world conversations Soni et al. (2021). We then construct controlled “hard switches" by concatenating head segments of different conversations, which also provides us with the ground-truth turn where the pivot(s) take place, as well as with the ground-truth shortlist of relevant prior turns.
In our experiments, we investigate the following three research questions: RQ1: How do the models perform on the tasks of PIVOT/REFINE detection and context resetting jointly? RQ2: How does the performance of the models for detection and context resetting change as the number of turns grow?, and finally RQ3: Do explicit context-switch signals and reasoning help in these tasks?
Discussion. They exhibit high OC even when they predict PIVOT, i.e. they acknowledge that the conversation is pivoting but still carry unrelated context. This indicates that their “classification-head” and “context selection” are potentially not well aligned, possibly requiring further instruction tuning. The second failure mode which is evident, is the low/empty carrying of the context, for instance phi4-14.7B, which shows very low OC, but also a lower F1PIVOT indicating a conservative context resetting, but weak detection pattern. mistral-7.2B underperforms on both F1PIVOT and OC in our settings.
RQ2: Position bias of context. Figure 1 shows a trend of degraded F1PIVOT performance across models as the pivot position increases, indicating that later pivots in a session become much harder to detect, while OC fluctuates. This reveals a clear position bias and complements the unreliability of LLMs as discussed in Laban et al. (2025). All non-reasoning models show a rapid downward trend, indicating that instruction following is not sufficient for this task, while reasoning models show a more gradual decline indicating that while an “active” state reset via reasoning helps detection, reasoning models still struggle with this task as the number of turns grow.
RQ3a: Cue phrases help label prediction. We observe that V2 with cue-bridged pivots improves F1PIVOT and in some instances OC also across all models, compared to V1. This indicates that the cue-phrases likely provide a “lexicalized boundary token” which gives a clear pivoting signal to the models. We observe that models with strong instruction following ability (gpt-4o, gpt-4o-mini) benefit more from these cues than models where instruction tuning is relatively weaker.
RQ3b: Reasoning acts as “gating” context. o-3 achieves high F1PIVOT on TOPIOCQA with zero OC in V2, and competitive performance on MSC with reduced but non-zero OC, followed by claude-3.7-sonnet, gemini-2.5-pro and deepseek-r1-32.8B in performance order. The low OC across these models indicates that reasoning leads to a calibrated “gating” of context, i.e. the model drops unrelated context at topic switches, while non-reasoning models fail at the task.
Conclusion. In this work, we stress-test the multi-turn capabilities of LLMs and expose the challenges in pivotdetection and context resetting for practical scenarios. Our main findings are that a subset of the LLMs with strong instruction-following perform reasonably on detection of pivots but struggle when the switches occur at later turns; majority of the state-of-the-art open-weight LLMs often get confused as to where a pivot takes place and carry over stale context; and explicit reasoning, understandably, is capable of mitigating some of the challenges around pivot-detection. There are several solutions worth exploring for improving the multi-turn capabilities of these models, such as targeted fine-tuning, two-stage pipelining, position-aware context decaying and inference-time guards. We discuss these methods with model specific failures for the benefit of practitioners, and limitations in Sections D and E of the Appendix respectively, and defer these to future work.
Lines of inquiry this paper opens 24
Research framings built by reading the notes related to this paper — the questions it feeds into.
Why does expressing understanding diverge from achieving genuine comprehension?- What triggers the shift from one intent type to another during search?
- How do readers selectively hold frame-related words in mind?
- Do reasoning models actually reset conversation state or just handle drift differently?
- What causes LLMs to fail at context switching in multi-turn dialogue?
- What happens when conversational design invites attention it cannot actually deliver?
- Why do LLMs fabricate continuity when users shift conversational frames?
- How do discourse structure and dialogue state management relate to each other?
- How often does user intent shift from one turn to the next in dialogue?
- How does turn count compound multiple distinct failure modes across conversations?
- Why do conversational queries drift away from what triggered them?
- Can AI ever lead conversations without the anticipatory presence sustained attention provides?
- How does training data preserve communicative event structure without the actual events?
- Can curiosity-driven dialogue incrementally discover user interest journeys in real time?
- Can LLMs propose pivots that change what counts as background context?
- How should moderator LLMs decide which speakers to query per topic?
- Does transformer attention architecture fundamentally prevent topic-aware memory?
- Can transformer attention patterns actually prevent topic context loss in practice?