Skip to content

Understanding AutoregressiveTransform #16

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

You must be logged in to vote

Hello @tipf, this is a very important question! I'll start by explaining what is an autoregressive transformation formally and then how it is implemented in Zuko. Tell me if this is clear.

Formalization

Let $x$ be a vector in $\mathbb{R}^n$. An autoregressive transformation is a mapping $y = f(x) \in \mathbb{R}^n$ such that the $i$-th element of $y$ is a bijective univariate transformation of the $i$-th element of $x$, conditioned on the preceding elements. That is $y_i = f_i(x_i | x_{1:i-1})$ and $x_i = f_i^{-1}(y_i | x_{1:i-1})$ where $x_{1:i} = (x_1, x_2, \dots, x_i)$. It is important to note that $f_i$ is only bijective with respect to $x_i$, hence the vertical bar between $x_i$ and $…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by tipf
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@francois-rozet
Comment options

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