Enterprise Document Intelligence [Vol.1 #2D] - What data scientists say when asked, what the model actually does under the hood, and why the honest answer changes your architecture decisions in enterprise RAG
The post How Does a RAG Reranker Really Work? appeared first on Towards Data Science.
Why most agents are just flowcharts in disguise, and what to build instead.
The post Is Agentic AI Just Automation? appeared first on Towards Data Science.
A New Towards Data Science: A Faster Site and a Brand-New Contributor Portal
We're excited to share some big news: We completely rebuilt the TDS website and our contributor portal. Whether you come here to read, to write, or both, here's what you can expect from our new site.
The post A New Towards Data Science: A Faster Site and a Brand-New Contributor Portal appeared first...
Hallucinations, Watermarks, Removers, and a Squeezed Balloon
Watermarks act at the model’s moments of doubt, and so do the safety checks that catch AI mistakes
The post Hallucinations, Watermarks, Removers, and a Squeezed Balloon appeared first on Towards Data Science.
A practical guide to navigate hierarchies, find routes, detect cycles and calculate degrees of separation
The post Recursive CTEs: SQL’s Hidden Graph Traversal Engine appeared first on Towards Data Science.
Most LLM inference runtimes have no idea a physical deadline exists. This one refuses admission rather than miss a 33ms robot control cycle, evicts KV cache by meaning instead of age, and is written entirely in hand-written CUDA — no cuBLAS, no libtorch.
The post Can an LLM Forget the Right Things? ...
Speculative Decoding on CPUs: Nearly 4x Faster Token Generation with DFlash
Speculative decoding can turn underused CPU compute into faster token generation, without changing the model's output. In our vLLM tests, DFlash delivered 3.92x the autoregressive throughput with Qwen3.5-9B on Intel Xeon 6 at concurrency 1. We break down where the speedup comes from, explain the acc...
Integrating Agentic AI with Existing Machine Learning Pipelines
In this article, you will learn how to combine a classical machine learning pipeline with an agentic AI system to build a hybrid, autonomous customer...
AI Agents Don’t Need More Context — They Need Typed Context
AI agents don’t just have a context problem—they have a context typing problem. When instructions, memory, retrieved evidence, and tool outputs are flattened into one string, their semantic boundaries can disappear. I built a lightweight, zero-dependency Python runtime that keeps those boundaries ex...
Parse the Folder, Not Just the PDFs: The Relational Tables RAG Needs on a Case File
Enterprise Document Intelligence [Vol.1 #14D] - The index lists what the case type demands before any folder is opened, and the two questions worth building for are not retrieval questions at all
The post Parse the Folder, Not Just the PDFs: The Relational Tables RAG Needs on a Case File appeared fi...
Spec-Driven Development with Claude Code: Writing Bulletproof Specs
I have written enough specs for Claude Code now to have hit the failure mode nobody warns you about. The spec was fine. The plan was fine. Claude worked through the tasks, ran the test suite, and reported everything passing. I looked at the diff properly the next morning and found it had converted ...
Building a Proper Backend for My LangGraph AI Agent
Turning a demo agent into something that can keep real booking data
The post Building a Proper Backend for My LangGraph AI Agent appeared first on Towards Data Science.
Multi-Document RAG: A Folder of Unrelated PDFs Is One Long Document with a Nested Outline
Enterprise Document Intelligence [Vol.1 #14B] - No shared fields means no index to build. One summary line per file plus each file’s own table of contents, and retrieval routes down two levels
The post Multi-Document RAG: A Folder of Unrelated PDFs Is One Long Document with a Nested Outline appeared...
Agentic AI research in 2026 has moved past the basic question of whether a model can be called a tool. The harder questions are whether an agent can finish long workflows, survive live websites, verify its own work, recover from failure, and improve its process over time. The five papers below map t...
Turning Codex from an interactive assistant into a programmable automation component
The post Running Codex as a Headless Agent appeared first on Towards Data Science.
Estimating from No Data: Deriving a Continuous Score from Categories
A walkthrough of and the maths behind using low-capacity networks to acquire fine-grained scoring when only categorical labelling is available for training
The post Estimating from No Data: Deriving a Continuous Score from Categories appeared first on Towards Data Science.
What a production incident taught me about trusting a model to judge another model's work
The post The LLM Judge That Kept Agreeing With Itself appeared first on Towards Data Science.
Three Kinds of RAG Corpus, and What It Costs to Build for the Wrong One
Enterprise Document Intelligence [Vol.1 #14A] - Three questions tell you which shape a document collection has, and each shape wants a different architecture
The post Three Kinds of RAG Corpus, and What It Costs to Build for the Wrong One appeared first on Towards Data Science.
Making the Knowledge Layer a Graph You Actually Traverse
Why retrieval quality should be a property of the system, not of the question's wording? Rebuilding knowledge layer with graph traversal on every query, bitemporal edges, and two-threshold entity resolution.
The post Making the Knowledge Layer a Graph You Actually Traverse appeared first on Towards ...