Evaluating Very Long-Term Conversational Memory of LLM Agents
Paper • 2402.17753 • Published • 21
sample_id stringclasses 10
values | qa stringclasses 10
values | conversation stringclasses 10
values | event_summary stringclasses 10
values | observation stringclasses 10
values | session_summary stringclasses 10
values |
|---|---|---|---|---|---|
conv-26 | [{"question": "When did Caroline go to the LGBTQ support group?", "answer": "7 May 2023", "evidence": ["D1:3"], "category": 2}, {"question": "When did Melanie paint a sunrise?", "answer": 2022, "evidence": ["D1:12"], "category": 2}, {"question": "What fields would Caroline be likely to pursue in her educaton?", "answer... | {"speaker_a": "Caroline", "speaker_b": "Melanie", "session_1_date_time": "1:56 pm on 8 May, 2023", "session_1": [{"speaker": "Caroline", "dia_id": "D1:1", "text": "Hey Mel! Good to see you! How have you been?"}, {"speaker": "Melanie", "dia_id": "D1:2", "text": "Hey Caroline! Good to see you! I'm swamped with the kids &... | {"events_session_1": {"Caroline": ["Caroline attends an LGBTQ support group for the first time."], "Melanie": [], "date": "8 May, 2023"}, "events_session_2": {"Caroline": ["Caroline is inspired by her supportive friends and mentors to start researching adoption agencies."], "Melanie": [], "date": "25 May, 2023"}, "even... | {"session_1_observation": {"Caroline": [["Caroline attended an LGBTQ support group recently and found the transgender stories inspiring.", "D1:3"], ["The support group has made Caroline feel accepted and given her courage to embrace herself.", "D1:7"], ["Caroline is planning to continue her education and explore career... | {"session_1_summary": "Caroline and Melanie had a conversation on 8 May 2023 at 1:56 pm. Caroline mentioned that she attended an LGBTQ support group and was inspired by the transgender stories she heard. The support group made her feel accepted and gave her the courage to embrace herself. Caroline plans to continue her... |
conv-30 | "[{\"question\": \"When Jon has lost his job as a banker?\", \"answer\": \"19 January, 2023\", \"evi(...TRUNCATED) | "{\"speaker_a\": \"Jon\", \"speaker_b\": \"Gina\", \"session_1_date_time\": \"4:04 pm on 20 January,(...TRUNCATED) | "{\"events_session_1\": {\"Jon\": [\"Jon loses his job as a banker.\", \"Jon begins planning for his(...TRUNCATED) | "{\"session_1_observation\": {\"Gina\": [[\"Gina lost her job at Door Dash during the month of the c(...TRUNCATED) | "{\"session_1_summary\": \"Gina and Jon met at 4:04 pm on 20 January, 2023. Jon lost his job as a ba(...TRUNCATED) |
conv-41 | "[{\"question\": \"Who did Maria have dinner with on May 3, 2023?\", \"answer\": \"her mother\", \"e(...TRUNCATED) | "{\"speaker_a\": \"John\", \"speaker_b\": \"Maria\", \"session_1_date_time\": \"11:01 am on 17 Decem(...TRUNCATED) | "{\"events_session_1\": {\"John\": [\"John, his wife and their four kids, take a road trip together.(...TRUNCATED) | "{\"session_1_observation\": {\"Maria\": [[\"Maria volunteers at a homeless shelter and recently sta(...TRUNCATED) | "{\"session_1_summary\": \"Maria and John met at 11:01 am on 17 December, 2022. Maria mentioned she (...TRUNCATED) |
conv-42 | "[{\"question\": \"Is it likely that Nate has friends besides Joanna?\", \"answer\": \"Yesteammates (...TRUNCATED) | "{\"speaker_a\": \"Joanna\", \"speaker_b\": \"Nate\", \"session_1_date_time\": \"7:31 pm on 21 Janua(...TRUNCATED) | "{\"events_session_1\": {\"Joanna\": [], \"Nate\": [\"Global Offensive with a team.\"], \"date\": \"(...TRUNCATED) | "{\"session_1_observation\": {\"Nate\": [[\"Nate won his first video game tournament playing a team (...TRUNCATED) | "{\"session_1_summary\": \"Nate and Joanna caught up at 7:31 pm on 21 January, 2022. Nate won his fi(...TRUNCATED) |
conv-43 | "[{\"question\": \"what are John's goals with regards to his basketball career?\", \"answer\": \"imp(...TRUNCATED) | "{\"speaker_a\": \"Tim\", \"speaker_b\": \"John\", \"session_1_date_time\": \"7:48 pm on 21 May, 202(...TRUNCATED) | "{\"events_session_1\": {\"Tim\": [\"Tim contacts his Harry Potter fan friend to discuss potential c(...TRUNCATED) | "{\"session_1_observation\": {\"John\": [[\"John signed with the Minnesota Wolves for the upcoming s(...TRUNCATED) | "{\"session_1_summary\": \"John and Tim had a conversation at 7:48 pm on 21 May, 2023. Tim is workin(...TRUNCATED) |
conv-44 | "[{\"question\": \"Which year did Audrey adopt the first three of her dogs?\", \"answer\": \"2020\",(...TRUNCATED) | "{\"speaker_a\": \"Audrey\", \"speaker_b\": \"Andrew\", \"session_1_date_time\": \"1:10 pm on 27 Mar(...TRUNCATED) | "{\"events_session_1\": {\"Audrey\": [\"Audrey purchases three collars and tags for her dogs Pepper,(...TRUNCATED) | "{\"session_1_observation\": {\"Audrey\": [[\"Audrey got new collars and tags for her dogs.\", \"D1:(...TRUNCATED) | "{\"session_1_summary\": \"At 1:10 pm on 27 March 2023, Audrey and Andrew caught up. Andrew shared a(...TRUNCATED) |
conv-47 | "[{\"question\": \"What are John's suspected health problems?\", \"answer\": \"Obesity\", \"evidence(...TRUNCATED) | "{\"speaker_a\": \"James\", \"speaker_b\": \"John\", \"session_1_date_time\": \"3:47 pm on 17 March,(...TRUNCATED) | "{\"events_session_1\": {\"James\": [\"creating a game and telling a story through it.\", \"James pr(...TRUNCATED) | "{\"session_1_observation\": {\"John\": [[\"John signed up for a programming class to refresh his sk(...TRUNCATED) | "{\"session_1_summary\": \"John and James spoke at 3:47 pm on 17th March 2022. John asked James abou(...TRUNCATED) |
conv-48 | "[{\"question\": \"What kind of project was Jolene working on in the beginning of January 2023?\", \(...TRUNCATED) | "{\"speaker_a\": \"Deborah\", \"speaker_b\": \"Jolene\", \"session_1_date_time\": \"4:06 pm on 23 Ja(...TRUNCATED) | "{\"events_session_1\": {\"Deborah\": [\"Deborah visits her mother's old home while reflecting on he(...TRUNCATED) | "{\"session_1_observation\": {\"Deborah\": [[\"Deborah finished an electrical engineering project la(...TRUNCATED) | "{\"session_1_summary\": \"Deborah and Jolene met at 4:06 pm on 23 January, 2023. They discussed the(...TRUNCATED) |
conv-49 | "[{\"question\": \"What kind of car does Evan drive?\", \"answer\": \"Prius\", \"evidence\": [\"D1:2(...TRUNCATED) | "{\"speaker_a\": \"Evan\", \"speaker_b\": \"Sam\", \"session_1_date_time\": \"1:47 pm on 18 May, 202(...TRUNCATED) | "{\"events_session_1\": {\"Evan\": [\"Evan buys a new Prius after he repairs and sells his old Prius(...TRUNCATED) | "{\"session_1_observation\": {\"Sam\": [[\"Sam went hiking with his dad when he was ten, which was a(...TRUNCATED) | "{\"session_1_summary\": \"Sam and Evan met at 1:47 pm on 18 May, 2023. Evan mentioned his recent tr(...TRUNCATED) |
conv-50 | "[{\"question\": \"When did Calvin first travel to Tokyo?\", \"answer\": \"between 26 March and 20 A(...TRUNCATED) | "{\"speaker_a\": \"Calvin\", \"speaker_b\": \"Dave\", \"session_1_date_time\": \"11:53 am on 23 Marc(...TRUNCATED) | "{\"events_session_1\": {\"Calvin\": [\"Calvin purchases a mansion in Japan and plans to stay there (...TRUNCATED) | "{\"session_1_observation\": {\"Calvin\": [[\"Calvin recently had a big life change and now has a ne(...TRUNCATED) | "{\"session_1_summary\": \"Calvin and Dave met at 11:53 am on 23 March, 2023. Dave attended a car ev(...TRUNCATED) |
Mirror of the LoCoMo benchmark (CC BY-NC 4.0), converted to parquet for direct load_dataset use. Content is identical to the original.
10 multi-session conversations (two speakers, up to 32 sessions, ~5,900 turns with timestamps), annotated with 1,986 QA pairs across five categories of memory ability:
| Category | Count | Ability Tested |
|---|---|---|
| 1 single-hop | 282 | Single-hop fact recall |
| 2 temporal | 321 | Temporal reasoning |
| 3 multi-hop | 96 | Multi-hop reasoning across sessions |
| 4 open-ended | 841 | Open-ended synthesis |
| 5 adversarial | 446 | Adversarial (questions about events that never happened) |
Each row is one conversation sample:
| Field | Type | Description |
|---|---|---|
sample_id |
string | Conversation id, e.g. conv-26 |
qa |
string (JSON) | List of QA pairs |
conversation |
string (JSON) | Structured conversation |
event_summary |
string (JSON) | Per-session event summaries |
observation |
string (JSON) | Per-session observations |
session_summary |
string (JSON) | Per-session summaries |
The structured fields are stored as JSON strings (byte-equivalent to the original file); decode them with json.loads after loading.
Note: category-5 adversarial questions have no answer field — their ground truth lives in adversarial_answer.
import json
from datasets import load_dataset
ds = load_dataset("CodyTonn/LoCoMo", split="train")
sample = ds[0]
conversation = json.loads(sample["conversation"])
qa_pairs = json.loads(sample["qa"])
for q in qa_pairs:
answer = q.get("answer", q.get("adversarial_answer")) # adversarial questions fall back to adversarial_answer
@article{maharana2024evaluating,
title = {Evaluating Very Long-Term Conversational Memory of LLM Agents},
author = {Maharana, Ady and Lee, Dong-Ho and Turek, Sergey and Bansal, Mohit},
journal = {arXiv preprint arXiv:2402.17753},
year = {2024}
}