Fast and Robust State Estimation and Tracking via Hierarchical Learning