A Data Efficient Framework for Learning Local Heuristics