Learning with Algorithmic Supervision via Continuous Relaxations

Felix Petersen, Christian Borgelt, Hilde Kuehne, Oliver Deussen
10/11/2021
cs.LGstat.ML

Official code: Felix-Petersen/algovision (116 stars, Python, MIT, last commit 2023-07-03).

Abstract

The integration of algorithmic components into neural architectures has gained increased attention recently, as it allows training neural networks with new forms of supervision such as ordering constraints or silhouettes instead of using ground truth labels. Many approaches in the field focus on the continuous relaxation of a specific task and show promising results in this context.

Show full abstract

But the focus on single tasks also limits the applicability of the proposed concepts to a narrow range of applications. In this work, we build on those ideas to propose an approach that allows to integrate algorithms into end-to-end trainable neural network architectures based on a general approximation of discrete conditions. To this end, we relax these conditions in control structures such as conditional statements, loops, and indexing, so that resulting algorithms are smoothly differentiable. To obtain meaningful gradients, each relevant variable is perturbed via logistic distributions and the expectation value under this perturbation is approximated. We evaluate the proposed continuous relaxation model on four challenging tasks and show that it can keep up with relaxations specifically designed for each individual task.

View on arXivView PDF

Code Implementations(1)

MIT

Differentiable Algorithms and Algorithmic Supervision.

1165Python, Jupyter NotebookOct 19, 20213 years agoMIT

Similar Papers

Cite this paper

@article{petersen2021learning,
  title  = {Learning with Algorithmic Supervision via Continuous Relaxations},
  author = {Felix Petersen and Christian Borgelt and Hilde Kuehne and Oliver Deussen},
  year   = {2021},
  eprint = {2110.05651},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.05651}
}

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/2110.05651.svg)](https://codeofpaper.com/paper/2110.05651)

Discussion