Adapting a Pretrained LLM to Rapidly Recover Earthquake Magnitude and Location

Abstract Determining earthquake magnitude and location through fast, automated methods is fundamental for seismic monitoring. Recent studies have shown that Large Language Models (LLMs) can operate as pattern‐recognition systems capable of handling novel domains and purely numerical tasks. Here, we assess the utility of LLMs for earthquake characterization and propose a novel approach based on a small LLM called TinyLlama. We adapt the LLM for seismology through fine‐tuning on a subset of Italian earthquakes using the LoRA technique, which involves retraining only about of the model parameters. Our method takes station coordinates, P‐wave arrival times, and peak ground velocities in a small window (0.2 s) around the P‐wave and accurately estimates earthquake magnitude, location, and origin time without using a seismic velocity model. To explore the potential for rapid characterization, we consider only stations where the P‐wave arrives within 5 s of the first triggered station. Compared to standard automatic methods currently used by INGV in Italy our model achieves comparable performance in magnitude estimation and superior accuracy in epicenter, hypocenter and origin time estimation. Validation using both P‐ and S‐waves shows only a slight performance improvement that does not justify the additional latency. We explored a range of data splitting strategies and found that the LLM‐based seismic method is robust. Our results highlight the ability of LLMs to function as effective tools in seismology and suggest their potential for advancing data‐driven approaches to rapid earthquake characterization.

Authors

Institutions

Publication Details

Journal
Journal of Geophysical Research Machine Learning and Computation
Published
2026-09-21
DOI
https://doi.org/10.1029/2026jh001578
Primary Topic
Seismology and Earthquake Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Adapting a Pretrained LLM to Rapidly Recover Earthquake Magnitude and Location

Fabio Galasso, Elisa Tinti, Giulio Poggiali, Chris J. Marone et al.
Journal of Geophysical Research Machine Learning and Computation
Seismology and Earthquake Studies
article

Adapting a Pretrained LLM to Rapidly Recover Earthquake Magnitude and Location

Fabio Galasso, Elisa Tinti, Giulio Poggiali, Chris J. Marone, Daniele Trappolini, Alberto Michelini, Aurora Bassani
article en

Abstract

Abstract Determining earthquake magnitude and location through fast, automated methods is fundamental for seismic monitoring. Recent studies have shown that Large Language Models (LLMs) can operate as pattern‐recognition systems capable of handling novel domains and purely numerical tasks. Here, we assess the utility of LLMs for earthquake characterization and propose a novel approach based on a small LLM called TinyLlama. We adapt the LLM for seismology through fine‐tuning on a subset of Italian earthquakes using the LoRA technique, which involves retraining only about of the model parameters. Our method takes station coordinates, P‐wave arrival times, and peak ground velocities in a small window (0.2 s) around the P‐wave and accurately estimates earthquake magnitude, location, and origin time without using a seismic velocity model. To explore the potential for rapid characterization, we consider only stations where the P‐wave arrives within 5 s of the first triggered station. Compared to standard automatic methods currently used by INGV in Italy our model achieves comparable performance in magnitude estimation and superior accuracy in epicenter, hypocenter and origin time estimation. Validation using both P‐ and S‐waves shows only a slight performance improvement that does not justify the additional latency. We explored a range of data splitting strategies and found that the LLM‐based seismic method is robust. Our results highlight the ability of LLMs to function as effective tools in seismology and suggest their potential for advancing data‐driven approaches to rapid earthquake characterization.

Journal of Geophysical Research Machine Learning and ComputationVol. 3(5)
Istituto Nazionale di Geofisica e Vulcanologia (IT), Sapienza University of Rome (IT)
Openalex Percentile: Top 9%
Seismology and Earthquake Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.