Skip to content

Computational cognitive modeling - Fall 2024

Instructor: Todd Gureckis

Teaching Assistants: Guy Davidson, Rheza Budiono, and Panos Alefantis

Meeting time and location:

  • Lecture: Lectures are on Friday 10-11:40AM in 12 Waverly Place Room G08. There is no zoom or lecture capture; if you can't make it to class, you can email us to request last year's video instructors-ccm-fall2024@googlegroups.com.

  • Labs: Labs are on Fridays 12:30-1:20PM in 12 Waverly Place Room G08. Labs are recorded.

Office hours: Default is in person, but email us to request zoom if need be.

  • Todd Gureckis: Tuesdays 2-3pm in Meyer 590
  • Guy Davidson: Wednesdays 4-5pm in Meyer 584
  • Rheza Budiono: Thursdays 3:30-4:30pm in Meyer 583
  • Panos Alefantis: Mondays 2-3pm in Meyer 720
  • Brightspace access for waitlist and auditors. We won't need NYU's Brightspace for anything except lab recordings. If you feel you need Brightspace access and don't have it, please add your email to this spreadsheet. We will add the emails from the spreadsheet periodically.

    Course numbers:
    DS-GA 1016 (Data Science)
    PSYCH-GA 3405.004 (Psychology)

    Contact information and Ed Discussion:

    The class Ed Discussion page is the main point of contact. We use Ed Discussion for questions and class discussions. Rather than emailing questions to the teaching staff, please post your questions on Ed Discussion. It will get you a faster response and the answer will benefit others with the same question.

    Enrolled students should automatically have access to the Ed Discussion. If for whatever reason this isn't the case for you, a signup link for our Ed Discussion page is available here https://edstem.org/us/join/xpYzaZ

    Once enrolled, our class Ed Discussion page is available here https://edstem.org/us/courses/66397/discussion

    If you have a question that isn't suitable for Ed Discussion and there is a need to email the teaching staff directly, please use the following email address: instructors-ccm-fall2024@googlegroups.com

    Summary: This course surveys the leading computational frameworks for understanding human intelligence and cognition. Both psychologists and data scientists are working with increasingly large quantities of human behavioral data. Computational cognitive modeling aims to understand behavioral data and the mind and brain, more generally, by building computational models of the cognitive processes that produce the data. This course introduces the goals, philosophy, and technical concepts behind computational cognitive modeling.

    The lectures cover artificial neural networks (deep learning), reinforcement learning, Bayesian modeling, model comparison and fitting, classification, probabilistic graphical models, and program induction. Modeling examples span a broad set of psychological abilities including learning, categorization, language, memory, decision-making, and reasoning. The homework assignments include examining and implementing the models surveyed in class. Students will leave the course with a richer understanding of how computational modeling advances cognitive science, how cognitive science can inform research in machine learning and AI, and how to fit and evaluate cognitive models to understand behavioral data.

    Please note that this syllabus is not final and there may be further adjustments.

    Pre-requisites

    • Math: We will use concepts from linear algebra, calculus, and probability. If you had linear algebra and calculus as an undergrad, or if you have taken Math Tools in the psychology department, you will be in a good position for approaching the material. Familiarity with probability is also assumed. We will review some of the basic technical concepts in the lab.

    • Programming: Previous experience with Python is required. Previous IN CLASS experience with Python is strongly recommended ---it’s assumed you know how to program in Python. The assignments will use Python 3 and Jupyter Notebooks.

    Grading

    The final grade is based on the homeworks (65%) and the final project (35%).

    Class participation may be used to decide grades in borderline cases.

    Final Project

    The final project proposal is due Friday, Oct 25 (0.5 pages written). Please submit via email to instructors-ccm-fall2024@googlegroups.com with the file name lastname1-lastname2-lastname3-ccm-proposal.pdf. Make sure to include the names of all of your group members at the top of the document too.

    The final project will be done in groups of 3-4 students. A short paper will be turned in describing the project (approximately 6 pages). The project will represent either a substantial extension of one of the homeworks (e.g., exploring some new aspect of one of the assignments), implementing and extending an existing cognitive modeling paper, or a cognitive modeling project related to your research. We provide a list of project ideas here, but of course, you do not have to choose from this list. The final project is due Friday, Dec 13.

    The final project must relate to computational cognitive modeling and cannot be a purely machine learning / data science project. Thus, your project must connect, in some way, to the human mind and behavior. This could be collecting (informally) behavioral data to compare your computational model to. Or you could compare your model against results in the literature or particular dataset of human behavior or ratings. Or you could compare your algorithm with human intelligence in a more abstract sense. There are many ways to make the connection, but your final project must connect to cognitive modeling.

    Your write-ups should be organized and written as a scientific paper. We encourage you to use this latex template. It must include the following sections: Introduction (with review of related work), Methods/Models, Results, and Discussion/Conclusion. Here is a good example:
    Singh, P., Peterson, J. C., Battleday, R. M., & Griffiths, T. L. (2020). End-to-end deep prototype and exemplar models for predicting human behavior. Proceedings of the 42nd Annual Conference of the Cognitive Science Society. link here

    Code submission is not required for the final project.

    Readings

    For each major topic, there are assigned readings that go with the lectures. The papers were selected to be fundamental readings on this topic any computational cognitive scientist would be expected to know. You should aim to read these over the semester, especially during the periods when we are covering the same topic. The papers should be downloadable on Google Scholar via NYU Library. However, they are available for download on Ed Discussion website under the "resources" tab (see the down-pointing arrow along the top bar or this link.

    Neural networks and deep learning

    • McClelland, J. L., Rumelhart, D. E., & Hinton, G. E. The Appeal of Parallel Distributed Processing. Vol I, Ch 1.
    • LeCun, Y., Bengio, Y. & Hinton, G. (2015). Deep learning. Nature 521:436–44.
    • McClelland, J. L., & Rogers, T. T. (2003). The parallel distributed processing approach to semantic cognition. Nature Reviews Neuroscience, 4(4), 310-322.
    • Elman, J. L. (1990). Finding structure in time. Cognitive Science, 14(2), 179-211.
    • Peterson, J., Abbott, J., & Griffiths, T. (2016). Adapting Deep Network Features to Capture Psychological Representations. Presented at the 38th Annual Conference of the Cognitive Science Society.

    Reinforcement learning and decision making

    • Gureckis, T.M. and Love, B.C. (2015) Reinforcement learning: A computational perspective. Oxford Handbook of Computational and Mathematical Psychology, Edited by Busemeyer, J.R., Townsend, J., Zheng, W., and Eidels, A., Oxford University Press, New York, NY.
    • Daw, N.S. (2013) "Advanced Reinforcement Learning" Chapter in Neuroeconomics: Decision making and the brain, 2nd edition
    • Niv, Y. and Schoenbaum, G. (2008) “Dialogues on prediction errors” Trends in Cognitive Science, 12(7), 265-72.
    • Nathaniel D. Daw, John P. O'Doherty, Peter Dayan, Ben Seymour & Raymond J. Dolan (2006). Cortical substrates for exploratory decisions in humans. Nature, 441, 876-879.

    Bayesian modeling

    • Russell, S. J., and Norvig, P. Artificial Intelligence: A Modern Approach. Chapter 13, Uncertainty.
    • Tenenbaum, J. B., and Griffiths, T. L. (2001). Generalization, similarity, and Bayesian inference. Behavioral and Brain Sciences, 24(4), 629-640.
    • Tenenbaum, J. B., Kemp, C., Griffiths, T. L., & Goodman, N. D. (2011). How to grow a mind: Statistics, structure, and abstraction. Science, 331(6022), 1279-1285.
    • Ghahramani, Z. (2015). Probabilistic machine learning and artificial intelligence. Nature, 521(7553), 452.
    • MacKay, D. (2003). Chapter 29: Monte Carlo Methods. In Information Theory, Inference, and Learning Algorithms.

    Rational versus mechanistic modeling approaches

    • Jones, M. & Love, B.C. (2011). Bayesian Fundamentalism or Enlightenment? On the Explanatory Status and Theoretical Contributions of Bayesian Models of Cognition. Behavioral and Brain Sciences (target article).
    • Griffiths, T.L., Lieder, F., & Goodman, N.D. (2015). Rational use of cognitive resources: Levels of analysis between the computational and the algorithmic. Topics in Cognitive Science, 7(2), 217-229.

    Model comparison and fitting, tricks of trade

    • Wilson, R.C. and Collins, A.G.E. (2019). Ten simple rules for the computational modeling of behavioral data. eLife 2019;8:e49547
    • Pitt, M.A. and Myung, J (2002) When a good fit can be bad. Trends in Cognitive Science, 6, 10, 421-425.
    • Roberts, S. & Pashler, H. (2000) How persuasive is a good fit? A comment on theory testing. Psychological Review, 107, 358-367.
    • [optional] Myung, I.J. (2003). Tutorial on maximum likelihood estimation. Journal of Mathematical Psychology, 47, 90-100.

    Probabilistic graphical models

    • Charniak (1991). Bayesian networks without tears. AI Magazine, 50-63.
    • Kemp, C., & Tenenbaum, J. B. (2008). The discovery of structural form. Proceedings of the National Academy of Sciences, 105(31), 10687-10692.
    • [optional] Russell, S. J., and Norvig, P. Artificial Intelligence: A Modern Approach. Chapter 14, Probabilistic reasoning systems.

    Program induction and language of thought models

    • Ghahramani, Z. (2015). Probabilistic machine learning and artificial intelligence. Nature, 521(7553), 452.
    • Goodman, N. D., Tenenbaum, J. B., & Gerstenberg, T. (2014). Concepts in a probabilistic language of thought. Center for Brains, Minds and Machines (CBMM).
    • Lake, B. M., Salakhutdinov, R., & Tenenbaum, J. B. (2015). Human-level concept learning through probabilistic program induction. Science, 350(6266), 1332-1338.

    Computational Cognitive Neuroscience

    • Kreigeskorte, N. and Douglas, P.K. (2018) Cognitive computational neuroscience. Nature Neuroscience. 21(9): 1148-1160. doi:10.1038/s41593-018-0210-5
    • Turner, B.M., Forstmann, B.U., Love, B.C., Palmeri, T.J., Van Maanen, L. (2017). Approaches to analysis in model-based cognitive neuroscience. Journal of Mathematical Psychology. 76(B), 65-79.

    Course policies and FAQ

    Collaboration and honor code:
    We take the collaboration policy and academic integrity very seriously. Violations of the policy will result in zero points and a possible disciplinary referral. You may discuss the homework assignments with your classmates, but you must run the simulations and complete the write-ups for the homework on your own. Under no circumstance should students look at each other’s code or write-ups, or code/write-ups from previous years of this course. Do not share your write-up or code with any of your classmates under any circumstances.

    Late work:
    We will take 10% off each day a homework or final project is late. Assignments should be turned in all at once and not in pieces. If an assignment is incomplete and later completed, the late penalty is applied to the entire assignment.

    Extensions:
    If you are requesting an extension, email the teaching team (instructors-ccm-fall2024@googlegroups.com) and explain the reason. You must submit a request for an extension at least 24 hours before the due date of the assignment.

    Regrading:
    If you feel there was a mistake in the grading of your assignment, you can formally request a regrade through Gradescope. This will prompt us to regrade the full portion of the assignment and could lead to your grade being either raised or lowered depending on what the regrade finds. You can submit a regrade request via Gradescope.

    Did you forget to turn in part of the homework, or did it print improperly on the PDF?:
    We will not regrade homework because your answer did not display correctly in the version you submitted. Before turning in your assignment, you must double-check that all of your answers appear clearly in the PDF printout.

    Extra credit:
    No extra credit will be given, out of interest of fairness.

    Preconfigured cloud environment

    Students registered for the course have the option of completing homework assignments on their personal computers, or in a cloud Jupyter environment with all required packages pre-installed. Students can log onto the environment using their nyu net ids at: https://dsga-1016-fall.rcnyu.org/.