When a disease creeps in silently, catching it early can make all the difference. Now, a team in Hong Kong has built an artificial intelligence system that can warn patients with type 2 diabetes about serious complications—like kidney disease—up to 10 years before those complications arrive. It's called PIPE-AI, and it's the first tool of its kind designed specifically for Asian populations.

Researchers at the Hong Kong Polytechnic University developed the system by feeding it 17 years of electronic health records covering more than 560,000 diabetes patients. Using that vast pool of data, the AI learned to spot patterns that predict who is at highest risk of developing problems like chronic kidney disease, one of the most dangerous and common complications of type 2 diabetes. The model achieved an accuracy rate of 87.1 percent.

"Chronic kidney disease is often called a 'silent killer' because symptoms don't show up early," the researchers explained. Without early detection, the condition can worsen until patients need long-term dialysis or a kidney transplant. In Hong Kong, nearly 1 in 5 people aged 65 to 84 has diabetes—a number that highlights how widespread the issue is.

Most existing prediction tools were built using data from Western populations, which means they may not work as well for Asian patients. The PolyU team, led by Professor Yang Lin from the School of Nursing, aimed to fix that gap. Their system considers factors specific to Asian health profiles, giving more reliable guidance for local patients and doctors.

The system doesn't just hand doctors a risk score. It comes with an AI "agent"—essentially a friendly interface that translates complex medical data into plain language. Patients can use it to understand their own health, while doctors get support in making faster, more informed decisions. The tool can be used in family clinics for initial screening, in specialist clinics for complex cases, at community health centers offering round-the-clock advice, and by patients themselves to track diet, exercise, and medication.

To keep things safe, the system includes a built-in nurse oversight step. If the AI flags a high-risk result, a registered nurse reviews it before anything is shared with the patient.

The technology is already moving beyond the lab. Starting in July, the PolyU team partnered with the Hospital Authority's New Territories West Cluster and the Yuen Long District Health Center to run a clinical study with real patients. Participants will receive personalized risk assessments and health management plans tailored to their profiles.

The hope is that earlier warnings will lead to earlier action—giving patients and doctors the chance to slow or stop complications before they become life-changing.