Multi-party memory research

SpeakerMem-R1

Speaker-Centered Dual-Track Memory
for Multi-Party Dialogue

Haobo ZhengTan TangYan ChenWeijie WangYingcai Wu

State Key Lab of CAD&CG, Zhejiang University Corresponding author

SpeakerMem-R1 stores speaker-labeled messages verbatim and organizes derived states by person and group. At query time, it combines evidence from both tracks by participant, event, and time, preserving attribution and state changes in multi-party dialogue.

Verbatim evidenceStructured statesLocal Writer-R1
Architecture01
Verbatim messages stay traceable.Derived states retain provenance.
64.9%SocialMemBench
binary accuracy
47.9%GroupMemBench
binary accuracy
61.9%EverMemBench
binary accuracy
95.4%of the LLM writer
controlled Writer result

01 / The problem

Attribution and state reconstruction
in multi-party dialogue

Relevance alone cannot answer a relational question. A useful memory must preserve who spoke, whom a statement concerns, whether it belongs to a person or the group, and which state is current.

Who said what is different from what is true about whom.

01

Attribution

Separate source from owner so a report about Bob does not become Bob’s self-report.

02

Scope

Keep personal preferences, cross-person observations, group decisions, and group norms distinct.

03

State reconstruction

Follow updates across interleaved members, events, and time without erasing the evidence trail.

02 / The method

Speaker-centered memory,
two complementary tracks

SpeakerMem-R1 separates memory construction from query-time evidence selection. The Writer, retrieval procedure, and frozen answerer remain explicit and inspectable.

01

Write

Store every incoming message verbatim, then let the Writer add only derived records that help retrieval by person, relationship, event, and time.

02

Project

Turn a question into target rows, issue, mode, and PERSON/GROUP scope before searching either track.

03

Select + resolve

Recall System 1 candidates, optionally expand neighboring messages, select System 2 records under owner/source constraints, and organize a compact evidence set.

04

Compose

Give the frozen answerer the resolved evidence, preserving the source coordinates needed for a checkable answer.

SYSTEM 01Verbatim

Raw messages

Speaker, time, channel, exact wording, and local context remain available as the factual anchor.

SYSTEM 02Derived

Structured states

The Writer creates compact records with owner/source fields, PERSON/GROUP scope, action type, and provenance links to the verbatim track.

Query-time contract

Anchor → Separate → Resolve → Compose

System 1 recall-n defaults to 40 before the final top-k=10; System 2 uses owner-k=2 and source-k=1 in the main evaluation, with query and answer modules frozen for Writer comparisons.

40default S1 recall-ntop-k 10 · S2 2 / source 1
Five memory layersWriter contract
TrackScopeLayerDefinition and use
System 1PERSONEpisodicVerbatim message, speaker, time, channel
System 2PERSONCoreStable identity, facts, stances, recurring behavior
PERSONProfileObservations or beliefs about a person
GROUPInteractionCross-speaker events, relations, decisions
GROUPInsightGroup norms, consensus, and exceptions

03 / Writer-R1

Reinforcement learning
for a locally deployable Writer

RL trains the Qwen2.5-3B Writer while System 1 writing, query organization, and answering remain frozen. The controlled study tests whether a locally deployable Writer can approach the LLM writer reference under the same memory contract.

10 held-out SocialMem networks305 questions
SFT57.38%Qwen2.5-3B · epoch 10
Writer-R168.20%30 steps · +10.82 pp
LLM writer71.48%DeepSeek-V4-Flash
95.4%of the LLM writer accuracy
Signal

SpeakerLevenshtein matches structured states within owner buckets, combining token overlap and sequence matching.

Data

The training list contains 15 complete networks, 73 Writer segments, 89 terminal QA items, and 452 supervised actions.

Scope

The controlled result evaluates a locally deployable Writer under a frozen query and answer pipeline; it does not establish broad cross-domain RL generalization.

04 / Results

Evaluation across
long-term dialogue benchmarks

