NVIDIA Details KGMON Data Agent Harness Behind Second-Place KDD Finish

An editorial illustration of a central obsidian glass funnel shaping diverse metallic shapes into an orderly stream of glowing copper spheres.

The NVIDIA KGMON team has detailed the architectural methodology behind its second-place finish in the KDD Cup 2026 Data Agents competition. The challenge tasked autonomous systems with answering natural-language queries across heterogeneous data sources—including databases, structured files, prose documents, PDFs, and video briefings—using a small, fixed large language model. Because model capability was fixed, the team focused performance optimizations entirely on building a constrained execution harness around the model.

Unifying Data Surfaces and Preloading Schema Context

To streamline data handling across disparate formats, KGMON converted CSV and JSON files into tables inside a single SQLite database. The agent accessed structured data exclusively through two environment functions: schema() and sql(). Normalizing data into a single query engine minimized tool-routing failures and saved reasoning context.

Before launching the agent's main loop, the system executed a read-only schema scouting step. This preflight process inspected tables, column definitions, potential join keys, duplicate names, null patterns, and row-level granularity. Passing this schema context to the agent at startup eliminated initial discovery turns and reduced errors caused by ambiguous column definitions or misaligned joins.

Constrained Tooling and Context Management

The agent ran inside a stateful Python environment with persistent variables and custom middleware that automatically repaired malformed calls. KGMON restricted available actions to helper functions for schema discovery, SQL queries, atomic answer writing, and document processing. To prevent context window bloat, full-file reading functions were blocked.

For unstructured text, a prose extraction tool processed document chunks using a secondary LLM call set to zero temperature with reasoning disabled. This secondary call extracted specific answers or tabular rows directly into SQL tables without populating the main agent's working memory with raw document text. Video inputs were similarly preprocessed before execution by extracting keyframe images and aligning them with transcribed audio segments.

Trace Auditing and Selective Resampling

Execution traces logged every prompt, tool call, SQL query, repair, and intermediate answer. A specialized inspector subagent reviewed failed trajectories to determine whether errors resulted from schema misinterpretation, flawed joins, missing text context, or answer formatting.

To improve stability under value-level benchmark scoring, KGMON grouped multiple execution attempts by output values to identify consensus answers. NVIDIA noted that while repeated attempts increased accuracy for contested queries, production architectures should apply ensembling selectively due to increased latency and compute costs.

AI-generated editorial illustration; not a documentary photograph.

Source: Building Reliable Data Analytics Agents: Lessons from the KDD Cup

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *