Skip to main content
QUICK REVIEW

[Paper Review] Learning Semantically Coherent and Reusable Kernels in Convolution Neural Nets for Sentence Classification

Madhusudan Lakshmana, Sundararajan Sellamanickam|arXiv (Cornell University)|Aug 1, 2016
Topic ModelingComputer Science31 references5 citations
TL;DR

This paper proposes learning semantically coherent and reusable convolutional kernels in CNNs for sentence classification by clustering k-grams using Word2Vec and SentiWordNet embeddings. The method enhances model interpretability through attention visualization and enables significant training time reduction via kernel reuse, achieving performance close to state-of-the-art with 90% less training time when reusing kernels.

ABSTRACT

The state-of-the-art CNN models give good performance on sentence classification tasks. The purpose of this work is to empirically study desirable properties such as semantic coherence, attention mechanism and reusability of CNNs in these tasks. Semantically coherent kernels are preferable as they are a lot more interpretable for explaining the decision of the learned CNN model. We observe that the learned kernels do not have semantic coherence. Motivated by this observation, we propose to learn kernels with semantic coherence using clustering scheme combined with Word2Vec representation and domain knowledge such as SentiWordNet. We suggest a technique to visualize attention mechanism of CNNs for decision explanation purpose. Reusable property enables kernels learned on one problem to be used in another problem. This helps in efficient learning as only a few additional domain specific filters may have to be learned. We demonstrate the efficacy of our core ideas of learning semantically coherent kernels and leveraging reusable kernels for efficient learning on several benchmark datasets. Experimental results show the usefulness of our approach by achieving performance close to the state-of-the-art methods but with semantic and reusable properties.

Motivation & Objective

  • To improve model interpretability in sentence classification by learning semantically coherent kernels that fire on meaningfully related phrases.
  • To develop a visualization technique that highlights salient words contributing to predictions, enhancing decision explanation.
  • To investigate and demonstrate the reusability of pre-trained kernels across similar NLP tasks to reduce training time.
  • To balance model performance and interpretability by allowing a controlled number of flexible filters while preserving semantic coherence.

Proposed method

  • Clustering k-grams from the training corpus using a distance function combining Word2Vec and SentiWordNet embeddings to form semantically coherent groups.
  • Defining parametrized convolution kernels for each cluster and jointly training them with a softmax classifier layer.
  • Proposing a word scoring scheme based on max-pooled kernel outputs to identify and visualize attention-weighted words in input sentences.
  • Reusing pre-trained kernels from one dataset (e.g., IMDB) on another (e.g., MR or SST-1) while fine-tuning only the classifier layer.
  • Introducing a hybrid approach with a small percentage (10% or 25%) of flexible filters added to semantically coherent kernels to improve performance without fully sacrificing interpretability.

Experimental results

Research questions

  • RQ1Can we learn convolutional kernels in CNNs that are semantically coherent, firing on meaningfully related phrases such as 'liked such movies' and 'loved this film'?
  • RQ2How can we visualize and interpret which words in a sentence are most influential in the model's prediction decision?
  • RQ3To what extent can kernels trained on one text classification task be reused in another similar task without retraining?
  • RQ4What is the trade-off between model performance and interpretability when introducing a small number of flexible filters to otherwise coherent kernels?

Key findings

  • The WkA model with semantically coherent kernels achieved performance close to the state-of-the-art CNN-S model, with 78.77% accuracy on the MR dataset and 89.17% on IMDB.
  • Adding just 10% flexible filters improved the WkA model’s accuracy on SST-1 to 43.30%, reducing the performance gap with CNN-S while maintaining interpretability.
  • Reusing kernels from IMDB on MR, SST-1, and SST-2 achieved 73.78% to 89.17% accuracy, demonstrating strong transferability across similar tasks.
  • Training time was reduced from ~2 hours (full training) to just 2 minutes when reusing WkA kernels on SST-1, representing an order-of-magnitude improvement.
  • The visualization technique successfully highlighted salient words such as 'loved' and 'best', confirming the model’s attention aligns with human-interpretible sentiment cues.

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.