Smart Path Learning