AI Will Make Traditional Databases Obsolete: A 2023 Prediction

My childhood book database kept track of who had borrowed a book. I also wanted it to hold the changing associations I found each time I reread it. That ambition led to a much larger prediction in May 2023: AI would replace traditional databases.

The programs behind the prediction

Growing up in India, I started programming in second grade, or “class 2” as we called it. I wrote BASIC programs to solve math problems and make text and graphics-based games. Remember GW-BASIC? My friend Rishab Ghosh and I shared a passion for computers. He sometimes brought his Sinclair ZX Spectrum to my home, where we wrote code together. I still remember the message “R tape loading error.”

My early programming also included Commodore 64 and BBC Micro computers. In fifth grade, I got an IBM PC compatible and soon felt proficient in Logo, Pascal and C, as well as dBase III and Borland Paradox.

Books that changed while sitting on the shelf

I loved rereading books. The words stayed the same, but I found new ideas and made different connections with each reading. My databases held each book’s metadata (I don’t remember whether I knew that word then or simply called it data), along with reflections and notes about who or what a character or place reminded me of.

They also tracked books I lent to friends, so I could remind them to return them. Any childhood friends reading this who used to forget to return my books: you know who you are. 😃

As the information changed, I ran into limitations in the databases I was building with dBase III and Paradox. I designed custom data structures in Pascal to capture the structured details and the less orderly notes and associations. The problem that interested me was how to represent a book’s place in my thinking as that thinking changed.

An address book of relationships

As a teenager, I built a contacts database for birthdays, family members and phone numbers. Not every household in India had a phone, so reaching a friend might mean calling a neighbor. Storing that neighbor’s number separately for every person who relied on it would duplicate information. I devised links between contacts to represent those relationships.

In the India of my childhood, everyone seemed to be an “uncle,” “aunty,” neighbor or otherwise related. A contact belonged to that web of people. I again turned to custom data structures when the database designs I was using didn’t express those connections as I wanted.

Drawing a map, then querying it

Mind maps appealed to me because their associations resembled the way I thought about information.

As a teenager, I drew maps using Harvard Graphics and Paintbrush/MS Paint on MS-DOS and Windows. I used them for school projects, brainstorming and organizing my thoughts. Drawing the relationships helped me see them, but querying the drawings was inconvenient. That sent me back to custom data structures and Borland’s BGI graphics library. Anyone else remember learning from BGIDEMO.PAS and BGIDEMO.C, the samples that came with Turbo Pascal and Turbo C?

Those experiments continued to influence my work. In 2015 I created a CTO mind map, which I was still using when I wrote the original article in 2023.

The future I argued for in 2023

Across these projects, I wanted computers to help me store and query both clear facts and fuzzy relationships. The ambition was to augment the human brain. At The New York Times, The Wall Street Journal and Hearst, I had seen firsthand how AI could transform work with stories, images and other complex content whose meaning extends beyond a set of fields.

With the arrival of large language models such as GPT-4, I saw a way to work with that meaning through language. I had also seen the potential of AI search as an advisor to you.com, an experience I wrote about in 2021.

My May 2023 article was titled “The Neural Network Revolution: Why AI Will Make Traditional Databases Obsolete.” Its conviction was explicit:

With the popularity of Large Language Models like GPT-4, when I started work on Ragbot.AI, my new augmented brain and AI assistant open source project it became clear to me: Traditional databases will become history like some of the computing products from my childhood days that I mention above.

I expected neural networks to become a more intuitive way to manage interconnected information and soon replace traditional databases. The ambition grew from those childhood projects: computers should help us work with the changing meaning of information, the associations we discover and the questions we have yet to ask.

Two examples helped explain that optimism. OpenAI’s 2021 Codex model translated natural language into code. AlphaFold predicted protein structures. These were examples of learned models doing work that a stored collection of records does not do on its own.

