Semi-supervised Classification using Attention-based Regularization on Coarse-resolution Data

Guruprasad Nayak, Rahul Ghosh, Xiaowei Jia, Varun Mithal, Vipin KumararXiv 2020

TL;DR

This paper introduces a semi-supervised multi-view learning framework that leverages easily obtainable coarse-resolution labels to improve classification models for fine-resolution data. By using a novel attention mechanism to bridge the "many-to-one" gap between resolutions, the authors significantly boost performance in tasks like urban mapping and sentiment analysis where fine-grained labels are scarce.

What Problem Does This Paper Address?

In machine learning, we often want to make predictions at a high level of detail (fine resolution), such as determining the sentiment of a single sentence or identifying urban features in high-resolution satellite imagery. However, obtaining labels at this level is expensive and time-consuming.

Conversely, labels at a "coarse" resolution—like the overall sentiment of a long movie review or the general land cover of a large 30m satellite pixel—are often much easier to acquire. The challenge is that there isn't a simple one-to-one relationship between these views. One coarse-resolution instance (a paragraph) corresponds to multiple fine-resolution instances (sentences). Traditional multi-view learning methods struggle with this mismatch. This paper tackles how to effectively use these "cheap" coarse labels and abundant unlabeled data to regularize and improve a "data-hungry" fine-resolution model.

Methods

The authors propose a multi-view framework where different resolutions are treated as different views of the same underlying phenomena. The core of their approach is a joint objective function that minimizes:

  1. Supervised Loss: Errors on the limited labeled data available at both fine and coarse resolutions.
  2. Consistency Regularization: A term that forces the fine-resolution model to be consistent with the coarse-resolution model across a large pool of unlabeled data.

To handle the many-to-one mapping, they compare two strategies:

  • Multiple Instance Learning (MIL): A baseline approach based on the "presence-based" assumption—a coarse group is positive if at least one of its fine-grained members is positive.
  • Attention-based Regularization (The Novel Approach): Instead of a simple "max" operation, they use an attention mechanism. This module learns to assign weights to fine-resolution instances based on their relevance to the coarse-resolution label. This allows the model to adaptively determine which fine-grained features (e.g., which specific sentences in a review) best explain the coarse-grained label.

The architecture for this attention-based approach is detailed in Figure 3:

Architecture of the attention-based multi-resolution classification model.

Datasets

The researchers evaluated their methods on four real-world datasets, summarized in Table 1:

Table 1: Summary of data sets used in this paper
  • Urban Mapping (D1, D2, D3): Satellite data for Minneapolis, Madrid, and Rome. Coarse data comes from Landsat (30m pixels), while fine data comes from Sentinel (10m pixels).
  • Sentiment Classification (D4): IMDB movie reviews. The coarse resolution is the review level, and the fine resolution is the sentence level.

Key Insights and Ideas

  • Consistency as a Bridge: The "aha moment" is using consistency on unlabeled data as a bridge. Even if you don't have many fine-grained labels, the model can learn by ensuring its fine-grained predictions aggregate logically to match the predictions of a model trained on coarse-grained labels.
  • Flexibility of Attention: Unlike MIL, which is rigid (one positive instance makes the whole bag positive), the attention mechanism is flexible. It can handle cases where a "positive" movie review contains several negative sentences, or an "urban" 30m pixel contains a mix of buildings and trees.
  • Interpretability: A side benefit of the attention mechanism is explainability. By looking at the attention weights, researchers can see why a model labeled a review as positive—it literally highlights the most influential sentences.

Key Results

The proposed Multi-Res Attention method consistently outperformed all baselines, including standard semi-supervised methods and MIL-based approaches.

  • Urban Mapping: In Minneapolis (D1), the attention-based model achieved 85% accuracy, compared to just 59% for a model trained only on fine-grained labels and 69% for the MIL-based multi-resolution approach.
  • Sentiment Analysis: The method improved sentence-level sentiment accuracy to 70%, outperforming the "OnlyFine" baseline of 62%.
  • Data Efficiency: The performance gap is most significant when fine-grained labeled data is extremely scarce (e.g., only 20-100 samples), as shown in the paper's experiments. As more fine-grained labels are added, the "OnlyFine" model eventually catches up, but the multi-resolution approach provides a massive head start.

