Representation loss that supervises dot products to match PMI from a generative model

serrjoa · x · 2026-10-21

Alan Baade shares a representation-learning loss design: embed two views x and y into vectors R(x), R(y), then supervise their dot product to equal the PMI between the views, computed with a jointly trained masked generative model. The loss is LPMI = ||⟨R(x),R(y)⟩ − stopgrad(log PG(y|x) − log PG(y))||², using the generative model's conditional log-probability gap as an MI estimate, with stopgrad protecting the generator from corrupting gradients.

Original post →

More from Research

Research channel →