Who goes there? 🤨

How did you find this place? Who told you about it? Goddamn it!

Just kidding, I’m glad you are here. Help yourself to any material you find useful.
This blog serves as my note-taking app while I explore different topics related to machine learning, mathematics, programming and/or anything that catches my eyes.
Contained here are topics that I’m either learning (tag: Learning) or just want to write about, long after I’ve studied them (tag: Archive).
Cheers.

— Abid

Reparametrization Trick

Introduction In generative models, such as VAEs and Diffusion, we would like to learn the parameters of the distribution of some data in order to generate novel examples of the data itself. As such, we would need our architecture to be stochastic (random) in nature so that we may sample from the learned distribution to generate new data. This means that in between our layers, there would be layer(s) that create random values and backpropagating over those random values doesn’t make sense, nor it is feasible....

Last Updated: July 10, 2023 Â· Created on: July 7, 2023 Â· 8 min Â· 1580 words Â· Abid

ELBO: Evidence Lower Bound

Motivation From bayesian probability we have: $ \displaystyle p_\theta(z\mid x) = \frac{p_\theta(x\mid z)~p_\theta(z)}{p_\theta(x)} $ The importance of this probabilistic formula cannot be overstated, especially in probabilistic models that is at the basis of deep learning — especially generative models. However, in cases where the model relies on such formulation, issues prop up regarding its analytical usability. The main issue with this formula is that for a good chunk of problems that are high dimensional, the evidence $ p_\theta(x) $ is intractable....

Last Updated: July 11, 2023 Â· Created on: July 5, 2023 Â· 4 min Â· 768 words Â· Abid

Test Post

This post serves as the first post for testing purposes. It seems to be working pretty well so far as I’m typing it. My fingers hurt now :( A math formula here: $$ \displaystyle \int_a^b f(x)~dx = \lim_{n \to \infty} RS(f, a, b, n)\\ \int_a^b f(x)~dx = \lim_{n \to \infty} \frac{b-a}{n}\sum_{i=0}^{n-1}f\left(a+i\cdot \frac{b-a}{n}\right) $$ A sample of python code: def sample_func(args): return args A sample of C code here: typedef struct { int FirstVal; } new_struct; int main(void) { return 0; } A simple visulization here:

Last Updated: July 11, 2023 Â· Created on: July 5, 2023 Â· 1 min Â· 85 words Â· Abid