Leveraging Large Language Models to Geolocate Linguistic Variations in Social Media Posts
Davide Savarro, Davide Zago, Stefano Zoia
TL;DR
The paper tackles geolocating non-standard Italian social media posts by predicting both region and precise coordinates from text. It adopts a joint fine-tuning approach of three Italian LLMs (Camoscio-7B, ANITA-8B, Minerva-3B) using ExtremITA-style prompts to handle subtask A and subtask B in a single generation. Results indicate ANITA-8B achieves the strongest macro-F1 among the tested models (≈0.541) and the lowest mean distance (≈103 km), with Minerva-3B and Camoscio-7B trailing; the performance approaches, but remains below, the 2023 top. The work demonstrates the viability of LLM-based geolocalization for sociolinguistic analysis and highlights avenues for improvement through preprocessing, data augmentation, and imbalance handling.
Abstract
Geolocalization of social media content is the task of determining the geographical location of a user based on textual data, that may show linguistic variations and informal language. In this project, we address the GeoLingIt challenge of geolocalizing tweets written in Italian by leveraging large language models (LLMs). GeoLingIt requires the prediction of both the region and the precise coordinates of the tweet. Our approach involves fine-tuning pre-trained LLMs to simultaneously predict these geolocalization aspects. By integrating innovative methodologies, we enhance the models' ability to understand the nuances of Italian social media text to improve the state-of-the-art in this domain. This work is conducted as part of the Large Language Models course at the Bertinoro International Spring School 2024. We make our code publicly available on GitHub https://github.com/dawoz/geolingit-biss2024.
