Interpretable time series analysis with Gumbel dynamics