Path integral approaches to subnetwork description and inference