The Value Semantics Layer: Enabling Machine-Understandable Databases for Agentic AI

Jalal Mahmud, Eser KandoganarXiv 2026

TL;DR

The Value Semantics Layer (VSL) is a proposed architectural addition to databases that externalizes "operational semantics"—the rules governing how data should be used in computation—as persistent, machine-readable assertions. By moving this knowledge from human intuition into a structured layer, VSL helps AI agents accurately translate vague analytical concepts (like "unusually risky") into precise, executable code.

What Problem Does This Paper Address?

When a human analyst is asked to find "unusually risky loans with sustained delinquency," they rely on deep domain expertise to know that "unusually" implies a statistical outlier, "risky" might involve a composite of multiple attributes, and "sustained" requires looking at temporal sequences rather than a single snapshot.

Current AI agents and Text-to-SQL systems struggle with this because existing database metadata (schemas, catalogs, and lineage) only describes what the data is, not how to compute with it. Agents are forced to guess these operational rules from fragmented signals like column names or documentation, often leading to "operationalization failures"—queries that run without errors but produce the wrong analytical result.

Figure 1: The Value Semantics Layer (VSL) externalizes value semantics as persistent planner-visible infrastructure, enabling analytical concepts such as unusually, risky, and sustained to be translated into executable computation.

Methods

The authors introduce Value Semantic Types (VSTs): reusable semantic artifacts that specify an object's semantic roles, admissible operations (e.g., "you can rank this, but don't sum it"), and the evidence used to infer these rules.

To build this layer, they propose a three-stage inference architecture:

  1. Semantic Signal Extraction: Profiling data distributions, analyzing join patterns, and mining workload logs to find "signatures" of how data is actually used.
  2. Candidate VST Generation: Mapping these signatures to specific semantic families (Distributional, Relational, Process, Quantitative, or Policy).
  3. Arbitration and Consolidation: Resolving conflicts when multiple signals suggest different rules, ensuring the final VST is backed by the strongest evidence.
Figure 3: Proposed architecture of the Value Semantics Layer (VSL).

The authors implemented two prototypes:

  • Prompt-mediated (PM): VSTs are simply added to the LLM's prompt as context.
  • Planner-enforced (PE): A more integrated approach where a "checker" validates the generated SQL against VST rules and triggers a "rejection loop" for the LLM to fix violations.

Datasets

The researchers evaluated their system using a curated diagnostic subset of 124 analytical intents from a prior formative study. These cases were specifically chosen because they represented common operationalization failures across domains like Finance, Public Safety, and Human Resources. They compared VSL against standard data-dictionary baselines and prose-based controls.

Key Insights and Ideas

  • Realizing VSL is a systems problem, not just a prompting one: While adding context to prompts helps, the best results come from making semantics a first-class citizen of the database infrastructure that can be programmatically enforced.
  • The "Process-Temporal" Gap: One of the biggest hurdles for LLMs is temporal reasoning (e.g., "sustained" behavior). VSL provides the necessary "windowing" and "grouping" constraints that LLMs often miss.
  • Operational vs. Descriptive Metadata: Knowing a column is a FLOAT (descriptive) is less useful to an agent than knowing it represents a ComparativeAxis where only monotonic ordering and thresholding are valid (operational).
Table 1: Families of Value Semantic Types (VSTs), grounding evidence, representative operational roles, and examples. Roles are illustrative rather than members of a fixed ontology.

Key Results

The Planner-enforced (PE) realization significantly outperformed other methods:

  • Accuracy Boost: It raised the number of "fully resolved" analytical intents from 35 (prompt-only) to 51 out of 124.
  • Temporal Success: In the "Process" category (the hardest for agents), VSL improved successful resolutions from a measly 3 to 16.
  • Low Overhead: The system is highly efficient. Loading the VST registry takes less than 2ms, and the planning/validation phase adds only about 1ms to the total query time—negligible compared to the seconds required for LLM generation.
Table 2: Quantitative results showing VSL's impact across different semantic categories.

Limitations and Future Work

  • Reliable Maintenance: As data and policies change, VSTs must be revalidated. Calibrating the "confidence" of an inferred VST remains an open research challenge.
  • Compositional Semantics: Currently, VSL works best at the attribute level. The authors note that the "harder problem" is propagating these semantics through complex joins and multi-step analytical plans.
  • External Grounding: Some semantics (like what legally constitutes a "moving violation") cannot be inferred from data alone and must be ingested from external policy documents.

Summary updated

Abstract

As data systems increasingly support autonomous LLM-powered agents alongside human analysts, they require richer semantic infrastructure bridging analytical concepts and analytical operations. Existing metadata systems expose schemas, catalogs, lineage, and governance information, but provide limited support for representing operational semantics. We propose the Value Semantics Layer (VSL), an architectural abstraction that externalizes value semantics as persistent, planner-visible infrastructure. VSL introduces Value Semantic Types (VSTs), reusable operational semantic assertions capturing distributional, relational, process, quantitative, and policy-grounded semantics. Unlike descriptive metadata, VSTs enable planners to validate analytical operations, select appropriate operators, and guide analytical workflows. We present the motivation, formalization, architecture, and prototype realizations of VSL, and outline a research agenda toward AI-native semantic infrastructure for analytical systems.
BibTeX
@misc{mahmud2026value,
  author = {Jalal Mahmud and Eser Kandogan},
  title = {{The Value Semantics Layer: Enabling Machine-Understandable Databases for Agentic AI}},
  year = {2026},
  eprint = {2611.23629},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.23629},
}
Figure