completed Feb 2018 - Nov 2018

Generation of Review Aspect Hierarchy using Word Embedding and Clustering

#NLP #Opinion Mining #Aspect-Based Sentiment Analysis #Word Embeddings #Hierarchical Clustering #Sinhala #Tamil
Generation of Review Aspect Hierarchy using Word Embedding and Clustering

Overview

Consumers rely on online reviews before making a purchase, but reading through large numbers of them is tedious. Aspect Based Opinion Summarization addresses this by summarising opinions about aspects of a target, such as the food, service and price of a restaurant. Aspects are naturally multi-granular, since 'dishes' and 'desserts' are parts of 'food', and closely related terms such as 'money', 'price' and 'cost' should not be scored separately. Aspect aggregation is the least studied phase of this pipeline, and existing hierarchy generation methods either ignore aspect context or require a domain-specific initial hierarchy.

This project generates review aspect hierarchies by combining word embeddings with hierarchical clustering. Aspect terms are represented by concatenating a domain-independent Word2Vec model with a domain-specific Wang2Vec structured skip-gram model, trained on 31M restaurant and 2M laptop review sentences, and then reducing the combined vector with PCA. The vectors are clustered with agglomerative clustering. The research then addresses the limitation that traditional agglomerative clustering produces only binary trees. It proposes a modified algorithm that builds a multi-way hierarchy and applies an iterative hill-climbing procedure with graft moves and internal node reordering to refine it. The work was demonstrated in Avenir, a web prototype, and extended to Sinhala and Tamil through Swivel word embedding models.

Motivation & Objectives

Different products in the same domain attract discussion on different aspects, so consumers benefit from review summaries organised around each product's own aspects and shown at the level of detail they choose. Word embeddings capture context but have rarely been used for hierarchical aspect aggregation, and the binary dendrograms of agglomerative clustering are a poor fit for real aspect structures.

Aspect Representation – To conduct an experimental study to find an effective word embedding representation for aspect terms.

Evaluation Suite – To introduce a set of internal and external evaluation strategies for aspect hierarchies.

Hierarchical Clustering – To find an effective hierarchical clustering approach for aspect summarisation, including multi-way hierarchies that do not depend on domain knowledge.

Recommendations – To draw useful conclusions and recommendations by experimenting with a variety of datasets and evaluations.

Impact & Results

Performance

On the 20-aspect gold similarity benchmark of Pavlopoulos and Androutsopoulos, the combined DI-Word2Vec + DS-Wang2Vec + PCA representation reached Pearson correlations of 0.624 (restaurant) and 0.689 (laptop). It outperformed general-domain Word2Vec (0.558 / 0.443) and WordNet with sense pruning (0.545 / 0.546). Against human-annotated aspect categories (Fleiss' kappa of 0.74 for restaurants and 0.70 for laptops), the clusters achieved V-measures of 0.734 and 0.527, compared with 0.485 and 0.373 for domain-independent Word2Vec alone, and kept high silhouette values as the number of clusters increased. The modified multi-way agglomerative algorithm correlated with four annotators' hierarchies at 0.47–0.62, compared with 0.28–0.38 for traditional agglomerative clustering, and reduced the dendrogram height from 8 to 6. The hill-climbing refinement did not lower the hierarchical k-means cost in these experiments, so the team identified it as a direction for further work. The Swivel models reached Pearson correlations of 0.51 (Sinhala) and 0.48 (Tamil) on translated WordSim-353 data.

Key Contributions

Combined Word Embedding for Aspects

A dimension-reduction-based merging of domain-independent and domain-specific embeddings that captures both semantic and syntactic context and outperforms prior term similarity approaches for aspect aggregation.

Multi-Way Agglomerative Clustering

A modification of agglomerative clustering, based on an adjusted cluster distance and threshold, that lets a node have more than two children and produces shorter hierarchies closer to human judgement.

Avenir Prototype

A web application built with Python, Flask and React that extracts aspects from a review corpus, builds and labels the hierarchy using Doc2Vec, and lets users browse review summaries at their chosen granularity.

Sinhala and Tamil Embeddings

Swivel-Sinhala and Swivel-Tamil word embedding models, along with Sinhala and Tamil versions of the WordSim-353 and Google Analogy evaluation datasets.

Real-world Impact

The approach builds meaningful aspect hierarchies without domain-specific knowledge, so it can be applied to new product domains. Users can view review sentiment at coarse or fine granularity, and the native-language models and evaluation datasets give a foundation for applying the same ideas to Sinhala and Tamil reviews and other NLP tasks in the local context.

Gallery

Multi-way aspect hierarchy generated for the restaurant domain

Multi-way aspect hierarchy generated for the restaurant domain

Proposed pipeline from aspect terms to an aspect hierarchy

Proposed pipeline from aspect terms to an aspect hierarchy

Dendrogram of restaurant aspects built from the combined, dimension-reduced word embeddings

Dendrogram of restaurant aspects built from the combined, dimension-reduced word embeddings

Avenir prototype for browsing review summaries along the aspect hierarchy

Avenir prototype for browsing review summaries along the aspect hierarchy

Project Team

Y

Yasasi Achinthya Abeysinghe

Undergraduate Researcher

Contributed to the word embedding and hierarchical clustering research for review aspect aggregation.

F

Fathima Yumna Albar

Undergraduate Researcher

Contributed to the word embedding and hierarchical clustering research for review aspect aggregation.

T

Tamasha Ayeshmanthi Malepathirana

Undergraduate Researcher

Contributed to the word embedding and hierarchical clustering research for review aspect aggregation.

C

Colombapatabadige Rashindrie Divanka Perera

Undergraduate Researcher

Contributed to the word embedding and hierarchical clustering research for review aspect aggregation.