Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ConvNetJS] Implement DropConnect for regularizing large fully-connected layers #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ajtulloch
Copy link

Summary

This diff implements DropConnect, following the paper in
http://cs.nyu.edu/~wanli/dropc/dropc.pdf.

"When training with Dropout, a randomly selected subset of activations
are set to zero within each layer. DropConnect instead sets a randomly
selected subset of weights within the network to zero. Each unit thus
receives input from a random subset of units in the previous layer."

DropConnect has been shown to achieve significant improvements in model
performance over DropOut.

Test Plan

I'm not sure on how to proceed here - do you want me to add a demo
demonstrating DropOut vs DropConnect on an otherwise identical
dataset/architecture?

I'd like to add unit tests but it's unclear how to add them into this
project.

I verified that existing demonstrations (MNIST, autoencoder, etc) work,
and that adding a drop-connect layer allows training to continue as expected.

…ted layers

Summary:
This diff implements DropConnect, following the paper in
http://cs.nyu.edu/~wanli/dropc/dropc.pdf.

"When training with Dropout, a randomly selected subset of activations
are set to zero within each layer. DropConnect instead sets a randomly
selected subset of *weights* within the network to zero.  Each unit thus
receives input from a random subset of units in the previous layer."

DropConnect has been shown to achieve significant improvements in model
performance over DropOut.

Test Plan:
I'm not sure on how to proceed here - do you want me to add a demo
demonstrating DropOut vs DropConnect on an otherwise identical
dataset/architecture?

I'd like to add unit tests but it's unclear how to add them into this
project.

I verified that existing demonstrations (MNIST, autoencoder, etc) work,
and that adding a drop-connect layer allows training to continue as expected.

Reviewers:

CC:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants