2
$\begingroup$

I am working on the classification of fake and real news. I did use a CNN Model for this problem and got satisfactory results. But, I was just wondering if it's at all possible to use any type of GAN for this sort of a problem.

$\endgroup$
1
$\begingroup$

(without philosophically adding some layers on top of GANS) answer is NO.

You can expect to generate images, news etc (generative adverserial network) but not to actually perform classification

| improve this answer | |
$\endgroup$
0
$\begingroup$

Just for the sake of argument. It is possible that you could just extract the discriminator from the GAN and use that to perform classification in quite a crude sense. However, I can't see this outperforming a traditional CNN classifier.

| improve this answer | |
$\endgroup$
0
$\begingroup$

It is possible to use GANs to generate text (see this question), but the results are worse than normal LMs in terms of quality and diversity.

If you trained a textual GAN, it should be possible to reuse the trained Discriminator for transfer learning into a classification task, either directly reusing the features and projecting them into the new logit space or finetuning the whole model. However, I would not expect good results, as the features learned by the Discriminator are specifically aiming at uncovering the data created by the Discriminator instead of just the real data.

If you have lots of unlabeled textual data you want to profit from in your classification problem, a better option would be to train a masked language model on the data, or even better, use BERT. If your domain is close to wikipedia data (which was used to train BERT), then you could use it as-is and simply fine-tune it on your classification task. If your domain is very different, then you can fine-tuning BERT on both the masked LM task with your textual data and your classification problem at the same time.

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.