Mixed Integer Linear Programming for Optimizing a Hopfield Network

Abstract

This work presents an approach to optimize the weights of a discrete Hopfield network as mixed integer linear program (MILP). As the original formulation involves a sign-function, it is not differentiable, but parameter optimization using a (mixed integer) LP is possible. As autoassociative memory, a key question is the amount of patterns which can be stored in such a Hopfield network. In this work it is shown, that the traditional storage description models are far inferior to a globally optimized solution which can be obtained with a MILP. In contrast to a gradient descent based optimization is the proposed approach nearly parameter free and independent from seeding and other factors which are crucial for differentiable programming. Additionally it is possible to enforce sparsity constraints on the weights. Such additional constraints improve the generalization of such a model and make the Hopfield network more stable for the case of outliers or missing values. Several experiments demonstrate the effectiveness of the model.

Cite

Text

Rosenhahn. "Mixed Integer Linear Programming for Optimizing a Hopfield Network." European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, 2022. doi:10.1007/978-3-031-26419-1_21

Markdown

[Rosenhahn. "Mixed Integer Linear Programming for Optimizing a Hopfield Network." European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, 2022.](https://mlanthology.org/ecmlpkdd/2022/rosenhahn2022ecmlpkdd-mixed/) doi:10.1007/978-3-031-26419-1_21

BibTeX

@inproceedings{rosenhahn2022ecmlpkdd-mixed,
  title     = {{Mixed Integer Linear Programming for Optimizing a Hopfield Network}},
  author    = {Rosenhahn, Bodo},
  booktitle = {European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases},
  year      = {2022},
  pages     = {344-360},
  doi       = {10.1007/978-3-031-26419-1_21},
  url       = {https://mlanthology.org/ecmlpkdd/2022/rosenhahn2022ecmlpkdd-mixed/}
}