Universal Sample-Based Embeddings of Higher-Order Objects
Organizations: Charles University, Prague · University of Alberta · Alberta Machine Intelligence Institute (Amii) · EquiLibre Technologies, Inc.
Abstract
Neural networks operate naturally on finite-dimensional vectors, yet many problems require reasoning about higher-order objects such as distributions, functions, and graphs. Such objects capture relationships within a ground set and rarely admit an explicit compact representation. Moreover, we typically want a compact representation not of a single higher-order object but of an entire family of such objects, including members unseen during training. While a few approaches exist for particular object types, none is designed to work across object types. We propose a unified framework that represents any higher-order object as a fixed-size embedding vector learned over a family of such objects. An encoder maps an object, seen only through a finite set of samples, to an embedding, and a domain-specific decoder supplies the training signal by modeling the object conditioned on that embedding. Since the encoder works only from samples, one architecture serves different object types. Because the decoder is a model already suited to single instances of the object type, the framework inherits that model's native operations and inductive biases. We instantiate the framework on distributions, functions, and graphs. In each case we show that a single trained model represents an entire family and generalizes to members unseen during training. Furthermore, we demonstrate the downstream utility of these embeddings: interpolating distributions in embedding space, solving differential equations in embedding space, and predicting unseen edges from a graph's embedding.
Figures & tables
| Model | NLL | SWD | Center | Radius | Width |
|---|---|---|---|---|---|
| FM | |||||
| NF | |||||
| KDE | |||||
| Parametric fit |
| Family | Embedding | Operator |
|---|---|---|
| Polynomials | ||
| Degree 0 | ||
| Degree 1 | ||
| Degree 2 | ||
| Degree 3 | — | |
| Damped Oscillator |
| Dim. | Embedding | Operator |
|---|---|---|
| Family | ROC-AUC | Vtx-degree F1 | Medians F1 |
|---|---|---|---|
| Random trees ( ) | |||
| Random trees ( ) | |||
| Scale-free ( ) | |||
| Scale-free ( ) |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| NLL | SWD | |||
|---|---|---|---|---|
| FM | NF | FM | NF | |
| Center | Radius | Width | ||||
|---|---|---|---|---|---|---|
| FM | NF | FM | NF | FM | NF | |
| Hyperparameter | Value | |
|---|---|---|
| Encoder (multi-stage ISAB) | ||
| Embedding size | ||
| Stages | ||
| Attention heads | ||
| Inducing points | ||
| Feed-forward hidden size | ||
| Family | State dim. | Domain and parameter ranges |
|---|---|---|
| Polynomials | , , | |
| Damped oscillator | , , , , | |
| Lotka–Volterra | , , |
| Hyperparameter | Value |
|---|---|
| Encoder (multi-stage ISAB) | |
| Embedding size | |
| Stages | |
| Attention heads | |
| Inducing points | |
| Feed-forward / projection hidden size | |
| Family | RMSE | Rel | Rel Max |
|---|---|---|---|
| Polynomials | |||
| degree 0 | |||
| degree 1 | |||
| degree 2 | |||
| degree 3 | |||
| Damped oscillator |
| Family | RMSE | Rel | Rel Max |
|---|---|---|---|
| Polynomials | |||
| degree 0 | |||
| degree 1 | |||
| degree 2 | |||
| degree 3 | |||
| Damped oscillator |
| Hyperparameter | Trees | Trees | SF | SF | Gridworld |
|---|---|---|---|---|---|
| Encoder (multi-stage ISAB) | |||||
| Embedding size | |||||
| Stages | |||||
| Attention heads | |||||
| Inducing points | |||||
| Feed-forward hidden size | |||||
| Metric | Trees | Trees | SF | SF | Gridworld |
| Geometry | |||||
| ROC-AUC | |||||
| AP | |||||
| Reconstruction (degree oracle) | |||||
| Precision | — | ||||
| Recall | — | ||||
Representation Learning
Representation learning develops data transformations that expose useful structure for prediction, transfer, generation, and control.
See all 813 papers