Thursday, December 3, 2026

Memoization

Computers can patiently grind through lots of tiny little calculations. They can remember a massive number of things. In the information age, they have access to an unbelievable amount of data, spread all over the world.

This allows them to both act as a store of knowledge and to instruct other machines, such as printers or robots, on how to complete physical tasks. They are conduits for communication between spread-out groups of people.

As they became smaller and more interconnected, they have become essential to our daily lives.

Of all of their features, the ability to collect and collate massive amounts of physical data is the strongest. They offer humanity the ability to build on our past experiences in order to make our future lives considerably better. We can use the knowledge they amass to prevent or mitigate our mistakes from the past.

The core of this is to not only get a physical imprint of the world around us, but also to augment that with enough information to build expected trajectories. In that way, we can see if things are getting better, or worse, or cycling, or spinning out of control. Collective knowledge is the bedrock of our technical sophistication.

That is, modern life is less harsh than in the past simply because we’ve been able to leverage lots of technologies to change our environment enough in order to make it less harsh.

If you live in a house, you are no longer subject to the smallest of whims from almost all weather. As we learned to build better houses, we are able to withstand a wider range of weather events. Since we’ve been doing this for a very long time, we’ve built up the knowledge and skills to build more houses faster that are more likely to survive more and more weather events. And we often have long-established building codes that codify that past understanding and give some assurances that it will be implemented nearly as best as possible.

Which is to say that we can get better outcomes and futures when we base our actions on learning from the past.

At a large scale, this is the true power of computers. That they have the ability to help us progress into better futures. We need that capability first, before we can leverage the machines to direct physical work or control lots of communication. It is the root of all other computer abilities.

In the past, we’ve too often cheated at capturing data from reality. It is a difficult and expensive task, so we more often just wing it and cobble together fragments of the information we need, often in a somewhat disorganized fashion. That might get us simple capabilities faster, but it is missing out on the real strength of the computers. We don’t want millions of programs that capture tiny slivers of reality, then try to piece them back together in a meaningful way. We want well-engineered ways to capture as much as we need, as correctly as possible, so that we can combine all of this in order to get deeper, more insightful knowledge.

That is, you don’t want to be jumping around between all these slivers and different software tools, in order to gradually figure out the answers to your questions, one little step at a time. You want to formulate the question, then produce an answer with the largest swatch of knowledge that you have available to you. That is the answer that not only knows a few facts, but also takes into account a massive amount of history, in order to correctly give you the best chance you can have at making a strong decision that will withstand the test of time.

That sounds difficult, but there is nothing about the underlying abilities of the machines that says that they cannot perform such a task. It’s just that our history of software development has generally shied away from building things of such grand ambition that they would be able to perform these types of tasks. We have billions of lines of code now, possibly trillions, but they are all so fragmented, inconsistent, and non-standard that while they serve very tiny goals, they do not work together collectively to lift up our lives.

A good example would be “What should I eat for dinner?” 

A simple question, but it spans a vast space. Your choices could be influenced by such diverse issues as your current health needs, what you have in the kitchen, how close the store is, how much money you can spend, what you prefer to eat, and more. We could have a health history and some biometrics on the body, which would narrow down the choices to meals that would help in some way. It is possible to keep track of the inventory from the kitchen, even if it is approximate in a few ways. Your banking information and current preferences can be digitized. So, instead of an app that randomly issues recipes from the web, all this information could be collected and used to arrive at a much better choice. Food that would fit your budget, not take too long to prepare, and aid in your life choices.

It may seem like we are moving closer towards this with tools like LLMs, but they are more likely moving in the opposite direction. The training data is general-purpose, and the information sources out there are only going to get more fragmented now and harder to access. Siloing knowledge for money is popular, but it makes the information far less useful.

The idea isn’t to dynamically search a mass amount of stuff, but rather to go the other way and consolidate the knowledge in a more localized format. You’d rather not have your information stored in some AI model, and you really don’t want to have to pay for dozens of different services to manage it for you. It’s your information; it should not be monetizable against you. So, it might work if you had a personal LLM and local agents that stored all of the information they collected about and around you, locally, so that you were the only one who could access it. But it would only be of real value if the mechanics were precise, deterministic, and accurate. Any form of hallucination or sycophantic behaviour would devalue the decisions, leading to worse outcomes.

That would be true not just of individuals, but all organizations as well.

We can imagine a kinda omnipresent magic 8 ball, where you ask a question and the answer you get is based on history and a whack load of local data. These types of computers would know everything about the circumstances, but share almost none of it. They’d understand general knowledge but also historic precedence. Their decisions would factor all of that into the choice and would be able to justify why that choice was more appropriate, given the circumstances.

All of that starts with doing a much better job of capturing data. In a sense, we don’t need a lot of overlapping but independent systems; we just need access to rather precise, shareable data pools. Self-standing, large, up-to-date knowledge bases that are modelled to correctly mirror the world around them. We don’t want a list of users for a system; for example, we just want the privileges of a lot of different identities and a way to match a request to one of those. A big database in a company that says which employees are allowed to access what type of stuff. Not the specific stuff; there is too much of that to manage properly, but the different types, where the types are categorized by the variations in the need to access it. A company could just have plebs and execs, for example, although that is way too simple. But there would not be thousands of categories either, since that would indicate very serious process problems in that organization.

Large data pools would be easier to vet, clean and keep up to date. They show up contradictions and overlaps a lot better. Their arrangement would dictate their scope. An enterprise data pool should obviously not be accessible outside of the enterprise.

These pools would be standardized, shareable, and entirely independent of any apps, systems, programs, etc. You wouldn’t write code to go to the database and deal with your deranged schema; you’d write code that interacted with a pool to pull out some specific knowledge. Then you traverse or interact with that knowledge structure in a way to answer specific context inquiries.

A dinner app would pull from a bunch of local pools, grind through the options and filters, and arrive at a stronger answer. A corporate pool could cross-reference a few inventories with the account or client details. We could have current and historic pools as well. The data models would be strong enough and wide enough to make that easy. “Split off any accounting info older than 7 years into the archive pool,” and not only would it be done, but it would be done with enough transactional integrity to ensure that the data isn’t lost or corrupted in any way. The pools would support a great deal of cross-references and synchronization primates as well. Similar to how we deal with source code repos. You collected the stuff; you should be able to trust what you collect, even if the other things built on top were rather buggy.

I often think the problem is that we got carried away with creating software as massive lists of instructions. Yes, that is the way the computer works, but it is not what we need from them, and it is not their strengths. What we need is for these machines to remember as much as they can, and allow us to use that knowledge in the midst of making decisions which will make our lives better in both the short and long term. And we need that knowledge to remember and learn from the massive number of mistakes in the past to help us find ways of avoiding those fates. Even if the machines are not intelligent, that does not mean we cannot use them to augment our own intelligence without having to give up any autonomy over our lives. I don’t want a program to decide what I am having for dinner; I want it to make meaningful suggestions based on a vast array of data that will not only help me fulfill my hunger, but also consider other issues better, like time, money or health. I know junk food is easy, but what I need is help with making a much better choice, given my personal circumstances.

No comments:

Post a Comment

Thanks for the Feedback!