Forward and backward uncertainty quantification: methods, analysis, and applications