English

DAGR: State-Conditioned Goal Representations via Difference-Aware Goal Cross-Attention

Machine Learning 2026-07-15 v1 Machine Learning

Abstract

Goal-conditioned reinforcement learning hinges on how the goal is encoded. Contrastive, metric, temporal-distance, and information-theoretic encoders differ in objective. They still share one trait. None of them sees the current state. Such a state-independent embedding cannot mark which part of the goal still needs action. The policy must then recover that cue by inverting both encoders. We propose DAGR. It refines the static embedding of any late-fusion encoder into a state-conditioned one through multi-scale gated cross-attention. A near-identity gated residual preserves the base representation. Difference-aware Goal Cross-Attention then biases the attention scores using a per-token state-goal discrepancy map. On OGBench, DAGR improves navigation. Our ablations trace the gain to the gated residual, not to the difference bias that names the method. On manipulation and puzzle tasks it matches or falls below the base. DAGR is a structured refinement, not a universal improvement.

Keywords

Cite

@article{arxiv.2607.13731,
  title  = {DAGR: State-Conditioned Goal Representations via Difference-Aware Goal Cross-Attention},
  author = {Xing Lei and Wenyan Yang and Xuetao Zhang and Donglin Wang},
  journal= {arXiv preprint arXiv:2607.13731},
  year   = {2026}
}