Skip to content

AlbertoSinigaglia/binarized-neural-networks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Binarized Neural Networks

Binarized Neural Networks (BNN) are neural networks very efficient, since its implementation can be done operating completely using bitwise operations, highly optimized in current processors.

Their peculiarity is to have binary weights, which in particular can have values in {-1,1}.

However, this causes the network to be non-differentiable, and therefore they are not easily trainable.

With this project, the BNN is trained encoding the problem as a propositional MaxSAT logic problem, which then will be solved using the RC2 solver from PySAT.

In particular, the activation function of the BNN considered is the following:

Contents

In the repository can be found a PDF file with the presentation fo the project and its solution (definition, encoding, constraints, solution and analysis)

In the Jupyter notebook can be found the implementation of such problem using PySAT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published