Julio Martinez
2024
- CogSci
Modeling Social Learning Through Demonstration in Multi-Armed BanditsJulio Martinez, Michael C. Frank, and Nick HaberIn Proceedings of the Annual Meeting of the Cognitive Science Society, Jul 2024Humans are efficient social learners who leverage social information to rapidly adapt to new environments, but the computations by which we combine social information with prior knowledge are poorly understood. We study social learning within the context of multi-armed bandits using a novel "asteroid mining" video game where participants learn through active play and passive observation of expert and novice players. We simulate human exploration and social learning using naive versions of Thompson and Upper Confidence Bound (UCB) solvers and hybrid models that use Thompson and UCB solvers for direct learning together with a multi-layer perceptron to estimate what should be learned from other players. Two variants of the hybrid models provide good, parameter-free fits to human performance across a range of learning conditions. Our work shows a route for integrating social learning into reinforcement learning models and suggests that human social learning conforms to the predictions of such models.
@inproceedings{martinez2024social, title = {Modeling Social Learning Through Demonstration in Multi-Armed Bandits}, author = {Martinez, Julio and Frank, Michael C. and Haber, Nick}, booktitle = {Proceedings of the Annual Meeting of the Cognitive Science Society}, volume = {46}, year = {2024}, month = jul, }
2023
- CogSci
Measuring and Modeling Physical Intrinsic MotivationJulio Martinez, Felix Binder, Haoliang Wang, and 3 more authorsIn Proceedings of the Annual Meeting of the Cognitive Science Society, Jul 2023Humans are interactive agents driven to seek out situations with interesting physical dynamics. Here we formalize the functional form of physical intrinsic motivation. We first collect ratings of how interesting humans find a variety of physics scenarios. We then model human interestingness responses by implementing various hypotheses of intrinsic motivation including models that rely on simple scene features to models that depend on forward physics prediction. We find that the single best predictor of human responses is adversarial reward, a model derived from physical prediction loss. We also find that simple scene feature models do not generalize their prediction of human responses across all scenarios. Finally, linearly combining the adversarial model with the number of collisions in a scene leads to the greatest improvement in predictivity of human responses, suggesting humans are driven towards scenarios that result in high information gain and physical activity.
@inproceedings{martinez2023measuring, title = {Measuring and Modeling Physical Intrinsic Motivation}, author = {Martinez, Julio and Binder, Felix and Wang, Haoliang and Haber, Nick and Fan, Judith and Yamins, Daniel L. K.}, booktitle = {Proceedings of the Annual Meeting of the Cognitive Science Society}, volume = {45}, year = {2023}, month = jul, } - PNAS
Behavioral signatures of face perception emerge in deep neural networks optimized for face recognitionKatharina Dobs, Joanne Yuan, Julio Martinez, and 1 more authorProceedings of the National Academy of Sciences, Aug 2023Human face recognition is highly accurate and exhibits a number of distinctive and well-documented behavioral "signatures" such as the use of a characteristic representational space, the disproportionate performance cost when stimuli are presented upside down, and the drop in accuracy for faces from races the participant is less familiar with. These and other phenomena have long been taken as evidence that face recognition is "special". But why does human face perception exhibit these properties in the first place? Here, we use deep convolutional neural networks (CNNs) to test the hypothesis that all of these signatures of human face perception result from optimization for the task of face recognition. Indeed, as predicted by this hypothesis, these phenomena are all found in CNNs trained on face recognition, but not in CNNs trained on object recognition, even when additionally trained to detect faces while matching the amount of face experience. To test whether these signatures are in principle specific to faces, we optimized a CNN on car discrimination and tested it on upright and inverted car images. As we found for face perception, the car-trained network showed a drop in performance for inverted vs. upright cars. Similarly, CNNs trained on inverted faces produced an inverted face inversion effect. These findings show that the behavioral signatures of human face perception reflect and are well explained as the result of optimization for the task of face recognition, and that the nature of the computations underlying this task may not be so special after all.
@article{dobs2023behavioral, title = {Behavioral signatures of face perception emerge in deep neural networks optimized for face recognition}, author = {Dobs, Katharina and Yuan, Joanne and Martinez, Julio and Kanwisher, Nancy}, journal = {Proceedings of the National Academy of Sciences}, volume = {120}, number = {32}, pages = {e2220642120}, year = {2023}, month = aug, doi = {10.1073/pnas.2220642120}, }
2022
- Sci. Adv.
Brain-like functional specialization emerges spontaneously in deep neural networksKatharina Dobs, Julio Martinez, Alexander J. E. Kell, and 1 more authorScience Advances, Mar 2022The human brain contains multiple regions with distinct, often highly specialized functions, from recognizing faces to understanding language to thinking about what others are thinking. However, it remains unclear why the cortex exhibits this high degree of functional specialization in the first place. Here, we consider the case of face perception using artificial neural networks to test the hypothesis that functional segregation of face recognition in the brain reflects a computational optimization for the broader problem of visual recognition of faces and other visual categories. We find that networks trained on object recognition perform poorly on face recognition and vice versa and that networks optimized for both tasks spontaneously segregate themselves into separate systems for faces and objects. We then show functional segregation to varying degrees for other visual categories, revealing a widespread tendency for optimization (without built-in task-specific inductive biases) to lead to functional specialization in machines and, we conjecture, also brains.
@article{dobs2022brainlike, title = {Brain-like functional specialization emerges spontaneously in deep neural networks}, author = {Dobs, Katharina and Martinez, Julio and Kell, Alexander J. E. and Kanwisher, Nancy}, journal = {Science Advances}, volume = {8}, number = {11}, pages = {eabl8913}, year = {2022}, month = mar, doi = {10.1126/sciadv.abl8913}, }
2021
- VSSUsing task-optimized neural networks to understand how experience might shape human face perceptionKatharina Dobs, Joanne Yuan, Julio Martinez, and 1 more authorJournal of Vision, Sep 2021Abstract, Vision Sciences Society annual meeting
We perceive and recognize faces quickly and seemingly effortlessly. How does this remarkable ability develop and what is the role of experience? Here we addressed these long-standing questions by leveraging recent successes in deep convolutional neural networks (CNNs) as models for human visual recognition. Specifically, we asked whether training on generic object recognition is sufficient for CNNs to capture human face behavior, or whether face-specific training is required. To measure human face perception, subjects (n=14) performed a similarity arrangement task on 80 different face images (five images of 16 different identities). Using representational similarity analysis, we compared the behavioral representational dissimilarity matrices (RDMs) to RDMs obtained from different layers of CNNs (i.e., VGG16) trained on either object (Object CNN) or face identity (Face CNN) categorization. Importantly, the face identities used as stimuli were not included in the training, and thus "unfamiliar" to both the Face and Object CNN. We found that the human face behavior RDM was more similar to layer-specific RDMs of the Face CNN (max. Spearman’s r=.42, reaching the noise ceiling) compared to the Object CNN (max. Spearman’s r=.21). Moreover, late layers in the Face CNN matched human face behavior better than early layers. These results show that face-trained CNNs capture human face behavior better than object-trained CNNs. Further, these results suggest that humanlike face perception abilities do not automatically arise from generic visual experience with objects. Instead, face-specific experience during development may shape and fine-tune human face perception.
@article{dobs2021experience, title = {Using task-optimized neural networks to understand how experience might shape human face perception}, author = {Dobs, Katharina and Yuan, Joanne and Martinez, Julio and Kanwisher, Nancy}, journal = {Journal of Vision}, volume = {21}, number = {9}, pages = {2292}, year = {2021}, month = sep, note = {Abstract, Vision Sciences Society annual meeting}, doi = {10.1167/jov.21.9.2292}, }
2020
- VSSUsing task-optimized neural networks to understand why brains have specialized processing for facesKatharina Dobs, Alexander J. E. Kell, Julio Martinez, and 2 more authorsJournal of Vision, Oct 2020Abstract, Vision Sciences Society annual meeting
Category-selective regions are a prominent feature of the ventral visual pathway. Why is there specialization for some categories (e.g., faces, scenes), but not others (e.g., food, cars)? And why does functional specialization arise in the first place? Here, we used deep convolutional neural networks (CNNs) to test the hypothesis that face-specific regions are segregated from object regions because face and object recognition require different representations and computations. We trained two separate AlexNet networks to categorize either faces or objects. The face-trained CNN significantly outperformed the object-trained CNN on face categorization on held-out identities and vice versa, demonstrating that the representations optimized for one task are suboptimal for the other. To determine whether representations could be learned to simultaneously support both tasks, we trained dual-task CNNs with a branched architecture, varying the number of layers that were shared between face and object tasks (i.e., early vs. late branch points; Kell et al., 2018). We found that dual-task networks sharing late layers performed worse than CNNs trained on only faces or only objects. However, dual-task networks sharing only early processing stages, presumably like the primate visual system, showed no cost of sharing. Do these results generalize to architectures with larger capacity? We trained VGG16 networks on the same tasks. Surprisingly, in this case, even the fully-shared dual-task CNN performed as well as the separate networks. However, lesion experiments showed that segregation of face and object processing had emerged spontaneously in the dual-task network. Critically, a dual-task network optimized for food and object categorization showed less task segregation. These results suggest that functional specialization in the brain exists for faces but not for food because food and object categorization can be performed by relying on common representations while face and object recognition rely on inherently different computations.
@article{dobs2020specialized, title = {Using task-optimized neural networks to understand why brains have specialized processing for faces}, author = {Dobs, Katharina and Kell, Alexander J. E. and Martinez, Julio and Cohen, Michael and Kanwisher, Nancy}, journal = {Journal of Vision}, volume = {20}, number = {11}, pages = {660}, year = {2020}, month = oct, note = {Abstract, Vision Sciences Society annual meeting}, doi = {10.1167/jov.20.11.660}, }