NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hammer: An Expert-Level Large Language Model for Hydro-Science and Engineering Balancing Domain Expertise and General Intelligence

Xinpeng Yu, Wenbo Shan, Ye Li, Shiruo Hu, Dingxiao Liu, Zhijun Zheng, Jing Liu, Wei Luo, Lizhi Wang, Bin Xu, Jianshi Zhao2026

Abstract

Large Language Models (LLMs) have demonstrated outstanding performance across natural language processing tasks. However, when deployed in specialized domains such as hydro-science and engineering (HydroSE), these models face challenges such as insufficient domain knowledge and catastrophic forgetting during domain adaption. In this work, we constructed a multi-dimensional corpus for the HydroSE and trained a domain-specific LLM named Hammer. We propose a comprehensive training paradigm that integrates multi-dimensional knowledge injection with a multi-model merging method, effectively balancing domain expertise with general intelligence. First, to overcome knowledge scarcity, multi-disciplinary knowledge involved in HdyroSE is collected from various sources (such as textbooks, papers, laws and industry standards, etc.). Second, to mitigate catastrophic forgetting, we implemented a progressive training pipeline combining continued pre-training, supervised fine-tuning, and model merging. This approach allows the model to master professional knowledge while retaining its general capabilities. Experimental results show that Hammer significantly improved domain-specific performance from 68.8% (baseline) to 84.9%, surpassing mainstream general LLMs. Crucially, the model merging technique restores general capabilities to near-original levels. The proposed data processing and training approach demonstrates robust transferability even when the base model is substituted.
BibTeX
@misc{yu2026hammer,
  author = {Xinpeng Yu and Wenbo Shan and Ye Li and Shiruo Hu and Dingxiao Liu and Zhijun Zheng and Jing Liu and Wei Luo and Lizhi Wang and Bin Xu and Jianshi Zhao},
  title = {{Hammer: An Expert-Level Large Language Model for Hydro-Science and Engineering Balancing Domain Expertise and General Intelligence}},
  year = {2026},
  doi = {10.5194/egusphere-egu26-2906},
}

Loading related content...

Figure