​AI Chatbot Can Help Parse Complex Water Regulations, Say Researchers​

​AI Chatbot Can Help Parse Complex Water Regulations, Say Researchers​

Interested in Education/Training?

Get Education/Training articles, news and videos right in your inbox! Sign up now.

Education/Training + Get Alerts

Safe, clean and affordable drinking water is a human right. But making that legal requirement a reality is a difficult challenge exacerbated further by climate change.

Two water engineers believe artificial intelligence can help. Working with the University of California-Berkeley’s Data Science Discovery program students, they are building a chatbot they hope will help California Water Resources Board staff discern, communicate and enforce rules to ensure the public’s water is safe to drink.

“The regulations are complex and complicated, but protective of public health,” says Hung Bui, a California Water Resources Board associate sanitary engineer who is co-leading this project in his personal time. “If we can find a way for the staff to easily look up regulations, ... it would help not only the staff, but also the public water systems.”

ChatGPT and other releases sparked public debate and concerns about the potential dangers of artificial intelligence. But projects like this one illustrate how AI can also help society by, for example, helping governments and companies more effectively protect public health.

Through the Discovery program, Berkeley undergraduates participate in hands-on, cutting-edge data science research with nonprofits, companies, government agencies and others. The program’s spring showcase featuring more than 130 projects took place May 3.

Keeping people safe

Bui and Dan Wang, a water resource control engineer at the state water board, are leading development on the drinking water chatbot along with Christoper Tull, chief data officer from California Data Collaborative, a nonprofit that works with public water systems managing and fully utilizing their data resources. Their Berkeley student team members include Andy Chen, Hanning Xu, Shreyas Prasanna, Stephanie Xu and Zwea Htet.

The nation’s founding drinking water law was established in 1974, regulating the water sources and treatment of them. Since then, the rules have evolved with science and technology on both a state and federal level to best protect the public. Dirty drinking water can spread diseases and leave the public susceptible to otherwise avoidable health issues, science shows.

Chen, a freshman, says he was attracted to the drinking water project because he could learn a lot about large language models, the models that underpin chatbots like ChatGPT. He also was interested in “making an impact on other people’s lives,” he says.

“My dad grew up in this really small village in China without clean water or actual plumbing,” says Chen, who is in the Berkeley Management, Entrepreneurship and Technology program. “This entire project is focused on water regulation and keeping people safe.”

For the project, Bui and Wang provided students with information and directions about drinking water laws and where to find other useful resources. The team discussed how they wanted to build the bot and — because the technology by large language models has shifted so quickly — students built multiple models with Wang and Bui’s support.

The students have done a wonderful job, Wang says. She hopes they will get excited about the ways their data science skills could be used to address environmental problems in the future. Chen said he enjoyed learning about these models and problem solving as a team.

“It's definitely opened my eyes to the possibility of working at start-ups and other small research groups,” says Chen.

System urgently needed

The chatbot isn’t ready for regulators to use yet, Wang says. They are working on getting the bot to read and incorporate tables into its responses, for example. After completing the current phase, Bui and Wang will need to find funding for computing resources to host, test and further develop it.

But Bui and Wang have high hopes for the bot. Inspired in part by ChatGPT’s passing an exam to become a lawyer, the specialists want to train their bot to complete the regulation section of the California’s Drinking Water Treatment & Distribution System Operators Certificate exam. That would signal it’s reliable enough for state regulators to use it in their work, they say.

The tool would initially be designed as an internal tool for regulators, increasing their capacity to answer public water systems’ questions and enforce rules, Wang says. But the public could eventually use it, too, providing residents insight into their local drinking water. 

Making the same resources do more for public health is especially important as the planet warms, Wang says. Climate change is going to stress traditional water resources, and states may need to use alternative sources of, and treatment processes for, drinking water.

“We really need urgently some kind of system that can gather data together and show us possibilities, so the drinking water system, the public and the regulator can all make decisions promptly and at the right level,” says Wang, who led this project during her personal time.

“There's a lot that goes into us ensuring human rights to drinking water, even in the United States,” says Wang. “But it's a basic human right, so we strive to make it happen."

Source: UC Berkeley


Comments on this site are submitted by users and are not endorsed by nor do they reflect the views or opinions of COLE Publishing, Inc. Comments are moderated before being posted.