Introduction: The Long-Tail Challenge in DocRE
Document-level Relation Extraction (DocRE) involves identifying relationships between entities that often span multiple sentences. A significant hurdle in this field is the severe distribution imbalance within datasets. Most entity pairs have no relationship (Positive-Negative imbalance), and among those that do, a few common relations dominate while hundreds of others appear rarely (Positive-Positive imbalance).
Existing methods often struggle with this "long-tail" problem, frequently sacrificing accuracy on majority classes to improve performance on rare ones. VaeDiff-DocRE addresses this by generating high-quality synthetic entity-pair representations for these underrepresented relations.
The VaeDiff-DocRE Framework
The authors propose a three-stage hierarchical training framework designed to augment data in the embedding space, avoiding the computational overhead and potential hallucinations associated with text-based generation.
Stage 1: Learning the Space
A baseline DocRE model is trained to establish a structured embedding space. In this space, entity pairs expressing similar relations naturally cluster together, providing a foundation for generating realistic synthetic features.
Stage 2: Training VaeDiff
The core of the framework is the Entity Pair VAE (EP-VAE). Unlike standard VAEs that use simple Gaussian priors, VaeDiff-DocRE employs a Diffusion Probabilistic Model (DPM) as a "Diffusion Prior." This allows the model to capture the complex, multi-label nature of relations where a single entity pair might represent multiple overlapping relationship types.
Stage 3: Data Augmentation and Retraining
The trained VaeDiff module generates "pseudo-features"—synthetic embeddings for rare relations. These are integrated with real data to retrain the DocRE system, balancing the training process without degrading performance on common relations.
Key Results and Performance
VaeDiff-DocRE was evaluated on two major benchmarks: Re-DocRED (96 relations) and DWIE (65 relations).
- State-of-the-Art Performance: On Re-DocRED, the model achieved an F1 score of 79.03 using a RoBERTa-large backbone, surpassing previous leaders like KD-DocRE.
- Boosting the Long-Tail: The framework specifically improved performance on rare relations (LTail F1) by nearly 1% on Re-DocRED.
- Consistency Across Datasets: On the DWIE dataset, the model outperformed the previous SOTA (Correl) by 2.27 points on the test set.
Conclusion
By combining Variational Autoencoders with Diffusion Models, VaeDiff-DocRE effectively mitigates the trade-off between majority and minority class performance in DocRE. While the multi-stage process and diffusion model increase training time, the gains in accuracy—particularly for rare relations—demonstrate the power of embedding-space augmentation. Future work may focus on optimizing diffusion architectures and testing the framework in specialized domains like medicine or law.
Summary updated