AI202 - Spring 2024 - Lecture 1 - Introduction
AI202 - Spring 2024 - Lecture 1 - Introduction
Lecture 1 - Introduction
Course Staff
Instructor TA
Course Information
§ Communication:
§ Announcements in class and email.
§ Questions? Discuss in class/email/Office hours.
§ Instructor email: [email protected]
§ TA email: [email protected]
§ Course technology:
§ Lectures, course contents and marks uploaded on course folder on Google Drive.
Course: https://classroom.google.com/c/NjU1MTgyMDUwNjQ2?cjc=jhnlwul
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Course Information
§ Pre-requisites:
• Some knowledge of algorithmic concepts, e.g., running times,
data structures, trees, sorting, searching etc.
• Comfortable in programming in any language
(C++/Java/Python).
• Basics of probability and statistics.
§ Work and Grading:
• Quizzes 03%
• Assignments 02%
• Project 35%
• Mid-term 20%
• Final Exam 40%
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Course Information
§ Course Policy:
§ Can discuss with me, other students, and take help from the internet (must
acknowledge) but code must be yours, implemented by YOU.
§ Any form of cheating will lead to NEGATIVE MARKS in all assignments / quizzes
/ project / mid-term / final.
§ Attendance Policy:
§ By now, you must be aware of the institute’s attendance policy (80%).
§ Also, there will be no attendance after 10 minutes of start of class.
§ Be punctual and regular to avoid missing any important class discussion or
surprise quiz!!
§ Projects are graded individually.
§ Quiz policy:
§ All quizzes will be unannounced and based on MCQs (Best 3 out of 4 quizzes).
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Textbook
§ Not required, but for students who want to read more we
recommend
• Russell & Norvig, AI: A Modern Approach, 4th Edition
• George F. Luger, AI: Structures and strategies for complex problem
solving, 6th Ed.
This week
§ History of AI
History of AI
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Sci-Fi AI?
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Popular AI
§ 2001 – A space odyssey
• A film made in 1969.
§ HAL
• part of the story centers around an intelligent computer called HAL
• HAL is the “brains” of an intelligent spaceship
• In the movie, HAL can speak easily with the crew, see and understand the emotions of the crew.
• navigate the ship automatically
• diagnose on-board problems
• make life-and-death decisions
• display emotions
§ In 1969 this was science fiction: is it still science fiction?
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Popular AI
§ 1987 & 1992 – Terminator I and II.
§ In 1992 this was science fiction: is it still science fiction?
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Real AI
§ A serious science.
§ General purpose AI like the robots of science fiction is incredibly hard.
• Human brain appears to have lots of special and general functions, integrated in
some amazing ways that we do not really understand at all (yet).
§ Special purpose AI is more doable (nontrivial)
• E.g., chess/poker playing programs, logistics planning, automated translation, voice
recognition, web search, data mining, medical diagnosis, keeping a car on the road,
…………
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Real AI (NLP)
§ Natural Language Processing (NLP): § Large Language Models (LLMs):
§ Field of artificial intelligence that focuses § Advanced AI models that have
on enabling computers to understand, revolutionized NLP capabilities.
interpret, and generate human language. § Trained on massive amounts of text
§ Encompasses various tasks such as: data (trillions of words).
o Machine translation § Can generate human-quality
text, translate languages, write
o Text summarization
different kinds of creative
o Question answering content, and answer questions in an
o Sentiment analysis informative way.
o Speech recognition
o Text generation
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Real AI (NLP)
§ Recent Updates in LLMs: § Multimodal LLMs:
§ Increasing Model Size and Capabilities: § Models that can process and generate
o GPT-4 (100 trillion parameters) - improved text, images, and other forms of data together.
reasoning, common sense, and ability to § Deeper understanding of real-world concepts
generate different creative text formats. and relationships.
o Google's PaLM (540 billion parameters) - § LLMs for Code Generation:
impressive performance on various NLP
tasks, including language translation, code o Ability to write different kinds of
generation, and reasoning. programs in various programming
languages.
§ Focus on Efficiency and Sustainability:
o Potential to automate software
o Research on reducing computational costs and development tasks.
environmental impact of training and running
LLMs. § LLMs for Understanding and Generating
Different Creative Text Formats:
o Techniques like model pruning and quantization.
o Poems. Code. Scripts, Musical pieces,
Emails, Letters. Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Real AI (NLP)
§ Applications of LLMs:
§ Chatbots and virtual assistants
§ Machine translation
§ Text summarization
§ Question answering systems
§ Content creation
§ Code generation
§ Search engines
§ Social media analysis
§ Customer service
§ Education
§ Healthcare
§ Legal services
§ Research and development
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Real AI (Robotics)
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Real AI (Robotics)
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
What is AI?
The science of making machines that:
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Rational Decisions
We’ll use the term rational in a very specific, technical way:
• Rational: maximally achieving pre-defined goals
• Rationality only concerns what decisions are made (not the
thought process behind them)
• Goals are expressed in terms of the utility of outcomes
• Being rational means maximizing your expected utility
AI vs. CI vs. ML
§ Artificial Intelligence (Think like human, learn from experience, recognize patterns,
make complex decisions based on knowledge and reasoning)
• Machine learning
• Knowledge representation
• Natural Language Processing
• Planning Robotics etc.
§ Machine learning
• Branch of AI
• Construction and study of systems that can learn from data
• Email messages to learn to distinguish between spam and non-spam messages
• There is difference between ML and Data Mining too J
§ Computational Intelligence / Soft Computing (www.ieee-cis.org)
• Integrating the fields
§ Artificial Neural Networks
§ Evolutionary Computation
§ Fuzzy Logic
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
CI ML
AI
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
Lecture 01 - Introduction
AI 202 Trends & Techniques in AI
§ Partially adapted from lecture slides from Stanford University, UCIrvine, and UC
Berkeley.
§ Some videos taken from UC Berkeley website.
§ Contents from George F. Luger, AI: Structures and strategies for complex problem
solving, 6th Ed.
Lecture 01 - Introduction