Large Language Models and Algorithm Execution: Application to an Arithmetic Function

Read full text
Authors: Farah Ben Slama, Frédéric Armetta
Cited by: 0

Abstract

Large Language Models (LLMs) have recently developed new advanced functionalities. Their effectiveness relies on statistical learning and generalization capabilities. However, they face limitations in internalizing the data they process and struggle, for instance, to autonomously execute algorithms. In this paper, we investigate the possibility of extending these models' capabilities to algorithm execution through specialized supervised training focused on reasoning decomposition. We introduce a training model called LLM-DAL (Large Language Model - Decompositional Algorithmic Learning), through which we demonstrate that LLMs' ability to perform complex algorithmic inferences and generalize can be significantly improved when the training method is properly designed to guide the model in its learning process.

Fields of Study & Subjects

Topic Modeling Artificial Intelligence Applications Natural Language Processing Techniques

Publication details

Journal / source
arXiv (Cornell University)
Publication date
12 January 2026
Language
EN
Document type
Preprint