Generalized2 Linear2 Models

Geoffrey J. GordonNeurIPS 2002

Introduction

Dimensionality reduction usually starts and ends with Singular Value Decomposition (SVD) or Principal Component Analysis (PCA). While SVD is a mathematical workhorse, it relies on two restrictive assumptions: it assumes "noise" is Gaussian (squared error loss), and it assumes the data is a simple linear product of two smaller matrices ($X \approx UV$).

In many real-world scenarios—like counting words in a document or predicting probabilities—a squared error is nonsensical. Predicting a probability of 1.01 is just as "wrong" as predicting 0.50, but SVD treats them differently. Furthermore, if the underlying relationship is nonlinear, SVD forces a square peg into a round hole.

The $(\text{GL})^2\text{M}$ (Generalized$^2$ Linear$^2$ Model) is a powerful generalization of SVD that incorporates nonlinear link functions and non-quadratic loss functions. By unifying PCA, Independent Component Analysis (ICA), and Generalized Linear Models (GLMs) into a single framework, it allows researchers to perform dimensionality reduction on complex data with far greater accuracy than traditional linear methods.

The $(\text{GL})^2\text{M}$ Framework

The core of the $(\text{GL})^2\text{M}$ is the use of link functions ($f, g, h$) and matching loss functions to break the constraints of standard SVD.

  • The Model: The expected value of the data matrix $X$ is modeled as a nonlinear function of a bilinear product: $\hat{X} = f(g(A)h(B))$, where $A$ and $B$ are low-rank parameter matrices.
  • Matching Loss: Borrowing from the theory of GLMs, the framework uses Bregman divergences to create loss functions that "match" the chosen link functions. This ensures that while the total problem is non-convex, it remains convex in one set of parameters ($A$) if the other ($B$) is held fixed.
  • Optimization: The model employs a Newton-based iterative algorithm. It linearizes the fixed-point equations of the loss function, essentially turning the problem into a series of weighted least-squares problems. This approach is significantly faster than previous methods for related models like Exponential Family PCA.

Application: Robot Belief States

To evaluate the model, the authors applied it to a practical robotics dataset consisting of 400 "belief states" (probability distributions over possible locations) from a robot navigating a corridor in the CMU Computer Science building.

Robot belief states in a corridor environment, illustrating the complex probability distributions compressed by the model.

Each belief state is a vector in $\mathbb{R}^{550}$ representing 275 possible positions across 2 orientations. The goal is to compress these high-dimensional probability distributions into a tiny latent space (3–5 dimensions) without losing the information needed for navigation planning.

Key Insights and Results

The "aha moment" of $(\text{GL})^2\text{M}$ is that by choosing a link function that is the derivative of a convex function, you can guarantee a well-behaved (convex) loss surface for the sub-problems, preventing the optimization from becoming a chaotic mess of local minima. Link functions act as injected domain knowledge. For example, using an exponential link $exp(Z)$ ensures that predicted probabilities are always positive—a physical requirement SVD ignores.

When applied to the robot belief data, $(\text{GL})^2\text{M}$ demonstrated massive efficiency gains over traditional SVD:

  • Compression Efficiency: A rank-3 $(\text{GL})^2\text{M}$ achieved the same reconstruction accuracy as a rank-25 SVD.
  • High-Fidelity Reconstruction: To match the accuracy of a rank-5 $(\text{GL})^2\text{M}$, a traditional SVD required a rank of 85.
  • Utility for Planning: The features extracted by $(\text{GL})^2\text{M}$ were smooth and physically meaningful (mapping the corridor into two curves in feature space), making them usable for robot planning. SVD features, by contrast, were "unusable" because they couldn't reconstruct the belief states accurately enough at low dimensions.

Limitations and Future Work

While the sub-problems are convex, the joint optimization of $A$ and $B$ is not. For very constrained cases (like rank-3), a small number of restarts may be required to find a good global solution. Additionally, the Newton-based approach involves calculating Hessians, which can be computationally expensive for extremely large matrices. Future directions include extending the model to handle missing data, developing online (streaming) versions of the algorithm, and exploring more exotic link functions for different data types.

Summary updated

BibTeX
@inproceedings{gordon2002generalized,
  author = {Geoffrey J. Gordon},
  title = {{Generalized2 Linear2 Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2002},
}
Figure