Putting machine learning into a database
About this episode
Most data scientists bounce back and forth regularly between doing analysis in databases using SQL and building and deploying machine learning pipelines in R or python. But if we think ahead a few years, a few visionary researchers are starting to see a world in which the ML pipelines can actually be deployed inside the database. Why? One strong advantage for databases is they have built-in features for data governance, including things like permissioning access and tracking the provenance of data. Adding machine learning as another thing you can do in a database means that, potentially, these enterprise-grade features will be available for ML models too, which will make them much more widely accepted across enterprises with tight IT policies. The papers this week articulate the gap between enterprise needs and current ML infrastructure, how ML in a database could be a way to knit the two closer together, and a proof-of-concept that ML in a database can actually work.
Relevant links:
https://blog.acolyer.org/2020/02/19/ten-year-egml-predictions/
https://blog.acolyer.org/2020/02/21/extending-relational-query-processing/
More from Linear Digressions
Decision models like Jev are carving out a distinct niche from your standard LLMs — and the difference comes down to something more fundamental than just architecture. Where a language model's instinc…
Mixture of Experts is one of the cleverest tricks in modern inference, and it makes models smaller without actually making them smaller. This week we unpack how MoE models like DeepSeek V3 (671 billio…
Staying relevant as a data scientist when AI is reshaping the field isn't just a career question — it's an existential one. Dr. Jon Krohn, neuroscientist-turned-data-science-educator, podcaster, and c…
GPUs are the engines powering every AI conversation you've ever had — but what's actually happening inside those chips when an LLM generates a response? Understanding GPU fundamentals turns out to be…
The unsung hero of every LLM conversation you've ever had? A clever optimization called the KV cache. Self-attention is computationally brutal — every token attending to every other token means costs…