Limitations and Future Work

  • Alignment Assumptions: The current method relies on a nearest-neighbor approach to align instances across resolutions (e.g., which 10m pixels fall inside a 30m pixel). This might be too simple for complex spatio-temporal data.
  • Base Model Complexity: While the framework is model-agnostic, the authors primarily tested it with simple neural networks and LSTMs.
  • Future Directions: The authors suggest integrating this framework with state-of-the-art architectures like Transformers for NLP or advanced CNNs for computer vision to further push the boundaries of multi-resolution learning.

Summary updated

Abstract

Many real-world phenomena are observed at multiple resolutions. Predictive models designed to predict these phenomena typically consider different resolutions separately. This approach might be limiting in applications where predictions are desired at fine resolutions but available training data is scarce. In this paper, we propose classification algorithms that leverage supervision from coarser resolutions to help train models on finer resolutions. The different resolutions are modeled as different views of the data in a multi-view framework that exploits the complementarity of features across different views to improve models on both views. Unlike traditional multi-view learning problems, the key challenge in our case is that there is no one-to-one correspondence between instances across different views in our case, which requires explicit modeling of the correspondence of instances across resolutions. We propose to use the features of instances at different resolutions to learn the correspondence between instances across resolutions using an attention mechanism.Experiments on the real-world application of mapping urban areas using satellite observations and sentiment classification on text data show the effectiveness of the proposed methods.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
D1 · Urban mapping, MinneapolisMulti-Res Attentionaccuracy0.85+0.14 vs baselinesplit: test · semi-supervised · runs=5 · fine-labeled-examples=200 · coarse-labeled-examples=2000
Source quote
L173: \begin{tabular}{@{}c@{}}Multi-Res Attention │ \underset{(0.0068)}{0.85} │ \underset{(0.025)}{0.90} │ \underset{(0.022)}{0.91} │ \underset{(0.013)}{0.70}
D2 · Urban mapping, MadridMulti-Res Attentionaccuracy0.90split: test · semi-supervised · runs=5 · fine-labeled-examples=200 · coarse-labeled-examples=2000
Source quote
L173: \begin{tabular}{@{}c@{}}Multi-Res Attention │ \underset{(0.0068)}{0.85} │ \underset{(0.025)}{0.90} │ \underset{(0.022)}{0.91} │ \underset{(0.013)}{0.70}
D3 · Urban mapping, RomeMulti-Res Attentionaccuracy0.91split: test · semi-supervised · runs=5 · fine-labeled-examples=200 · coarse-labeled-examples=2000
Source quote
L173: \begin{tabular}{@{}c@{}}Multi-Res Attention │ \underset{(0.0068)}{0.85} │ \underset{(0.025)}{0.90} │ \underset{(0.022)}{0.91} │ \underset{(0.013)}{0.70}
IMDB · D4 · Sentiment classification, IMDB reviewsMulti-Res Attentionaccuracy0.70+0.04 vs baselinesplit: test · semi-supervised · runs=5 · fine-labeled-examples=200 · coarse-labeled-examples=2000
Source quote
L173: \begin{tabular}{@{}c@{}}Multi-Res Attention │ \underset{(0.0068)}{0.85} │ \underset{(0.025)}{0.90} │ \underset{(0.022)}{0.91} │ \underset{(0.013)}{0.70}
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
D1 · Urban mapping, MinneapolisPropagate baselineaccuracy0.71split: test · semi-supervised · runs=5 · fine-labeled-examples=200 · coarse-labeled-examples=2000
Source quote
L170: Propagate │ \underset{(0.082)}{0.71} │ \underset{(0.044)}{0.81} │ \underset{(0.008)}{0.82} │ \underset{(0.012)}{0.66}
IMDB · D4 · Sentiment classification, IMDB reviewsPropagate baselineaccuracy0.66split: test · semi-supervised · runs=5 · fine-labeled-examples=200 · coarse-labeled-examples=2000
Source quote
L170: Propagate │ \underset{(0.082)}{0.71} │ \underset{(0.044)}{0.81} │ \underset{(0.008)}{0.82} │ \underset{(0.012)}{0.66}
BibTeX
@misc{nayak2020semi,
  author = {Guruprasad Nayak and Rahul Ghosh and Xiaowei Jia and Varun Mithal and Vipin Kumar},
  title = {{Semi-supervised Classification using Attention-based Regularization on Coarse-resolution Data}},
  year = {2020},
  eprint = {2001.00994},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.00994},
}
Figure