Results on GroupMemBench, SocialMemBench, and EverMemBench evaluate multi-party memory. The public EverMemBench comparison and a two-person LoCoMo boundary test provide complementary evaluations.

Main benchmarks · model
Acc.: GPT-4o-mini judge · token-F1 direct
Protocol: official code, recommended configuration, and official prompt per method; common data, metrics, judge, and evaluation interface.Full context: feasible only on SocialMemBench.

05 / See the memory in action

From conversation to memory
and retrieved evidence

These short illustrative conversations make the paper's design choices concrete: source versus owner, personal versus group scope, and updates that preserve history.

Conversation
Query

Composed answer

Memory & retrieval trace Scroll to explore ↓

Illustrative examples follow the memory contract described in the paper; they are not additional benchmark samples.

06 / Supplement

Ablations and
additional analyses

Controlled Writer comparisons, retrieval-budget sensitivity, category-level results, and token accounting examine the contributions and limitations of the design.

Controlled Writer table10 held-out networks · 305 questions+

With the query and answer modules frozen, Writer-R1 reaches 68.20% on 305 held-out questions, compared with 57.38% for SFT and 71.48% for the LLM writer. This controlled comparison measures the usefulness of the RL-trained local Writer under the deployment configuration.

Dual-track and hierarchy ablationsSame top-k and source budgets+

The ablation table uses the DeepSeek-V4-Flash main configuration and the default query budgets. Removing either track reduces accuracy across the three benchmarks. Keeping only the per-speaker or group view also loses performance, showing that raw messages and the two structured scopes provide complementary evidence. ASK changes the balance across benchmarks, so both the no-ASK row and the complete system are retained.

Retrieval top-k sensitivity9 settings · held-out eval10+
Top-k sensitivity curvesTop-k sensitivity grid

Across the nine no-ASK settings, S1 top-k=20 and S2 k=4 gives the highest observed Acc (73.11%) and token-F1 (26.53%). Increasing S2 beyond four can add redundant structured records, while the main experiments keep the more economical S1 top-k=10, S2 k=2, source-k=1 configuration.

Category diagnosticsAccuracies and token-F1+

The five challenge dimensions are an analysis framework mapped from official question requirements and recurring error patterns; they are not independently human-annotated labels.

The category tables keep the official benchmark categories as the quantitative units. The weaker term-ambiguity, multi-hop, and open-domain entries expose where attribution, event disambiguation, and cross-evidence composition remain difficult.

GroupMemBench · DeepSeek-V4-Flash · accuracy
SocialMemBench · DeepSeek-V4-Flash · accuracy
GroupMemBench · DeepSeek-V4-Flash · token-F1
SocialMemBench · DeepSeek-V4-Flash · token-F1
Cross-model category resultsGPT-5.6-luna configuration+

Changing the model used for memory construction, retrieval-time interpretation, and answer generation changes absolute scores but preserves the same evaluation interface and query budgets. This is a cross-model robustness check, not a separate training setting.

GroupMemBench accuracy
SocialMemBench accuracy
Token accountingIngestion, QA, answer, total+

Totals count prompts, messages, memories, and answers processed at each stage; judge calls are excluded. SpeakerMem uses session-level ingestion on SocialMemBench and Window25 on GroupMemBench/EverMemBench. Mem0, A-MEM, and HippoRAG use chunk5.

Ingestion dominates the memory systems that repeatedly rewrite message chunks. SpeakerMem avoids one call per message by writing a window or session at a time, while BM25 and local Embed have no LLM ingestion stage in this accounting.

SocialMemBench
GroupMemBench
EverMemBench
LoCoMo category breakdownTwo-person boundary test+

SpeakerMem-R1 reaches 70.85% overall (1,407/1,986). Single-hop and temporal recall remain stronger than multi-hop and open-domain questions, which expose the current boundary of the system on cross-segment composition and external knowledge.

07 / Resources

Paper and resources

Read the paper on arXiv, explore the code and research figures, or copy the citation below.