atlas

Research map / Reinforcement learning / Visual and representation RL

Stable Hadamard Memory: Revitalizing Memory-Augmented Agents for Reinforcement Learning

ICLR 2025 · Reinforcement learning › Visual and representation RL · approach: In-context and adaptive RL · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Stable Hadamard Memory (SHM), a Hadamard-product memory writing model with input-conditioned calibration matrices built from randomly sampled trainable parameters, and reports gains over GRU, FFM and other memory models on meta-RL, credit assignment and POPGym.

Problem

Memory writing in memory-augmented agents for partially observable, long-horizon RL is unstable (gradient explosion/vanishing) and inefficient, and existing matrix memories lack flexible forgetting and recall.

Approach

Unifies memory writing as M_t = M_{t-1} ⊙ C_t + U_t (Hadamard Memory Framework) and sets C_t = 1 + tanh(θ_t ⊗ v_c(x_t)) with θ_t randomly sampled from a learnable set, so calibration is input-conditioned and its cumulative product has expectation near 1, reducing vanishing/exploding behavior.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Random θₜ calibration instead of the alternative calibration designs (ablation)SHM · Autoencode-Easyepisode return: at least a 30% improvementHelped
Set C=1 (remove calibration) (ablation)SHM · Autoencode-Easyepisode returnHurt
Use random calibration matrices sampled from a normal distribution (Random C) (ablation)SHM · Autoencode-Easyepisode returnHurt
Use a fixed learned calibration matrix (Fixed C) (ablation)SHM · Autoencode-Easyepisode returnHurt
Use fixed θₜ rather than randomly selecting θₜ (ablation)SHM · Autoencode-Easyepisode returnHurt
Generate θₜ from a feedforward neural network (Neural θₜ) (ablation)SHM · Autoencode-Easyepisode returnHurt
Increase memory size H (ablation)SHM · Autoencode-Easy and Battleship-Easyepisode returnHelped
Increase memory size H (ablation)GRU · Autoencode-Easyepisode returnNo clear effect
Use SHM instead of GRUPOPGym · Average-Allepisode return (×100): -28.4$\pm$1.3 -> -5.1$\pm$6.3Helped
Use SHM instead of FFMPOPGym · Average-Allepisode return (×100): -24.2$\pm$1.2 -> -5.1$\pm$6.3Helped
Use SHM instead of FFMVisual Match · 250-step and 500-step configurationssuccess rate: 77% and 25%Helped
Use SHM instead of the other memory baselinesSHM · Meta-RL Wind and Point Robot, easy mode (50-150)success rate: 20-50%Helped

Surprising findings

Limitations

Experimental setup

Datasets: Wind Point Robot Visual Match Key-to-Door POPGym Autoencode POPGym Battleship POPGym Concentration POPGym RepeatPrevious

Benchmarks: Wind Point Robot Visual Match Key-to-Door POPGym

Metrics: success rate episode return

Baselines: GRU FWP GPT-2 S6 mLSTM FFM

Builds on: Neural Turing Machine Differentiable Neural Computer Fast Weight Programmers Fast and Forgetful Memory POPGym

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy