TY - GEN
T1 - Contrastive Representations for Temporal Reasoning
AU - Ziarko, Alicja
AU - Bortkiewicz, Michał
AU - Zawalski, Michał
AU - Eysenbach, Benjamin
AU - Miłos, Piotr
N1 - Publisher Copyright:
© 2025 Neural information processing systems foundation. All rights reserved.
PY - 2025
Y1 - 2025
N2 - In classical AI, perception relies on learning state-based representations, while planning - temporal reasoning over action sequences - is typically achieved through search. We study whether such reasoning can instead emerge from representations that capture both perceptual and temporal structure. We show that standard temporal contrastive learning, despite its popularity, often fails to capture temporal structure due to its reliance on spurious features. To address this, we introduce Contrastive Representations for Temporal Reasoning (CRTR), a method that uses a negative sampling scheme to provably remove these spurious features and facilitate temporal reasoning. CRTR achieves strong results on domains with complex temporal structure, such as Sokoban and Rubik's Cube. In particular, for the Rubik's Cube, CRTR learns representations that generalize across all initial states and allow it to solve the puzzle using fewer search steps than BestFS - though with longer solutions. To our knowledge, this is the first method that efficiently solves arbitrary Cube states using only learned representations, without relying on an external search algorithm. Website: https://princeton-rl.github.io/CRTR/.
AB - In classical AI, perception relies on learning state-based representations, while planning - temporal reasoning over action sequences - is typically achieved through search. We study whether such reasoning can instead emerge from representations that capture both perceptual and temporal structure. We show that standard temporal contrastive learning, despite its popularity, often fails to capture temporal structure due to its reliance on spurious features. To address this, we introduce Contrastive Representations for Temporal Reasoning (CRTR), a method that uses a negative sampling scheme to provably remove these spurious features and facilitate temporal reasoning. CRTR achieves strong results on domains with complex temporal structure, such as Sokoban and Rubik's Cube. In particular, for the Rubik's Cube, CRTR learns representations that generalize across all initial states and allow it to solve the puzzle using fewer search steps than BestFS - though with longer solutions. To our knowledge, this is the first method that efficiently solves arbitrary Cube states using only learned representations, without relying on an external search algorithm. Website: https://princeton-rl.github.io/CRTR/.
UR - https://www.scopus.com/pages/publications/105048513209
UR - https://www.scopus.com/pages/publications/105048513209#tab=citedBy
M3 - Conference contribution
AN - SCOPUS:105048513209
T3 - Advances in Neural Information Processing Systems
SP - 120949
EP - 120979
BT - 39th Conference on Neural Information Processing Systems, NeurIPS 2025
PB - Neural information processing systems foundation
T2 - 39th Conference on Neural Information Processing Systems, NeurIPS 2025
Y2 - 2 December 2025 through 7 December 2025
ER -