Physics inspired solutions in AI and ML