MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agent
Paper • 2507.02259 • Published • 5
context stringlengths 19.5k 50.7k | input stringlengths 26 599 | num_docs int64 50 80 | index int64 2 3.45k | answers listlengths 1 1 |
|---|---|---|---|---|
Document 1:
Operation (game)
Operation is a battery-operated game of physical skill that tests players' hand-eye coordination and fine motor skills. The game's prototype was invented in 1964 by John Spinello, a University of Illinois industrial design student at the time, who sold his rights to the game to Milton Bradl... | Musician and satirist Allie Goertz wrote a song about the "The Simpsons" character Milhouse, who Matt Groening named after who? | 60 | 2 | [
"President Richard Nixon"
] |
Document 1:
Cadmium chloride
Cadmium chloride is a white crystalline compound of cadmium and chlorine, with the formula CdCl. It is a hygroscopic solid that is highly soluble in water and slightly soluble in alcohol. Although it is considered to be ionic, it has considerable covalent character to its bonding. The cryst... | Cadmium Chloride is slightly soluble in this chemical, it is also called what? | 70 | 4 | [
"alcohol"
] |
Document 1:
India
India, officially the Republic of India ("Bhārat Gaṇarājya"), is a country in South Asia. It is the seventh-largest country by area, the second-most populous country (with over 1.2 billion people), and the most populous democracy in the world. It is bounded by the Indian Ocean on the south, the Arabia... | Which genus of moth in the world's seventh-largest country contains only one species? | 50 | 6 | [
"Crambidae"
] |
Document 1:
Itapecerica da Serra
Itapecerica da Serra is a municipality in the state of São Paulo in Brazil. It is part of the Metropolitan Region of São Paulo. The population is 167,236 (2015 est.) in an area of 150.74 km². It is located 23 miles southwest of São Paulo and at an altitude of 920m above sea level. The n... | Who was once considered the best kick boxer in the world, however he has been involved in a number of controversies relating to his "unsportsmanlike conducts" in the sport and crimes of violence outside of the ring. | 60 | 7 | [
"Badr Hari"
] |
Document 1:
House of Anubis
House of Anubis is a mystery television series developed for Nickelodeon based on the Dutch-Belgian television series "Het Huis Anubis". The series was created by Hans Bourlon and Gert Verhulst and premiered on Nickelodeon on 1 January 2011 in the United States and on 25 February 2011 in the... | The Dutch-Belgian television series that "House of Anubis" was based on first aired in what year? | 70 | 8 | [
"2006"
] |
"Document 1:\nMount Panorama Circuit\nMount Panorama Circuit is a motor racing track located in Bath(...TRUNCATED) | What is the length of the track where the 2013 Liqui Moly Bathurst 12 Hour was staged? | 60 | 9 | [
"6.213 km long"
] |
"Document 1:\nLights Out Paris\nLights Out Paris is the first studio album by American hip hop artis(...TRUNCATED) | Fast Cars, Danger, Fire and Knives includes guest appearances from which hip hop record executive? | 60 | 10 | [
"Jaime Meline"
] |
"Document 1:\nJacques Brautbar\nJacques Brautbar (born March 14, 1979 in Los Angeles, California) is(...TRUNCATED) | Gunmen from Laredo starred which narrator of "Frontier"? | 70 | 11 | [
"Walter Darwin Coy"
] |
"Document 1:\nLewes Martyrs\nThe Lewes Martyrs were a group of 17 Protestants who were burned at the(...TRUNCATED) | Where did the form of music played by Die Rhöner Säuwäntzt originate? | 50 | 12 | [
"United States"
] |
"Document 1:\nBug (1975 film)\nBug is a 1975 American horror film in Panavision, directed by Jeannot(...TRUNCATED) | What U.S Highway gives access to Zilpo Road, and is also known as Midland Trail? | 80 | 14 | [
"US 60"
] |
This repository provides a lightweight, derivative release of data used in MemFactory.
To evaluate the effectiveness of MemFactory, we reuse and adapt data from the upstream dataset:
This repository includes four JSON files:
eval_50.jsoneval_100.jsoneval_fwe_16384.jsonconverted_hotpotqa_2000.jsonconverted_hotpotqa_2000.json is a locally adapted version of the upstream training data, modified for MemFactory experiments.For full dataset context, please refer to the upstream release:
eval_fwe_16384.json follows a different schema from the QA-style files.This repository is released under CC BY-SA 4.0.
Reason:
converted_hotpotqa_2000.json is an adapted derivative and must preserve share-alike terms.If you use or redistribute this repository:
from datasets import load_dataset
eval_50 = load_dataset("nworats/MemFactory", "eval_50", split="train")
eval_100 = load_dataset("nworats/MemFactory", "eval_100", split="train")
train_converted = load_dataset("nworats/MemFactory", "converted_hotpotqa_2000", split="train")
eval_fwe_16384 = load_dataset("nworats/MemFactory", "eval_fwe_16384", split="train")
If you use this dataset, please cite:
(Placeholder – replace with your paper when available)
@article{memfactory2025,
title={MemFactory: [Your Subtitle Here]},
author={Your Name et al.},
journal={arXiv preprint arXiv:XXXX.XXXXX},
year={2025}
}
@article{yu2025memagent,
title={MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agent},
author={Yu, Hongli and others},
journal={arXiv preprint arXiv:2507.02259},
year={2025}
}