Abstract
In representation learning, capturing correlations between entities is a fundamental challenge. While box embeddings provide an intuitive geometric way to model joint probabilities via intersection volumes, they suffer from "dead gradients" when boxes do not overlap. This paper introduces a mathematically rigorous framework for modeling joint probability distributions using box embeddings with latent noise. By deriving a family of min/max-stable distributions on bounded domains, the authors resolve the probabilistic inconsistencies of previous models while maintaining the smooth gradients necessary for effective deep learning.
The Challenge of Hard Boxes
Box embeddings represent entities (e.g., words, movies, or concepts) as hyper-rectangles in space. The volume of the intersection between two such boxes is interpreted as the joint probability of those entities. However, "hard" boxes are notoriously difficult to train using gradient-based methods. If two boxes do not overlap, the gradient of their intersection volume is zero, providing no signal to the optimizer on how to move them closer.
Previous attempts to "soften" these edges involved adding Gumbel-distributed noise to the box endpoints. While this provides smooth gradients everywhere, Gumbel distributions are defined on an infinite domain $(-\infty, \infty)$. This makes it impossible to contain the resulting "boxes" within a finite probability space like the unit hypercube $[0, 1]^d$, preventing the volumes from being treated as true joint probabilities without mathematical workarounds.
Methods: Bounded Min/Max Stability
The authors bridge this gap by developing a theoretical framework for min/max-stability on bounded domains. A family of distributions is min/max-stable if the maximum or minimum of two random variables from that family results in a variable that remains within the same family.
The Transformation
The core of the solution is a proof that any min/max-stable family on the real line (such as the Gumbel distribution) can be mapped onto a bounded interval $(a, b)$ using a monotonic bijection $h$. This allows the model to "squish" infinite latent noise into a finite, probabilistically sound space.
Density Equivalence and Universe Boxes
The paper demonstrates that this region-based approach is equivalent to a density representation. Learning these stochastic boxes is mathematically identical to representing entities as unnormalized probability densities where the intersection is calculated via the product of those densities. To ensure the resulting measures are finite, the authors introduce a "universe box" $U$ as a reference frame; the intersection of entity boxes with this universe box ensures valid probability measures.
Key Insights
- Smoothness is Key: By using transformed Gumbel distributions, the expected volume of box intersections becomes a smooth, differentiable function, eliminating the dead gradient problem.
- Probabilistic Soundness: Unlike previous latent-noise box models, this version allows for the direct calculation of joint probabilities $P(A, B)$ rather than relying on approximations or ratios of expectations.
- Theoretical Unity: The authors show that transforming Gumbel distributions, defining a finite measure on $\mathbb{R}$, and intersecting with a "universe box" are all mathematically equivalent perspectives.
Experimental Results
The model was evaluated on the MovieLens-25M dataset, predicting whether users would like specific movies. The task involved learning both marginal probabilities (likelihood of liking Movie A) and joint/conditional probabilities (likelihood of liking Movie B given Movie A).
The proposed "Gumbel Bounded" model significantly outperformed baselines such as Probabilistic Order Embeddings (POE) and the original Probabilistic Box Embeddings (PBE). Specifically, on the validation set for joint probabilities $P(A, B)$, the Gumbel Bounded model achieved a KL divergence of 0.000009, which is more than 3x better than POE (0.00003) and 4x better than PBE (0.00004).
Conclusion
By grounding box embeddings in the theory of min/max-stable distributions on bounded domains, this work provides a robust foundation for geometric representation learning. The resulting models are not only more mathematically consistent but also demonstrate superior empirical performance in capturing complex entity correlations. Future work may explore correlations between dimensions within the latent noise model and investigate different transformation functions for varied inductive biases.
Summary updated