Richer Representations for Neural Algorithmic Reasoning via Auxiliary Reconstruction

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Huang, Jiafu, Peng, Chao, Xu, Chenyang, Yang, Zhengfeng, Cai, Kecheng, Zhang, Chenhao, Wang, Yi, Gong, Yiwei, Zhou, Wanqin, Zheng, Irene
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916070407798784
author Huang, Jiafu
Peng, Chao
Xu, Chenyang
Yang, Zhengfeng
Cai, Kecheng
Zhang, Chenhao
Wang, Yi
Gong, Yiwei
Zhou, Wanqin
Zheng, Irene
author_facet Huang, Jiafu
Peng, Chao
Xu, Chenyang
Yang, Zhengfeng
Cai, Kecheng
Zhang, Chenhao
Wang, Yi
Gong, Yiwei
Zhou, Wanqin
Zheng, Irene
contents Neural algorithmic reasoning has emerged as a popular research direction. It aims to train neural networks to mimic the step-by-step behavior of classical rule-based algorithms. More specifically, the execution of such algorithms can be abstracted as a sequence of states, where each state represents the intermediate outcome after an execution step. The training objective is to generate state sequences that replicate the underlying algorithmic process. A common framework for this task adopts an encoder-processor-decoder architecture, where the encoder learns representations of states, the processor simulates algorithmic steps, and the decoder reconstructs output states. While prior work has focused on improving the processor, the role of the encoder in representation learning has received little attention. Most methods rely on simple MLP encoders, raising the question of whether such representations are sufficiently informative for supporting algorithmic reasoning. This paper investigates how to improve encoder representations for neural algorithmic reasoning. We propose a reconstruction module that aims to recover the input state from its encoded representation. This auxiliary reconstruction task encourages the encoder to retain critical information about the input. We demonstrate that incorporating this task during training improves the performance of existing neural architectures on standard benchmarks. Furthermore, we observe that current encoders often underutilize the correlations among features within a state. To address this, we draw inspiration from self-supervised learning and design an enhanced variant of the auxiliary task that encourages the encoder to capture intra-state feature dependencies. Experimental results show that our method enables the encoder to learn richer representations, thereby enhancing the performance of existing processors on algorithmic reasoning tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2606_00559
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Richer Representations for Neural Algorithmic Reasoning via Auxiliary Reconstruction
Huang, Jiafu
Peng, Chao
Xu, Chenyang
Yang, Zhengfeng
Cai, Kecheng
Zhang, Chenhao
Wang, Yi
Gong, Yiwei
Zhou, Wanqin
Zheng, Irene
Machine Learning
Artificial Intelligence
Neural algorithmic reasoning has emerged as a popular research direction. It aims to train neural networks to mimic the step-by-step behavior of classical rule-based algorithms. More specifically, the execution of such algorithms can be abstracted as a sequence of states, where each state represents the intermediate outcome after an execution step. The training objective is to generate state sequences that replicate the underlying algorithmic process. A common framework for this task adopts an encoder-processor-decoder architecture, where the encoder learns representations of states, the processor simulates algorithmic steps, and the decoder reconstructs output states. While prior work has focused on improving the processor, the role of the encoder in representation learning has received little attention. Most methods rely on simple MLP encoders, raising the question of whether such representations are sufficiently informative for supporting algorithmic reasoning. This paper investigates how to improve encoder representations for neural algorithmic reasoning. We propose a reconstruction module that aims to recover the input state from its encoded representation. This auxiliary reconstruction task encourages the encoder to retain critical information about the input. We demonstrate that incorporating this task during training improves the performance of existing neural architectures on standard benchmarks. Furthermore, we observe that current encoders often underutilize the correlations among features within a state. To address this, we draw inspiration from self-supervised learning and design an enhanced variant of the auxiliary task that encourages the encoder to capture intra-state feature dependencies. Experimental results show that our method enables the encoder to learn richer representations, thereby enhancing the performance of existing processors on algorithmic reasoning tasks.
title Richer Representations for Neural Algorithmic Reasoning via Auxiliary Reconstruction
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2606.00559