Zero Labs
Industry News / AI

Can an AI Learn the Planning Algorithm? Part 1

Source · Towards AI By Malcolm Lett

From the publisher’s feed, collected in the ZeroLabs newsroom.

Foundations of Algorithmic LearningHow can an autonomous and adaptive artificial reasoning agent learn human-like strategies for searching, planning, and reasoning?This was a question I raised in a recent article on Meta-cognition for Reasoning AI:Meta-cognition for Reasoning AIIn this series of articles, I review a selection of promising ideas from the areas of Theoretical Computer Science, Reinforcement Learning, Neuroscience, Behavioral Psychology, and Behavioral Development, and I offer my own take on how we might combine those ideas together.This is the first part of four:Part 1: Foundations of Algorithmic Learning (this article)Part 2: RL for the Real World (coming soon)Part 3: The Biological Perspective (coming soon)Part 4: Learning to Plan (coming soon)This article looks at what we know about algorithmic learning. I cover the importance of inductive bias, work on Algorithmic Neural Reasoning, Graph Neural Networks, memory, and Deep Thinking neural networks.Contents· Series Introduction· Part Introduction· No Free Lunch and Inductive Bias· Neural Algorithmic Reasoning· Graph Neural Networks· Graph Neural Algorithmic Reasoning· Graph Structures· GNNs, CNNs, and Transformers· Memory Augmented Neural Networks· Kinds of Memory· Deep Thinking Models· Deep Equilibrium Models· Not Covered· Part Summary· Citing· ReferencesSeries IntroductionI am interested in what it would take to build autonomous agents that learn and adapt to their environment in a way that is a closer approximation to humans than our current AI solutions. I believe a larger focus on autonomous embodied reasoning agents is equally relevant to chat-bot and “agentic” reasoning AIs as it is to full physical robots.My particular focus is on the meta-management concerns and how an agent can not just learn to plan under a particular architected strategy, but can learn the planning algorithms themselves from its own experience and from teacher instruction.While the questions of meta-management and learning to plan are superficially independent, I believe they are intimately linked. Intuitively, meta-management may have no cause for evolution if it were not for the need to learn to plan, and learning to plan may be nearly impossible without meta-management.To that end, my goal for this series is to bring together several lines of lesser-known research and ideas that have the potential for significant relevance to those research questions. The first three parts are primarily a review of those existing ideas, while the last focuses more on my own ideas and how all the earlier discussed ideas can be brought together. Think of this as a broad but shallow literature review of the brilliant ideas that don’t make the news.I’m going to cover a wide range of different ideas, but I also don’t want to stray too far from the norms for a blog article. So, rather than filling this out with an exhaustive survey of existing literature or providing detailed explanations of theories, I’ll be referring to a smaller set of papers (mostly surveys themselves) that provide the additional background for anyone wanting to learn more.Part IntroductionThe human ability to learn multiple planning strategies is in stark contrast to most RL approaches today that strictly follow one planning strategy and simply learn to use that same strategy in different contexts. Furthermore, while various aspects of the planning algorithm have been explored for learning, the algorithm itself is always hard-coded. For example, some use Monto Carlo Tree Search (MCTS) over forward models, others sample randomly selected trajectories and pick the best single action. Many so-called “learning to plan” papers simply learn a differentiable map or model of value and perform gradient descent on trajectories over that model (e.g., the Value Iteration Network, Tamar et al., 2016, and many of its descendants).To keep the terminology simple, I use the word “planning”, but I use it in a broad sense. For example, there is an element of planning in the act of searching when you make a (conscious or unconscious) decision about what search strategy to employ. Planning is rarely a one-off exercise, but instead requires constant assessment of the continuous stream of outcomes. So the continuous monitoring and assessment of the search progress and (conscious or unconscious) decisions to either continue or give up are also attributable to the broad sense of planning. Essentially, I use planning to refer to any explicit consideration of possible actions beyond a mere application of a habituated response. And those actions may be physical or cognitive.More generally, planning and search strategies can be identified as algorithms. Indeed, while planning is an appropriate term when thinking about navigational problems, we want the reasoning AI solution to learn its own algorithms in the more general sense.In the last two decades, there has been growing research into connectionist models of “algorithmic learning”, focusing primarily on Graph Neural Networks (GNN), for reasons that will become clear shortly. However, there has been a thorough theoretical investigation of algorithms more broadly since the days of Turing. Beyond GNNs, other identified components include memory and a deep understanding of convergence in iterative computations. This article discusses some of those topics.No Free Lunch and Inductive BiasBefore discussing what can be done, it’s useful to first understand what we cannot realistically hope to achieve.At the extreme, we may wish to develop an architecture and a learning algorithm that enable the system to learn any behavioral algorithm. Here I use “behavioral algorithm” to refer to the goal of learning the algorithm — so it’s the learned algorithm underlying complex behavior. This is in contrast to the learning algorithm: the static RL algorithm that researchers would use to govern the learning.We’d also like a single system to learn many of these unrestrained behavioral algorithms, rather than just one. Unfortunately, the No Free Lunch Theorem puts a limit on what’s possible.No Free Lunch. Given algorithms A and B, and problems or datasets drawn from a uniform set of all possible problems/datasets, both algorithms perform the same on average. (source: kdnuggets.com)The No Free Lunch Theorem considers the effectiveness of different learning algorithms across different problem domains. It says that unless a chosen algorithm incorporates a priori knowledge of the problem domain, we have no guarantees that the algorithm will be more effective than picking solutions at random (Wolpert & Macready, 1997).Thus, for our system to be better than random, we must incorporate a priori knowledge. More practically, our architecture and learning algorithm must incorporate inductive biases toward certain structures and certain behavioral algorithms. This limits the behavioral algorithms that can be learned, with the benefit that it is at least possible to learn some behavioral algorithms. The stronger the inductive bias, the more restrictive the set of possible behavioral algorithms, but also the easier it is for the system to learn them.Some work has focused specifically on the needs and benefits of inductive bias in artificial Neural Network (NN) design (Hamrick et al., 2018; Xu et al., 2020). Often these inductive biases are implicit within the architecture of the solution. For example, a Convolutional Neural Network (CNN) for vision implements the inductive bias that incoming sensory information is arranged on a 2D grid with Euclidean geometry and that pairwise interaction strength is proportional to the nearness of the points. Xu et al. took this further and showed that neural networks can only efficiently converge in domains where their architecture has algorithmic alignment.Architecture alignment. Different NN architectures are suited to different problem domains because their inductive biases are aligned to the structure of those domain.They examined four classes of NN architecture and identified the kinds of problems they can efficiently learn solutions to:Basic Multi-layer Perceptrons (MLPs) like CNNs— converge and generalize well for “single-object universes” where the MLP performs some computation (e.g., classification) against the object representation. But they fail when there are multiple objects present. Note that multi-object vision techniques like YOLO work by algorithmically scanning the image, effectively computing many localized classifications and regressions.Permutation invariant architectures, such as Deep Sets (Zaheer et al., 2017), work well on multiple objects, provided that they can treat each object independently. However, they fail when required to consider the relationships between objects.Graph Neural Networks (GNN) are inductively biased to consider object-to-object relationships, and thus converge and generalize very well in this domain. Additionally, the authors showed that GNNs apply generally to Dynamic Programming (DP) solutions. Any algorithm that can be implemented as DP can be learned by an appropriate GNN.However, they showed that GNNs do poorly on problems that are not tractable via DP, for example the NP-hard problem of subset sum: given a set of positive and negative integers, does there exist a subset that sums to zero? To illustrate, they showed that a NN designed for an exhaustive search performed better at this problem than MLPs, Deep Sets, or GNNs.Up until recently, most NN architectures employed either feed-forward or recursive MLP architectures. For the question of learning to plan, the lesson from the above is that while a strict GNN architecture will not suffice in the long term, it is good starting point for improving the reasoning abilities of AI solutions. In fact, the success of Transformers can be related to GNNs — more on that later.Neural Algorithmic ReasoningNeural Algorithmic Reasoning (NAR) is a field of research that seeks to design NN architectures that efficiently and reliably learn algorithmic computation. Most work has focused on re-implementing common combinatorial optimization algorithms (Cappart et al., 2023), particularly those studied in the context of DP.General structure for Neural Algorithmic Reasoners (source: Veličković, 2023b)This focus partly stems from the observation that neural networks are a good solution for bridging the domain of the noisy and partially hidden real world with the clean and constrained abstract inputs that common algorithms typically require. Another reason is that there is a long history of investigation into the nature of these algorithms, with many systematic theories providing guidance on computability, efficiency, representational capacity, and more. This provides the strong mathematical foundation needed for theories of algorithmic learning.The first significant conclusion from such research is that many real-world structures and many well-known algorithms reflect a graph structure. Across many examined problem sets within that broad class of algorithm, neural solutions based on GNNs achieve better performance and better generalization, with less training data, than equivalent solutions using simple MLP-style deep networks, Convolutional Neural Networks (CNN), or Recurrent Neural Networks (RNN) (Xu et al., 2020; Cappart et al., 2023; Veličković , 2023a).Part of that success comes from the fact that GNNs can be seen as a generalization of deep MLP and CNN networks, and of many other architectures in use today (Bronstein et al., 2021). Another advantage comes from their natural characteristic of permutation invariance (i.e. invariance to the specific order of edges and neighbors) and equivariance (retaining relative structure under transformation) (Bronstein et al., 2021; Veličković, 2023a).GNN NARs have successfully been applied to a growing number of algorithm domains, including Integer Linear Programs, Mixed-Integer Programs, Constrained Problems, and Satisfiable Problems. Some concrete examples include breadth-first and depth-first search, Monte-Carlo Tree Search, bipartite matching, mazes, max-flow/min-cut, model-based planning, network configuration protocols, the traveling salesman problem, and protein folding (Cappart et al., 2023; Veličković, 2023a; Qharabagh et al., 2026). Transformers are themselves an example of GNNs (discussed in a later section), and yet some further advances have been achieved by combining GNN NARs with Transformers, in the TransNAR framework (Bounsi et al., 2024), on the basis that the respective algorithm and language capabilities of NAR and Transformer are mutually beneficial.GNN NARs show excellent scale-generalization, with one example showing success on brain blood-vessel graphs that are 180,000x larger than the synthetic graphs used during training (Veličković, 2023a). Many highly publicized recent achievements in AI have been achieved with GNNs. For example the AlphaFold system for 3D protein folding prediction (Jumper et al., 2021), and the AI-based discovery of 381,000 new stable materials (Merchant & Cubuk, 2023).Graph Neural NetworksIf you aren’t familiar with Graph neural networks (GNN), then allow me to briefly describe how they work, before returning to GNN NARs.A graph as used by GNNs. Nodes have embedding vectors. Edges connect nodes. Connectivity can be represented as an adjacency matrix.GNNs are trained artificial NNs that operate over a graph structure of nodes and edges. Unlike Knowledge Graphs, GNNs typically associate all state to the nodes, with edges being simple links without associated metadata.Nodes are associated with multi-dimensional feature vectors x₁,…,xₙ for n nodes, enabling the GNN to learn latent embedding representations of objects of interest. Edges are typically represented as an n ⨉ n adjacency matrix A. In sparsely-connected graphs, the matrix has aᵢⱼ = 1 if nodes i and j are immediate neighbors, and 0 everywhere else. GNNs learn to compute new vector representations of nodes through iterative aggregation of features from neighboring nodes.Application of a GNN over a graph computes new node embedding vectors h₁,…,hₙ, with each hᵤ calculated according to one of the following formulas over its neighboring nodes Nᵤ (Bronstein et al., 2021; Veličković, 2023a):Here, 𝛷 and 𝜓 are NNs. cᵥᵤ is a normalization factor, typically dependent only on the degree of the nodes (numbers of edges). a(xᵤ, xᵥ) is typically an additional NN that dynamically computes relative attention over neighboring nodes, based on pairwise embeddings. ⊕ is a permutation-invariant aggregator, such as sum, mean, or max, which operates only over the set of nodes within the immediate neighborhood of xᵤ. The neighborhood Nᵤ may optionally include xᵤ to enable self-attention and recurrence.Aggregation rules in GNNs. Convolutional GNNs aggregate by static weighted sum of neighbor embeddings. Optionally with self node. Attentional GNNs aggregate by dynamic attention-weighted sum of neighbor embeddings. Message-passing GNNs aggregate dynamically computed pair-wise message vectors (adapted from Bronstein, 2021)The three variants have progressively larger expressive power but also carry increasing complexity and instability during learning:Convolutional GNNs compute values of neighboring nodes independent from the reference node xᵤ and thus compute node-pair relationships in terms of their connectivity only, without considering the pair-wise relationship between their vector embeddings. This tends to result in smoothed out embeddings, which can be suitable for problem domains with smooth transitions. In the extreme, however, it becomes a problem of over-smoothing.Attentional GNNs extend Convolutional GNNs by applying dynamically computed pair-wise attentional weights to the contributions of each neighboring node. These have proven very successful and good optimizations exist for implementation within GPUs. However, as attention is only a scalar, the pair-wise input embedding relationshis are still not fully conditioned on.Message-passing GNNs allow full pair-wise calculation against neighboring node embeddings. They can be understood as passing vector-valued “messages” between nodes, giving them their name. However, message-passing GNNs require substantially more memory during computation, and are considerably harder to train.GNNs may be applied in a number of different computational paradigms. They may be stacked as layers, with the output embeddings of each layer feeding inputs to the subsequent layer, and each layer learning separate transformations. Alternatively, a single layer of GNN NNs (𝛷, 𝜓, etc.) may be used to iteratively revise node embeddings.A whole graph can be collapsed via aggregation to a single vector or scalar, for example for the purpose of a regression or classification task. Alternatively, coarsely selected overlapping or non-overlapping subsets of a graph may be similarly collapsed in order to compute a new coarse-grained graph from a fine-grained graph. This can be seen as a form of clustering or dimensionality reduction.GNN outputs are most commonly computed over all nodes in parallel via standard matrix operations. Node vector values are stacked into a matrix and the NNs applied against that matrix, with the adjacency matrix acting as a mask over the results. Alternatively, GNNs can be sequentially executed against individual nodes, effectively traversing the graph as it computes (Veličković et al., 2020a; Xhonneux et al., 2021). One rationale for why that could be useful is that many known algorithms operate in a sequential manner, and it has been shown that Message-passing GNNs can be Turing complete (Veličković, 2023a). Furthermore, many such algorithms have good convergence guarantees, even when computed in a decentralized fashion. For example, the Bellman backup operator in RL learning, the Bellman-Ford and Dijkstra algorithms for network routing, belief propagation networks, and coordinate descent.The sequential or traversal approach has the advantage of performing sparse computations (computing only a small subset of data at a time), and enables significant scalability over dataset size. However, it can also be significantly less stable to train compared to parallel computation; a point that I’ll discuss further in the section on Neural Turing Machines below.Graph Neural Algorithmic ReasoningAs GNNs are more general than CNNs etc., the No Free Lunch Theorem instructs us that we can expect to encounter greater problems with training convergence and stability in GNN NARs.NAR research has yielded a number of recommendations to improve the likelihood of stable training and convergence (Veličković et al., 2020a; Cappart et al., 2023; Veličković 2023b):Max-aggregation: Prefer max-aggregation over neighbors, instead of the more traditional use of mean-aggregation. This reduces problems of over-smoothing, and better reflects the fact that most algorithms include “decision” steps. This is similar to the use of max-pooling in CNNs.High-dimensional latent representations: Use an encode-process-decode paradigm, where the GNN performs its computations over latent representations instead of over raw sensory data. This enables greater generalization (Xhonneux et al., 2021). For example, once the processor has sufficiently learned a particular algorithm, its weights can be fixed and the encoder and decoder retrained for entirely different domains, enabling out-of-distribution generalization (Bevilacqua et al., 2021).High-dimensional latent representations, part II: Additionally, prefer the use of high-dimensional latent representations instead of scalars. For example, the common Value Iteration method for planning traditionally computes a scalar value, but it has been shown that replacing scalar value with high-dimensional latent representations can yield better overall results (Deac et al., 2021).Iterated processing with weight sharing: Many algorithms require repeated iteration of the same set of rules. Thus, rather than building deep networks with many independent GNN layers, it is often better for those GNN layers to share the same weights (i.e. weight tying). This approach may also be amenable to techniques for dynamic stopping criteria and efficient gradient estimation techniques, which I will discuss in a later section on Deep Thinking and Equilibrium Models.Masked processing: Many known algorithms gain efficiency by focusing on only a small number of nodes at each iteration. Thus, while GNNs are capable of efficiently processing all objects in a graph in parallel, it can be beneficial to mask which nodes they access, such as through learned relevance masking (Yan et al., 2020).Step-wise supervision: Wherever ground-truth reasoning traces are available, applying step-wise supervision yields faster convergence and higher test performance than supervising on the results only. It also encourages stronger alignment to algorithm invariants. This relates closely to the difference between Outcome Reward Models and Process Reward Models in LLM training (Lightman et al., 2024).Omit bias terms: Where the GNN is required to learn functions exhibiting multiplicative scaling behavior (known as homogenous functions), it can be best to omit the bias terms that are typically incorporated within calculation of neural activations (Tang et al., 2020).Graph StructuresGNNs operate over graph structures, and graph structures can be used to represent different kinds of things. For the purpose of the present discussion it is useful to distinguish between two broad classes of graph representation: state representations and state-space representations.Graph representations. A graphical representation of the state of a scene containing objects can be used to reason about object-object interactions. A graph representation of the state-space of a Go game can be traversed to find optimal solutions. (Adapted from Johnson et al., 2017 and Silver et al., 2017)These two representations have different characteristic tendencies, and each line of research tends to focus on its preferred class.State representation: a representation of the objects and their relationships in the world at a point in time, typically restricted to the current observables. A common use case is for reasoning about potential object-object interactions within a scene (Hamrick et al., 2018). A GNN is typically applied over one or more iterations to transform the graph as a whole (Kipf & Welling, 2017), such as to compute task-relevant embeddings at each node, often keeping the structure of the graph the same. Alternatively a global embedding may be computed from the graph and used for additional reasoning. For example a global embedding of a graph of identified objects in a visual scene can be used as the state input to an RL agent (Zambaldi et al., 2018).State-space representations: a representation of possible states and their relationships, for example the possible transitions between states. In toy examples it may be feasible to identify the full state space graph and reason over it, such as in the case of Value Iteration methods (Tamar et al., 2016; Niu et al., 2017). However, often the state-space is very large and/or continuous, and knowledge of it must be built-up from observations over time. In this usage, the presently observable or selected state occupies one node in the state-space graph, and the GNN may be used to compute paths through the graph, including exploration of unknown regions. A classic application is that of search-based planning (often over a state tree), such as done in AlphaGo (Silver et al., 2016), AlphaGo Zero (Silver et al., 2017), and MuZero (Schrittwieser et al., 2020). Many model-based control algorithms compute paths through state space without an explicit graph representation, but recent work on algorithmic reasoning shows the benefit in having explicit graph representations of the state space (Veličković et al., 2020a; Veličković et al., 2023a).In both cases one needs to know the graph structure before they can apply a GNN to perform operations. If the graph structure is not known a priori then it must be identified from the data through a process known as latent graph inference.For simple cases like the objects scene above, simple machine vision techniques such as segmentation and attention have been used to identify the objects, and their relative closeness has been used as a proxy for connectedness (Burgess et al., 2019; Gref et al., 2019; Locatello, 2020).Many real world contexts are much harder for a number of reasons. The real world is only partially observable — we only observe a small part of it at any given moment, and some aspects of the underlying generative process of the world are never observed. The real world is observed through continuous senses— requiring some form of clustering in order to identify discrete nodes in the graph. The real would is dynamic — the structure of the graph continuously changes. Latent graph inference in real-world contexts is still considered extremely difficult and is an active area of research.Ideally, we desire a sparse adjacency matrix — one with only the minimally needed edges between nodes. However, optimization of sparse adjacency matrices is difficult. For example, edge selection is a non-differentiable operation. In one approach, rather than a sparse adjacency matrix of a 0s and 1s, the graph is treated as fully-connected and adjacency values are relaxed to be anywhere within the range 0.0 to 1.0. These values represent the degree of certainty about the node relationships and are iteratively optimized. In the case of Attentional and Message-passing GNNs, the adjacency matrix may be further dropped entirely as its calculations can be rolled into those of attention or messages.Recent work on latent graph inference has looked at nonparametric (Wang et al., 2019; Deac et al., 2022), supervised (Veličković et al., 2020b), variational (Kipf et al., 2018), reinforcement (Kazi et al., 2022) and self-supervised learning (Fatemi et al., 2021) methods.GNNs, CNNs, and TransformersGNNs can be seen as generalizations of many familiar network architectures.Convolutional Neural Networks (CNN) approximate a special case of a Message-passing GNN over a regular grid, with the exception that GNNs consider node neighbors as unordered sets whereas kernels in CNNs learn orientation-dependent weights. Note that this comparison is in contrast to what may implied by the names. Convolutional GNNs do not reflect a graph-generalization of CNNs, as the node-to-node computations in Convolutional GNNs are significantly more constrained and linear.GNNs and Transformers. Transformers are an example of Attentional GNN over a fully-connected network.Transformers compute query-key cross-attention between all pairs of input sequence positions (e.g., tokens), and output attention-weighted sums of values over those positions (Vaswani et al., 2017). This is an example of an Attentional GNN over a fully-connected graph (Joshi, 2020). The adjacency matrix is rolled into the calculation of attention, and thus each Transformer layer can be seen as performing latent graph inference.Importantly, latent graph inference here is dynamically and independently calculated for each Transformer layer, and for each execution of the overall solution. The independent recalculation leads to tremendous flexibility and enables emergent behaviors such as few-shot and zero-shot learning. However, because past observations are discarded, it means that Transformers in their classic form are unable to iteratively learn and revise latent graph representations of the world.Memory Augmented Neural NetworksSome of the earliest work on NN-based algorithm implementations was that of the Neural Turing Machine (Graves et al., 2014), which attempted to emulate Turing machines via neural networks.The work of Turing and others established a formal theory of computation in which a single universal machine can simulate any computation performed by any particular machine, given an appropriate representation of that machine and its input (Turing, 1936). Together with the equivalence subsequently established between Turing machines and other formalisms of effective computation, this led to the Church–Turing thesis that any effectively computable algorithm can, in principle, be represented and executed as a Turing-machine computation (Church, 1936; Kleene, 1952; Copeland, 2026).High-level architecture of Neural Turing Machine (adapted from Gaves, Wayne & Danihelka, 2014)The Neural Turing Machine (NTM) attempted to take the idea of a Turing Machine and replace control over its memory read/write with a differentiable neural network (Graves, Wayne & Danihelka, 2014). The expectation is that such an architecture can learn any arbitrary algorithm. The earliest variants of NTM showed success in learning common low-level computer science algorithms such as repeating sequences, sorting, and similarity-based search, as well as simple relational language reasoning tasks. They used a mixture of key-value content-based addressing and location-based addressing, and included the ability to write to any attended location (Graves et al., 2016; Khosla, Zhu & He, 2023).The key-value attention mechanism inspired the later development of query-key-value attention in the Transformer architecture, which now forms the basis of many modern AI successes. The original focus of Transformers was on a much narrower task of sequence-to-sequence transformation, which yields a number of advantages. One notable feature is they use a much simpler write strategy: always append outputs to the end of the sequence, and auto-regressively attend to the whole sequence, rather than learning control strategies for writing to arbitrary locations.This can be understand in relation to the No Free Lunch Theorem. The freedom to learn to write to any location trades off against inductive biases that are more aligned to the specific problems that we are interested in. By restricting how writes are done, Transformers have less freedom in their optimization search and converge faster. The loss of freedom in writing location is balanced by auto-regressive attention, which must be optimized regardless.Another perspective considers the numbers of steps needed to complete an algorithm. The original NTMs were targeted at low-level algorithms comparable to common computer algorithms like array copying, sorting, and searching. These are typically either short tasks or have a small number of unique steps that can be consistently repeated an arbitrary number of times. In contrast, the modern use of reasoning via LLMs tends to focus on high-level concepts and supports use of high-level heuristics.This potentially enables complex problems to be translated to short horizons — a relatively small number of reasoning steps that operate over high-level representations. In contrast, attempting to solve high-level problems via low-level algorithms results in very long horizon reasoning, with associated stability issues. Unfortunately, because each LLM step only produces a single token, they are locked to a fine-grained time-step and suffer the curse of low-level long-horizons.Kinds of MemoryNTMs and Transformers are now considered part of a much larger field of study into Memory-Augmented Neural Networks (MANN). This focuses on how the capabilities of NNs can be extended through the addition of memory mechanisms. Memory writing has continued to prefer simple non-learned strategies, but now also includes surprisal based methods (Omidi et al., 2025).Human memory systems have been studied for a long time, and yet exactly how the human memory systems are structured is still hotly debated. Most discussions use common terms in ways that differ, depending primarily on the kinds of research questions being asked by individual researchers (Atkinson & Shiffrin, 1968; Cowan, 2008). Still, some general themes have arisen that can be productively related to techniques in AI, illustrating both where current AI techniques can be useful, and where gaps remain (Khosla, Zhu & He, 2023; Omidi et al., 2025).Types of memory. Bubbles indicate how the types of memory relate to AI techniques.The following is a brief summary distilled primarily from the reviews by Khosla, Zhu & He (2023) and Omidi et al. (2025).Sensory Memory:A high-bandwidth, ultra-short buffer appears to be associated with individual perceptual senses. For example, visual traces persist for about 250ms, and auditory traces for up to 2 to 3s. This may enable attentional mechanisms to rapidly analyze stimuli in parallel and to select what should be focused on, while the rest of the sensory input decays and is discarded. This enables noise filtering and signal normalization.Essentially, sensory memory can be seen as enabling computation of immediate spatiotemporal dynamic state — not just the what and where at the present moment, but also how it is changing.While RNNs have shown problems when extended to long-horizon reasoning, they show strong performance on exactly this task. Significant results have been shown in world-models that use RNNs to encode dynamic latent state representations (Ha & Schmidhuber, 2018; Hafner et al., 2019).On one view, Transformers can also be seen as implementing sensory memory at the level of token embeddings within their earliest layers. Through positional encoding it is possible for Transformers to perform filtering and calculate spatiotemporal dynamic state. However normalization is performed globally, limiting their ability for dynamic normalization and filtering in rapidly changing environments.Working Memory / Short Term:Working Memory or Short Term Memory is conceived as a transient and capacity-limited workspace for access by many cognitive processes. Estimates of capacity have placed it variously as 4 to 7 “chunks” of information, held for a few seconds to a few minutes. It appears to be strongly influenced by attentional mechanisms, with some theories suggesting that short term memory is just attention over long term memory (Cowan, 2008). The distinction between Short Term and Working Memory, if any exist, is subject to much debate and outside of scope of the present discussion.The attention mechanism in Transformers was inspired by the idea of attention in human cognition, and so it is unsurprising that Transformers are our best current-day AI equivalent of Working Memory. Transformers are ideal for identifying the most important features of a given input sequence, and then identifying which other input features are relevant and should be “attended to” in relation to the earlier identified features. Additionally, Transformers used in auto-regressive sequence generation attend to their own responses, effectively updating the content of working memory as they operate.The view of Working Memory as a workspace also illustrates why Transformers perform better than RNNs in long-horizon language understanding. RNNs process information in a sequence, must hold an identification of all possible important features in its internal state, and cannot backtrack to re-review a previously observed feature.Long Term Memory:The brain is capable of storing some information for years or even for entire lifetimes. Long Term Memory refers to several forms of knowledge or information storage that have this characteristic.Explicit memory (episodic and semantic) can be actively recalled and described, whereas Implicit memory (Procedure and Emotional) form our learned behaviors. Some events may be encoded as multiple forms of memory, for example episodic memory of a particular event where one gained separately recallable knowledge or learned a new skill.There are likely several different mechanisms behind these different memory systems, but all are believed to employ the Hippocampus acting as a temporary buffer of events and which replays those events learning (particularly during sleep).Long Term Memory - Episodic:Memory of past experienced events. It appears to be encoded via two retrieval mechanisms. People experience a strong sense of episodic memory as having a sequential nature, suggesting that events are encoded and ordered in time. Episodic memory can also be accessed through associative recall.The list of recent events and past events that may bare any relation to current computational efforts is always growing and easily exceeds the capacity of working memory, no matter how large. Vanilla Transformers are not a good solution for this, and this is where explicit memory augmentation solutions are needed, leading to much of the current research into Memory-Augmented Transformers.Long Term Memory — Semantic Memory:Explicit knowledge and concepts. Similar in nature to Episodic memory, with the caveat that it is more strictly associative in its recall mechanism.Semantic memory has always been interesting to me. From a naive RL perspective semantic memory may appear to behave like the models in model-based RL. However, semantic memory affords the ability to query and inspect its contents from different perspectives and at different levels of granularity. In contrast, a model in model-based RL has a significantly more narrow focus — to predict the next state. This suggests application of symbolic approaches such as graph representations.Long Term Memory — Procedural:Learned skills and actions. It has the notable feature that it usually takes considerable time and repetition to update. This is generally related to learning of NN weights, however current artificial NN learning still suffers from catastrophic forgetting when used for online learning. It is believed that human memory systems employ consolidation techniques that repeatedly replay past learning episodes, and restructure memories for more compact storage.Long term habituated procedural memory appears to reflect a model-free policy. It is unclear whether more recently learned procedural memory should be viewed as an example of model-based learning that is later distilled into a model-free policy through consolidation.Long Term Memory — Emotional conditioning:Emotional responses are very often overlooked when considering artificial control strategies. Their purpose and mechanisms have been hard to decipher. Some work has shown a perspective whereby emotions can be seen as providing both a low-level bootstrapping of behavioral learning through reward and other training signals while also being necessary for active modulation of moment to moment rational behavior (Damasio, 1994).The reward signal aspect can be loosely related to value estimation in Actor-Critic RL, whereas the active moment-to-moment modulation does not have a good mirror in current AI architectures. One interpretation is that value-estimation signals should be treated as model-based information and incorporated directly into planning. Much more work needs to be done in this area.The above analysis suggests that advanced agents capable of operating in a complex dynamic world need multiple memory systems, operating over multiple granularities and timescales, with different consolidation, recall, attentional, and decay characteristics and mechanisms.Deep Thinking ModelsThe traditional view of deep networks is that subsequent layers compute increasingly high-level abstractions over features. This came from work on deep convolutional networks, which themselves were inspired by biology. In the mammalian visual cortex, the earliest layers encode low-level features like edges and later layers appear to encode high-level features like object category. Artificial convolutional networks were found to mimic this behavior (Kriegeskorte, 2015).Different conceptions of deep networks. An increasing abstraction conception implies that each layer requires a static position in a static depth network. An iterative reasoning conception implies that more layers can be added to increase reasoning depth.A more recent view, known as Deep Thinking, has come from work on deep sequence models (e.g., LLMs and reasoning models) and suggests that successive hidden layers can be viewed as iterations of reasoning. Some work has shown that by dynamically varying the depth of hidden layers in LLMs, a smaller model can achieve similar performance as a larger model with fixed depth. This is achieved by executing repeated iterations of the same hidden layer or group of hidden layers. It is sometimes referred to as as weight-tying, because, conceptually, multiple iterations of one layer unrolls to a single iteration of multiple layers that share the same weights.With that strategy, a 3.5B parameter model with dynamic depth was shown to achieve similar performance as a 50B parameter model with fixed depth (Geiping et al., 2025). This idea of Adaptive Computation Time (ACT) (Graves, 2016) has also been applied with significant success in various image tasks (Anil et al., 2022).An implicit assumption behind adaptive depth is that each iteration of hidden layer encodes their activations within the same latent space, so that subsequent decoding is possible regardless of computational depth. This is particularly plausible in the context of multi-language LLMs where the pre-encoding of tokens embeds those tokens into a language-agnostic semantic latent space.That notion is cashed-in within the recent Chain of Continuous Thought (Coconut) architecture (Shen et al., 2024). At test-time, the model is first auto-regressed in a “latent mode” where activations from the last hidden layer are added to the input sequence, instead of adding decoded token outputs. The subsequent “language mode” performs standard auto-regressive token generation, but it attends to a sequence that mixes input token embeddings, output token embeddings, and latent state embeddings. In order that the transformer can uniformly attend across both kinds of data, the hidden layers must produce activations in a latent space that is at least compatible with semantic token embeddings.Deep Equilibrium ModelsDeep Equilibrium Models (DEQ) take the notion of iterative reasoning and compatible latent spaces one step further (Bai et al., 2019). DEQ is motivated by the observation that the hidden state of many well-behaved iterative processing networks (i.e. deep thinking networks) converge to a fixed point. Mathematically, this means that a recursive function of the form of equation (1) converges towards z = z*, satisfying the fixed-point equation (2):Here, the different zᵢ are the output activations from each layer or iteration. For an ideal function, the fixed-point z* is an attractor state that the function converges towards regardless of the initial state of z₀ (the input).Traditional vs Deep Equilibrium views of deep thinking. The traditional view assumes that reasoning requires a complex indirect path from problem to solution. Deep Equilibrium models are based on the observation that many well-behaved iterative models converge rapidly towards an attractor state.Conveniently, this optimization can be applied to any network where the main block is recursively iterated (otherwise referred to as weight-tied layers) and where its hidden state converges to a fixed point. The latter requirement can be achieved through appropriate regularization (Anil et al., 2022).Work on Deep Thinking and DEQ have yielded two inductive biases that consistently show significant benefit: Recall and Path Independence.Recall:It has long been known that networks suffer convergence and vanishing gradient problems as they get deeper. Residual and skip connections help by making it easier for individual layers to approximate the identity function (He et al., 2015), enabling easier flow of values and gradients through the layers of the network. However, when viewed in the context of reasoning via iterated execution, it is also intuitively obvious that the original goal (in the form of the input) can still be forgotten as iteration length is extended.Recall (also known as Input Injection) mitigates this by repeatedly re-injecting the input (Bansal et al., 2022). A common approach is to transform the input to a compatible tensor representation and then to concatenate it with the hidden state before the next iteration. The effect is that the model explicitly learns the function z’ = f(z, x), making it directly compatible with fixed-point convergence.Path Independence:For a model to have good fixed-point convergence it should tend to converge to that fixed point from any initial condition. This is known as path independence. The Path Independence Hypothesis says that “Models which successfully fit the training distribution with a path independent function are better able to exploit more test-time iterations to achieve higher accuracy, compared to those which fit the training distribution with a path-dependent function” (Anil et al., 2022, pg 2). In other words, models that exhibit path independence can generalize better to reasoning problems that require longer horizon reasoning than was observed during training.This leads to the conclusion that we need to inductively bias the model towards path independence. Three methods have been successfully employed (Anil et al., 2022; Bansal et al., 2022): random initialization of hidden state, random compute length, and discarding a random length at the start of the sequence of computations when computing gradient back-propagation.Taken together, these ideas have enabled significant generalization in reasoning horizon — models trained on short horizon problems can be applied against significantly larger horizon problems. For example, a model trained to solve small 9x9 mazes, requiring only about 30 iterations of execution, can stably solve an unseen much larger 801x801 maze, requiring 10,000 iterations (Bansal, et al., 2022).For me, the effectiveness of DEQ raises a deeper question about the way to conceptualize reasoning trajectories in general. Are they smooth and rapidly convergent towards an attractor state? Or are they more like the complex and meandering paths that we must take when navigating a city full of one-way streets? In the attractor case, a misstep requires no extra effort to correct. In the meandering case, a misstep may require a backtrack. My personal experience is that thought can sometimes be rapid — like falling towards the outcome. But it can also sometimes be extremely complex, involving many abrupt changes and many false turns and restarts.There are two additional features that I suspect must be added to the above discussion on DEQ in order that they are suitable for use in large real-world contexts:Task-dependent attracting manifolds: we cannot assume that a single representation will produce attractor basins for all kinds of problems that our reasoning model may face. Rather, it must compute task-dependent representations that form manifolds with the required attractor basins. In the maze examples above, I suspect the models learn to produce value representations with this characteristic, encouraged by the regularization schemes. Real-world agents would need to learn to do the same across many domains.Hierarchical manifolds: When selecting tools to take to a repair job, the choice of tools at the start can have a significant effect on the sequence of actions take during the repair. In the extreme, a single tool selection choice at the start can result in either a successful repair or a complete backtrack to obtain a missing tool. The hierarchical approach to this has the individual consider carefully what tools will be needed during the second stage, without being distracted by the details of how they’ll use the tools at the time. The non-hierarchical approach has the individual treat every single step from start to finish with equal importance, and results in many unnecessary details distracting from the information needed to make the important early decisions. It’s hard to imagine that a single low-level and fine-grained manifold could produce a smooth and convergent attractor state, but perhaps a coarse-grained manifold would.Flexibility: even with the above, a DEQ model will sometimes yield task-dependent representations without smooth attractors. It could yield a number of local smooth attractors that need to be hopped between, instead of a single attractor for the whole task. Or it could fail to yield a smooth surface or even any attractor basin simply because the problem is out of distribution. In those cases, an overarching system will still be required to perform the more complex search and backtracking that is commonly conceived of for RL agents.Part SummaryIn order to reproduce human-like adaptability of intelligence we need to develop fundamental theories of cognition. By viewing cognition as an algorithm, we see its relationship to theoretical work on algorithms and gain insight from that work. By viewing cognition as a system that learns the algorithm, we also gain insight from theoretical work on algorithm learning.That’s not to say that we get a complete picture from an algorithmic perspective, but even as an impoverished perspective it is still highlights significant areas for improvement in current reasoning AI.In this article I have discussed the limits of adaptability and the importance of inductive bias. We need more constraints, more inductive biases, less flexibility, in order for our AIs to learn faster from less data. However, we also need more flexibility and to remove constraints in order to improve their adaptability. The resolution lies not so much in striking a balance, but in the more difficult path of continual research and discovery. To find new architectures that open up doors to more advanced reasoning. To find new inductive biases that keep those more advanced architectures stable and convergent.GNNs and graph representations of states and state-spaces are likely key components of those new architectures. New forms of memory are another set of key components. Path independence, input re-injection, and fixed point attraction are key inductive biases that will be needed in conjunction with those architectures.The next part will review the latest achievements in RL, seeking to understand unifying principles.AcknowledgmentsUnless stated otherwise, all diagrams and images are the work of the author, with AI help for the images.CitingFor attribution, please cite this work as:Lett, M. (2026, Aug). Can an AI Learn the Planning Algorithm? Part 1: Foundations of Algorithmic Learning. AI Advances. https://medium.com/@malcolmlett/can-an-ai-learn-the-planning-algorithm-part1-ed5b653e6b0cReferencesAnil, C., Pokle, A., Liang, K., et al. (2022). Path Independent Equilibrium Models Can Better Exploit Test-Time Computation. Advances in Neural Information Processing Systems. https://proceedings.neurips.cc/paper_files/paper/2022/hash/331c41353b053683e17f7c88a797701d-Abstract-Conference.htmlAtkinson, R. C., & Shiffrin, R. M. (1968). Human memory: A proposed system and its control processes. In Psychology of learning and motivation, 2, 89–195. https://doi.org/10.1016/S0079-7421(08)60422-3. Full text: https://app.nova.edu/toolbox/instructionalproducts/edd8124/articles/1968-Atkinson_and_Shiffrin.pdfBai, S., Kolter, J. Z., & Koltun, V. (2019). Deep equilibrium models. Advances in Neural Information Processing Systems, 690–701. https://papers.nips.cc/paper_files/paper/2019/hash/01386bd6d8e091c2ab4c7c7de644d37b-Abstract.htmlBansal, A., Schwarzschild, A., Borgnia, E., et al. (2022). End-to-end Algorithm Synthesis with Recurrent Networks: Extrapolation without Overthinking. Advances in Neural Information Processing Systems. https://proceedings.neurips.cc/paper_files/paper/2022/hash/7f70331dbe58ad59d83941dfa7d975aa-Abstract-Conference.htmlBevilacqua, B., Zhou, Y., & Ribeiro, B.(2021). Size-invariant graph representations for graph classification extrapolations. PMLR, 139, 837–851. https://proceedings.mlr.press/v139/bevilacqua21a.htmlBounsi, W., Ibarz, B., Dudzik, A., et al. (2024). CVPR Multimodal Algorithmic Reasoning (MAR) Workshop. https://arxiv.org/abs/2406.09308Bronstein, M. M., Bruna, J., Cohen, T., & Veličković, P. (2021). Geometric deep learning: Grids, groups, graphs, geodesics, and gauges. https://geometricdeeplearning.com/. Also: https://arxiv.org/abs/2104.13478.Burgess, C. P., Matthey, L., Watters, N., et al. (2019). MONet: Unsupervised Scene Decomposition and Representation. https://arxiv.org/abs/1901.11390Cappart, Q., Chételat, D., Khalil, E., et al. (2023). Combinatorial optimization and reasoning with graph neural networks (ArXiv preprint released 2021). JMLR, 24 (130), 1–61. https://jmlr.org/papers/v24/21-0449.htmlChurch, A. (1936). An Unsolvable Problem of Elementary Number Theory. American Journal of Mathematics, 58(2), 345–363. https://www.jstor.org/stable/2371045Copeland, B. J. (2026). The Church-Turing Thesis. The Stanford Encyclopedia of Philosophy. https://plato.stanford.edu/archives/spr2026/entries/church-turing/Cowan, N. (2008). What are the differences between long-term, short-term, and working memory? Progress in brain research, 169:323–338. https://doi.org/10.1016/S0079-6123(07)00020-9. Full text: https://pmc.ncbi.nlm.nih.gov/articles/PMC2657600/Damasio, A. R. (1994). Descartes’ error: Emotion, reason, and the human brain. G.P. Putnam. https://en.wikipedia.org/wiki/Descartes%27_ErrorDeac, A., Veličković, P., Milinković, et al. (2021). Neural Algorithmic Reasoners are Implicit Planners. NeurIPS. https://arxiv.org/abs/2110.05442Deac, A., Lackenby, M., Veličković, P., (2022). Expander graph propagation. The First Learning on Graphs Conference. https://arxiv.org/abs/2210.02997Fatemi, B., El Asri, L., Kazemi, S.M., 2021. Slaps: Self-supervision improves structure learning for graph neural networks. Advances in Neural Information Processing Systems, 34, 22667–22681. https://arxiv.org/abs/2102.05034Geiping, J., McLeish, S., Jain, N, et al. (2025). Scaling up test-time compute with latent reasoning: A recurrent depth approach. NeurIPS. https://arxiv.org/abs/2502.05171Graves, A., Wayne, G., Danihelka, I. (2014). Neural Turing Machines. ArXiv. https://arxiv.org/abs/1410.5401Graves, A. (2016). Adaptive computation time for recurrent neural networks. ArXiv. http://arxiv.org/abs/1603.08983Graves, A., Wayne, G., Reynolds, M., et al. (2016). Hybrid computing using a neural network with dynamic external memory. Nature, 538 (7626), 471–476. https://doi.org/10.1038/nature20101Greff, K., Kaufman, R. L., Kabra, R., et al. (2019). Multi-Object Representation Learning with Iterative Variational Inference (IODINE). https://arxiv.org/abs/1903.00450Hafner, D., Lillicrap, T., Fischer, I., et al. (2019). Learning Latent Dynamics for Planning from Pixels. PMLR. https://proceedings.mlr.press/v97/hafner19a.htmlHamrick, J. B., Allen, K. R., Bapst, V., et al. (2018). Relational inductive biases for physical construction in humans and machines. CCS. https://arxiv.org/abs/1806.01203Ha, D., & Schmidhuber, J. (2018). World Models. ArXiv. https://arxiv.org/abs/1803.10122He, K., Zhang. X., Ren, S., & Sun, J. (2015). Deep Residual Learning for Image Recognition. The IEEE Conference on Computer Vision and Pattern Recognition (CVPR). https://arxiv.org/abs/1512.03385Johnson, J., Hariharan, B., van der Maaten, L., et al. (2017). Clevr: A diagnostic dataset for compositional language and elementary visual reasoning. The IEEE Conference on Computer Vision and Pattern Recognition (CVPR). https://arxiv.org/abs/1612.06890Joshi, C., (2020). Transformers are graph neural networks. The Gradient, 5. https://arxiv.org/abs/2506.22084Jumper, J., Evans, R., Pritzel, A., et al., 2021. Highly accurate protein structure prediction with AlphaFold. Nature 596, 583– 589. https://www.nature.com/articles/s41586-021-03819-2Kazi, A., Cosmo, L., Ahmadi, S.A., Navab, N., Bronstein, M. (2022). Differentiable graph module (dgm) for graph convolutional networks. IEEE Transactions on Pattern Analysis and Machine Intelligence. https://arxiv.org/abs/2002.04999Khosla, S., Zhu, Z., He, Y. (2023). Survey on Memory-Augmented Neural Networks: Cognitive Insights to AI Applications. ArXiv. https://arxiv.org/abs/2312.06141Kipf, T., Fetaya, E., Wang, K.-C., Welling, M., Zemel, R. (2018). Neural Relational Inference for Interacting Systems. PMLR, 2688–2697. https://arxiv.org/pdf/1802.04687Kleene, S. C. (1952). Introduction to Metamathematics. North-Holland.Kriegeskorte, N. (2015). Deep Neural Networks: A New Framework for Modeling Biological Vision and Brain Information Processing. Annual Review of Vision Science, 1, 417–446. https://doi.org/10.1146/annurev-vision-082114-035447Lightman, H., Kosaraju, V., Burda, Y., et al. (2024). Let’s verify step by step. ICLR. https://arxiv.org/abs/2305.20050Locatello, F., Weissenborn, D., Unterthiner, T., et al. (2020). Object-Centric Learning with Slot Attention. NeurIPS. https://proceedings.neurips.cc/paper/2020/hash/8511df98c02ab60aea1b2356c013bc0f-Abstract.htmlMerchant, A. & Cubuk, E. D. (2023). Millions of new materials discovered with deep learning. Google DeepMind. https://deepmind.google/discover/blog/millions-of-new-materials-discovered-with-deep-learning/Niu, S., Chen, S., Guo, H., et al. (2017). Generalized Value Iteration Networks: Life Beyond Lattices. https://arxiv.org/abs/1706.02416Omidi, P., Huang, X., Laborieux, A., et al. (2025). Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architectures. ArXiv. https://arxiv.org/abs/2508.10824Qharabagh, M. F., de Luca, A. B., Giapitzakis, G., & Fountoulakis, K. 2026). Learning to Execute Graph Algorithms Exactly with Graph Neural Networks. ArXiv. https://arxiv.org/abs/2601.23207Schrittwieser, J., Antonoglou, I., Hubert, T. et al. (2020). Mastering Atari, Go, chess and shogi by planning with a learned model. Nature, 588, 604–609. https://doi.org/10.1038/s41586-020-03051-4. Full text: https://arxiv.org/abs/1911.08265Shen, X., Wang, Y., Shi, X., et al. (2024). Training large language models to reason in a continuous latent space. ArXiv. https://arxiv.org/abs/2412.06769Silver, D., Huang, A., Maddison, C. et al. (2016). Mastering the game of Go with deep neural networks and tree search. Nature, 529, 484–489. https://doi.org/10.1038/nature16961. Blog: https://research.google/blog/alphago-mastering-the-ancient-game-of-go-with-machine-learning/Silver, D., Schrittwieser, J., Simonyan, K. et al. (2017). Mastering the game of Go without human knowledge. Nature, 550, 354–359. https://doi.org/10.1038/nature24270. https://deepmind.google/blog/alphago-zero-starting-from-scratch/Tamar, A., Wu, Y., Thomas, G., Levine, S., & Abbeel, P.. (2016). Value Iteration Networks. Advances in Neural Information Processing Systems, 29, 2154–2162. https://arxiv.org/abs/1602.02867Tang, H., Huang, Z., Gu, J., Lu, B.-L., & Su, H. (2020). Towards scale-invariant graph-related problem solving by iterative homogeneous gnns. Advances in Neural Information Processing Systems, 33. https://arxiv.org/abs/2010.13547Turing, A. M. (1936). On Computable Numbers, with an Application to the Entscheidungsproblem. Proceedings of the London Mathematical Society, 2(42), 230–265. https://doi.org/10.1093/oso/9780198250791.003.0005Veličković, P., Ying, R., Padovano, M., Hadsell, R., & Blundell, C. (2020). Neural Execution of Graph Algorithms. ICLR. https://research.google/pubs/neural-execution-of-graph-algorithms/Veličković, P., Buesing, L., Overlan, M., et al. (2020b). Pointer graph networks. Advances in Neural Information Processing Systems, 33, 2232–2244. https://proceedings.neurips.cc/paper/2020/hash/176bf6219855a6eb1f3a30903e34b6fb-Abstract.htmlVeličković, P. (2023a). Everything is Connected: Graph Neural Networks. Current Opinion in Structural Biology. https://www.sciencedirect.com/science/article/abs/pii/S0959440X2300012X. Full text: https://arxiv.org/abs/2301.08210Veličković, P. (2023b). Neural algorithmic reasoning [Blog Post]. The Gradient. https://thegradient.pub/neural-algorithmic-reasoning/Wang, Y., Sun, Y., Liu, Z., et al. (2019). Dynamic graph cnn for learning on point clouds. Acm Transactions On Graphics, 38, 1–12. https://doi.org/10.1145/3326362. Full text: https://arxiv.org/abs/1801.07829Wolpert, D. H., & Macready W. G., (1997). No free lunch theorems for optimization. IEEE Transactions in Evolutionary Computation, 1(1), 67–82. https://doi.org/10.1109/4235.585893. Full text: https://www.cs.ubc.ca/~hutter/earg/papers07/00585893.pdfXhonneux, L.-P., Deac, A.-I., Veličković, P., & Tang, J. (2021). How to transfer algorithmic reasoning knowledge to learn new algorithms? Advances in Neural Information Processing Systems, 34, 19500–19512. https://arxiv.org/abs/2110.14056Xu, K., Li, J., Zhang, M., et al. (2020). What Can Neural Networks Reason About? ICLR. https://arxiv.org/abs/1905.13211Yan, Y., Swersky, K., Koutra, D., Ranganathan, P., & Hashemi, M. (2020). Neural execution engines. Advances in Neural Information Processing. https://arxiv.org/abs/2006.08084Zaheer, M., Kottur, S., Ravanbakhsh, S., et al. (2017). Deep sets. Advances in Neural Information Processing Systems, pp. 3391–3401. https://arxiv.org/abs/1703.06114Can an AI Learn the Planning Algorithm? Part 1 was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.