Code Monkey home page Code Monkey logo

gon_emb's Introduction

gon_emb

Using fourier feature mapping Strengthen GON (《Gradient Origin Networks》)'s performance

Introduction

The origin GON could quickly learn a latent representation by introducing a second-order derivative and SIREN.

It get a good performance on MNIST, but not good for Celeba:

Recon for Celeba
celeba

As shown in the figure above, the recon is very blurry, and it's very easy to cause gradient explosion. Which can be considered that it cannot learn high-frequency functions.

Solution

As mentioned earlier, current models need a mechanism to learn high-frequency functions. Fortunately, recently proposed 《Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains》 Just do it.

Simply apply fourier mapping on coordinates, let's see the result:

Recon for Celeba after apply fourier
celeba

Wow! Considerable improvement!

Conclusion

The appearance of SIREN makes it possible to calculate the second derivative, so the emergence of GON is natural. It's a good way to learning image embedding, and could be used with Image retrieval, face recognition, and so on. But calculation speed and memory footprint are still an issue.

gon_emb's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

wx-b

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.