Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Leblanc, Samuel, Rasolomanana, Aiky, Armenta, Marco
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2409.13163
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909320631812096
author Leblanc, Samuel
Rasolomanana, Aiky
Armenta, Marco
author_facet Leblanc, Samuel
Rasolomanana, Aiky
Armenta, Marco
contents We introduce a novel mathematical framework for analyzing neural networks using tools from quiver representation theory. This framework enables us to quantify the similarity between a new data sample and the training data, as perceived by the neural network. By leveraging the induced quiver representation of a data sample, we capture more information than traditional hidden layer outputs. This quiver representation abstracts away the complexity of the computations of the forward pass into a single matrix, allowing us to employ simple geometric and statistical arguments in a matrix space to study neural network predictions. Our mathematical results are architecture-agnostic and task-agnostic, making them broadly applicable. As proof of concept experiments, we apply our results for the MNIST and FashionMNIST datasets on the problem of detecting adversarial examples on different MLP architectures and several adversarial attack methods. Our experiments can be reproduced with our \href{https://github.com/MarcoArmenta/Hidden-Activations-are-not-Enough}{publicly available repository}.
format Preprint
id arxiv_https___arxiv_org_abs_2409_13163
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Hidden Activations Are Not Enough: A General Approach to Neural Network Predictions
Leblanc, Samuel
Rasolomanana, Aiky
Armenta, Marco
Machine Learning
Neural and Evolutionary Computing
Representation Theory
We introduce a novel mathematical framework for analyzing neural networks using tools from quiver representation theory. This framework enables us to quantify the similarity between a new data sample and the training data, as perceived by the neural network. By leveraging the induced quiver representation of a data sample, we capture more information than traditional hidden layer outputs. This quiver representation abstracts away the complexity of the computations of the forward pass into a single matrix, allowing us to employ simple geometric and statistical arguments in a matrix space to study neural network predictions. Our mathematical results are architecture-agnostic and task-agnostic, making them broadly applicable. As proof of concept experiments, we apply our results for the MNIST and FashionMNIST datasets on the problem of detecting adversarial examples on different MLP architectures and several adversarial attack methods. Our experiments can be reproduced with our \href{https://github.com/MarcoArmenta/Hidden-Activations-are-not-Enough}{publicly available repository}.
title Hidden Activations Are Not Enough: A General Approach to Neural Network Predictions
topic Machine Learning
Neural and Evolutionary Computing
Representation Theory
url https://arxiv.org/abs/2409.13163