Leaning Robust Sequence Features Via Dynamic Temporal Pattern Discovery