Ensemble based methods for geometric inverse problems