Git Product home page Git Product logo

Comments (4)

yuanzh avatar yuanzh commented on June 2, 2024

@QueenT Thanks for the question! In the current implementation I'm not using the labeled target domain data. This is because I didn't do that semi-supervised experiment before. Perhaps I will add that later.

Yes, the unlabeled data is larger than the labeled data. Say there are 2000 unlabeled docs and 1000 labeled docs. The schedule is simply alternating between the labeled and the unlabeled set, and moving the batch pointer of each set (see s_train_ptr and t_ul_batch_ptr). So when the training procedure passes through the unlabeled data once, it will pass through the labeled data twice. Hope it's clear. Thanks!

from aspect_adversarial.

pluiez avatar pluiez commented on June 2, 2024

@yuanzh Hi, thanks for your detailed reply. Assuming there are 20,000 unlabeled docs and 1000 labeled docs, will the domain classifier and thus corresponding document encoder part be over-trained? If so, to avoid this situation, is it necessary to drop some unlabeled docs used in the training procedure? Thank you.

from aspect_adversarial.

yuanzh avatar yuanzh commented on June 2, 2024

@QueenT Yes, over-fitting is a possible issue. One option is to directly limit the number of iterations over the labeled data, such as 20 iterations, and this means the unlabeled data are used only once. Another option is to use a different batch size, like 10 for labeled and 200 for unlabeled.

from aspect_adversarial.

pluiez avatar pluiez commented on June 2, 2024

@yuanzh Thank you! Now it's much more clear to me.

from aspect_adversarial.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.