用分层多标签分类提升IP定位精度,减少错误区域判断。
HMCGeo: IP Region Prediction Based on Hierarchical Multi-label Classification
- 将IP定位转为分层多标签分类,结合残差与注意力机制提取特征。
- 在纽约、洛杉矶、上海数据集上,各粒度下准确率显著优于现有方法。
- 适合需要高精度地理定位的网络安全和位置服务场景。
细粒度IP定位在位置服务和网络安全中至关重要。现有大多数方法基于回归,因输入数据噪声导致通常存在千米级误差,并给出错误的区域信息。为此,本文提出一种名为HMCGeo的分层多标签分类框架,将IP定位视为分层多标签问题,采用基于残差连接的特征提取与注意力预测单元,实现多粒度地理区域预测。此外,在训练中引入概率分类损失,与分层交叉熵损失结合形成复合损失函数,利用不同粒度区域间的层次约束优化预测结果。在纽约、洛杉矶和上海数据集上的实验表明,HMCGeo在所有地理粒度下均表现出色,显著优于现有方法。
原文摘要 · Abstract (English)
Fine-grained IP geolocation plays a critical role in applications such as location-based services and cybersecurity. Most existing fine-grained IP geolocation methods are regression-based; however, due to noise in the input data, these methods typically encounter kilometer-level prediction errors and provide incorrect region information for users. To address this issue, this paper proposes a novel hierarchical multi-label classification framework for IP region prediction, named HMCGeo. This framework treats IP geolocation as a hierarchical multi-label classification problem and employs residual connection-based feature extraction and attention prediction units to predict the target host region across multiple geographical granularities. Furthermore, we introduce probabilistic classification loss during training, combining it with hierarchical cross-entropy loss to form a composite loss function. This approach optimizes predictions by utilizing hierarchical constraints between regions at different granularities. IP region prediction experiments on the New York, Los Angeles, and Shanghai datasets demonstrate that HMCGeo achieves superior performance across all geographical granularities, significantly outperforming existing IP geolocation methods.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。