Statistical Inference for Structured High-dimensional Models