learning condition retrieval speedup