RPMem reproduction and bounded memory writers
These are independently trained research checkpoints for three English cross-session memory benchmarks. A shared session compiler builds a latent representation of each new session. A benchmark-specific recurrent writer updates the state, and the compiler's decoder generates LoRA factors for the frozen Qwen3-8B reader. Inference uses the Memory-compaction implementation together with RPMem.
The code repository is private and requires separate GitHub collaborator access. This public Hub repository provides the trained tensors and their configuration.
Which files to download
- Download
compiler/once. It contains the trained Perceiver resampler and LoRA decoder from the final 51,885-update Fixed-FKL run. - For one benchmark, download one matching directory in
writers/<method>/<benchmark>/. Usevaluefor the primary bounded event writer,retentionfor the equal-parameter gate-logit ablation, orstockfor our RPMem reproduction. - For PERMA, select
writers/<method>/perma/<variant>/user_<held_out_user>/. Each of the four benchmark variants has ten independently trained leave-one-user-out gates. Always use the gate that held out the evaluated user. PrefEval and PersonaMem-v2 each use one gate. - The public backbone and context encoder revisions are pinned in
manifest.json. Download them from their original repositories with their respective licenses: Qwen3-8B and ModernBERT-base.
The gate checkpoints share the gate_zero_state first-session convention. Their config files record the paired source compiler hash. The compiler's general architecture config preserves the upstream default, while evaluation follows the writer checkpoint's convention. The safetensors files contain floating-point tensors with their original dtypes. Every exported tensor was compared byte for byte to the checkpoint used for evaluation. The manifest contains source and exported SHA-256 values for all 127 checkpoints.
Training and evaluation
The compiler was trained on the RPMem prepared corpus using 664,128 training sessions, eight prompts per session, a global batch of 64, and five passes. Writer adaptation uses the native benchmark training splits, downstream objectives and frozen compiler, context encoder and reader. The two modified writers each add 49,184 trainable parameters to the 524,800-parameter linear gate. All three methods use the same frozen compiler.
| Accuracy (%) | Stock | Bounded event (value) |
Bounded retention (retention) |
|---|---|---|---|
| PrefEval, 1,620 instances | 71.23 | 73.21 | 69.26 |
| PersonaMem-v2 32K-Text, 5,000 questions | 37.92 | 41.02 | 37.28 |
| PERMA core, four settings and 40 folds | 85.08 | 89.20 | 84.83 |
PERMA first averages accuracy across held-out users within each variant, then averages the four variant scores. These are fixed-final-checkpoint, single-training-seed measurements. PrefEval's gain is concentrated at a short history interval. The supervised labels used for adaptation are specific to each benchmark. This release covers cross-session question answering. A new task can require a new writer, and these scores do not establish gains in open-ended tool execution.
Dataset preparation and benchmark evaluation follow the upstream documentation. This bundle distributes model parameters and portable configuration. Obtain benchmark inputs and model dependencies from their maintainers. See the original RPMem paper and cite upstream models and datasets when using the benchmarks.
Source terms
The frozen reader and context encoder are distributed separately by their publishers. The training corpus combines sources under different terms, listed in the RPMem data source manifest. PrefEval uses CC BY-NC 4.0, PersonaMem-v2 uses CC BY 4.0, and PERMA uses Apache 2.0. These are the original data licenses. The download contains our learned tensors and configs, without the source histories, teacher outputs, optimizer state, or frozen backbone weights.