Tensorization of neural networks for improved privacy and interpretability

José Ramón Pareja Monturiol, Alejandro Pozas-Kerstjens, David Pérez-García
1/10/2025
math.NAcs.LGphysics.comp-ph

No official code found. Best implementation: joserapa98/tensorization-nns (0 stars, MIT, last commit 2025-12-26).

Abstract

We present a tensorization algorithm for constructing tensor train representations of functions, drawing on sketching and cross interpolation ideas. The method only requires black-box access to the target function and a small set of sample points defining the domain of interest. Thus, it is particularly well-suited for machine learning models, where the domain of interest is naturally defined by the training dataset. We show that this approach can be used to enhance the privacy and interpretability of neural network models. Specifically, we apply our decomposition to (i) obfuscate neural networks whose parameters encode patterns tied to the training data distribution, and (ii) estimate topological phases of matter that are easily accessible from the tensor train representation. Additionally, we show that this tensorization can serve as an efficient initialization method for optimizing tensor trains in general settings, and that, for model compression, our algorithm achieves a superior trade-off between memory and time complexity compared to conventional tensorization methods of neural networks.

View on arXivView PDF

Code Implementations(1)

MIT

Code repository for arXiv:2501.06300

01Python, Jupyter NotebookFeb 18, 20259 months agoMIT
efficiencyinitializationinterpretabilitymachine-learningprivacy+1 more

Similar Papers

Cite this paper

@article{monturiol2025tensorization,
  title  = {Tensorization of neural networks for improved privacy and interpretability},
  author = {José Ramón Pareja Monturiol and Alejandro Pozas-Kerstjens and David Pérez-García},
  year   = {2025},
  eprint = {2501.06300},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.06300v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.06300.svg)](https://codeofpaper.com/paper/2501.06300)

Discussion