Huang, Ting-ChungTing-ChungHuangLiu, Tzu-LingTzu-LingLiuMing Yang, BenjaminBenjaminMing YangWu, Yih-MinYih-MinWu2026-02-012026-02-012025-08-01https://www.scopus.com/pages/publications/105026148637https://scholars.lib.ntu.edu.tw/handle/123456789/735708To improve on-site earthquake early warning for peak ground velocity (PGV), we leverage a machine learning approach. We propose a novel attention-based transformer architecture to address this challenging problem. A series of comparisons with other methods, including the traditional peak P-wave displacement amplitude approach and long short-term memory neural networks, is conducted. In addition, we demonstrate that the influence of building effects can be mitigated by incorporating station corrections to peak values in the seismograms as additional features during training. Finally, we discuss how the shape of the label can serve as a proxy to indicate the reliability of PGV determination within the first few seconds after the arrival time.Earthquake effectsLearning systemsLong short-term memoryPersonnel trainingBuilding effectsDisplacement amplitudesEarthquake early warningMachine learning approachesNeural-networksP wavesPeak ground velocityPeak valuesShort term memoryStation correctionartificial neural networkearly warning systemearthquake predictionmachine learningpeak accelerationseismic velocitySeismic wavesAttention-Based Neural Network for Onsite Peak Ground Velocity Earthquake Early Warningjournal article10.1785/0220240496