Zhe Jia
I train machine learning models end to end, from data pipelines and pretraining to fine-tuning, reinforcement learning, and evaluation. I also build models for physical sensor data and study how large earthquakes rupture. I am a Research Assistant Professor at the Institute for Geophysics, The University of Texas at Austin.
The LLM lifecycle in four open repositories
Four repositories cover pretraining, mid-training, fine-tuning, and reinforcement learning. The work starts with a 113M-parameter GPT on two GPUs and ends with Qwen3.5-9B on a 24-GPU cluster. Every number is measured, and each write-up records its failures with the evidence.
-
A 113M-parameter GPT, pretrained from scratch on earthquake science and general text. The repository holds the crawler, MinHash deduplication, a BPE tokenizer, a GQA and RoPE decoder, two-GPU DDP training, and a scaling-law sweep.
- Parameters
- 113M
- Corpus
- 822.7M tokens
- Hardware
- 2× A30, 6.5 h
- Optimal size
- N ∝ C0.69
-
SFT and GRPO-style RL with programmatic verifiers, followed by executed equations: the model writes the derivation and an interpreter does the arithmetic. Held-out accuracy on numerical seismology questions rose from 4.7% to 27.9%.
- Held-out accuracy
- 4.7% → 27.9%
- Lead over Qwen3.5-2B
- +10.4 points
- Teacher
- Qwen3.8-27B on 2 GPUs
- Pitfalls documented
- 15
-
A study of mid-training on the Qwen3.5 base models from 0.8B to 9B. Public text improved no model. Worked solutions from a 27B teacher raised few-shot scores at every size, and the gain after a fine-tune shrank as the model grew.
- Model sizes
- 0.8B, 2B, 4B, 9B
- Teacher solutions kept
- 45,177
- GSM8K gain, few-shot
- +6.8, +4.3, +1.4, +5.3
- GSM8K gain, fine-tuned
- +5.7, +5.6, +2.4, −0.1
-
Full-parameter SFT and multi-task RL of Qwen3.5-9B with verl, Megatron, and vLLM on 8 nodes of 3 A100 GPUs. The first RL run collapsed after step 20. A redesigned run trained for 110 steps and raised the hardest test set from 68.1 to 86.5.
- D-Num-hard
- 62.0 → 86.5
- GPQA Diamond
- 56.6 → 77.5
- Tokens per answer
- −65%
- Cluster
- 24 × A100-40GB
Sensoformer
Sensoformer is a set transformer. It reads seismograms from any set of stations and returns an earthquake's magnitude and focal mechanism in one forward pass. Physics-structured domain randomization lets it learn from 100,000 simulations and transfer to real data.
- 19.7° median error on held-out real earthquakes, equal to the uncertainty of the catalog labels
- 78% smaller gap between simulated and real embeddings after domain randomization
- 10% of the real labels beat a model trained from scratch on all of them
- +31.8% more reliable focal mechanisms across the Southern California catalog
SubMIT
SubMIT describes a large earthquake as a few subevents and finds them with Bayesian sampling. It is the method behind my studies of the Fiji, Ridgecrest, South Sandwich Islands, Noto, and Calama earthquakes. One command goes from downloaded waveforms to subevent models with uncertainties.
- Parallel MCMC over the time, location, depth, and duration of each subevent, with moment tensors solved exactly
- The Akaike criterion selects the number of subevents. An extra subevent must lower the misfit by about 5%.
- Teleseismic and regional waveforms, with exact timing for each subevent
How large earthquakes break
The gallery summarizes my earthquake studies in plain language, from the 2023 Turkey doublet to deep earthquakes 600 km below Fiji. Each entry shows figures from the paper.
Code and models
All of the code is public on GitHub. Model weights and datasets are on Hugging Face.
-
nanogpt-seis
A 113M-parameter GPT for earthquake science, pretrained from scratch, with every step from the crawler to a scaling-law sweep.
Language models -
nanogpt-seis-posttrain
SFT, GRPO-style RL, and executed equations for the 113M model, with 15 documented pitfalls.
Language models -
qwen-midtrain
A mid-training study of the Qwen3.5 base models from 0.8B to 9B, on public text and on distilled solutions.
Language models -
qwen-seis-posttrain
SFT and multi-task RL of Qwen3.5-9B on a 24-GPU cluster with verl, Megatron, and vLLM.
Language models -
Sensoformer
A set transformer for earthquake magnitude and focal mechanism, pretrained on simulations.
Machine learning -
SubMIT
Bayesian subevent inversion of large earthquakes from teleseismic and regional waveforms.
Earthquake sources -
EGF-Directivity-Analysis
Rupture directivity of small earthquakes from energy envelopes and empirical Green's functions.
Earthquake sources -
source_time_function_deconvolution
Source time functions from empirical Green's functions by non-negative deconvolution.
Earthquake sources
Research and background
I am a Research Assistant Professor at the University of Texas Institute for Geophysics (UTIG). My group works on machine learning for physical systems and on earthquake physics. I joined UT Austin in 2024. Before that, I was a Cecil H. and Ida M. Green Postdoctoral Fellow at Scripps Institution of Oceanography, UC San Diego. I received my PhD in geophysics from Caltech in 2022. My BS and MS are from the University of Science and Technology of China, where I studied in the School for the Gifted Young.
My current work is on language models and scientific machine learning. It covers the pretraining, mid-training, and post-training of LLMs, sim-to-real learning for sensor arrays, and neural surrogates for physical simulations. My earthquake research uses Bayesian inversion, high-performance computing, and dynamic rupture simulation to work out how large earthquakes start, grow, and stop. My publications include 23 papers and preprints, two of them in Science, with more than 1,300 citations.
I teach Environmental and Earthquake Seismology and Frontiers in Earthquake Physics at UT Austin, and I advise PhD students and postdocs. Teaching and mentoring · Publications · CV
Recent
qwen-midtrain is public. The study mid-trains the Qwen3.5 base models from 0.8B to 9B. Public text improved no model. Distilled solutions raised few-shot scores, and the gain after a fine-tune shrank as the model grew. Write-up.
A redesigned RL run raised Qwen3.5-9B from 68.1% to 86.5% on the hardest seismology test set. The weights are on Hugging Face. Write-up.
qwen-seis-posttrain is public: SFT and multi-task RL of Qwen3.5-9B on 24 A100 GPUs with verl and Megatron. The write-up documents every result and failure. Write-up.
SubMIT v3 is public. One command goes from downloaded waveforms to subevent models and figures, and the Akaike criterion selects the number of subevents. Code · About.
nanoGPT-Seis and nanoGPT-Seis-Posttrain are public: a 113M GPT pretrained from scratch on earthquake science, then post-trained with SFT and GRPO. Write-up.
Sensoformer code, weights, and training data are public on GitHub and Hugging Face.
Earlier news
Our study of the 2025 Mw 8.8 Kamchatka earthquake, led by PhD student Junpeng Li, is published in Geophysical Research Letters.
A 3D model of the Izu-Bonin-Mariana subduction zone that links slab dynamics to earthquakes, led by Yida Li, is published in Earth and Planetary Science Letters.
Sensoformer, a sim-to-real model for irregular sensor arrays, is on arXiv.
Our method to measure the rupture directivity of small earthquakes from energy envelopes is published in JGR: Solid Earth.
Our study of the 2024 Mw 7.4 Calama earthquake is published in Nature Communications and featured by Jackson School of Geosciences News.
Our study of how large deep earthquakes grow is published in AGU Advances and featured as an Eos Editors' Highlight.
I joined the University of Texas Institute for Geophysics as a Research Assistant Professor.
Our study of the 2023 Kahramanmaraş, Turkey, earthquake doublet is published in Science as the issue cover, with coverage in UC San Diego Today.







