Manuscript Offprint

arXiv:2610.19836

EGCForest: Structured Agent Memory Organization for Enterprise Group Chats

Lingxi Cui, Jinhao Ruan, Wenqing Wei, Guo Yi, Li Rao, Ke Chen, Lidan Shou

Abstract

Enterprise group chats record project progress, decisions, task ownership, and other organizational information valuable to enterprise agents. Reliable retrieval is challenging because evidence spans interleaved threads, channels, and time, with meaning and authority conditioned on the speaker. Neither RAG's independent chunk retrieval nor memory systems' summary-based consolidation can reliably recover such distributed evidence. We present EGCForest, a novel multi-view hierarchical memory framework for enterprise group chats. EGCForest organizes an immutable message log into three complementary forests: a Channel forest for temporal workflows, an Actor forest for speaker-conditioned context, and an Artifact forest for deliverable lifecycles. Cross-view connections are enabled by a Placement Map and sparse structural bridges. Built on this memory backbone, EGCForest retrieves and assembles evidence by jointly leveraging message-level relevance, hierarchical context from forest summaries, and cross-view links, recovering distributed evidence. Experiments on three enterprise-chat benchmarks show that EGCForest consistently outperforms RAG and memory-system baselines, improving answer accuracy by up to 20.85 points over MemOS while supporting efficient online retrieval. The code is available at https://anonymous.4open.science/r/EGCForest-MAD12/.

1 Introduction

Enterprise group chats have become the default medium for daily collaboration inside modern organizations (Yang et al., 2026). Beyond casual exchanges, they carry a substantial amount of task-related knowledge such as project progress, ownership assignments, and design rationales. Recent progress in agent systems has raised the demand for reliable enterprise knowledge sources (Sun et al., 2026), and group-chat logs provide large-scale,

Figure

Figure 1: Enterprise group chats contain valuable organizational knowledge, but deploying them as reliable agent memory is challenging.

fine-grained evidence of organizational activity. Existing research on group chats, in contrast, has largely focused on participating in the conversation (Sapkota et al., 2025), for instance predicting the next speaker, recognizing the addressee, or disentangling interleaved threads, rather than on extracting the organizational knowledge that these conversations contain. Turning raw chat logs into an external memory that an agent can query accurately, with traceable evidence back to the original messages, therefore remains an open problem.

Two properties of enterprise group chats make this task particularly challenging. First, reliable memory for enterprise group chats must preserve their multi-level conversational structure. Messages are temporally ordered, but topics interleave within channels, reply chains mix substantive and tangential exchanges, and decision evidence may span multiple threads, channels, and time periods. As shown in Figure 1, answering an artifact-status question requires tracing its lifecycle across two channels and four participants. Retrieval-augmented generation (RAG) systems typically treat messages as independent chunks, favoring locally similar matches while missing the full evidence chain (Karpukhin et al., 2020). Memory systems instead compress chats into facts or summaries, obscuring or conflating evidence from distinct threads and decisions (Chhikara et al., 2025).

Second, capturing speaker-conditioned semantics is challenging yet essential in enterprise group chats. Unlike dyadic conversations, single-user agent interactions, or participant-agnostic documents, group-chat participants' roles, responsibilities, and task relations shape message interpretation. The same claim may carry different authority across speakers (e.g., a project owner versus an intern), while teams may refer to the same artifact differently. RAG systems typically represent messages as plain text and use speaker identity only as a metadata filter, thereby overlooking speaker-conditioned meaning and evidential relevance (Maharana et al., 2024). Memory systems often encode identity as a namespace or auxiliary tag, which can similarly conflate claims from participants with different responsibilities (Packer et al., 2023).

We address both challenges with EGCForest, a structured external memory organized as three complementary forests over a shared message log. The Channel forest partitions each group chat into hierarchical temporal intervals, preserving local context and topic evolution. The Actor forest centers each participant, with separate branches for messages authored by that participant and messages that mention them, making identity a first-class semantic axis rather than a passive metadata field. The Artifact forest organizes messages around deliverables and represents their lifecycle across group chats. These forests are explicitly interconnected. When a message appears in multiple forests, a Placement Map links its view-specific placements to a single immutable log entry, enabling direct cross-view correspondence without content duplication. EGCForest further adds sparse Bridges that connect distinct messages through native reply links and shared salient identifiers. Built on this backbone, a four-stage retrieval pipeline combines view-aware leaf recall, summary-guided supplementation, structural completion, and budget-aware assembly.

Contributions. We make the following contributions: (1) A novel memory framework. We propose EGCForest, a structured memory framework featuring three complementary forests to organize scattered knowledge from enterprise group chats while preserving conversational structure, speaker context, and traceability to original messages. (2) Three-view forest architecture. We construct complementary Channel, Actor, and Artifact forests that capture temporal workflow, speaker-conditioned context, and artifact lifecycles, respectively, with a Placement Map and sparse Bridges enabling efficient cross-view navigation. (3) Structure-aware evidence retrieval. We combine view-aware tree routing and evidence expansion through summaries and cross-view links to recover distributed evidence. (4) Empirical validation. Across three benchmarks, EGCForest delivers consistent improvements over strong RAG and memory-system baselines, outperforming MemOS by up to 20.85 points.