@@ -55,6 +55,9 @@ There are 3 different types of Forward-Forward-based Neural Networks implemented
5555 - [ ** FF+C** ] ( #ffc ) - [ example usage] ( ./examples/ff_c_mnist.py )
5656 - [ ** FFRNN** ] ( #ffrnn ) - [ example usage] ( ./examples/ff_rnn_mnist.py )
5757
58+ > [ !NOTE]
59+ > There's also a [ backpropagation example] ( ./examples/bp_mnist.py ) implemented as a base case.
60+
5861### FFNet
5962
6063The basic example of a Neural Network based on the Forward-Forward Algorithm.
@@ -92,6 +95,22 @@ from the previous layer, but also backward weights from the next layer.
9295These networks have to be trained with multiple frames per batch, thus
9396requiring even more time for both, training and inference.
9497
98+ ## Utilities
99+
100+ We aim to implement many small utilities for training, validating, testing, developing, debugging and analysing FF networks.
101+ For each type of network, we have build small network-specifc train-test suites that allow you to quickly train and test
102+ a FF network with some specific [ DataProcessor] ( ./src/fflib/utils/data/dataprocessor.py ) .
103+ For each new dataset, you just need to define a data processor.
104+ The suite will take in the network and the data processor and train the network in the way it is supposed to.
105+ There are currently implemented 4 different testing suites:
106+ - [ FF Suite] ( ./src/fflib/utils/ff_suite.py )
107+ - [ FF+C Suite] ( ./src/fflib/utils/ffc_suite.py )
108+ - [ FFRNN Suite] ( ./src/fflib/utils/ffrnn_suite.py )
109+ - [ BP Suite] ( ./src/fflib/utils/bp_suite.py )
110+
111+ Furthermore, each network implements some analysis functions, currently only a ` sparsity ` function is implemented.
112+ Sparsity can be computed in two ways ` HOYER ` [ 3] and ` ENTROPY_BASED ` .
113+
95114## Contributions
96115
97116We really appreciate contributions from the community!
@@ -151,3 +170,4 @@ Here are a few guidelines to following while contributing on the library:
151170
152171 - [ ** [ 1] ** ] ( https://arxiv.org/abs/2212.13345 ) - Hinton, G. (2022). The Forward-Forward Algorithm: Some preliminary investigations.
153172 - [ ** [ 2] ** ] ( https://pytorch.org/ ) - PyTorch.
173+ - [ ** [ 3] ** ] ( https://dl.acm.org/doi/10.5555/1005332.1044709 ) - Hoyer, P. (2004). Non-negative Matrix Factorization with Sparseness Constraints.
0 commit comments