Transferable Interactive Memory Network for Domain Adaptation in Fine-Grained Opinion Extraction

Wenya Wang, Sinno Jialin Pan

Abstract

Fine-grained opinion extraction identifies specific aspect terms and their corresponding opinions within text. While supervised models perform well, they struggle with domain adaptation—transferring knowledge from a labeled source (e.g., restaurants) to an unlabeled target (e.g., laptops). Traditional methods rely on dependency parsers, which are often unreliable for informal user-generated content. This paper introduces the Transferable Interactive Memory Network (TIMN), which learns implicit word interactions through a multi-layer memory architecture and aligns these features across domains using adversarial training.

Introduction

Extracting fine-grained opinions is essential for understanding nuanced user feedback. For instance, in the sentence "The sushi was fresh but the service was slow," a model must identify "sushi" (aspect) as "fresh" (opinion) and "service" (aspect) as "slow" (opinion). The primary challenge in Unsupervised Domain Adaptation (UDA) is that aspect terms vary significantly across domains. Previous approaches used manual rules or dependency parsers to bridge this gap, but these are prone to cascading errors on messy, real-world text.

The TIMN Framework

The Transferable Interactive Memory Network (TIMN) avoids explicit linguistic rules by modeling relationships within a neural memory structure. It utilizes a multi-layer architecture to iteratively refine word representations.

The overall architecture of TIMN, showing the flow between source and target domains and the integration of DAN and rDAN for feature alignment.

Local-Global Memory Interaction

TIMN maintains two types of memory: local memory, which stores hidden representations of individual words, and global memory, which summarizes the current state of aspects and opinions. At each layer, the model employs an interactive attention mechanism. Using 3D tensor operations, it calculates correlations between words to capture three vital relationships: Aspect-Aspect, Opinion-Opinion, and Aspect-Opinion.

Detailed view of the local-global memory interaction module, illustrating the 3D tensor operations used to capture word-level correlations.

Domain Adaptation and Alignment

To ensure the learned features are transferable, TIMN incorporates adversarial training components that align the source and target distributions:

  • Domain Adversarial Network (DAN): Aligns opinion words, which often share commonalities across domains (e.g., "excellent" is positive for both food and electronics).
  • Relational DAN (rDAN): Aligns the structural relationships between aspects and opinions. Even if the words change, the way an opinion modifies an aspect remains invariant.
  • Auxiliary Task: A classifier predicts the type of interaction occurring, forcing the network to learn domain-invariant structural patterns.

Experimental Results

The model was evaluated on six transfer pairs across three benchmark datasets: RES (Restaurants), LAP (Laptops), and DEV (Digital Devices). TIMN consistently outperformed state-of-the-art baselines. Notably, on the RES → LAP task, it achieved a 3.25% improvement in F1 score for aspect extraction and a 2.59% improvement for opinion extraction over the strongest previous models.

In a "stress test" where dependency relations were intentionally corrupted, baseline models' performance plummeted, while TIMN remained stable because it does not rely on an external parser. Ablation studies confirmed that while DAN helps with sentiment alignment, rDAN is the critical component for identifying novel aspect terms in the target domain.

Conclusion

TIMN demonstrates that implicit modeling of word interactions through memory networks is more robust than relying on external linguistic parsers. By focusing on relational invariance—the idea that the structural link between aspects and opinions is universal—the model successfully bridges the gap between disparate product domains. Future work may involve integrating pre-trained transformers to further enhance the initial word representations.

Summary updated

BibTeX
@inproceedings{wang2019transferable,
  author = {Wenya Wang and Sinno Jialin Pan},
  title = {{Transferable Interactive Memory Network for Domain Adaptation in Fine-Grained Opinion Extraction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33017192},
}
Figure