AI could help more clinical trials succeed by improving patient selection and trial design. This may speed up drug development and reduce costs.