← Build notes

SAP tested whether telling a model what the data means improves its predictions. In most tests, it barely did

SAP gave prediction models a compressed copy of its own data definitions. 44 of 48 results barely moved. My reading of why: the same accurate glossary on every row can't tell a model one row from another.

Animated light infographic. At the top, 44 of 48 model results moved by 4 points or less out of 100 when SAP added metadata to its SALT-KG benchmark. On the left, a heat map of all 48 changes: six models and two baselines, eight fields to predict, almost every cell within plus or minus 0.04; the outliers are LightGBM's fall of 0.31 on shipping condition, GraphSAGE's fall of 0.10 on the same field, CatBoost's fall of 0.09 on shipping point, LightGBM's gain of 0.08 on payment terms, and a 0.05 drop for the majority-class baseline that learns nothing. On the right, a glossary against a map: order lines that each carry the same glossary can't be sorted into teams, while lines that each carry a note naming their team sort straight into teams A, B and C. Below, four cards: my reading that the added vector is the same on every row, the 3 of 4 big moves that were drops, the authors' ontology explanation, and a counterpoint from SAP's ConTextTab. At the bottom, the lesson: before giving an AI model a data dictionary, check whether what the model receives varies by row. Animated light infographic. At the top, 44 of 48 model results moved by 4 points or less out of 100 when SAP added metadata to its SALT-KG benchmark. On the left, a heat map of all 48 changes: six models and two baselines, eight fields to predict, almost every cell within plus or minus 0.04; the outliers are LightGBM's fall of 0.31 on shipping condition, GraphSAGE's fall of 0.10 on the same field, CatBoost's fall of 0.09 on shipping point, LightGBM's gain of 0.08 on payment terms, and a 0.05 drop for the majority-class baseline that learns nothing. On the right, a glossary against a map: order lines that each carry the same glossary can't be sorted into teams, while lines that each carry a note naming their team sort straight into teams A, B and C. Below, four cards: my reading that the added vector is the same on every row, the 3 of 4 big moves that were drops, the authors' ontology explanation, and a counterpoint from SAP's ConTextTab. At the bottom, the lesson: before giving an AI model a data dictionary, check whether what the model receives varies by row.
The whole post in one graphic. Open the graphic full size ↗

SAP researchers tested something many people assume: that telling a model what the data means improves its predictions. In most tests, it barely did.

44 of 48 model results moved by 4 points or less out of 100.

Why it matters

SAP gave the models a compressed copy of its definitions.

As I read it, picture a clerk sorting 2.3 million order lines, the same accurate glossary stapled to each. It can’t tell the clerk where a line goes.

I’d expect a note on each file to help: this code belongs to that team, in that office. That’s the gap between a glossary and a map.

Before giving an AI model a data dictionary, check whether what it receives varies by row. If not, the dictionary can’t help it separate rows.

The infographic maps all 48.

For AI context, the question shifts from “is it true?” to “can the model connect it to this case?”

How it works

SALT-KG (EurIPS 2025 workshop) embedded SAP’s metadata descriptions with text-embedding-3-large, then PCA-compressed and attached them to every row.

Six models and two baselines predicted 8 missing fields, scored by mean reciprocal rank (how high the right answer ranks; shown out of 100).

The authors: metadata “rarely changes overall ranking metrics,” though it shifts how model families compare. Of the models’ 4 moves above 4 points, 3 were drops, the largest LightGBM’s 31-point fall on shipping condition.

Yet a baseline that always predicts the most common answer moves up to 5 points too. Something besides the metadata must have varied (data, splits or randomness); with no repeated runs reported, I read small changes as noise.

The authors encode the graph separately because it holds “schema rather than record level information,” a sensible design for a first benchmark.

Why so small? My reading: the added vector is very likely the same on every row, and no tree model can split on a column that never changes. That points to the pipeline behind the tree models’ moves.

The authors’ main explanation is ontology: only direct table-to-field links, no class hierarchies or class-instance relationships (my example: “this code is a sales group”).

Such links could tie a definition to each row’s code, if values were modelled as instances, so I see their explanation and mine as one gap. They also leave the embedding’s effectiveness open.

A counterpoint. On the CARTE benchmark, SAP’s ConTextTab (NeurIPS 2025), which pairs column names with each cell’s value, lost significantly without them; LLM-written descriptions on top gave no significant gain.

In my supply-chain ERP copilot (LangGraph, Neo4j), the graph agent starts from the entities each question names, so its context changes per question. Same weak spot: finding no entity, it falls back to one default supplier.

Wiring a knowledge graph into AI models? Want it tested on your metrics? My DMs are open.