Uncertainty quantification for goal-oriented inverse problems via variational encoder-decoder networks | Synapse