arXiv:2610.41108cs.NEOct 2026

Manuscript Offprint

arXiv:2610.41108

Memory and Recall of Color Images Using Neural Networks-1 - The Cue-Ball Model based on the Associative Memory Mechanism -

Hiroshi Inazawa

Abstract

This paper presents a neural network model for storing and recalling color images of different sizes using the Cue Ball-Recall Net systems [1–5]. The Cue Ball system consists of a Recall Net composed of multiple memory neurons each responsible for memorizing a single, distinct memory and a large number of neurons that represent image patterns. The images used in this study [6] consist of ten images (see Appendix). The pixel values of these images were converted into digital values 2^{2} and used for subsequent processing. Accordingly, the Cue Ball contains ten Cue neurons, corresponding to the ten images stored in memory. The number of pixels varies among the images, and therefore, the number of Recall neurons comprising the Recall Net also varies accordingly. In this study, the number of Recall neurons was prepared between 106,134 and 360,000, depending on the number of pixels in each image. In this simulation, after the connection weights (wjip,vijp)(w_{ji}^{p}, v_{ij}^{p}) had been learned, we have used the learning and recall algorithms to investigate whether the Cue neuron which had memorized a specific image could be identified by the Recall Net when that a memorized image has been presented. Therefore, the most important simulation result is which Cue neuron responds when a memorized image is presented to the Recall Net. If the Cue neuron that memorizes the presented image responds, its output can be used to obtain the corresponding image data. By adding a BMP header to the resulting image data, the original memorized image can be accurately recalled.

1. Introduction

This paper presents a model for memorizing and recalling color images of different sizes. The model used in this study is the Cue Ball–Recall Net [1–5]. The system consists of the Cue Ball, a group of neurons in which each neuron is responsible for memorizing one memory, and the Recall Net, which comprises a large number of neurons used to represent image patterns. This study builds on a series of papers published from 2018 to 2026 [1–5]. Now, we focus on the storage and recall of color images with different image sizes. Now, I will briefly revisit the basic structure of the model. It consists of a neural network,

1^{1} I was affiliated with Kobe Shoin Women's University but retired upon reaching the mandatory retirement age at the end of March 2025. Please note that as of April 2025, the university has been renamed "Kobe Shoin University."

2^{2} Regarding the program used in the simulation, I consulted the explanation for ChatGPT and Gemini 3, a form of generative AI.

comprising numerous neurons arranged in a two-dimensional layout to represent images, along with a set of neurons designed to memorize individual images, with each image represented by a single neuron. The neural network used to represent images is referred to as the Recall Net, while the group of neurons responsible for storing memories is called the Cue Ball. The neurons constituting the Recall Net are called Recall neurons, and those constituting the Cue Ball are called Cue neurons. Ten images of different sizes [6] are used in this study (see Appendix). Accordingly, ten Cue neurons are used to store the images.

Until now, the term "memory" in the context of neural networks has referred to associative memory models [3-8,17]. Since this model also pertains to memory, it can be classified as an associative memory model. Among associative memory models, the Hopfield-type model is particularly well-known. Other types, such as auto-associative memory models and hetero-associative memory models, also exist. In autocorrelation and cross-correlation models, the "memory rate" plays a crucial role in enabling the storage of various types of information [8-14]. This depends on the number of neurons being used, and the key lies in maximizing the ratio of the number of stored items to the total number of neurons. The model presented here falls, in principle, into the category of cross-correlation-type associative memory models. In the Cue Ball-Recall Net model described in this paper (as well as in previous papers), a single Cue neuron, which serves as the basis for memory, memorizes one individual image. Consequently, 10 images are memorized across 10 Cue neurons. In this sense, the memory rate is 100%. However, when the Recall neurons that make up the Recall net are taken into account, the memory rate decreases. Therefore, if the number of Cue neurons (the number of images to be memorized) becomes overwhelmingly large, the memory rate—defined as (number of memorized images / total number of neurons used) × 100—will, in principle, approach 100%. On the other hand, as the number of images to be memorized increases and as the size of the individual images grows, the amount of memory required also increases. Despite this drawback, given the trend toward ever-greater memory capacities in modern devices, the approach likely remains sufficiently practical. In the following, Section 2 detail the model, Section 3 present the simulation methodology and results, and Section 4, the final section, offer conclusions and discussion.