Epistemic drive and memory manipulations in explore-exploit problems