Abstract
This paper explores the integration of multi-lingual pretraining with semi-supervised deep generative models (DGMs) for document classification. By leveraging the "world knowledge" of models like mBERT and the label efficiency of DGMs, the authors propose a framework that significantly outperforms standard supervised baselines in low-resource scenarios. A key contribution is the reformulation of the M1+M2 objective function, enabling stable end-to-end training. Experiments on the MLDoc corpus across five languages demonstrate substantial accuracy gains when labeled data is extremely scarce.
Introduction
Modern Natural Language Processing (NLP) is characterized by two powerful paradigms: large-scale multi-lingual pretraining and semi-supervised learning (SSL). Multi-lingual models like mBERT learn shared representations across languages from massive unlabeled corpora. Conversely, SSL via Deep Generative Models (DGMs), such as Variational Autoencoders (VAEs), allows models to learn task-specific features from a small set of labeled examples and a larger pool of unlabeled data.
Despite their individual successes, these paradigms have rarely been effectively combined for document classification. Pretrained models often struggle when task-specific labels are scarce—a frequent challenge for many of the world's languages. Furthermore, the classic M1+M2 DGM architecture, while theoretically sound for SSL, has historically been difficult to train end-to-end due to stability issues. This research bridges this gap by integrating pretrained multi-lingual encoders into a stabilized DGM framework.
Methodology
The authors utilize the M1+M2 framework, which employs two layers of latent variables ($z_1$ and $z_2$) to model the data distribution. The core innovation lies in the flexibility of the encoder and the stability of the training objective.
Encoders and Decoders
The framework supports various encoders. The authors evaluate mBERT, a Transformer-based model, and a custom NXVAE (Non-parallel cross-lingual VAE). NXVAE uses BiLSTMs and a language discriminator to learn language-agnostic representations without requiring parallel text. For the generative component, the model reconstructs input text from the latent space using either a Bag-of-Words (BOW) or a Gated Recurrent Unit (GRU) decoder.
Reformulated Objective
A significant hurdle for M1+M2 models has been the need for cumbersome layer-wise training. The authors overcome this by mathematically rearranging the Evidence Lower Bound (ELBO). As shown in Figure 1, the objective functions for labeled data $\mathcal{L}(x, y)$ and unlabeled data $\mathcal{U}(x)$ are decomposed into reconstruction and KL divergence terms. This reformulation allows for stable, end-to-end training of the entire architecture.
Experimental Setup
The proposed methods were evaluated using the MLDoc (Multi-lingual Document Classification) corpus, covering English (EN), German (DE), French (FR), Russian (RU), and Chinese (ZH). The task involves classifying news articles into four categories: Corporate, Economics, Government, and Markets.
To simulate low-resource conditions, the models were trained with only 8, 16, or 32 labeled instances per language, supplemented by 1,000 unlabeled instances. This setup tests the model's ability to generalize from minimal supervision.
Results and Discussion
The experimental results highlight the effectiveness of the semi-supervised DGM approach across all tested languages and encoders.
Performance Gains
The M1+M2+BOW model consistently outperformed the supervised baseline (SUP-h). As illustrated in Figure 2, the performance gap is most pronounced in the most data-constrained settings. For instance, with only 8 labels in English, the proposed model achieved 63.5% accuracy, compared to 42.2% for the supervised mBERT baseline.
Key Insights
- Orthogonality: The benefits of the DGM framework are independent of the encoder type. Both LSTM-based (NXVAE) and Transformer-based (mBERT) encoders saw significant improvements when wrapped in the generative layer.
- Decoder Simplicity: Interestingly, the simpler BOW decoder often outperformed the GRU decoder. For document classification, capturing topical keywords appears more critical than modeling complex syntax, which can sometimes introduce noise.
- Stability: Pretrained Transformers are often unstable when fine-tuned on tiny datasets. The DGM framework acts as a regularizer, reducing variance and providing more consistent performance across training runs.
Conclusion
This work demonstrates that combining multi-lingual pretraining with semi-supervised deep generative models provides a robust solution for low-resource document classification. By stabilizing the M1+M2 framework, the authors enable end-to-end training that effectively leverages unlabeled data. Future work may address the domain discrepancy between general-purpose pretraining data and task-specific data, as well as exploring the generative quality of the decoders in more depth.
Summary updated