Adaptive AI for a Smarter Edge