[Paper Review] Heavy-tailed Representations, Text Polarity Classification & Data Augmentation
This paper proposes Learning a Heavy Tailed Representation (LHTR), a novel adversarial method to transform text embeddings into a heavy-tailed distribution that satisfies the regularity conditions of multivariate extreme value theory (EVT). By leveraging scale invariance in the angular component of LHTR, the framework enables improved classification of extreme-text samples and a novel label-preserving data augmentation method (GENELIEX), which generates semantically meaningful, sentiment-consistent text by scaling high-norm sequences, outperforming baselines on sentiment classification tasks.
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 NLP models when classifying rare, high-norm text samples that lie in the distributional tails.
- To develop a method that transforms standard text embeddings (e.g., BERT) into a heavy-tailed distribution suitable for extreme value theory (EVT) analysis.
- To exploit scale invariance in the angular component of the learned representation for label-preserving data augmentation.
- To empirically validate that extreme texts (by norm) are harder to model and classify, justifying a dedicated extreme-region classifier.
- To demonstrate that long sequences and high BERT norms correlate with extreme behavior in the LHTR space.
Proposed method
- LHTR uses an adversarial training strategy to learn a transformation that maps input text embeddings into a heavy-tailed distribution with power-law tail behavior.
- The method ensures that the angular component of the transformed vector, Θ(x) = ||x||⁻¹x, captures extreme behavior, enabling EVT-based classification.
- A dedicated angular classifier is trained on the tail region {||x|| ≥ t}, where t is a high threshold (e.g., 25th percentile of norms), exploiting scale invariance.
- The framework enables a novel data augmentation method, GENELIEX, which scales high-norm sequences by λ > 1, preserving their label due to scale invariance.
- The method is validated on Yelp and Amazon sentiment datasets using BERT embeddings as input, with norm-based thresholds defining extreme samples.
- Statistical tests (Pearson and Spearman) are used to assess correlation between sequence length, BERT norm, LHTR norm, and language model loss.
Experimental results
Research questions
- RQ1Can we learn a heavy-tailed representation of text embeddings that satisfies the regularity assumptions of multivariate extreme value theory (EVT)?
- RQ2Does the angular component of the LHTR representation enable improved classification of extreme text samples (e.g., long or rare sequences)?
- RQ3Can scale invariance in the LHTR representation be leveraged to generate synthetic text that preserves sentiment labels?
- RQ4Are extreme texts (by norm) in BERT or LHTR representations harder to model, as measured by next-token prediction loss?
- RQ5Is there a significant correlation between sequence length, BERT norm, LHTR norm, and modeling difficulty (LM loss)?
Key findings
- All pairwise correlations between sequence length, BERT norm, LHTR norm, and language model loss were statistically significant (p < 10⁻¹⁶), indicating strong positive dependence.
- Extreme samples in the LHTR representation are significantly longer on average than non-extreme samples, with Kolmogorov-Smirnov tests rejecting equality of length distributions (p < 0.05).
- The LHTR norm strongly correlates with the BERT norm, indicating that the transformation preserves the relative ordering of samples by norm magnitude.
- High-norm texts (extremes) are significantly harder to model, as evidenced by higher next-token prediction loss, confirming their increased complexity.
- The angular classifier trained on extreme regions outperforms standard classifiers on tail samples, validating the need for EVT-based methods in extreme NLP tasks.
- GENELIEX successfully generates semantically meaningful, sentiment-consistent text by scaling high-norm sequences, demonstrating the practical utility of scale invariance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.