Skip to main content
QUICK REVIEW

[Paper Review] Deriving Neural Architectures from Sequence and Graph Kernels

Tao Leí, Wengong Jin|arXiv (Cornell University)|May 25, 2017
Topic ModelingComputer Science39 references22 citations
TL;DR

This paper proposes Kernel Neural Networks, a class of deep recurrent neural architectures derived from sequence and graph kernels, where learnable virtual reference objects are compared to inputs via kernel computations. The method achieves state-of-the-art performance in language modeling and molecular graph regression by end-to-end training, with 53.2% accuracy on Stanford Sentiment Treebank and 0.1043 RMSE on the Harvard Clean Energy Project dataset.

ABSTRACT

The design of neural architectures for structured objects is typically guided by experimental insights rather than a formal process. In this work, we appeal to kernels over combinatorial structures, such as sequences and graphs, to derive appropriate neural operations. We introduce a class of deep recurrent neural operations and formally characterize their associated kernel spaces. Our recurrent modules compare the input to virtual reference objects (cf. filters in CNN) via the kernels. Similar to traditional neural operations, these reference objects are parameterized and directly optimized in end-to-end training. We empirically evaluate the proposed class of neural architectures on standard applications such as language modeling and molecular graph regression, achieving state-of-the-art results across these applications.

Motivation & Objective

  • To formalize a principled, kernel-based method for designing neural architectures for structured data like sequences and graphs.
  • To bridge the gap between kernel-based function spaces and deep learning by deriving neural operations from combinatorial kernel computations.
  • To enable end-to-end trainable neural models grounded in kernel theory, improving performance on structured prediction tasks.
  • To demonstrate state-of-the-art results in language modeling and molecular graph regression using kernel-derived neural operations.

Proposed method

  • The method derives neural operations from string and graph kernels, such as n-gram and Weisfeiler-Lehman kernels, by treating virtual reference objects as learnable parameters.
  • Each layer computes similarity between input sequences or graphs and parameterized reference objects using kernel functions, e.g., $ \mathcal{K}_2(\mathbf{x},\mathbf{y}) = \sum_{i<j} \lambda^{L-i-1} \delta(\mathbf{x}_i,\mathbf{y}_k) \delta(\mathbf{x}_j,\mathbf{y}_l) $ with decay factors.
  • The architecture uses recurrent iterations to propagate kernel-based comparisons, with hidden states updated via kernel-weighted aggregation of reference objects.
  • The model is trained end-to-end using Adam optimizer, with dropout and learning rate decay to prevent overfitting.
  • For graphs, the method applies the Weisfeiler-Lehman kernel with 4 iterations and $ n=2 $, using atom and bond features as input.
  • A gated version of the decay factor $ \lambda $ is introduced to allow adaptive weighting of substructure similarities.

Experimental results

Research questions

  • RQ1Can kernel-based function spaces serve as a formal foundation for designing deep neural architectures for structured data?
  • RQ2How can kernel computations be embedded into differentiable, end-to-end trainable neural modules for sequences and graphs?
  • RQ3Can kernel-derived neural operations outperform existing architectures in sequence modeling and graph regression tasks?
  • RQ4What is the impact of learnable kernel parameters, such as decay factors, on model performance?

Key findings

  • The proposed Kernel Neural Network achieved 53.2% test accuracy on the Stanford Sentiment Treebank fine-grained classification task, outperforming prior methods like DMN and RLSTM.
  • On the binary sentiment classification task, the model reached 89.9% accuracy, surpassing the best baseline of 88.6%.
  • In molecular graph regression on the Harvard Clean Energy Project dataset, the model achieved an RMSE of 0.1043, improving upon the previous best of 0.1058 with the same setup.
  • The gated version of the decay factor $ \lambda $ led to consistent performance gains across both language modeling and graph regression tasks.
  • The model with a constant $ \lambda $ still outperformed multiple strong baselines, demonstrating the robustness of the kernel-based design.
  • The method successfully integrates kernel theory with deep learning, enabling a formal, principled approach to architecture design for structured objects.

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.