By reaping the benefits of generative AI while avoiding its problems, we could boost academic productivity