15-387/86-375/675 Computational Perception
Carnegie Mellon University
Fall 2024
Course Description
The perceptual capabilities of even the simplest biological organisms are far beyond what we can achieve with machines. Whether you look at sensitivity, robustness, adaptability and generalizability, perception in biology just works, and works in complex, ever changing environments, and can make inference on the most subtle sensory patterns. Is it the neural hardware? Does the brain use a fundamentally different algorithm? What can we learn from biological systems and human perception?
In this course, we will study the biological and psychological data of biological perceptual systems, mostly the visual system, in depth, and then apply computational thinking to investigate the principles and mechanisms underlying natural perception.
You will learn how to reason scientifically and computationally about problems and issues in perception, how to extract the essential computational properties of those abstract ideas, and finally how to convert these into explicit mathematical models and computational algorithms. The course is targeted to students in any discipline who have some computing background but are interested in perception and neuroscience, and computational vision. The course will use Pytorch and CoLAB to do programming assignment. Prerequisites: First year college calculus, basic knowledge in differential equations, linear algebra, basic probability theory and statistical inference, and Python programming experience.
Course Information
| Instructors | Office Hours. | Email (Phone) |
| Tai Sing Lee (Professor) | Friday 9:00 am. Zoom Office Hour | taislee@andrew.cmu.edu |
| Yunru Zhao(TA) | Monday 7:00-8:00 p.m. | junru@andrew.cmu.edu |
All Office Hours and recitation will be held on zoom, using course zoom link unless notified and arranged otherwise
- Class location and time: WEH 4708. Monday/Wednesday 12:30 p.m - 1:50 p.m.
- Class recitation and journal club: Class Zoom. Friday 12:30 p.m - 1:50 p.m.
- Website: http://www.ni.cmu.edu/~tai/cp24.html (course info and readings )
- Canvas: Lecture materials and Information would be on Canvas.
Recommended Textbook
- Handouts on Canvas .
- Frisby and Stone Seeing: The computational approach to biological vision . MIT Press, 2010 (recommended).
Classroom Etiquette
- You can use laptop or cell phone to take notes during class but not to do anything else.
Grading Scheme 15-387/86-375
| Evaluation | Grade Points |
| Assignments | 60 |
| Midterm | 10 |
| Final Exam | 20 |
| Class Participation | 10 |
- Total points: 100
- Grading scheme: A: > 88, B: > 75. C: > 65. D > 50.
Grading Scheme 86-675
| Evaluation | Points |
| Assignments | 60 |
| Midterm | 10 |
| Final Exam | 20 |
| Journal Club * | option |
| Term Project * | option. |
| Class participation | 10 |
- Total credit for 86-675: 100
- Journal Club at least 10 times attendance, 2-3 presentations.
- Term project or term paper can be used to replace the journal club.
- Grading scheme: A > 88, B: > 75. C: > 65
Homework
- There will be 4-5 homework assignments involving Pytorch. The focus is on performing
experiments and analysis on existing implementation of perceptual model rather than
coding algorithms from scratch.
- Each student will have 7 days grace period for late homework. This grace period
can be used for one or multiple assignments. Use it wisely and
you cannot ask for more.
CANVAS or gradescope submission time relative to deadline will be used to track. If you are late by one hour, you will still be counted as one day.
Term Project or Journal Club
-
Grad version requires presentation in Journal club (2 presentations) and attendnace in at least 7 of the 8 journal clubs.
OR a term project (with a paper and presentation).
Project proposal is due one month before the end of the semester, but students
are encouraged to discuss project ideas with the professor
earlier on in the semester.
Examinations
- There will be a midterm (10 points) and a final exam (20 points) to test materials covered
in the lectures, assigned papers and homework assignments.
- There would be 12 in-class or off-class exercises given out in random time, each worths 1 point. Full credit: 10 points.
Syllabus
| Date |
Lecture Topic |
|
Assignments |
| | SENSORY CODING | | |
| M 8/26 | 1. Introduction | | |
| W 8/28 | 2. Perceputal Theories | | |
| F 8/30 | Recitation. PyTorch/Colab tutorial Club | | |
| M 9/2 | Label Day (no class) | | |
| W 9/4 | 3. Retina | | Homework 1 out |
| F 9/6 | Journal Club 1 | | |
| M 9/9 | 4. Computation | | |
| W 9/11 | 5. Pyramid | | |
| F 9/13 | Recitation Problem set 1 | | |
| M 9/16 | 6. Frequency | |   |
| W 9/18 | 7. Intrinsic Images | | HW1 due; Homework 2 out |
| F 9/20 | Journal Club 2 | | |
| | PERCEPTUAL INFERENCE | | |
| M 9/23 | 8. Retinex | | |
| W 9/25 | 9. Networks | | |
| W 9/27 | Recitation Problem set 2 | | |
| M 9/30 | 10. Cortex | | Mid-Course Evaluation |
| W 10/2 | 11. Grouping | | |
| F 10/4 | Journal Club 3 | | |
| M 10/7 | 12. Texture | | |
| W 10/9 | Midterm | | |
| F 10/11 | Recitation Problem set 3 | | HW2 due. HW3 out |
| M 10/14 | Fall break | | |
| W 10/16 | Fall break | | |
| F 10/18 | Fall break | | |
| M 10/21 | 13. Metamers | | |
| W 10/23 | 14. Autoencoders | | Midterm Grade due; |
| F 10/25 | Journal Club 4 | | |
| M 10/28 | 15. Surfaces | | |
| W 10/30 | 16. Contours | | HW 3 in. HW4 out |
| F 11/1 | Journal Club 5 | | |
| M 11/4 | 17. Shapes | | |
| W 11/6 | 18. Objects | | |
| F 11/8 | Recitation Problem set 4 | | |
| M 11/11 | 19. Scenes | | |
| W 11/13 | 20. Depth and Motion | | |
| F 11/15 | Journacl Club 6 | | |
| M 11/18 | 21. Synthesis | | |
| W 11/20 | 22. Attention | | HW4 due |
| F 11/20 | Journal Club 7 | | |
| M 11/25 | 23. Cognition | | |
| W 11/27 | Thanksgiving | | |
| F 11/29 | Thanksgiving | | |
| M 12/2 | 23 Review / Presentation | | |
| W 12/4 | 24. Final Exam | | Term Project paper due ; |
| F 12/6 | Journal Club 8 | | |
Journal Club
Week 1 Neural Manifolds
Reading (relevant, but optional reading)
Week 1 (Lectures 1 and 2) Observations, Theories and Computational Philosophy
Week 2,3 (Lectures 3, 4, 5, 6) Retina, Frequency, Pyramid and Computation
- Visual perception starts with the eyes and the photoreceptors. However,
there is already sophisticated computation in the
retina. We will read some classic and the modern papers on retinal processing, cover some basic background on
frequency analysis, pyramid representation, as well as the current computational approach (via deep learning) for modeling
retinal processing. We will do a problem set on retinal processing, and explore its relationship to some visual illusion
and perception.
-
Lettvin, Maturana, McCulloch and Pitt. (1959) What the frog's eye tells the frog's brain Proceedings of the IRE 1940-1959 .
-
Gollisch and Meister (2010) Eye Smarter than Scientists Believed:
Neural Computations in Circuits of the Retina Neuron 65: 151-164.
-
Maheswaranthan, .... Ganguli and Baccus (2018) Deep learning models reveal internal structure and diverse computations in the retina under natural scenes bioRxiv, June 8, 2018.
-
McIntosh, Maheswaranathan, Nayebi, Ganguli and Baccus (2016) Deep Learning Models of the Retinal Response to Natural Scenes NIPS
-
Burt and Adelson (1983) The Laplacian Pyramid as a Compact Image Code. IEEE Transaction on Communications. Com-31, no 4. 532-540
Week 4 (Lecture 7,8) Lightness perception and Intrinsic Images
- Our perception of brightness (or lightness) and color is not determined what are sensed by the retina, but in fact an interpretation of the ligthness and color properties of the object surfaces in the world. We will explore the classic theory of retinex as well as modern computational theory of intrinsic images for understanding lightness and color perception, culminating in a problem set on these issues.
-
Adelson, Ed, (2000) Lightness Perception and Lightness Illusion The New Cognitive Neuroscience, Gazzaniga ed. MIT Press.
(2000).
-
Land, E, (1977) The retinex theory of color vision Scientific America
1977
-
Horn, B, (1974) Determininng lightness from an image Computer Graphics and Image Procwssing.
1974
-
Morel JM, Petro AB, Sbert C. (2010) A PDE Formalization of Retinex Theory IEEE Trans Image Process.
19(11) 2825-37.
-
Tappen, Freeman and Adelson (2005) Recovering intrinsic images from a single image IEEE PAMI.
27(9): 1459-1472.
-
Michael Janner, Jiajun Wu, Tejas D. Kulkarni, Ilker Yildirim, Joshua B. Tenenbaum (2017) Self-Supervised Intrinsic Image Decomposition. NeurIPS.
-
Wei-Chiu Ma, Hang Chu, Bolei Zhou,
Raquel Urtasun and Antonio Torralba1 (2018) Single Image Intrinsic Decomposition wihtout a Single Intrinsic Image. ECCV
Week 5 (Lecture 9,10). Surfaces, Shapes and Visual Cortex
- Shading as well as many other cues allow us to infer 3D shapes. Intrinsic images of shading is a consequence of illumination on 3D shape, suggesting illumination and 3D shapes are further decompositon of shading images. We wonder whether how 3D shape as an intrinsic image or objects is represented in the brain. Is it 2D images, 2.5D sketches or 3D solids.
-
Ramaujan Srinath, A. Emonds, O. Wang, A. Lempel, E. Dunn-Weiss, CE, Connor, K. Nielsen
Early Emergence of Solid Shape Coding in Natural
and Deep Network Vision. Current Biology, 31, 51-65. 2021.
-
S Y Edelman, M J Tarr on "How are three-dimensional objects represented in the brain?"
Cerebral Cortex 1995 May-Jun;5(3):247-60.
-
Zhang, X, Zhang, Z, Zhang C, Tenenbaum J, Freeman W, Wu, J. Learning to Reconstruct Shapes from Unseen Classes NeurIPS 2018
Week 6, 7 (Lecture 11, 12, 13). Perceptual Learning and Inference
Week 8,9 (Lectures 14, 15, 16, 17) Perceptual Organization and Segmentation
- In addition to inferring "visible" physical properties of the world, the brain also tries to organize the sensory information into parsimonious descriptions to infer more abstract and global properties or summary statistics of the world such as boundary, and surface properties or summary statistics.
In this segment of the course, we will study Gestalt school of thoughts and models for extracting these properties.
-
Bela Julez (1981) Textons, the elements of texture perception and their interaction. Nature 290. 91-97.
-
Heeger and Bergen (1995) Pyramid-based texture analysis/synthesis SIGGRAPH 1995
-
Portilla and Simoncelli (2000) A parametric texture model based on joint statsitics of complex wavelet coefficients Internal journal of computer vision 40(1), 49-71.
-
L. A. Gatys, A. S. Ecker, and M. Bethge (2015) Texture Synthesis Using Convolutional Neural Networks NIPS 28
-
L. A. Gatys, A. S. Ecker, and M. Bethge (2016)
Image Style Transfer Using Convolutional Neural Networks CVPR 2016
-
Freeman J, Simoncelli EP. (2011) Metamers of the ventral stream. Nature Neuroscience.
-
Kovacs, I., Papathomas, T., Yang, M. and Feher, A. (1996). When the brain changes its mind: Interocular grouping during
binocular rivalry. Proceedings of the National Academy of Sciences, 93(26), pp.15508-15511.
- Lee, T.S. (1995). A Bayesian framework for understanding texture segmentation in the primary visual
cortex. Vision Research 35, 2643-2657..
- Tsao and Tsao (2022) A topological solution to object segmentation and tracking.
PNAS 119(41).
Week 10. (Lecture 18, 19) Objects, Scenes and Inverse Graphics
- Early computer vision approach emphasized on analysis by synthesis. This framework can be generalized to conceptualize the recurrent interaction in the hierarchical visual system and perception as inverse graphics. We will study these theories and their neural foundation, as well as to see how these principles can be extended to self-supervised learning based on prediction principles.
-
Van Essen, Anderson and Felleman (1992) Information processing in primate visual systems: an integrated approach Science 5043: 419-423.
-
Mumford, D (1992) On the computational architecture of the neocortex Biological Cybern.
66: 241-251.
-
Torralba and Oliva
(2003) Statistics of natural image categories Network: Comptuations in Neural Systems 14: 391-412.
-
Rao and Ballard (1998) Predictive coding in the visual cortex: a functional interpretation of some oextra-classical receptive field effects Nature Neuroscience
2(1), 79-87.
-
Lee and Mumford (2003) Hierarchical Bayesian inference in the visual system J. Optical Society of America
20(7), 1434-1448.
-
Lee, T.S. (2015) The Visual System's Internal Models of the World Proceedings of the IEEE Vol 103, issue 8, 1359-1378.
-
Lotter, Krieman and Cox (2020) A neural network trained for prediction mimics diverse features of bioloigcal neurons and perception Nature Machine intelligence
vol 2, 210-219.
-
Ilker Yildirim, Mario Belledonne, Winrich Freiwald, Josh Tenenbaum (2020) Efficient inverse graphics in biological face processing Sci. Adv. 2020; 6 : eaax5979 4 March 2020
-
T. D. Kulkarni, W. F. Whitney, P. kohli, J. Tenenbaum, Deep convolutional inverse graphics network, in Proceeding of the Advances in Neural Information Processing Systems (NIPS, 2015), pp. 2539–2547
-
Kar K, Kubilius J, Schmidt K, Issa EB, DiCarlo JJ. Evidence that recurrent circuits are critical to the ventral stream's execution of core object recognition behavior. Nature Neuroscience. 2019. doi: 10.1038/s41593-019-0392-5.
Week 11 (Lecture 21, 22) Integration and Composition
- Compositionary Theory argues the brain or the visual system is organized in a recursive nearly decompositional system that best models the compositional nature of parts, objects and scenes in the natural world, their flexible combination and deformation. We will explore some classical and modern theories on composition, exploring the linkage between modern deep neural networks and symbolic AI from this perspective, and the connection between language and vision.
-
E. Bienenstock, S. Geman, and D. Potter. Compositionality, MDL Priors, and Object Recognition NIPS Advances in Neural Information Processing Systems 9.
1998.
-
S. Geman, Hierarchy in machine and natural vision. Proceedings of the 11th Scandinavian Conference on Image Analysis,
1999.
-
Yuille. Towards a Theory of Compositional Learning and Encoding of Objects 1st IEEE Workshop in Information Theory in Computer Vision and Pattern Recognition. ICCV
2011.
-
S.C. Zhu and D. Mumford (2006) A Stochastic Grammar of Images Foundations and Trends in Computer Graphics and Vision 2(4): 259-362.
Week 12 (Lecture 23, 24) Attention, Cognition and Consciouness
Additional Exploration: Art and Beauty
What is beauty? Is it just something in the eyes of the beholders, or is it something universal? In this final week of the class, we hope to explore the concepts and computational theories of beauty and art and how they might be related to art, and the computational principles underlying
perception that we have studied in the course.
-
Cavanagh, P. (2005) The artist as neuroscientist. Nature, 434, 301-307.
-
Perdreau, F. & Cavanagh, P. (2011). Do artists see their retinas? Frontiers in Human Neuroscience, 5:171
-
Bilge Sayim and Patrick Cavangah (2011) What line drawings reveal about the visual brain.
-
L. A. Gatys, A. S. Ecker, and M. Bethge (2017) Texture and art with deep neural networks Current Opinions in Neurbiology 46, 178-186.
-
Schmidhuber Jurgen. (1997) Low complexity art.
-
Schmidhuber Jurgen. (2008) Driven by Compression Progress: A simple principle explains essential aspects of subjective beauty, novelty, surprise, interestingness, attention, curiosity, creativity, art, science, music, and jokes!
Questions or comments:
contact Tai Sing Lee
Last modified: August 2023, Tai Sing Lee