<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"><rdf:Description rdf:about="https://dk.um.si/IzpisGradiva.php?id=94526"><dc:title>Prunability of multi-layer perceptrons trained with the forward-forward algorithm</dc:title><dc:creator>Nikov,	Mitko	(Avtor)
	</dc:creator><dc:creator>Strnad,	Damjan	(Avtor)
	</dc:creator><dc:creator>Podgorelec,	David	(Avtor)
	</dc:creator><dc:subject>Forward-Forward</dc:subject><dc:subject>sparsity</dc:subject><dc:subject>pruning</dc:subject><dc:subject>model compression</dc:subject><dc:subject>machine learning</dc:subject><dc:subject>neural network</dc:subject><dc:description>We explore the sparsity and prunability of multi-layer perceptrons (MLPs) trained using the Forward-Forward (FF) algorithm, an alternative to backpropagation (BP) that replaces the backward pass with local, contrastive updates at each layer. We analyze the sparsity of the weight matrices during training using multiple metrics, and test the prunability of FF networks on the MNIST, FashionMNIST and CIFAR-10 datasets. We also propose FFLib—a novel, modular PyTorch-based library for developing, training and analyzing FF models along with a suite of FF-based architectures, including FFNN, FFNN+C and FFRNN. In addition to structural sparsity, we describe and apply a new method for visualizing the functional sparsity of neural activations across different architectures using the HSV color space. Moreover, we conduct a sensitivity analysis to assess the impact of hyperparameters on model performance and sparsity. Finally, we perform pruning experiments, showing that simple FF-based MLPs exhibit significantly greater robustness to one-shot neuron pruning than traditional BP-trained networks, and a possible 8-fold increase in compression ratios while maintaining comparable accuracy on the MNIST dataset.</dc:description><dc:publisher>MDPI</dc:publisher><dc:date>2025</dc:date><dc:date>2025-08-20 12:14:02</dc:date><dc:type>Članek v reviji</dc:type><dc:identifier>94526</dc:identifier><dc:language>sl</dc:language><dc:rights>© 2025 by the authors</dc:rights></rdf:Description></rdf:RDF>
