Just out of curiosity!
Let $(X,\mathcal{M})$ and $(Y,\mathcal{N})$ be measurable spaces and let $f: X\to Y$ be a measurable function. If $\mathcal{N}$ is generated by some collection of sets $\mathcal{E} \subset \mathcal{P}(Y),$ when can we say that $\mathcal{M}$ is generated by $f^{-1}(\mathcal{E}),$ where $f^{-1}(\mathcal{E}) = \left\{f^{-1} (E) \mid E \in \mathcal{E}\right\}?$