A large deviation principle for block models | Synapse