Matching and Learning in Trees | Synapse