# Beyond Eigenfunctions: Divergence Principal Functions for Representation Learning

> Ray et al. define divergence principal functions: low-rank factors chosen to match the discrepancy used to fit a positive-pair affinity. Their theory shows loss curvature changes which pairwise errors matter, and synthetic experiments demonstrate both divergent and similar factors.

- arXiv: https://arxiv.org/abs/2612.05914
- Authors: Ritabrata Ray, Sahil Dharod, Burak Varıcı, Nicholas M. Boffi, Pradeep Ravikumar
- Published: 2026-12-04
- Topic: Scaling & theory
- Visual carousel: https://instaxiv.com/p/2612.05914
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Why can one synthetic affinity yield different features?

**0.997** r=1 absolute cosine: InfoNCE vs localized mode

## Eigenfunctions are optimal for one geometry

**Squared-error case:** Under squared-error fitting, leading singular/eigenfunctions minimize rank-$r$ error of an affinity in $L^2(p\otimes p)$.

**Other SSL losses:** KL-, softmax- and classification-style objectives weight affinity errors differently, so their preferred low-rank factors need not match ordinary spectral factors.

Divergence principal functions (DPFs) make low-rank factors follow the chosen loss.

## How a positive-pair relation becomes features

1. **Compare pair distributions**: Compare related-pair $p^+(x,x')$ with independent $p(x)p(x')$; their positive-over-independent ratio defines target affinity $K^\star$.
2. **Pick a coordinate**: The target may be ratio $K^\star$, log score $\log K^\star$, or another chosen affinity coordinate.
3. **Factor under the loss**: DPFs are rank-$r$ inner-product factors minimizing the chosen pointwise discrepancy against that target.

## Curvature changes which mistakes matter

$$
\begin{gathered}d\!\left(A^\star,B\right)\approx\frac{1}{2}\,w_d(A^\star)\left(B-A^\star\right)^2\\w_d(a)=\left.\partial_b^2 d(a,b)\right|_{b=a}\end{gathered}
$$

Near an exact fit, a smooth loss becomes weighted squared error. Curvature at the target sets each pair's weight, so the same affinity can yield different low-rank factors.

- $w_d(A^\star)$: Curvature of the discrepancy at the target affinity
- $B-A^\star$: Pairwise approximation error

## One divergence, two very different geometries

**Ratio coordinate:** For a smooth $f$-divergence, fitting ratio $K$ locally weights squared errors by $1/K^\star$, so lower-affinity pairs count more.

**Log-score coordinate:** Fit score $S=\log K$ instead, and the same divergence weights score errors by $K^\star$, emphasizing positive-pair regions.

The coordinate carrying the rank constraint matters alongside the divergence.

## One synthetic relation, different rank-one winners

**uLSIF (squared ratio):** On the $n=200$ anisotropic target, uLSIF's factor had absolute cosine 0.958 with broad $u$ and 0.411 with localized $v$.

**InfoNCE (score fit):** InfoNCE's exponential-score fit on the same relation instead favored localized $v$ over broad $u$.

Different loss-and-coordinate choices can preserve different components at rank one.

## NWJ exposes the role of parameterization

1. **Hold the loss fixed**: Keep the same NWJ objective, target kernel, and rank-one training setup fixed.
2. **Exponentiate the score**: With $K_\theta=\exp(S_\theta)$, rank is constrained on score $S_\theta$; NWJ aligns with localized $v$ (absolute cosine 0.996).
3. **Switch only the map**: Changing only the map to softplus shifts NWJ toward broad $u$ (absolute cosine 0.954), changing its effective curvature.

## When local weights barely vary, losses can agree

![Figure 1](https://cdn.instaxiv.com/figures/2612.05914/figure1.webp)

Panels compare recovered and reference Legendre modes; one of five embedding dimensions is unmatched. Four tabulated objectives have mean MSEs 0.017–0.038, with broadly similar, imperfect recovery across all six. (Figure 1)

## Where this geometry story stops

- **Local curvature**: The curvature theorem is second-order and local; it does not guarantee global DPF optima or identical subspaces.
- **Training effects**: Global objectives may be nonconvex; finite-sample or optimization effects can depart from the local prediction.
- **One-map PSD constraint**: A one-map Euclidean dot product is positive semidefinite, but a general pairwise density ratio may be indefinite.
- **Scope and guarantees**: Non-contrastive SSL is outside scope; IPM-style factorization needs separate treatment, with no statistical-efficiency or downstream-task guarantees.

Best used when: Use DPF reasoning when extracting low-rank features from positive-pair affinities under known losses, coordinates, parameterizations and normalizations.

## Key takeaways

- An affinity alone does not determine its best low-rank features; the discrepancy decides which pairwise errors matter.
- Before extracting features, identify the fitted coordinate and parameterization, then match the factorization to the loss's local geometry.
- Testing whether local predictions shape large-scale vision and language representations remains an open next step.

## Links

- arXiv: https://arxiv.org/abs/2612.05914
- PDF: https://arxiv.org/pdf/2612.05914

## Citation

```bibtex
@article{ray2026beyond,
  title   = {Beyond Eigenfunctions: Divergence Principal Functions for Representation Learning},
  author  = {Ray, Ritabrata and Dharod, Sahil and Varıcı, Burak and Boffi, Nicholas M. and Ravikumar, Pradeep},
  journal = {arXiv preprint arXiv:2612.05914},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.05914}
}
```
