AD3 to ad3 in inference methods