<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Wasserstein Autoencoders | Florent Delgrange</title><link>https://delgrange.me/tag/wasserstein-autoencoders/</link><atom:link href="https://delgrange.me/tag/wasserstein-autoencoders/index.xml" rel="self" type="application/rss+xml"/><description>Wasserstein Autoencoders</description><generator>Wowchemy (https://wowchemy.com)</generator><language>en-us</language><lastBuildDate>Wed, 29 May 2024 00:00:00 +0000</lastBuildDate><image><url>https://delgrange.me/media/icon_hu55be7e40e5cc7772513f5d192dadedff_14178_512x512_fill_lanczos_center_3.png</url><title>Wasserstein Autoencoders</title><link>https://delgrange.me/tag/wasserstein-autoencoders/</link></image><item><title>The Wasserstein Believer: Learning Belief Updates for Partially Observable Environments through Reliable Latent Space Models</title><link>https://delgrange.me/publication/https-doi-org-10-48550-arxiv-2303-03284/</link><pubDate>Wed, 29 May 2024 00:00:00 +0000</pubDate><guid>https://delgrange.me/publication/https-doi-org-10-48550-arxiv-2303-03284/</guid><description/></item><item><title>WBU</title><link>https://delgrange.me/project/wbu/</link><pubDate>Fri, 10 May 2024 00:00:00 +0000</pubDate><guid>https://delgrange.me/project/wbu/</guid><description>&lt;p>ICLR 2024 paper: &lt;a href="https://openreview.net/forum?id=KrtGfTGaGe" target="_blank" rel="noopener">https://openreview.net/forum?id=KrtGfTGaGe&lt;/a>&lt;/p>
&lt;p>The source code is available on &lt;a href="https://github.com/raphaelavalos/wbu" target="_blank" rel="noopener">GitHub&lt;/a>.&lt;/p>
&lt;p>Wasserstein Belief Updater (WBU) is an &lt;strong>RNN free RL algorithm&lt;/strong> for POMDPs that learns a representation of the history via an approximation of the belief update in a reliable latent space model, providing theoretical guarantees for learning the optimal value.&lt;/p>
&lt;p>This work concerns agents learning how to behave, i.e., their control policy, through &lt;strong>reinforcement learning&lt;/strong> (RL).
In real-world scenarios, the environment&amp;rsquo;s state is very often perceived either through noisy sensors, cameras, or more geneally imperfect observations (e.g., visual observation vs. exact coordinates on a map). In that case, the observation is &lt;em>non-Markovian&lt;/em> and the environment is &lt;em>partially observable&lt;/em>.
This usually leads to complications compared to theoretical perfect-observation RL (i.e., with Markovian observation).
For optimal decision making, the agent must in that case base its decision either on (a) the full observation-action history, or (b) the distribution over the possible real states of the environment in which the agent could be at each time step. The latter is called the &lt;strong>belief&lt;/strong> of the agent and is a &lt;strong>sufficient statistic&lt;/strong> to optimize the agent&amp;rsquo;s return.&lt;/p>
&lt;p>The easiest method to tackle partial observability is to process the full history through an RNN to obain a compressed hidden state that can be fed to the policy of the learning agent. While appealing, RNNs don&amp;rsquo;t yield any guarantee that the &lt;strong>representation&lt;/strong> learned is actually useful (a sufficient statistic) to optimize the agent&amp;rsquo;s return.&lt;/p>
&lt;p>With WBU, we rather propose to learn a &lt;strong>representation of the belief&lt;/strong>. Belief learning is difficult in RL because (1) the dynamics of the environments must be known to exactly compute the belief, and (2) it does not scale as it requires to integrate over the full state space (usually intractable).
To tackle those challenges, WBU&lt;/p>
&lt;ol>
&lt;li>learns a world model, through &lt;a href="https://github.com/florentdelgrange/wae_mdp" target="_blank" rel="noopener">Wasserstein auto-encoded MDPs&lt;/a>.
This model comes with &lt;strong>theoretical abstraction quality guarantees&lt;/strong>.
It is learned through &lt;strong>discrete latent spaces&lt;/strong> which eases the computation of the belief through the latent space.&lt;/li>
&lt;li>minimizes the discrepancy between the theoretical belief update rule and the latent belief computed. This yields &lt;strong>theoretical representation quality guarantees&lt;/strong>: close points in the representation space of the beliefs are guaranteed to yield close expected returns (Lipschitz continuity). This guarantees to support policy learning.&lt;/li>
&lt;/ol>
&lt;p align="center">
&lt;img src="https://delgrange.me/files/wbu.png" alt="Wasserstein Belief Updater" width=100% />
&lt;/p></description></item><item><title>WAE-PCN: Wasserstein-autoencoded Pareto Conditioned Networks</title><link>https://delgrange.me/publication/wae-pcn/</link><pubDate>Mon, 29 May 2023 00:00:00 +0000</pubDate><guid>https://delgrange.me/publication/wae-pcn/</guid><description/></item><item><title>WAE-MDPs</title><link>https://delgrange.me/project/wae_mdp/</link><pubDate>Wed, 01 Mar 2023 00:00:00 +0000</pubDate><guid>https://delgrange.me/project/wae_mdp/</guid><description>&lt;p>Official implementation of the Wasserstein Auto-encoded MDP (WAE-MDP) framework.
WAE-MDPs enable the distilation of (any kind of) reinforcement learning policies into simpler controllers, paired with a discrete, tractable model of the environment (a &lt;em>latent space model&lt;/em>).
The two are provided with &lt;em>bisimulation guarantees&lt;/em>, which allow formally verifying the behaviors of the agent operating under the simplified policy.
The source code provided allows for replicating the experiments of the paper &lt;a href="../../publication/delgrange-2023-wasserstein">&lt;em>Wasserstein Auto-encoded MDPs: Formal Verification of Efficiently Distilled RL Policies with Many-sided Guarantees&lt;/em>&lt;/a>.&lt;/p>
&lt;p>The source code is available on &lt;a href="https://github.com/florentdelgrange/wae_mdp" target="_blank" rel="noopener">GitHub&lt;/a>.&lt;/p>
&lt;p>Deep RL generally lacks guarantees but are very effective to solve complex tasks in intricate environments.
On the other hand, model-checking techniques allow to verify agent&amp;rsquo;s policies, but need the access to an environment&amp;rsquo;s model.
Since model-checking usually relies on an exhaustive exploration of the input model, the latter must in general be finite (discrete spaces) and &lt;em>tractable&lt;/em>.&lt;/p>
&lt;p>WAE-MDPs distill RL policies learned via any RL technique (in particular, through deep neural networks) to learn a discrete, latent representation of the intractable input space. The distillation yields both a simpler policy and a world model that are amenable to model-checking.&lt;/p>
&lt;p>One of the main features of WAE-MDPs is that the quality of the abstraction can be formally checked through PAC bounds on &lt;em>bisimulation pseudometrics&lt;/em>. In short, the world model is guaranteed to be bisimilarly close to the real environment; it replicates closely the agent-environment interaction behaviors through its latent space. In addition, WAE-MDPs are equipped with representation guarantees: the representation learned ensures that input states that are grouped to the same latent state are bisimilarly close (the agent behaves the same way from those states).&lt;/p>
&lt;p>Beyond those PAC-verifiable guarantees, the bisimulation guarantees are also maintained during learning.
This is in contrast to &lt;a href="https://github.com/florentdelgrange/vae_mdp" target="_blank" rel="noopener">VAE-MDPs&lt;/a>, which learn a surrogate, variational objective to avoid the intractable computation of the Wasserstein metric, in the fixpoint definition of bisimulation.
Instead, WAE-MDPs soundly approximate this computation by learning a discriminator (&amp;ldquo;max&amp;rdquo;) that distinguishes between states that are likely to be produced in the learned world model, and those of the real environment.
This yields a $2$-player game objective (min/max) where the goal of the minimizer is to learn both a representation and a world model that makes the latent states generated by the encoder and the world model indistinguishable.&lt;/p>
&lt;p>By doing so, WAE-MDPs avoid posterior collapse issues, which drastically speeds up learning, and yield distilled policies and world models of better quality.&lt;/p>
&lt;p align="center">
&lt;img src="https://delgrange.me/files/fmrl.png" alt="WAE-MDPs" width="95%"/>
&lt;/p></description></item><item><title>Wasserstein Auto-encoded MDPs: Formal Verification of Efficiently Distilled RL Policies with Many-sided Guarantees</title><link>https://delgrange.me/publication/delgrange-2023-wasserstein/</link><pubDate>Sun, 01 Jan 2023 00:00:00 +0000</pubDate><guid>https://delgrange.me/publication/delgrange-2023-wasserstein/</guid><description/></item></channel></rss>