CS 201 - Spring 2025. 2/24/2025.


[Home]

Welcome to CS 201!

Video of the Day

The Big Bang Theory- Howard's Magic Trick Dazzles Sheldon

I hereby solicit suggestions for the video of the day. Please email me your ideas with explanations. Selected entries will win 5 homework points. If your video is played at the beginning of class, you must also briefly explain something about the video and something about yourself - in person.

Logical problem of the day

How can you delete a UNIX file named "-f"?

https://pollev.com/slade You may also download the app to your phone. Use the "slade" poll id.

Canvas Quiz of the Day (need daily password)

Most days, there will be a simple canvas quiz related to the lecture. You need a password to activate the quiz, which I will provide in class. These quizzes will count toward your class participation grade. The quiz is available only during class.

Click for today's quiz.

Friday's Guest speaker: Jeanette Andrews

Jeanette is currently a visiting artist at MIT's Center for Art, Science and Technology (CAST).

slides for 2/21/25 talk

jeanetteandrewsstudio@gmail.com

https://www.jeanetteandrewsstudio.com/

Lecture 18: Halting Problem and Midterm Review.

  • I have office hours Wednesdays from 4-6 pm, on zoom, id 459 434 2854.

  • I am available for lunch on Mondays at 1 pm in Morse.

  • ULA office hours are found at https://csofficehours.org/CS201/schedule. Sign up via the queue.

  • Homework assignments: [Assignments]. hw3 is now available.

    Announcements

  • Midsemester feedback on canvas has closed as of midnight.

  • If you have an upcoming performance or athletic event, I am happy to promote it during class. Just send me a note.

  • Information Society Project Yale Law School. Weekly Events

  • CS Colloquium, Thursday, February 27, 10:30am. DL 220.
    Speaker: Greg Durrett, University of Texas, Austin.

    Host: Arman Cohan

    Title: Specializing LLMs for Reliability

    Abstract:

    Large language models (LLMs) have advanced the frontiers of AI reasoning: they can synthesize information from multiple sources, derive new conclusions, and explain those conclusions to their users. However, LLMs do not do this reliably. They hallucinate facts, convincingly state incorrect deductions, and exhibit logical fallacies like confirmation bias. In this talk, I will describe my lab’s work on making LLM systems reliable by introspecting their behavior. First, I will demonstrate that better understanding of LLMs helps us train them to be more reliable reasoners. Our work shows that model interpretation techniques can advance training methodology and dataset curation for reasoning models. Second, I will argue that automating fine-grained evaluation of LLM output provides a level of understanding necessary for further progress. I will describe the ingredients of effective automated evaluators and a state-of-the-art factuality evaluation system, MiniCheck, showing that analyzing the nature of hallucinations can help reduce them. Finally, I will describe how deeper understanding of LLMs will let us tackle their most fundamental limitations, such as their inconsistency when given different inputs. I will propose how these pieces might soon be combined to form reliable AI systems.

    Bio:

    Greg Durrett is an associate professor of Computer Science at UT Austin. His research is broadly in the areas of natural language processing and machine learning. His group develops techniques for reasoning about knowledge in text, verifying factuality of LLM generations, and specializing LLMs to make them more reliable. He is a 2023 Sloan Research Fellow and a recipient of a 2022 NSF CAREER award. His work has been recognized by paper awards at EMNLP 2024 and EMNLP 2013. He was a founding organizer of the Workshop on Natural Language Reasoning and Structured Explanations at ACL 2023 and ACL 2024 and is a current member of the NAACL board. He received his BS in Computer Science and Mathematics from MIT and his PhD in Computer Science from UC Berkeley, where he was advised by Dan Klein.

    Website: https://www.cs.utexas.edu/~gdurrett/

    Refreshments from Koffee Katering will be available.

  • Benefit Concert for LA Fires: Sunday March 2, 7pm. SSS 114

    Midterm Exam

    The midterm will be Tuesday February 25th at 7pm in Davies Auditorium. It will be a 2 hour hand written exam. No computers. No notes. No books. No kidding. Students registered with Student Accessibility Services will take the exam at Becton C031 next door.

    Sample Midterm Exam available . (solutions) The midterm will not have a boolean function question. Instead, it will have a struct question. The actual exam will also include UNIX questions (Principles 1 and 2). I will give you a transcript with some of the commands X'd out. You will have to deduce those commands (solutions).

    You should be familiar with the recursion and tail recursion examples from the recursion.rkt and Recursion.html For more details on the wonders of tail recursion, see TailRecursion.html and this tail recursion article.

    Also, the paper Music and Computation, discussed below, is also in scope, up to but not including Music. There will be true/false questions about binary encodings of numbers, text, images, and sound. No questions about music.

    See Point.html for a sample struct question.

    Owen Prem held a review session Sunday, February 23rd, from 1-3pm, at DL 220. Check Ed Discussios for details, namely slides and recording.

    Using Yale's Clarity for review.

    I also tried the Google experimental tutor:

    Lecture: Computability.

    Exhibit: punch cards.

    Everything is a string of bits

    See Music and Computation Text

    Computability.html (jupyter) Part 2. What is computable?

    Getting to know UNIX

    UNIX Introduction Principle 3.
    [Home]