Modeling human cognition and polarization using reinforcement Learning | Synapse