Skip to content
#small language model Open access

Density, Depth, Loop: AI Memory from Storage to Closure

Oct 2026 · Zenodo (CERN European Organization for Nuclear Research) · 7 references
Language and cultural evolution

Abstract

Large language models already have several kinds of memory: context windows, retrieval, and product-level memory features. We argue that the quality of memory lies not in its length but in whether it closes into a loop: only a system that writes its outputs back and rewrites the rules that generated them retains experience after a reset. We characterise this with three quantities — density (how much is stored), depth (how much is processed), and closure (whether it is written back) — and divide memory into three levels: storage, topological flow, and loop. In minimal form we machine-check three structural propositions in Lean 4: a system that never rewrites its rules is, after a reset, identical to one that never had the experience, however long its context; reversible steps never merge distinct states, so convergence requires discarding information; and a persistent state exists only when the loop gain is at least one. We further propose that persistent memory forms where the gain of the write-back loop crosses one, and test and illustrate this with historical forgetting data, a pre-registered blind test and two simulations: three historical datasets are all closest to straight lines on log–log axes, ruling out a single exponential; on two non-overlapping samples of public Duolingo learning records (about two million records), a pre-registered blind test found that the prediction that more uniform review intervals give better recall came out reversed in both samples, a result reproduced exactly by rebuilt code, whereas the predictions on the shape of forgetting and the location of the threshold proved sensitive to analysis choices the registration had left open; unprotected continual learning loses old knowledge mostly at the start of a new task; adding pruning removes forgetting at a small cost to new learning; and individuals sharing one structure move in the same direction whenever the net effect is clear, splitting only where benefit and cost cancel. The reversal suggests that what should stay constant is the ratio of the interval to the memory's own time scale (a rule), not the interval in clock time (a regularity). We close with Test A — the post-reset retention ratio R: a projection of public benchmarks already gives half of the answer (states are easy to write, their consequences mostly do not follow), and the other half is left to a small experiment comparing an external store of states with an external store of rules — and thirteen predictions ranked by testability. Supplementary material (Chen_2026_P6_supplement_v1.0.zip): Lean 4 sources for the machine-checked propositions (Appendix A), simulation and analysis scripts (Appendix B), all numerical results, the seven figures, and the time-stamped pre-registration record of the Duolingo blind test. The Duolingo data are not redistributed; a script rebuilds the exact samples from the public dataset (Settles & Meeder 2016, doi:10.7910/DVN/N8XJME, CC BY-NC 4.0). Code is MIT-licensed; results, figures and text are CC BY 4.0. Part of the EMI series (Chen 2026a–f).

View source

Similar papers

#small language model Dataset Open access Oct 2026

Socratic guiding questions in synthetic arithmetic data: matched LoRA runs (revision v2)

Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...

O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al. · 465 citations
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.