arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.16392cs.LG
收藏

HMCGeo:基于层次多标签分类的IP区域预测

HMCGeo: IP Region Prediction Based on Hierarchical Multi-label Classification

School of Computer Science and Technology, Harbin Institute of Technology(哈尔滨工业大学计算机科学与技术学院);School of Information and Communication Engineering, Beijing University of Posts and Telecommunications(北京邮电大学信息与通信工程学院);Tianhe Cyberspace Security Technology Research Institute Co., Ltd.(天河网络空间安全技术研究院有限公司)

Tianzi Zhao, Xinran Liu, Zhaoxin Zhang, Dong Zhao, Ning Li, Zhichao Zhang, Xinye Wang

AI总结:

本文提出新型层次多标签分类框架HMCGeo,将IP地理定位视为层次多标签分类问题,利用残差连接特征提取、注意力预测单元及复合损失函数优化多粒度预测,显著优于现有方法。

摘要:

细粒度IP地理定位在基于位置的服务和网络安全等应用中扮演着关键角色。大多数现有的细粒度IP地理定位方法是基于回归的;然而,由于输入数据中的噪声,这些方法通常会遇到公里级的预测误差,并为用户提供错误的区域信息。为了解决这个问题,本文提出了一种用于IP区域预测的新型层次多标签分类框架,命名为HMCGeo。该框架将IP地理定位视为一个层次多标签分类问题,并采用基于残差连接的特征提取和注意力预测单元,在多个地理粒度上预测目标主机区域。此外,我们在训练过程中引入了概率分类损失,将其与层次交叉熵损失相结合,形成一个复合损失函数。该方法通过利用不同粒度区域之间的层次约束来优化预测。在New York、Los Angeles和Shanghai数据集上的IP区域预测实验表明,HMCGeo在所有地理粒度上均取得了优越的性能,显著优于现有的IP地理定位方法。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