Data-constrained personalization of cognitive state detection with feature-based and foundation models | Synapse