SPHINX: Structural Prediction using Hypergraph Inference Network