Giter VIP home page Giter VIP logo

ccm-site's Introduction

Computational cognitive modeling - Spring 2023

Instructors: Brenden Lake and Todd Gureckis

Teaching Assistants: Pat Little and Francesco Mantegna

Meeting time and location:
Lecture. Lectures are on Mondays 2-3:40PM in Silver Room 405 (100 Washington Square East). Masks are always welcome in class. 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 ([email protected]).

Labs. Tuesdays 12:30-1:20PM in Silver Room 405. Masks are always welcome in class.

Brightspace access for waitlist and auditors. We won't need bright space for anything except lab recordings. If you feel you need bright space 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 EdStem:
The class EdStem page is the main point of contact. We use EdStem for questions and class discussions. Rather than emailing questions to the teaching staff, please post your questions on EdStem. 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 EdStem. If for whatever reason this isn't the case for you, a signup link for our EdStem page is available here (https://edstem.org/us/join/hnpyuz).

Once enrolled, our class EdStem page is available here (https://edstem.org/us/courses/35462/discussion/).

If you have a question that isn't suitable for EdStem and there is a need to email the teaching staff directly, please use the following email address: [email protected]

Office hours:
Default is in person, but email us to request zoom if need be.
Brenden Lake (Thursdays (starting Feb. 2), 4:30-5:30pm, 60 5th Ave. (CDS) Room 610)
Todd Gureckis (Tuesdays 1-2pm in 4 Washington Pl (Meyer) 590)
Pat Little (Wednesdays 1:30-2:30pm in Meyer 592)
Francesco Mantegna (Wednesdays 3:30-4:30pm in Meyer 207)

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 April 10 (0.5 pages written). Please submit via email to [email protected] 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 is due May 10. Please submit via email to [email protected] with the file name lastname1-lastname2-lastname3-ccm-final.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 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.

Lecture schedule

Live lectures are

  • Mon. Jan 23: Introduction (slides)
  • Mon. Jan 30: Neural networks / Deep learning (part 1) (slides)
    • Homework 1 assigned (Due 2/13) (instructions for accessing here)
  • Mon. Feb. 6: Neural networks / Deep learning (part 2) (slides)
  • Mon. Feb. 13: Reinforcement learning (part 1) (slides)
  • Mon. Feb. 20: No class, Presidents' Day
  • Mon. Feb. 27: Reinforcement learning (part 2) (slides)
    • Homework 2 assigned (Due 3/20) (instructions for accessing here)
  • Mon. Mar. 6: Reinforcement learning (part 3) (slides)
  • Mon. Mar. 13: No class, Spring break
  • Mon. Mar 20: Bayesian modeling (part 1)(slides)
    • Homework 3 assigned (Due 4/3) (instructions for accessing here)
  • Mon. Mar 27: Bayesian modeling (part 2)(same slides as part 1)
  • Mon. Apr 3: Model comparison and fitting, tricks of the trade (slides)
  • Mon. Apr 10: Categorization (slides)
    • Project proposal is due
    • Homework 4 assigned (Due 4/27) (instructions for accessing here)
  • Mon. Apr 17: Probabilistic Graphical models (slides)
  • Mon. Apr 24: Information sampling and active learning (slides)
  • Mon May 1: Program induction and language of thought models (slides)
  • Mon May 8: Computational Cognitive Neuroscience
  • Final project due (Due May 10)

Lab schedule

Tuesdays 12:30-1:20PM (in person or zoom)

  • Tue Jan 24, Python and Jupyter notebooks review
  • Tue Jan 31, Introduction to PyTorch
  • Tue Feb 07, HW 1 Review
  • Tue Feb 14, No lab
  • Tue Feb 21, No lab
  • Tue Feb 28, Reinforcement learning
  • Tue Mar 07, HW 2 review
  • Tues Mar 14, No lab, spring break
  • Tue Mar 21, Probability Review
  • Tue Mar 28, HW 3 Review
  • Tue Apr 4, No lab
  • Tue Apr 11, No lab
  • Tue Apr 18, HW 4 Review
  • Tue Apr 25, No lab
  • Tue May 2, No lab
  • Tue May 9, No class

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 EdStem 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 ([email protected]) 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 here.

ccm-site's People

Contributors

brendenlake avatar gureckis avatar anselmrothe avatar guydav avatar grahamflick avatar rfeinman avatar alexanderrich avatar yanlizhou avatar pclittle avatar francescomantegna avatar aysjajohnson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.