# Memory Model for Morphological Semantics of Visual Stimuli Using Sparse Distributed Representation
## 4 Experimental Results
### Experiment 2: Memory Pattern Formation Experiment Using Pre-Memory Process  
In the second experiment, the need for prior memory is raised through the analysis of the results of the 4.1 experiment, and the pre-memory process is added to the introduction of the memory formation process. The pre-memory process simulates the fact that memory can be effectively formed by showing multiple picture cards in object recognition learning for young children. In the pre-memory process, images with high morphological similarity, that is, 100 images of the same label, are sequentially input to create an average pre-memory for morphological similarity in advance. After generating the prior memory in this way, the experiment in Section 4.1 is repeated and the results are analyzed. First, let's look at the memory patterns formed through pre-memory. Figure 19 illustrates the result of some memory patterns that formed the prior memory. These initial memory patterns of the picture are gradually updated according to a new input. Table 2 shows the number of generated memory patterns when SDR's active bit overlap is applied to the remaining 9000 image inputs of the test set except for 1000 images used for pre-memory formation and is visualized in Figure 20. The overlap is applied while varying from 20% to 60%, and if the SDR similarity did not exceed this ratio, it is stored as a new memory pattern. In Experiment 1, if the SDR overlap for judging the similarity is applied high, the image showing a small difference is judged as a different memory pattern, resulting in a problem in which the memory pattern rapidly increased. However, in Experiment 2, when the pre-memory formation process is applied, the number of deviations from the pre-formed memory pattern gradually increased. Figure 19: Examples of memory pattern formed through the pre-memory process. Each input image is converted into a unique SDR and then contributes to the update of the existing memory pattern or is registered as a new memory through similarity comparison with the stored memory pattern. As an example of the experimental result, when the similarity discrimination criterion is 20% active bit overlap, when the remaining 9000 images of the test set are used except for the 1000 images used for pre-memory formation, unlike Experiment 1, 10 memory patterns are stored. The number of stored memory patterns is equal to the number of ground-truth labels in the data set. In Figure 21, when 10 memory patterns are stored, the distribution of labels belonging to each pattern is indicated by color codes. Here, the horizontal axis indicates the number of each memory pattern, and the vertical axis means the total number of images belonging to each memory pattern and the labels constituting it are indicated by color codes. Ideally, there should be only one label in one memory pattern, but there are many cases where the label indicating the majority distribution and the label of the minority distribution are mixed. This is because, when images are morphologically similar, different labels may appear together in one memory pattern. \begin{table}
\begin{tabular}{c c c c c c} \hline
**Overlap Rate** & **100 Images** & **1000 Images** & **3000 Images** & **5000 Images** & **9000 Images** \\ \hline
20\% & 10 & 10 & 10 & 10 & 10 \\ \hline
30\% & 10 & 12 & 12 & 12 & 13 \\ \hline
40\% & 15 & 18 & 24 & 24 & 33 \\ \hline
50\% & 19 & 35 & 59 & 78 & 105 \\ \hline
60\% & 44 & 96 & 148 & 199 & 286 \\ \hline \end{tabular}
\end{table} 
Table 2: Number of memory patterns compared to SDR overlapping rate. Figure 20: Number of memory patterns according to SDR overlapping ratio and number of input images with pre-memory process. However, unlike Experiment 1, most of the memory patterns have labels indicating the dominant distribution, so it can be judged that the memory patterns are well formed according to the morphological semantics. Figure 22 shows which memory pattern the image of each label is saved.