Contrastive Abstraction for Reinforcement Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Patil, Vihang, Hofmarcher, Markus, Rumetshofer, Elisabeth, Hochreiter, Sepp
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909331719454720
author Patil, Vihang
Hofmarcher, Markus
Rumetshofer, Elisabeth
Hochreiter, Sepp
author_facet Patil, Vihang
Hofmarcher, Markus
Rumetshofer, Elisabeth
Hochreiter, Sepp
contents Learning agents with reinforcement learning is difficult when dealing with long trajectories that involve a large number of states. To address these learning problems effectively, the number of states can be reduced by abstract representations that cluster states. In principle, deep reinforcement learning can find abstract states, but end-to-end learning is unstable. We propose contrastive abstraction learning to find abstract states, where we assume that successive states in a trajectory belong to the same abstract state. Such abstract states may be basic locations, achieved subgoals, inventory, or health conditions. Contrastive abstraction learning first constructs clusters of state representations by contrastive learning and then applies modern Hopfield networks to determine the abstract states. The first phase of contrastive abstraction learning is self-supervised learning, where contrastive learning forces states with sequential proximity to have similar representations. The second phase uses modern Hopfield networks to map similar state representations to the same fixed point, i.e.\ to an abstract state. The level of abstraction can be adjusted by determining the number of fixed points of the modern Hopfield network. Furthermore, \textit{contrastive abstraction learning} does not require rewards and facilitates efficient reinforcement learning for a wide range of downstream tasks. Our experiments demonstrate the effectiveness of contrastive abstraction learning for reinforcement learning.
format Preprint
id arxiv_https___arxiv_org_abs_2410_00704
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Contrastive Abstraction for Reinforcement Learning
Patil, Vihang
Hofmarcher, Markus
Rumetshofer, Elisabeth
Hochreiter, Sepp
Machine Learning
Artificial Intelligence
Learning agents with reinforcement learning is difficult when dealing with long trajectories that involve a large number of states. To address these learning problems effectively, the number of states can be reduced by abstract representations that cluster states. In principle, deep reinforcement learning can find abstract states, but end-to-end learning is unstable. We propose contrastive abstraction learning to find abstract states, where we assume that successive states in a trajectory belong to the same abstract state. Such abstract states may be basic locations, achieved subgoals, inventory, or health conditions. Contrastive abstraction learning first constructs clusters of state representations by contrastive learning and then applies modern Hopfield networks to determine the abstract states. The first phase of contrastive abstraction learning is self-supervised learning, where contrastive learning forces states with sequential proximity to have similar representations. The second phase uses modern Hopfield networks to map similar state representations to the same fixed point, i.e.\ to an abstract state. The level of abstraction can be adjusted by determining the number of fixed points of the modern Hopfield network. Furthermore, \textit{contrastive abstraction learning} does not require rewards and facilitates efficient reinforcement learning for a wide range of downstream tasks. Our experiments demonstrate the effectiveness of contrastive abstraction learning for reinforcement learning.
title Contrastive Abstraction for Reinforcement Learning
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2410.00704