Self-Supervised Keyframe Discovery for Horizon-Invariant Behavior Cloning
Abstract
Behavior cloning (BC) in non-Markovian environments is a challenging problem because policies have to reason over contextual information over long horizons. Existing policy architectures rely on recurrent or attention-based mechanisms to capture long-term dependencies. However, recurrent models suffer from hidden-state collapse and gradient instability under backpropagation through time while attention-based models are fundamentally limited by context length. To address these issues, we propose Keyframe Mnemonics, a novel self-supervised method that a set of information-critical observations () by learning an objective from randomly sampled past observations and using it as a reward for keyframe selection. We then train a BC policy that conditions on the discovered keyframes to model the action distribution. Under the simplicity bias assumption, our formulation provides context retention guarantees over an infinite horizon, while maintaining a small set of decision-relevant keyframes in the policy's working memory. We evaluate our method on synthetic memory domains, where mnemonic-conditioned BC policies achieve % success rates (SR) and generalize to horizons orders of magnitude beyond training without performance degradation. Moreover, we evaluate on a memory-intensive robot manipulation benchmark, achieving a % average absolute SR improvement over the strongest baseline across tasks. Finally, we demonstrate generalization with % SR at longer time horizons on a real robot. Code and videos available at https://keyframe-mnemonics.github.io.
Create a lesson
Metadata
- Categories
- cs.AI, cs.RO
- Comments
- Accepted at NeurIPS 2026
Related papers
Recursive Self-Improvement through Multi-Agent Self-Supervision
Shared title terminologycs.AIHyunin Lee, Jinglue Xu, Jeffrey Seely et al.
E2SIM: Long-Horizon Simulation of Everyday Human Behavior with Evolving States
Shared title terminologycs.AIZiwei Gong, Xiangyang Yin, Thai Quoc On et al.
Self-Improving Long-Horizon Reasoning by Learning Summaries from Local Continuations
Shared title terminologycs.AIHaoqun Cao, Tengyang Xie
Beyond Binary Verifiable Rewards: Behavioral Self-Rewarding for SWE Agents
Shared title terminologycs.AIYiran Wu, Andrew Zhao, Yurui Chang et al.
RewardWeaver: Long-Horizon Interactive Learning for Language Agents via Self-Evolving Reward Adaptation
Shared title terminologycs.AIHengbo Xiao, Boyao Zhang, Purui Liu et al.
Multi-agent System for Automatic Discovery of Pareto-optimal Meta-solvers for PDEs
Shared title terminologycs.AIYoungkyu Lee, Shanqing Liu, Jerome Darbon et al.