Skip to main content
QUICK REVIEW

[Paper Review] Heavy-tailed Representations, Text Polarity Classification & Data Augmentation

Hamid Jalalzai, Paolo Colombo|arXiv (Cornell University)|Jan 1, 2020
Sentiment Analysis and Opinion MiningComputer Science56 references8 citations
TL;DR

This paper proposes Learning a Heavy-Tailed Representation (LHTR), an adversarial method that transforms BERT embeddings into a heavy-tailed distribution suitable for multivariate extreme value theory (EVT). By exploiting scale invariance in the tails, LHTR enables improved classification of extreme text sequences and a novel label-preserving data augmentation method, GENELIEX, which generates semantically meaningful, sentiment-invariant text by scaling embeddings. The approach improves sentiment classification accuracy and generates high-quality synthetic text with controlled attributes.

ABSTRACT

The dominant approaches to text representation in natural language rely on learning embeddings on massive corpora which have convenient properties such as compositionality and distance preservation. In this paper, we develop a novel method to learn a heavy-tailed embedding with desirable regularity properties regarding the distributional tails, which allows to analyze the points far away from the distribution bulk using the framework of multivariate extreme value theory. In particular, a classifier dedicated to the tails of the proposed embedding is obtained which performance outperforms the baseline. This classifier exhibits a scale invariance property which we leverage by introducing a novel text generation method for label preserving dataset augmentation. Numerical experiments on synthetic and real text data demonstrate the relevance of the proposed framework and confirm that this method generates meaningful sentences with controllable attribute, e.g. positive or negative sentiment.

Motivation & Objective

  • To address the lack of robustness in text classification for extreme-length or rare-text sequences by modeling their tail behavior.
  • To develop a method that transforms standard BERT embeddings into a heavy-tailed distribution satisfying the regular variation assumptions required for extreme value theory (EVT).
  • To enable scale-invariant classification in the tail regions of text embeddings, improving performance on rare or long sequences.
  • To design a novel data augmentation framework, GENELIEX, that generates semantically meaningful, label-consistent text by scaling embeddings in the learned heavy-tailed space.
  • To empirically validate that extreme sequences (longer, harder to classify) are systematically associated with high norm values in both BERT and LHTR representations.

Proposed method

  • LHTR uses an adversarial training procedure to learn a transformation from BERT embeddings to a heavy-tailed distribution that satisfies the regular variation condition required by multivariate extreme value theory (EVT).
  • The method ensures that the tail behavior of the transformed embeddings Z approximates a power law, enabling EVT-based analysis of extreme points.
  • A specialized angular classifier g is trained on the tail region {||x||∞ ≥ t} using only the direction of the vector, exploiting scale invariance for improved classification of extreme inputs.
  • GENELIEX generates synthetic sequences by applying homothety (scaling) hλ(x) = λx with λ ≥ 1 to extreme embeddings, preserving the predicted label due to scale invariance of the classifier g.
  • The framework is validated on Yelp and Amazon sentiment datasets, where LHTR embeddings show improved classification performance and GENELIEX generates coherent, sentiment-preserving text.
  • Statistical tests (Kolmogorov-Smirnov) confirm that extreme sequences in LHTR have significantly longer average lengths than bulk sequences, supporting the link between length and extremity.

Experimental results

Research questions

  • RQ1Can BERT embeddings be transformed into a heavy-tailed distribution that satisfies the regular variation condition required for multivariate extreme value theory?
  • RQ2Does a classifier trained on the angular component of the transformed embeddings (LHTR) outperform standard classifiers on extreme text sequences?
  • RQ3Can scale invariance in the tail region of the learned heavy-tailed representation be exploited to generate new, label-consistent text sequences without external linguistic resources?
  • RQ4Are long or rare text sequences systematically associated with high-norm embeddings in both BERT and LHTR spaces?
  • RQ5Is there a measurable correlation between sequence length and extremity in the LHTR representation, and does this correlate with model difficulty?

Key findings

  • LHTR successfully transforms BERT embeddings into a heavy-tailed distribution, as confirmed by statistical tests in Appendix B.5, satisfying the regular variation assumption required for EVT.
  • The classifier trained on LHTR embeddings achieves higher accuracy on extreme sequences (||x||∞ ≥ t) than the baseline classifier on raw BERT embeddings, demonstrating improved robustness to tail inputs.
  • GENELIEX generates synthetic sequences with controlled sentiment polarity by scaling extreme embeddings with λ ≥ 1, and qualitative evaluation confirms that generated sentences are semantically meaningful and preserve the original sentiment.
  • Extreme sequences in the LHTR representation are significantly longer on average than non-extreme sequences, with Kolmogorov-Smirnov tests rejecting the null hypothesis of equal length distributions (p < 0.05) for both positive and negative classes on Yelp and Amazon datasets.
  • There is a strong positive correlation between BERT norm and LHTR norm, indicating that the LHTR transformation preserves the relative ordering of samples by norm magnitude.
  • Long sequences in BERT are more likely to be classified as extreme in LHTR, and these sequences are also associated with lower confidence scores in BERT's own classification head, confirming their increased modeling difficulty.

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.