Pointwise HSIC: A Linear-Time Kernelized Co-occurrence Norm for Sparse Linguistic Expressions

Sho Yokoi, Sosuke Kobayashi, Kenji Fukumizu, Jun Suzuki, Kentaro Inui

Abstract

In this paper, we propose a new kernel-based co-occurrence measure that can be applied to sparse linguistic expressions (e.g., sentences) with a very short learning time, as an alternative to pointwise mutual information (PMI). As well as deriving PMI from mutual information, we derive this new measure from the Hilbert--Schmidt independence criterion (HSIC); thus, we call the new measure the pointwise HSIC (PHSIC). PHSIC can be interpreted as a smoothed variant of PMI that allows various similarity metrics (e.g., sentence embeddings) to be plugged in as kernels. Moreover, PHSIC can be estimated by simple and fast (linear in the size of the data) matrix calculations regardless of whether we use linear or nonlinear kernels. Empirically, in a dialogue response selection task, PHSIC is learned thousands of times faster than an RNN-based PMI while outperforming PMI in accuracy. In addition, we also demonstrate that PHSIC is beneficial as a criterion of a data selection task for machine translation owing to its ability to give high (low) scores to a consistent (inconsistent) pair with other pairs.

Introduction

In Natural Language Processing (NLP), determining the "co-occurrence strength" between two expressions—such as a context and a response in a dialogue system—is a fundamental task. The standard tool for this is Pointwise Mutual Information (PMI). However, PMI faces a significant trade-off between efficiency and robustness. Counting-based PMI (MLE) is fast but fails on sparse data where exact matches are rare. Conversely, RNN-based PMI handles sparsity by learning dense representations but is computationally expensive and slow to train. This paper introduces Pointwise HSIC (PHSIC), a measure that is as robust as deep learning models but as fast as simple counting.

Methodology: From HSIC to PHSIC

PHSIC is derived by applying the logic of PMI to the Hilbert-Schmidt Independence Criterion (HSIC), a kernel-based measure of statistical dependence. Just as PMI is the pointwise decomposition of Mutual Information (MI), PHSIC represents the contribution of a specific pair $(x, y)$ to the overall dependence between variables $X$ and $Y$.

Theoretical comparison between MI/PMI and HSIC/PHSIC frameworks.

The core innovation is Kernelization. Instead of requiring exact matches, PHSIC uses kernels (similarity functions) to compare expressions. This effectively "smooths" the measure: if sentence A and sentence B are similar to other pairs that co-occur frequently, PHSIC can infer a strong relationship even if the specific pair $(x, y)$ is rare. To maintain scalability, the authors developed linear-time estimators using explicit feature maps for linear kernels and Incomplete Cholesky Decomposition for nonlinear kernels.

Experimental Results

The researchers evaluated PHSIC on two distinct tasks: Dialogue Response Selection and Machine Translation data selection.

Dialogue Response Selection

Trained on up to 500,000 Twitter reply chains, PHSIC was compared against RNN-based PMI. PHSIC (using the Universal Sentence Encoder or DAN) outperformed RNN-PMI across multiple metrics, such as ROC-AUC and Recall@k, particularly when training data was limited.

Learning time comparison showing PHSIC's massive speed advantage over RNN-PMI.

As shown in the table above, PHSIC achieved a massive speedup, learning 1,400 to 4,000 times faster than RNN-based PMI. For the largest training set ($5 \times 10^5$), PHSIC-DAN required only 1.8 seconds to learn, compared to over 13,000 seconds for the high-dimensional RNN model.

Machine Translation Data Selection

In a data filtering task using the ASPEC-JE Japanese-English corpus, PHSIC successfully identified high-quality translation pairs within a noisy 3-million-sentence dataset. Training a translation model on a 1-million-sentence subset selected by PHSIC yielded BLEU scores nearly identical to those from the full dataset, significantly reducing total training time.

Conclusion

Pointwise HSIC (PHSIC) provides a robust, "smoothed" alternative to PMI that handles data sparsity without the heavy computational overhead of neural networks. By enabling linear-time estimation regardless of kernel choice, PHSIC offers a practical and efficient tool for large-scale NLP tasks including ranking, filtering, and data selection.

Summary updated

BibTeX
@inproceedings{yokoi2018pointwise,
  author = {Sho Yokoi and Sosuke Kobayashi and Kenji Fukumizu and Jun Suzuki and Kentaro Inui},
  title = {{Pointwise HSIC: A Linear-Time Kernelized Co-occurrence Norm for Sparse Linguistic Expressions}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  url = {https://openreview.net/forum?id=HJWLEGfOZH},
}
Figure