nn2poly: An R Package for Converting Neural Networks into Interpretable Polynomials
Pablo Morala (1, 2), Jenny Alexandra Cifuentes (3), Rosa E. Lillo, (1, 2), I\~naki Ucar (1, 2) ((1) uc3m-Santander Big Data Institute,, Universidad Carlos III de Madrid. Spain., (2) Department of Statistics,, Universidad Carlos III de Madrid. Spain., (3) ICADE, Department of

TL;DR
The nn2poly R package converts neural networks into polynomial forms for easier interpretation, capturing variable effects and interactions efficiently, and integrates seamlessly with popular deep learning frameworks.
Contribution
This work introduces an R package that implements the NN2Poly method, enabling interpretable polynomial representations of neural networks with interaction effects and training constraints.
Findings
Effective interpretation of neural networks through polynomial coefficients.
Comparison shows advantages over existing interpretability methods.
Facilitates visualization and prediction with polynomial models.
Abstract
The nn2poly package provides the implementation in R of the NN2Poly method to explain and interpret feed-forward neural networks by means of polynomial representations that predict in an equivalent manner as the original network.Through the obtained polynomial coefficients, the effect and importance of each variable and their interactions on the output can be represented. This capabiltiy of capturing interactions is a key aspect usually missing from most Explainable Artificial Intelligence (XAI) methods, specially if they rely on expensive computations that can be amplified when used on large neural networks. The package provides integration with the main deep learning framework packages in R (tensorflow and torch), allowing an user-friendly application of the NN2Poly algorithm. Furthermore, nn2poly provides implementation of the required weight constraints to be used during the network…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural Networks and Applications
