Saved in:
Bibliographic Details
Main Authors: Shamshoum, Yara, Hodos, Nitzan, Sieradzki, Yuval, Schuster, Assaf
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.02187
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917684467204096
author Shamshoum, Yara
Hodos, Nitzan
Sieradzki, Yuval
Schuster, Assaf
author_facet Shamshoum, Yara
Hodos, Nitzan
Sieradzki, Yuval
Schuster, Assaf
contents Many recent works use machine learning models to solve various complex algorithmic problems. However, these models attempt to reach a solution without considering the problem's required computational complexity, which can be detrimental to their ability to solve it correctly. In this work we investigate the effect of computational time and memory on generalization of implicit algorithmic solvers. To do so, we focus on the Differentiable Neural Computer (DNC), a general problem solver that also lets us reason directly about its usage of time and memory. In this work, we argue that the number of planning steps the model is allowed to take, which we call "planning budget", is a constraint that can cause the model to generalize poorly and hurt its ability to fully utilize its external memory. We evaluate our method on Graph Shortest Path, Convex Hull, Graph MinCut and Associative Recall, and show how the planning budget can drastically change the behavior of the learned algorithm, in terms of learned time complexity, training time, stability and generalization to inputs larger than those seen during training.
format Preprint
id arxiv_https___arxiv_org_abs_2406_02187
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DNCs Require More Planning Steps
Shamshoum, Yara
Hodos, Nitzan
Sieradzki, Yuval
Schuster, Assaf
Machine Learning
Many recent works use machine learning models to solve various complex algorithmic problems. However, these models attempt to reach a solution without considering the problem's required computational complexity, which can be detrimental to their ability to solve it correctly. In this work we investigate the effect of computational time and memory on generalization of implicit algorithmic solvers. To do so, we focus on the Differentiable Neural Computer (DNC), a general problem solver that also lets us reason directly about its usage of time and memory. In this work, we argue that the number of planning steps the model is allowed to take, which we call "planning budget", is a constraint that can cause the model to generalize poorly and hurt its ability to fully utilize its external memory. We evaluate our method on Graph Shortest Path, Convex Hull, Graph MinCut and Associative Recall, and show how the planning budget can drastically change the behavior of the learned algorithm, in terms of learned time complexity, training time, stability and generalization to inputs larger than those seen during training.
title DNCs Require More Planning Steps
topic Machine Learning
url https://arxiv.org/abs/2406.02187