Skip to content

Elapsed-Time Memory Decay

A recurrent-model update that uses elapsed time to contract carried state or stale input toward a target before incorporating the next observation.

Version
v1 · 2026-10-03 · History
Domain-specific #
13181

Core Idea

Elapsed-time memory decay is a recurrent-model operation: measure the interval since an observation or event, use that interval to move carried state or stale input toward a target, and incorporate the next observation through the adjusted value. GRU-D and Neural Hawkes implement this with different states, targets and timing conventions. “Decay” means shrinking departure from the target; the raw state or output need not fall, and no universal real-world forgetting law is asserted.[1][2]

How would you explain it like I'm…

Drifting-Back Memory

Imagine you peeked at the weather an hour ago, but now you can't look. The longer it's been since you peeked, the more your guess should slide back toward 'what the weather is usually like.' A computer can do this too: it lets old news drift toward a chosen 'usual' before it hears something new.

Time-Gap Memory Nudge

Some computer programs read things that happen one after another, like a patient's check-ups. They keep a 'memory' of what they've seen so far. With Elapsed-Time Memory Decay, the program first measures how long it's been since the last check-up. The longer the gap, the more it nudges its old memory toward a chosen 'usual' value before adding the new information. Sometimes that nudge makes a number go up, not down, because it's heading toward the target, not toward zero.

Gap-Driven Pull Toward Target

Recurrent neural networks process sequences while carrying a hidden state, a summary of what they have seen so far. Elapsed-Time Memory Decay measures the time since the last observation or event and uses that interval to pull the hidden state, or a stale input, toward a declared target. Only then is the new observation folded in. This differs from simply attaching a timestamp as an extra input: time actually acts on the stored information. 'Decay' means the gap between the state and its target shrinks, not that every number gets smaller. It is a modeling assumption built into the network, not a proven fact that old data is always less useful.

 

Elapsed-Time Memory Decay is a pattern in recurrent sequence models for irregularly timed data. At each event, the model computes the interval Δt since the previous observation and applies a Δt-dependent operation that contracts the carried hidden state, or a stale input value, toward a target before the usual recurrent update incorporates the new observation. The key point is that duration acts on retained information rather than being appended as one more feature to an unchanged recurrence. GRU-D (Che and colleagues) uses this to move missing inputs toward their empirical means and to damp its hidden vector. The continuous-time neural Hawkes process (Mei and Eisner) has cell states that relax toward learned steady-state values between events. Because the target can lie above the current value, a coordinate can rise while 'decaying'; what decreases is the departure from the target. The decay is an inductive bias, learned or assumed, not an empirical law that older observations matter less.

Scope of Application

GRU-D uses per-variable observation gaps to move missing values toward empirical means and damp a previous hidden state before a new GRU update. Neural Hawkes evolves continuous-time LSTM cells exponentially toward learned steady states between typed events, then updates them when the next event arrives. Missingness masks and event intensities belong to those respective architectures, not to every instance of the shared operation.[1][2]

Clarity

Name the retained quantity, time gap, target, decay law and next update. A model that only appends timestamps to input may be time-aware without explicitly changing memory. A Neural Hawkes cell can rise toward its target while its deviation contracts, so a universal claim that the raw state fades is false.[1][2]

Manages Complexity

Irregular sequences need not treat equally many observed steps as equally much elapsed time. The time-to-state map summarizes staleness in one recurrent update; rates may be learned per variable or cell. It supplies a modeling bias rather than proof that every older measurement is less useful, and it must be tested on the relevant data.[1][2]

Abstract Reasoning

Hold observed values and event order fixed, then vary the elapsed gap. If the retained state or stale input changes toward a specified target before the next update, the mechanism is present. If only an appended time feature changes, it is a related but different architecture. Compare learned rates and targets against held-out evidence before interpreting them as real temporal behavior.[1][2]

Knowledge Transfer

The operation transfers literally from irregular clinical measurements to continuous event streams, but GRU-D's masks and mean target do not transfer to Neural Hawkes's intensity model. Live prime Temporal Dynamics is the staged necessary skeleton because duration changes the update; physical Temporal Decay and Degradation is not the identity of an engineered recurrent memory transition.[1][2]

Relationships to Other Abstractions

Local relationship map for Elapsed-Time Memory DecayParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Elapsed-TimeMemory DecayDOMAINPrime abstraction: Temporal Dynamics — presupposesTemporalDynamicsPRIME

Current abstraction Elapsed-Time Memory Decay Domain-specific

Parents (1) — outgoing typed relations

  • Elapsed-Time Memory Decay presupposes Temporal Dynamics Prime

    The elapsed interval must change the carried model state or stale input before its next update.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Elapsed-Time Memory Decay sits in a moderately populated region (56th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Program Execution & Runtime Concepts (34 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Zhengping Che, Sanjay Purushotham, Kyunghyun Cho, David Sontag and Yan Liu, “Recurrent Neural Networks for Multivariate Time Series with Missing Values”, Scientific Reports 8, 6085 (2018), Methods §§“Notations” and “GRU-D: model with trainable decays,” equations 10–16 and Fig. 3. registry ↩a ↩b ↩c ↩d ↩e ↩f

[2] Hongyuan Mei and Jason Eisner, “The Neural Hawkes Process: A Neurally Self-Modulating Multivariate Point Process”, author-hosted original paper (2017), §3.2.2, PDF pp. 3–4, equations 4–5 and the between-event \(c(t)\) expression. registry ↩a ↩b ↩c ↩d ↩e ↩f