Code Monkey home page Code Monkey logo

casr's People

Contributors

ralphhan avatar

Stargazers

 avatar

Watchers

 avatar

casr's Issues

[Question] iterative refinement prone to overfit

Hi. Your idea of modeling complex sequences via so-called self-boost refinement is very interesting.

I tried to implement this approach to neural machine translation. That is, train an autoregressive model $M^{0}$ to translate a source sequence to a target sequence in the teacher-forcing manner. After training enough, generate the predicted version of the target sequences. Then, take the source sequence and predicted target sequence as input to the second autoregressive model $M^{1}$ and still train it in the teacher-forcing manner. And so on.

However, I found that, since this is not an end-to-end procedure, the validation loss goes higher as the Castep increases. The expectation that the later model corrects the wrong part of the previous prediction according to other parts it depends on fails. This result is not a surprise to me because the model can easily find a shortcut which is just simply copying the inputs and this shortcut conveniently maintains a good likelihood loss. In other words, in my implementation, only the first model $M^{0}$ learns something, and the subsequent model $\lbrace M^{t}\rbrace_{t>0}$ just overfits the input and is too lazy to try to correct the wrong predictions.

So I am wondering how exactly CASR model can achieve refinement.

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.