Evaluating and Advancing Large Language Models for Water Knowledge Tasks in Engineering and Research
Although large language models (LLMs) have demonstrated significant value in numerous fields, there remains limited research on evaluating their performance or enhancing their capabilities within water science and technology. This study initially assessed the performance of eight foundational models (i.e., GPT-4, GPT-3.5, Gemini, GLM-4, ERNIE, QWEN, Llama3-8B, and Llama3-70B) on a wide range of water knowledge tasks in engineering and research by developing an evaluation suite called WaterER (i.e., 1043 tasks). GPT-4 was demonstrated to excel in diverse water knowledge tasks in engineering and research. Llama3-70B was best for Chinese engineering queries, while Chinese-oriented models outperformed GPT-3.5 in English engineering tasks. Gemini demonstrated specialized academic capabilities in wastewater treatment, environmental restoration, drinking water treatment, sanitation, anaerobic digestion, and contaminants. To further advance LLMs, we employed prompt engineering (i.e., five-shot learning) and fine-tuned open-sourced Llama3-8B into a specialized model, namely, WaterGPT. WaterGPT exhibited enhanced reasoning capabilities, outperforming Llama3-8B by over 135.4% on English engineering tasks and 18.8% on research tasks. Additionally, fine-tuning proved to be more reliable and effective than prompt engineering. Collectively, this study established various LLMs’ baseline performance in water sectors while highlighting the robust evaluation frameworks and augmentation techniques to ensure the effective and reliable use of LLMs.
Authors
- Xueqing Shi (ORCID: https://orcid.org/0000-0002-6564-0223)
- Xiongpeng Tang (ORCID: https://orcid.org/0000-0002-1510-2005)
- Rui Tong
- Boyan Xu (ORCID: https://orcid.org/0000-0003-1327-4740)
- Qingxian Su (ORCID: https://orcid.org/0000-0003-0664-6710)
- How Yong Ng (ORCID: https://orcid.org/0000-0002-9210-5349)
- Guanlan Wu (ORCID: https://orcid.org/0009-0008-0467-3794)
- Yu Li (ORCID: https://orcid.org/0000-0002-6490-5672)
- Yuxin Yang (ORCID: https://orcid.org/0000-0002-8316-7636)
- Zihao Li (ORCID: https://orcid.org/0000-0002-2766-7521)
- Yue Yang (ORCID: https://orcid.org/0009-0003-5641-2899)
- Chengzhi Wang (ORCID: https://orcid.org/0000-0002-5798-1917)
- Zihao Wu (ORCID: https://orcid.org/0009-0000-2112-4078)
- Liang Wen
Institutions
- Google (United States) (US)
- Qingdao University of Science and Technology (CN)
- National University of Singapore (SG)
- Beijing Normal University (CN)
- Institute of Art (PL)
- TÜV SÜD (Germany) (DE)
- Institute of Natural Science (KP)
- Qingdao University of Technology (CN)
Publication Details
- Journal
- Environmental Science & Technology Letters
- Published
- 2025-02-20
- DOI
- https://doi.org/10.1021/acs.estlett.5c00038
- Citations
- 15
- Primary Topic
- Environmental Monitoring and Data Management
- Type
- article
- Field-Weighted Citation Impact
- 35.20
Funders
- National Natural Science Foundation of China
- Ministry of Science and Technology of the People's Republic of China