pyro-ppl/pyro

FR: Volume Preserving Real NVP Variant (GIN)

Open

#2,747 opened on Jan 22, 2021

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Python (981 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (8,211 stars)
PR merge metrics
 (Avg merge 10d 19h) (1 merged PR in 30d)

Description

Hi all,

I noticed that Real-NVP has an option for "Volume Preserving", but this just omits the scale factors, and performs the NICE transform. Would it be possible to implement a more powerful volume preserving transformation (I need it for a specific purpose) by simply modifying Real-NVP so the final scale variable is the negative sum of the others?

The very simple idea can be found in this ICLR2020 paper: https://arxiv.org/abs/2001.04872

Similarly, it should be possible to do this for IAF.

It should be easy for someone who is familiar with the code already.

Contributor guide