Giter Site home page Giter Site logo

Why CNN instead of LSTM? about leakgan HOT 4 CLOSED

AranKomat avatar AranKomat commented on May 27, 2024
Why CNN instead of LSTM?

from leakgan.

Comments (4)

CR-Gjx avatar CR-Gjx commented on May 27, 2024 3
  1. This work is inherited from the SeqGAN (http://www.aaai.org/Conferences/AAAI/2017/PreliminaryPapers/12-Yu-L-14344.pdf), this work use CNN as a discriminator. Other good works like RankGAN
    , (Adversarial Feature Matching for Text Generation ) are also use a CNN as a discriminator.
  2. CNN is a choice for a discriminator. In fact, we also try using LSTM as a discriminator, it also has a good performance, but limited by speed.

from leakgan.

AranKomat avatar AranKomat commented on May 27, 2024

Thanks for your clarification and in particular telling my that LSTM worked not significantly better than CNN.

from leakgan.

CR-Gjx avatar CR-Gjx commented on May 27, 2024

Sorry, I mean that LSTM limited by the speed because of its bad parallelization. While the performance of LSTM depends on the specific task.

from leakgan.

AranKomat avatar AranKomat commented on May 27, 2024

I see. It'd be interesting to try with Transformer. Sorry but I have three questions remaining.

  1. In SeqGAN issue page, LantaoYu theoretically justified training G once for each 15 steps of D updates. But did you guys empirically verify that the 1:15 ratio was good?

  2. In the adversarial training, it was trained for 800 batches only. Is this small number due to fast convergence or considerable amount of training time?

  3. Does the discriminator of LeakGAN receive unfinished real sentences as well, to discriminate them from unfinished fake sentences? If all the discriminator receives are real finished sentences and fake finished and unfinished sentences, then it's trivial to discriminate them by judging the one with comma at the end to be real one. But in this way, the discriminator cannot learn much. How is this avoided in your algorithm?

from leakgan.

Related Issues (20)

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.