Inferring state-based behavior models | Synapse