[Paper Review] Graph Embedding with Shifted Inner Product Similarity and Its Improved Approximation Capability
This paper proposes Shifted Inner-Product Similarity (SIPS), a novel neural network-based graph embedding method that extends traditional inner-product similarity (IPS) by introducing learnable bias terms. SIPS theoretically enables approximation of both positive-definite and conditionally positive-definite (CPD) similarities—such as cosine, negative Poincaré, and negative Wasserstein distances—thereby overcoming the fundamental limitation of IPS, which is restricted to PD kernels. Experiments on real-world datasets show SIPS achieves superior approximation accuracy and performance over existing methods.
We propose shifted inner-product similarity (SIPS), which is a novel yet very simple extension of the ordinary inner-product similarity (IPS) for neural-network based graph embedding (GE). In contrast to IPS, that is limited to approximating positive-definite (PD) similarities, SIPS goes beyond the limitation by introducing bias terms in IPS; we theoretically prove that SIPS is capable of approximating not only PD but also conditionally PD (CPD) similarities with many examples such as cosine similarity, negative Poincare distance and negative Wasserstein distance. Since SIPS with sufficiently large neural networks learns a variety of similarities, SIPS alleviates the need for configuring the similarity function of GE. Approximation error rate is also evaluated, and experiments on two real-world datasets demonstrate that graph embedding using SIPS indeed outperforms existing methods.
Motivation & Objective
- To overcome the theoretical limitation of inner-product similarity (IPS) in graph embedding, which is restricted to approximating only positive-definite (PD) kernels.
- To develop a unified framework capable of approximating a broader class of similarities, including conditionally PD (CPD) kernels such as cosine, negative Poincaré, and negative Wasserstein distances.
- To provide a theoretical foundation for the approximation capability of neural network-based graph embedding models beyond the constraints of traditional IPS.
- To empirically validate that SIPS improves approximation accuracy and downstream performance on real-world graph embedding tasks.
Proposed method
- Proposes Shifted Inner-Product Similarity (SIPS) as a generalization of IPS by introducing learnable bias terms: $\text{SIPS}(\boldsymbol{x}, \boldsymbol{x}') = \langle \boldsymbol{f}(\boldsymbol{x}), \boldsymbol{f}(\boldsymbol{x}') \rangle + b_1 + b_2 $, where $\boldsymbol{f}$ is a neural network and $b_1, b_2$ are learnable biases.
- Theoretically proves that SIPS can approximate any CPD kernel within arbitrary accuracy by decomposing the kernel into the difference of two PD kernels: $g_+(\cdot, \cdot) - g_-(\cdot, \cdot)$, each of which can be approximated via universal approximation with neural networks.
- Applies a generalized Mercer’s theorem to Krein spaces, leveraging the fact that CPD kernels can be represented as differences of PD kernels, enabling universal approximation via two separate neural networks.
- Employs a two-stream neural network architecture where the output similarity is computed as the difference of two inner products: $\text{SIPS} = \langle \boldsymbol{f}_{+}(\boldsymbol{x}), \boldsymbol{f}_{+}(\boldsymbol{x}') \rangle - \langle \boldsymbol{f}_{-}(\boldsymbol{x}), \boldsymbol{f}_{-}(\boldsymbol{x}') \rangle$, with shared or separate networks.
- Uses the universal approximation theorem (UAT) for neural networks to guarantee that the two components $g_+$ and $g_-$ can be approximated arbitrarily well by separate neural networks.
- Empirically evaluates SIPS on real-world datasets using approximation error rates and downstream graph embedding performance, comparing against IPS and other state-of-the-art methods.
Experimental results
Research questions
- RQ1Can a neural network-based graph embedding model approximate similarities beyond the positive-definite (PD) kernel constraint of traditional inner-product similarity?
- RQ2Is it possible to theoretically justify the approximation of conditionally PD (CPD) kernels—such as cosine similarity, negative Poincaré distance, and negative Wasserstein distance—using a modified inner-product formulation?
- RQ3To what extent can a shifted inner-product similarity (SIPS) with learnable biases generalize the approximation capability of standard IPS in graph embedding?
- RQ4How does SIPS compare in approximation accuracy and downstream performance to existing graph embedding methods on real-world datasets?
- RQ5Are non-CPD kernels, such as negative Jeffrey’s divergence in deep Gaussian embedding, still approximable by SIPS, or do they require a different framework?
Key findings
- SIPS can theoretically approximate any conditionally PD (CPD) kernel within arbitrary accuracy by decomposing it into the difference of two positive-definite (PD) kernels, each approximable via universal approximation with neural networks.
- The paper proves that SIPS overcomes the fundamental limitation of standard inner-product similarity (IPS), which is restricted to PD kernels, by introducing learnable bias terms that enable modeling of non-PD similarities.
- SIPS successfully approximates key non-PD similarities such as cosine similarity, negative Poincaré distance, and negative Wasserstein distance, which are known to be CPD but not PD.
- Empirical evaluation on two real-world datasets demonstrates that SIPS achieves lower approximation error rates compared to standard IPS and other baseline methods.
- Graph embeddings trained with SIPS outperform those trained with IPS and other existing methods in downstream tasks, confirming improved approximation capability and generalization.
- Theoretical analysis shows that negative Jeffrey’s divergence, used in deep Gaussian embedding, is not CPD, indicating that SIPS cannot approximate such kernels, suggesting the need for a more general framework like IPDS for future work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.