GeoAgent is a vision-language model for
image geolocation that reasons closely with humans and derives fine-grained address conclusions. Built upon
Qwen2.5-VL, it achieves strong performance across multiple geographic grains (city, region, country, continent) while generating interpretable chain-of-thought reasoning.
We also introduce
GeoSeek, which is a new geolocation dataset comprising:
1git clone https://github.com/HVision-NKU/GeoAgent.git
2cd GeoAgent
3
4conda create -n GeoAgent python=3.9
5conda activate GeoAgent
6pip install -r requirements.txt
Download the pre-trained checkpoints from
Hugging Face:
1mkdir checkpoints
2cd checkpoints
3
4# (Optional) Using huggingface mirrors
5export HF_ENDPOINT=https://hf-mirror.com
6
7# download GeoAgent model from huggingface
8huggingface-cli download --resume-download ghost233lism/GeoAgent --local-dir ghost233lism/GeoAgent
We provide the quick inference scripts for single/batch image input in
infer/. Please refer to
infer/README for detailed information.
1bash tools/train_sft.sh
2bash tools/train_grpo.sh
1@article{jin2026geoagent,
2 title={GeoAgent: Learning to Geolocate Everywhere with Reinforced Geographic Characteristics},
3 author={Jin, Modi and Zhang, Yiming and Sun, Boyuan and Zhang, Dingwen and Cheng, Ming-Ming and Hou, Qibin},
4 journal={arXiv preprint arXiv:2602.12617},
5 year={2026}
6}
This code is licensed under the
Creative Commons Attribution-NonCommercial 4.0 International for non-commercial use only.
Please note that any commercial use of this code requires formal permission prior to use.
For commercial licensing, please contact andrewhoux[AT]gmail.com.
We sincerely thank
Yue Zhang,
H.M.,
Haowen He,
Yuke Jun, and other experts in geography, as well as outstanding geolocation game players, for their valuable guidance, prompt design suggestions, and data support throughout the construction of the GeoSeek dataset.
We also thank
Zhixiang Wang,
Chilin Chen,
Jincheng Shi,
Liupeng Zhang,
Yuan Gu,
Yanghang Shao,
Jinhua Zhang,
Jiachen Zhu,
Gucheng Qiuyue,
Qingyang Guo,
Jingchen Yang,
Weilong Kong,
Xinyuan Li, and
Mr. Xu (an anonymous volunteer)
for their outstanding contributions in providing high-quality reasoning process data.