No spike sorting required: C3PO learns interpretable population states straight from raw spike events, from milliseconds to hours
C3PO models neural spikes directly as a marked point process, skipping spike sorting and binning, and uses contrastive prediction over event history to infer a low-dimensional context state. On synthetic data the learned context forms a ring organized by latent phase and recovers tuning curves for 48 phase-tuned neurons; on several published recordings it recovers known variables such as position, head direction and theta phase, and maps population features directly onto single neurons.