[Paper Review] Learning Loss Functions for Semi-supervised Learning via Discriminative Adversarial Networks
This paper proposes Discriminative Adversarial Networks (DAN), a novel framework that learns loss functions for predictors using two discriminators instead of a generator-discriminator pair. By training a predictor and a judge network in an adversarial manner, DAN enables effective semi-supervised learning and automatically learns competitive loss functions that outperform standard losses like pairwise and negative log-likelihood, especially with limited labeled data.
We propose discriminative adversarial networks (DAN) for semi-supervised learning and loss function learning. Our DAN approach builds upon generative adversarial networks (GANs) and conditional GANs but includes the key differentiator of using two discriminators instead of a generator and a discriminator. DAN can be seen as a framework to learn loss functions for predictors that also implements semi-supervised learning in a straightforward manner. We propose instantiations of DAN for two different prediction tasks: classification and ranking. Our experimental results on three datasets of different tasks demonstrate that DAN is a promising framework for both semi-supervised learning and learning loss functions for predictors. For all tasks, the semi-supervised capability of DAN can significantly boost the predictor performance for small labeled sets with minor architecture changes across tasks. Moreover, the loss functions automatically learned by DANs are very competitive and usually outperform the standard pairwise and negative log-likelihood loss functions for both semi-supervised and supervised learning.
Motivation & Objective
- To address the challenge of designing effective loss functions that incorporate both labeled and unlabeled data in semi-supervised learning.
- To develop a framework that learns optimal loss functions implicitly, avoiding manual design or reliance on data generation.
- To enable semi-supervised learning for structured prediction tasks like ranking and text classification, particularly in NLP where discrete data generation is problematic.
- To improve model performance with small labeled datasets by leveraging unlabeled data through adversarial training.
- To provide a stable, architecture-agnostic method for loss function learning that generalizes across tasks.
Proposed method
- DAN uses two discriminators: a predictor P that maps input x to output y, and a judge J that distinguishes real (x, y) pairs from predicted (x, y) pairs.
- The predictor P is trained to produce outputs that fool the judge J into classifying its predictions as real, implicitly learning a task-specific loss function.
- The judge J is trained to correctly classify real labeled pairs versus predicted pairs, forming a min-max game that shapes the loss landscape.
- The framework avoids data generation, making it suitable for discrete data like text, unlike traditional GANs.
- A new scoring function is introduced for the judge network to improve training stability.
- The method is instantiated for text classification (CNN-based) and answer sentence selection (ranking), using simple architectures to isolate the contribution of the DAN framework.
Experimental results
Research questions
- RQ1Can a two-discriminator adversarial framework learn effective loss functions for predictors without requiring data generation?
- RQ2How does the DAN framework improve performance in semi-supervised learning with limited labeled data?
- RQ3Can the automatically learned loss functions outperform standard losses like negative log-likelihood and pairwise ranking loss?
- RQ4Why is DAN more effective for ranking tasks than for text classification, especially as labeled data increases?
- RQ5What architectural and training modifications are needed to stabilize DAN training for different prediction tasks?
Key findings
- On the SelQA dataset, CNN-DAN with 10 labeled instances achieved a MAP of 0.5749, significantly outperforming CNN-hinge_loss (0.4610), demonstrating strong semi-supervised gains.
- For the WikiQA ranking task, CNN-DAN achieved a MAP of 0.5437 with 10 labeled instances, outperforming the baseline CNN-hinge_loss (0.5447) and showing consistent improvement in MRR and NDCG.
- The semi-supervised variant CNN-DANunlab. achieved a MAP of 0.6891 on SelQA with only 10 labeled instances, indicating substantial performance boost from unlabeled data.
- On the SSTB2 sentiment classification dataset, CNN-DAN achieved 63.25% accuracy with 10 labeled instances, surpassing CNNnll (60.42%), showing that the learned loss is more effective than negative log-likelihood.
- The DAN framework learned loss functions that were competitive even in the supervised setting, with CNN-DAN outperforming CNNnll on the full SSTB2 dataset (84.70% vs. 84.38%).
- Despite training stability issues, CNN-DANunlab. showed significant performance gains on small labeled sets, suggesting that the framework is particularly effective when labeled data is scarce.
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.