mlsanityData to 7 Oct 2026

Context-Agent: Dynamic Discourse Trees for Non-Linear Dialogue

arXiv 2604.05552 ↗First posted 7 Apr 2026cs.CL cs.AIcited by 1

On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks

Abstract (arXiv)

Large Language Models demonstrate outstanding performance in many language tasks but still face fundamental challenges in managing the non-linear flow of human conversation. The prevalent approach of treating dialogue history as a flat, linear sequence is misaligned with the intrinsically hierarchical and branching structure of natural discourse, leading to inefficient context utilization and a loss of coherence during extended interactions involving topic shifts or instruction refinements. To address this limitation, we introduce Context-Agent, a novel framework that models multi-turn dialogue history as a dynamic tree structure. This approach mirrors the inherent non-linearity of conversation, enabling the model to maintain and navigate multiple dialogue branches corresponding to different topics. Furthermore, to facilitate robust evaluation, we introduce the Non-linear Task Multi-turn Dialogue (NTM) benchmark, specifically designed to assess model performance in long-horizon, non-linear scenarios. Our experiments demonstrate that Context-Agent enhances task completion rates and improves token efficiency across various LLMs, underscoring the value of structured context management for complex, dynamic dialogues. The dataset and code is available at GitHub.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 18 of its 30 references that are in the map. First posted on arXiv 7 Apr 2026.

Builds on

18 of 30 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains17 Jun
  2. 2023A Survey on Large Language Model based Autonomous Agents22 Aug

Other references · 16

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  3. 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,096
  4. 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 519
  5. 2025LLMs Get Lost In Multi-Turn Conversationcited by 400
  6. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 302
  7. 2024MT-Bench-101: A Fine-Grained Benchmark for Evaluating Large Language Models in Multi-Turn Dialoguescited by 247
  8. 2025MultiChallenge: A Realistic Multi-Turn Conversation Evaluation Benchmark Challenging to Frontier LLMscited by 171
  9. 2021TopiOCQA: Open-domain Conversational Question Answering with Topic Switchingcited by 95
  10. 2024From Isolated Conversations to Hierarchical Schemas: Dynamic Tree Memory Representation for LLMscited by 77
  11. 2024Sufficient Context: A New Lens on Retrieval Augmented Generation Systemscited by 69
  12. 2021Distilling Linguistic Context for Language Model Compressioncited by 33
4 more
  1. 2026ExpSeek: Self-Triggered Experience Seeking for Web Agentscited by 23
  2. 2025DH-RAG: A Dynamic Historical Context-Powered Retrieval-Augmented Generation Method for Multi-Turn Dialoguecited by 10
  3. 2024Context-Driven Index Trimming: A Data Quality Perspective to Enhancing Precision of RALMscited by 5
  4. 2026RLPO: Residual Listwise Preference Optimization for Long-Context Review Rankingcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026ACR: Adaptive Context Refactoring via Context Refactoring Operators for Multi-Turn Dialogue
  2. 2024Evaluating Very Long-Term Conversational Memory of LLM Agents
  3. 2025ToolACE-MT: Non-Autoregressive Generation for Agentic Multi-Turn Interaction
  4. 2025D-SMART: Enhancing LLM Dialogue Consistency via Dynamic Structured Memory And Reasoning Tree
  5. 2024Large Language Models as User-Agents for Evaluating Task-Oriented-Dialogue Systems
  6. 2025A Survey on Multi-Turn Interaction Capabilities of Large Language Models
  7. 2024DEMO: Reframing Dialogue Interaction with Fine-grained Element Modeling
  8. 2026Context-Driven Incremental Compression for Multi-Turn Dialogue Generation