AlphaFold’s predictions draw on database inputs. Interpreting those records and preserving them are different responsibilities. OpenAI retired the original Codex API models in March 2023.

Storing information and interpreting it

Relational and NoSQL databases can store text, images, audio or video without understanding their meaning. PostgreSQL 15, for example, documents JSON storage and a bytea type for raw binary data. MongoDB’s documentation describes documents with different structures in the same collection, including a book example with print, ebook and audiobook formats.

A language model can help interpret a question, work with supplied text and compose an answer. Those capabilities made language-based access to my kind of book notes appealing. Building that system also requires choosing how to store accurate records, connect sources and manage cost and scale.

OpenAI’s 2023 GPT-4 research publication states that GPT-4 does not learn from its experience. A system needs a specified way to acquire newer information, such as supplying retrieved records or updating its training. The model’s weights, its learned numerical parameters, should not be confused with a database that the application updates when someone returns a book.

Two questions for a book database

Consider a fictional library with this loan record:

{
  "copy_id": "B-17",
  "borrower": "Friend A",
  "returned": false
}

“Who has copy B-17?” calls for the stored borrower and return status. If the book comes back, the application needs to record that change. A database guarantee is a specified promise about behavior: for example, PostgreSQL transactions can group related changes so they all take effect or none do. That matters if recording the return also changes the copy’s availability.

“Which of my notes discuss friendship and obligation?” is a different request. An embedding, a numerical representation used to compare items, can help find notes with related meaning even when they use different words. A language model could then compose an answer from the retrieved notes. The result still needs to point to the notes it used; a thematically similar passage does not establish who borrowed B-17.

Where vector search fits

A vector database stores and indexes vectors so an application can search for nearby or similar representations. In the book example, it could help retrieve related notes. The notes themselves, the loan record and the model’s learned parameters have different jobs, even if a product brings several of them together.

  • Milvus is an open-source vector database. Its overview explains converting unstructured data into embeddings and organizing data in collections.
  • Pinecone provides a vector database for semantic search and knowledge retrieval.
  • Weaviate stores data objects and their vector embeddings, supporting searches based on semantic similarity as well as keywords.
  • Faiss, developed by Facebook AI Research, provides similarity search and clustering of dense vectors as a library rather than a database.

Gal Lahat’s video “You have memory, AI has this” introduces vector databases.

I expect a combination of these tools, with each serving particular applications. Vector search can make an AI application more useful while continuing to rely on stored data.

The counterarguments colleagues brought

After publication, Mike Nuzzo, Zack Packer and Dennis O’Harlem shared perspectives that I added to the article. I respect their knowledge of data.

Zack distinguished data representing perception and cognition from the structural foundations of engineering, mathematics and science. In his framing, AI could change how we represent our experience of the world while remaining dependent on structures that make buildings, bridges or software possible. His pixel example made the distinction concrete: generating or predicting a pixel still depends on a representation of the pixel. It was an argument for AI complementing those foundations, rather than removing them.

Dennis emphasized defined behavior and guarantees, including what an application needs for compliance. A future AI system might behave like a database serving several kinds of data, but calling it a replacement would require reasoning about those guarantees. He described an AI or machine-learning component as a possible access approach paired with a datastore. His analogy was to graph-oriented systems that expose graph operations while using a relational or key-value store underneath.

Mike focused on predictive computation and bias. A model can carry or amplify biases in its training data, and subtle inputs can affect what it produces. In media, that raised the possibility of guiding readers along non-neutral paths. His concern was about the consequences of an answer, beyond whether a system could produce one.

These responses challenged the idea that neural networks would eliminate the need for structured storage across industries. Dennis’s test asks what would make a replacement dependable: which record is authoritative, how a change becomes durable, and what behavior an application can rely on when the answer matters.

My ambition is a system that can follow the changing meaning of a book in my life, connect it with other ideas and still tell me reliably who borrowed it. The prediction asks us to build that richer way of working with information and give it the guarantees people need to trust it.