Coder Social home page Coder Social logo

z's Introduction

(Note: This description is obsolete. There are major changes in core architecture. But overall idea is same. I will update description.)

Z Layers

Z Layers are alternative layers to vanilla layers. Unlike vanilla layers, Z layers can perform non-linear transformations. So it does not require any activation function.

Z Layer is formed by using N parallel vanilla layers (N considered number of routes) and performing SoftPooling operation between outputs of each layer. This lets layer learn any arbitrary non-linear transformation. The complexity of transformation can be increased by increasing number of routes.

Since Z Layers consist of N parallel vanilla layers, these layers do not increase composition of model. In vanilla models it is required to stack multiple layers to learn a non-linear transformation. But stacking too many layers makes it harder for model to converge. As more layers are added the composition of models keeps increasing. More layers require more time to train. This is why we use skip-connections, dense layers etc to reduce composition. (Here composition means minimum number of linear transformation from input to output in a model's graph)

A single Z layer can approximate 2 to 3 stacked vanilla layers. This also means it has lesser parameters and high information density.

It is not guaranteed to work as its still under research. Feel free to share your results.

Examples

Dataset Model Parameters Accuracy Colab
MNIST C16-SP-C32-SP-F-D-L 73,512 99.63% link
CIFAR-10 CD16-SP-DC32-SP-DC64-SP-F-D-L link

z's People

Contributors

zdsalpha avatar

Watchers

 avatar  avatar

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.