# GNN-Geo: A Graph Neural Network-based Fine-grained IP geolocation Framework

arXiv: https://arxiv.org/abs/2112.10767 · HTML: https://mlsanity.com/paper/2112.10767/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Builds on 23 of its 52 references that are in the map.
- First posted on arXiv 18 Dec 2021.

## Builds on (most cited first, 23 of 23)

- [Semi-Supervised Classification with Graph Convolutional Networks](https://mlsanity.com/paper/1609.02907/) (2016)
- [Graph Attention Networks](https://mlsanity.com/paper/1710.10903/) (2017)
- [Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift](https://mlsanity.com/paper/1502.03167/) (2015)
- [Inductive Representation Learning on Large Graphs](https://mlsanity.com/paper/1706.02216/) (2017)
- [Fully Convolutional Networks for Semantic Segmentation](https://mlsanity.com/paper/1411.4038/) (2014)
- [How Powerful are Graph Neural Networks?](https://mlsanity.com/paper/1810.00826/) (2018)
- [Neural Message Passing for Quantum Chemistry](https://mlsanity.com/paper/1704.01212/) (2017)
- [A Comprehensive Survey on Graph Neural Networks](https://mlsanity.com/paper/1901.00596/) (2019)
- [Benchmarking Graph Neural Networks](https://mlsanity.com/paper/2003.00982/) (2020)
- [How Does Batch Normalization Help Optimization?](https://mlsanity.com/paper/1805.11604/) (2018)
- [Self-supervised Graph Learning for Recommendation](https://mlsanity.com/paper/2010.10783/) (2020)
- [Grid Search, Random Search, Genetic Algorithm: A Big Comparison for NAS](https://mlsanity.com/paper/1912.06059/) (2019)
- [Automating Botnet Detection with Graph Neural Networks](https://mlsanity.com/paper/2003.06344/) (2020)
- [Graph-based Deep Learning for Communication Networks: A Survey](https://mlsanity.com/paper/2106.02533/) (2021)
- [DisenKGAT: Knowledge Graph Embedding with Disentangled Graph Attention Network](https://mlsanity.com/paper/2108.09628/) (2021)
- [Utilizing Edge Features in Graph Neural Networks via Variational Information Maximization](https://mlsanity.com/paper/1906.05488/) (2019)
- [Adaptive Visibility Graph Neural Network and its Application in Modulation Classification](https://mlsanity.com/paper/2106.08564/) (2021)
- [Message-Passing Neural Networks Learn Little's Law](https://mlsanity.com/paper/1901.05748/) (2019)
- [Dynamic Graph Neural Network for Traffic Forecasting in Wide Area Networks](https://mlsanity.com/paper/2008.12767/) (2020)
- [IP Geolocation through Reverse DNS](https://mlsanity.com/paper/1811.04288/) (2018)
- [Applying Graph-based Deep Learning To Realistic Network Scenarios](https://mlsanity.com/paper/2010.06686/) (2020)
- [geoGAT: Graph Model Based on Attention Mechanism for Geographic Text Classification](https://mlsanity.com/paper/2101.11424/) (2021)
- [Designing weighted and multiplex networks for deep learning user geolocation in Twitter](https://mlsanity.com/paper/2112.06999/) (2021)

## Built on by (most cited first, 2 of 2)

- [HMCGeo: IP Region Prediction Based on Hierarchical Multi-label Classification](https://mlsanity.com/paper/2501.16392/) (2025)
- [IPGeoAI: Transformer-Based Geolocation with LLM Semantic Fusion](https://mlsanity.com/paper/2609.04559/) (2026)

## Abstract (arXiv)

Rule-based fine-grained IP geolocation methods are hard to generalize in computer networks which do not follow hypothetical rules. Recently, deep learning methods, like multi-layer perceptron (MLP), are tried to increase generalization capabilities. However, MLP is not so suitable for graph-structured data like networks. MLP treats IP addresses as isolated instances and ignores the connection information, which limits geolocation accuracy. In this work, we research how to increase the generalization capability with an emerging graph deep learning method -- Graph Neural Network (GNN). First, IP geolocation is re-formulated as an attributed graph node regression problem. Then, we propose a GNN-based IP geolocation framework named GNN-Geo. GNN-Geo consists of a preprocessor, an encoder, messaging passing (MP) layers and a decoder. The preprocessor and encoder transform measurement data into the initial node embeddings. MP layers refine the initial node embeddings by modeling the connection information. The decoder maps the refined embeddings to nodes' locations and relieves the convergence problem by considering prior knowledge. The experiments in 8 real-world IPv4/IPv6 networks in North America, Europe and Asia show the proposed GNN-Geo clearly outperforms the state-of-art rule-based and learning-based baselines. This work verifies the great potential of GNN for fine-grained IP geolocation.
