KRAFT: A Knowledge Graph-Based Framework for Automated Map Conflation

Farnoosh Hashemi, Laks V. S. Lakshmanan · DOI

Introduction

Digital maps are the backbone of modern navigation, urban planning, and logistics. However, maintaining a single, perfect geospatial database is a monumental challenge. Maps often suffer from regional gaps, missing entities, or positional noise. Map conflation—the process of merging a "source" database (like OpenStreetMap) with a "target" database (such as high-quality municipal data)—is the standard solution to these discrepancies.

Despite its importance, traditional map conflation is fraught with technical hurdles. KRAFT (Knowledge Graph-Based Framework for Automated Map Conflation) introduces a novel approach by representing maps as Knowledge Graphs, utilizing Graph Neural Networks (GNNs) for entity matching and Mixed Integer Linear Programming (MILP) for consistent data integration.

The Challenges of Modern Conflation

Existing map conflation tools typically struggle with three primary issues:

  1. Linear Bias: Most legacy tools are optimized for road networks (linear features) and fail to handle non-linear objects like buildings, parks, or lakes effectively.
  2. Heuristic Dependency: Many systems rely on rigid, hand-crafted rules—such as "match entities if they are within 5 meters." These heuristics often fail to account for the complex, data-driven discrepancies between different providers.
  3. Merging Inconsistencies: Simply overlaying entities from one map onto another often results in "impossible" geometries, such as a newly added building overlapping an existing road or another structure.

The KRAFT Framework

KRAFT addresses these challenges through a modular three-step pipeline designed to move beyond raw geometry into relational understanding.

1. Knowledge Graph Construction

Rather than treating map entities as isolated sets of coordinates, KRAFT represents the entire geospatial database as a Knowledge Graph (KG). To define spatial relations for polygons (like buildings), the framework uses a 3x3 grid to assign relations such as "Top-Left" or "Close." For linear segments (like roads), buffers are used to define "Inside" or "Connected" relations. This transforms the map into a rich network of spatial dependencies.

2. Advanced Map Matching

To align the source and target maps, KRAFT employs a sophisticated multi-layered encoder architecture:

  • 1-hop GNN: Captures immediate local structures.
  • Multi-hop Graph Attention Network (GAT): Learns the significance of distant neighbors, which helps the model remain robust against local positional noise.
  • MLP-Mixer: Processes non-spatial metadata (e.g., building names or usage types) to capture cross-feature dependencies.

The final alignment is treated as a Maximum Weight Matching problem within a bipartite graph, ensuring the most mathematically probable matches are selected.

3. Consistent Map Merging

To integrate unmatched entities without creating spatial conflicts, KRAFT formulates merging as a Mixed Integer Linear Programming (MILP) problem. By approximating objects using Minimum Bounding Rectangles, the system solves for the smallest possible "shift" or "resize" required to resolve all overlaps. This ensures the resulting map is logically and spatially consistent.

Experimental Evaluation

The authors evaluated KRAFT using real-world datasets from the Boston area, comparing OpenStreetMap (OSM) as the source against Boston Open Data (BOD) as the target. The study focused on tens of thousands of entities, specifically sidewalks (linear) and buildings (non-linear).

Key Results

KRAFT demonstrated significant improvements over state-of-the-art baselines like MAYUR and Hootenanny:

  • High Accuracy: The framework achieved a matching precision of 0.974 and a recall of 0.966, outperforming competitors by several percentage points.
  • Zero Inconsistency: During the merging phase, KRAFT achieved a 0% "New CNI" (Cumulative Normalized Inconsistency). This indicates that it successfully integrated thousands of new objects without creating a single overlapping conflict.
  • Geometric Integrity: KRAFT maintained higher fidelity to the original data, with 99.01% of merged road segments remaining within 5 meters of their target location.

Discussion and Insights

The success of KRAFT highlights that relational context is critical. By shifting from raw coordinates to a Knowledge Graph, the model "understands" that a building’s identity is defined by its relationship to its neighbors (e.g., "to the right of the intersection"), making it far more robust to GPS noise. Furthermore, the use of Multi-hop GATs proved essential; while 1-hop neighborhoods are often too noisy for accurate matching, looking two or more hops away reveals stable structural patterns.

Finally, the transition from heuristics to optimization via MILP ensures that map consistency is treated as a hard constraint rather than a suggestion, preventing the "impossible geometries" that plague traditional pipelines.

Limitations and Future Directions

While KRAFT represents a major step forward, some limitations remain. The current framework uses fixed grid and buffer sizes, which may need to become dynamic to handle the varying densities of urban versus rural environments. Additionally, the framework currently assumes entities are either lines or polygons; future iterations could address "representation mismatches," such as when one database represents a river as a line and another as a polygon. To improve the MILP efficiency, future work may also explore rotating coordinate axes to minimize the "dead space" created by rectangular approximations of non-rectangular objects.

Summary updated

BibTeX
@inproceedings{hashemi2025kraft,
  author = {Farnoosh Hashemi and Laks V. S. Lakshmanan},
  title = {{KRAFT: A Knowledge Graph-Based Framework for Automated Map Conflation}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2025},
  doi = {10.1145/3746252.3761291},
}
Figure