100% we can learn a lot from the history of database development to predict the future of context/semantic layers. query processing has always been I/O or memory bound (except the few years prior to vectorized + compiled engines like monetdb & hyper, and today’s expensive AI functions or string functions). in other words, the way to improve performance is to **transfer less data to the LLM** or **transfer data to the LLM faster**, which is exactly what an index or context layer does.
However, new in the AI era is the need for a **high quality** context layer. Quality was easier in traditional DBs because using an index doesn’t impact correctness. Eg with a B-tree, you get the same rows as a full scan, just faster. A context layer is lossy by design, since the LLM only sees what we put in the context (and maybe progressive disclosure like instructions to read more of the data if it wants). So every decision about what to retrieve or summarize is also a decision about correctness, which we don’t know how to rigorously model. It all comes down to having good, company-specific evals, if I may
@eddiedzhoua context layer is actually not counter to the bitter lesson
it’s just systems infra: a local read replica + derived indexes built by offline LLMs (no hardcoded ontologies, just recompute as models get better)
people love to cite the bitter lesson as “skip the infra, let the model figure it out live,” but search is literally half of sutton’s point
CPUs getting orders of magnitude faster didn’t kill b-trees or materialized views. those exist because compute outpaces I/O
let's assume frontier-level-intelligence inference hits 0ms: live fan-out across scattered SaaS APIs still leaves you I/O-bound. and then in the SaaS endgame, proprietary state is the last moat they defend so those API straws only get narrower. narrow pipes still work with slow incremental sync of raw state, but not parallel search at runtime
everyone fanning out is already eating 429s and it'll probably only get worse
if you keep raw ground truth synced underneath so runtime models can search and verify in milliseconds + pay compute at write-time and read-time --> hooray you can still be bitter-lesson pilled with a context layer