# Zero-Shot Predictive Models for Relational Databases <!-- ref: @content/youtube/yc-root-access/zero-shot-predictive-models-for-relational-databases tags: [relational databases, zero-shot prediction, graph neural networks, transformers, feature engineering, Kumo AI, MCP] version: 2 updated_at: 2026-11-24T05:05:51.107Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=6b7jtIiLOLw)** # Zero-Shot Predictive Models for Relational Databases *Synthesized from Mark in conversation with an unnamed interviewer on YC Root Access, 2026-08-06.* Mark, a guest known in the transcript only by his first name, describes the work; the interviewer is not named in the source. ## Core Thesis Mark argues that a pretrained model can predict directly from a relational database, skipping the hand-built feature engineering that data scientists normally do. The method treats the database as a graph, samples the neighborhood around the target record, and feeds it to a transformer; on one classification task it reaches an AUROC of about 73 with 22 million parameters, against about 62 for a 4-billion-parameter Gemma model. ## Key Insights - **The problem.** Flattening tables into one table loses the primary and foreign key relationships between them, which is why feature design is needed. - **Graph view.** Each database row becomes a node, and the context for a prediction is collected by walking the neighborhood (depth-first or breadth-first). - **Serialization.** The sampled context is turned into a sequence of cells, each embedded with an encoder suited to its type (numeric, text, and others). - **Attention design.** Column-wise attention models each column's distribution, feature attention gathers the target record's own information, and neighborhood attention pulls in information from neighbors. A full, unmasked attention variant gave no significant gain and was dropped. - **Results.** On whether an item has children, the model reaches about 73 AUROC versus about 62 for the 4B Gemma model, with 22 million parameters. - **Agent use.** The conversation notes that Kumo AI, a startup linked to the guest's professor, uses a similar model at industrial scale behind an MCP-based agent that writes SQL to get predictive data. ## Actionable Takeaways 1. Try a graph-based predictor on raw relational tables before investing in manual feature engineering, to speed up exploration. 2. Serialize sampled neighborhoods as typed cell sequences so each column type gets its own encoder. 3. Use a small specialized predictor for database prediction tasks and keep a large LLM for other work, as the conversation suggests. ## Notable Quotes None selected: the transcript does not label speaker turns, so no quote can be credited to a named person with confidence. --- *Related: `@content/youtube/yifan-bth/we-are-missing-the-point-of-mcp-its-not-just-about-tools` · `@content/youtube/tiago-forte/i-connected-claude-to-everything-then-i-saw-the-gap` · `@content/youtube/every-inc/microsofts-vision-for-an-internet-made-for-agents-with-cto-kevin-scott-best-of-the-pod` · `@content/youtube/tiago-forte/i-connected-my-entire-business-to-claude` · `@content/youtube/cole-medin/anthropic-just-dropped-a-masterclass-on-building-agent-harnesses-for-large-codebases`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*