Skip to content

Order of the features in autoregressive transformations #42

Answered by francois-rozet
CaioDaumann asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @CaioDaumann 👋

The order of the features/variables in autoregressive transformations is not learned but fixed at initialization. In MaskedAutoregressiveTransform there is an argument (order) to specify that order. In MAF, by default, the order is $(x_1, x_2, \dots, x_n)$ in even transformations and $(x_n, \dots, x_2, x_1)$ in odd transformations.

In my understanding the MADE NN learns the best "conditions". For example, $p(x_1,x_2,x_3) = p(x_2|x_1,x_3) p(x_1|x_3) p(x_3)$. But when we invert it, we must obtain first $x_1$ and for this we evaluate the MADE NN, but since the $p(x_1|x_3)$ has this dependency in $x_3$, what does it do?

In your example, if the order would be $(x_3, x_1,…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by francois-rozet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants