Skip to main content
QUICK REVIEW

[Paper Review] Stochastic Learning of Nonstationary Kernels for Natural Language Modeling

Sahil Garg, Greg Ver Steeg|arXiv (Cornell University)|Jan 11, 2018
Topic ModelingComputer Science4 citations
TL;DR

This paper proposes a nonstationary kernel learning framework for natural language modeling that enhances expressiveness of convolution kernels by introducing task-dependent, learnable parameters to ignore irrelevant substructures. Using stochastic sampling on k-nearest neighbor graphs with locality-sensitive hashing, the method enables scalable learning while achieving state-of-the-art accuracy on structured prediction tasks in biomedical text mining, outperforming standard path kernels and neural baselines despite hashing approximations.

ABSTRACT

Natural language processing often involves computations with semantic or syntactic graphs to facilitate sophisticated reasoning based on structural relationships. While convolution kernels provide a powerful tool for comparing graph structure based on node (word) level relationships, they are difficult to customize and can be computationally expensive. We propose a generalization of convolution kernels, with a nonstationary model, for better expressibility of natural languages in supervised settings. For a scalable learning of the parameters introduced with our model, we propose a novel algorithm that leverages stochastic sampling on k-nearest neighbor graphs, along with approximations based on locality-sensitive hashing. We demonstrate the advantages of our approach on a challenging real-world (structured inference) problem of automatically extracting biological models from the text of scientific papers.

Motivation & Objective

  • To address the rigidity of conventional convolution kernels in modeling complex natural language structures.
  • To enable flexible, task-specific parameterization of kernel similarity functions for better expressiveness in NLP tasks.
  • To develop a scalable learning algorithm that reduces computational cost for large-scale kernel methods.
  • To improve performance on structured prediction tasks in biomedical text, such as extracting molecular interactions from scientific papers.
  • To ensure model interpretability by identifying and suppressing irrelevant substructures via learned kernel parameters.

Proposed method

  • Proposes a nonstationary extension of convolution kernels by introducing learnable, data-driven parameters that weight substructures based on task relevance.
  • Employs a stochastic sampling algorithm over k-nearest neighbor (k-NN) graphs to approximate the Gram matrix, reducing O(N²) complexity to O(N¹.⁵).
  • Uses kernel-based locality-sensitive hashing (LSH) to efficiently construct approximate k-NN graphs, enabling scalable similarity computation.
  • Defines a loss function over the k-NN graph structure to guide parameter learning, focusing on local neighborhood relationships.
  • Applies the method to path kernels in semantic graphs derived from natural language, particularly for structured prediction in biomedical text.
  • Uses a threshold-based pruning mechanism (via β) to select informative inducing points and neighbors, reducing noise and computational load.

Experimental results

Research questions

  • RQ1Can a nonstationary kernel model improve the expressiveness of convolution kernels in natural language tasks compared to fixed, stationary kernels?
  • RQ2How can kernel parameters be learned efficiently to reflect task-specific relevance of substructures in semantic graphs?
  • RQ3To what extent does stochastic sampling on k-NN graphs with LSH preserve performance while reducing computational cost in kernel learning?
  • RQ4Can the proposed method achieve state-of-the-art accuracy on structured prediction tasks in biomedical text mining?
  • RQ5How interpretable are the learned parameters, and can they identify irrelevant substructures in semantic graphs?

Key findings

  • The nonstationary path kernel (NPK) outperforms standard path kernels and neural network baselines such as LSTM and convolution-LSTM on structured prediction tasks in biomedical text.
  • Even with hashing approximations, the NPK-kNN-H model achieves accuracy comparable to the full-precision PK-kNN, demonstrating robustness to approximation.
  • The model achieves significant accuracy gains—especially on PubMed45 and BioNLP datasets—when trained on combined data, with improvements exceeding those from standard kernels.
  • Learning with a single iteration and β = 550 yields better accuracy than 10 iterations with β = 25, indicating that parameter selection (β) is more critical than fine-tuning iterations.
  • Pure random sampling baseline performs poorly, confirming the necessity of the proposed k-NN-based stochastic sampling strategy.
  • The learned parameters are highly interpretable: zero-valued parameters identify specific semantic labels and substructures that are ignored during kernel computation, enhancing model transparency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.