google-deepmind / google-deepmind/neural-processes

Lack of variability of ANP result

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1k
Forks
155
PR merge metrics
No merged PRs in 30d

Description

So here are two results (two columns) of ANP after 50000+ iterations.
The first row is the default plot and the plots in the second row contains 16 samples of the curve (given same context x & y). And the red curve is the mean of these 16 curves. As we can see, there has very limited variation.
![image](https://user-images.githubusercontent.com/5100481/80234472-ceb81200-868a-11ea-974d-6bde0de64122.png)

This is true also for NP. However, if I set use_deterministic_path=False, the variation start to emerge:
![image](https://user-images.githubusercontent.com/5100481/80235046-b5639580-868b-11ea-953b-6267b90b74d5.png)

My guess is that during training the decoder only prefer the deterministic path and just ignore the latent path. Then no matter what latent code is delivered the output won't change much. What's your opinion?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.