Introduction to Artificial Intelligence EP15.TOKT11121 (DS) & EP16.TOKT11121 (AI) ยท National Economics University

Instructors Dr. Trong-Nghia Nguyen
Dr. Nguyen Thi Kim Ngan
Lecture In-person at National Economics University
207 Giai Phong street, Bach Mai ward, Hanoi, Vietnam

This week

Slides

Notes

References

Homework 5

Logic and Neural Networks

Due: November 12th, After each class

๐Ÿ“š Main Course Textbook

Artificial Intelligence: A Modern Approach 4th Edition

Artificial Intelligence: A Modern Approach (4th Edition)

Authors: Stuart Russell & Peter Norvig (2020)

Publisher: Pearson

๐Ÿ“– Download PDF: ๐Ÿ“ฅ Download AIMA 4th Edition PDF

Description: The primary textbook covering all fundamental AI topics including search, knowledge representation, reasoning, machine learning, and applications. This is the main reference material for the course.

About This Course

This course aims to deliver a comprehensive overview of Artificial Intelligence, its implications, applications, and the skills to leverage it. The course begins by describing what the latest generation of artificial intelligence techniques can do. After an introduction to some basic concepts and techniques, the course illustrates both the potential and current limitations of these techniques with examples from a variety of applications.

We spend some time on understanding the strengths and weaknesses of human decision-making and learning, specifically in combination with AI systems. Exercises will include hands-on application of basic AI techniques as well as selection of appropriate technologies for a given problem and anticipation of design implications. In a final project, groups of students will participate in the creation of a simple AI-based application.

Prerequisite: EP16.TOKT11108 (Fundamental Programming Concepts in Python)

Prerequisites

If you'd like to waive the prerequisites, please send an email to the instructor. For each prerequisite, please clearly list which courses you've taken are equivalent, and highlight it in the transcript.

Logistics

Grading

Resources

Related courses

Course Materials

Textbooks

The cover of Artificial Intelligence: A Modern Approach The cover of Artificial Intelligence Fundamentals for Business Leaders The cover of Introduction to Artificial Intelligence
[1] Artificial Intelligence: A Modern Approach (4th Edition) (Russell & Norvig, 2020)
Main textbook covering all fundamental AI topics including search, knowledge representation, machine learning, and applications. Published by Pearson. ๐Ÿ“ฅ Download PDF
[2] Artificial Intelligence Fundamentals for Business Leaders: Up to Date With Generative AI (I. Almeida, 2024 Edition)
This book provides practical insights into how AI is applied in business contexts, complementing the theoretical foundation from the main textbook.
[3] Introduction to Artificial Intelligence (Wolfgang Ertel, 2017)
Additional reference material published by Springer for supplementary reading.
Python
Python is the primary programming language used in this course for implementing AI algorithms and working with data.
NumPy
NumPy is the fundamental package for scientific computing with Python.
scikit-learn
scikit-learn is a comprehensive machine learning toolkit for Python.
Kaggle
Kaggle platform will be used for code submission and collaborative work on AI projects.

Other tutorials and references

Software

Lectures

Week 1

Topics Materials References

Lecture Sep 3

Topics

  • Introduction to Artificial Intelligence
  • Search Strategies (Breadth-First Search, Depth-First Search)
  • Slides
  • Slides

Materials

  • Chapter 1โ€“3, lecture slides
  • Sample Python code for search algorithms

References

(None)

Week 2

Topics Materials References

Lecture Sep 10

Topics

  • Homework review and hands-on exercises on BFS and DFS
  • Practice problems
  • Python notebook for search visualization

Materials

  • Practice problems
  • Python notebook for search visualization

References

(None)

Week 3

Topics Materials References

Lecture Sep 17

Topics

  • Informed Search Strategies
  • Best-First Search
  • Hill Climbing
  • Beam Search
  • Slides

Materials

  • Chapter 4, lecture slides
  • Search implementation examples

References

(None)

Week 4

Topics Materials References

Lecture Sep 24

Topics

  • Practical session on heuristic-based search algorithms
  • Coding exercises
  • Performance comparison notebooks

Materials

  • Coding exercises
  • Performance comparison notebooks

References

(None)

Week 5

Topics Materials References

Lecture Oct 1

Topics

  • Optimal Search (A*, Greedy Search)
  • Slides

Materials

  • Chapter 4, slides on heuristic functions and optimality

References

(None)

Week 6

Topics Materials References

Lecture Oct 8

Topics

  • Implementation and evaluation of A* and Greedy Search
  • Python code templates
  • Problem sets

Materials

  • Python code templates
  • Problem sets

References

(None)

Week 7

Topics Materials References

Lecture Oct 15

Topics

  • Adversarial Search
  • Minimax Algorithm
  • Alpha-Beta Pruning
  • Slides

Materials

  • Chapter 5, lecture notes
  • Game tree examples

References

(None)

Week 8

Topics Materials References

Lecture Oct 22

Topics

  • Practice on game-playing agents using Minimax and Alpha-Beta Pruning
  • Lab exercises with Tic-Tac-Toe or similar games

Materials

  • Lab exercises with Tic-Tac-Toe or similar games

References

(None)

Week 9

Topics Materials References

Lecture Oct 29

Topics

  • Propositional Logic โ€“ Syntax, Semantics, and Inference
  • Slides
  • Logical Connectives (ยฌ, โˆง, โˆจ, โ†’, โŸท)
  • Truth Tables and Logical Equivalences
  • CNF Conversion and Resolution

Materials

References

(None)

Week 10

Topics Materials References

Lecture Nov 5

Topics

  • Practical exercises on Propositional Logic
  • Resolution, Inference rules
  • Logic problem sets

Materials

  • Logic problem sets
  • Python-based logic solvers

References

(None)

Week 11

Topics Materials References

Lecture Nov 12

Topics

  • First-Order Logic โ€“ Representation and Inference
  • Chapter 8โ€“9, lecture notes
  • Ontology examples

Materials

  • Chapter 8โ€“9, lecture notes
  • Ontology examples

References

(None)

Week 12

Topics Materials References

Lecture Nov 19

Topics

  • Practice on First-Order Logic reasoning and implementation
  • Exercises using FOL solvers or Prolog

Materials

  • Exercises using FOL solvers or Prolog

References

(None)

Week 13

Topics Materials References

Lecture Nov 26

Topics

  • Introduction to Neural Networks
  • Perceptron, Single-layer Neural Models
  • Chapter 18, lecture slides

Materials

  • Chapter 18, lecture slides
  • TensorFlow/PyTorch notebooks

References

(None)

Week 14

Topics Materials References

Lecture Dec 3

Topics

  • Hands-on training for single-layer neural networks
  • Lab notebook on classification tasks using perceptron

Materials

  • Lab notebook on classification tasks using perceptron

References

(None)

Week 15

Topics Materials References

Lecture Dec 10

Topics

  • Supplementary Topics
  • Computer Vision, NLP, Clustering, Regression, Classification
  • GPU Computing, and MLOps
  • Overview of the AI Project Pipeline

Materials

  • Overview slides
  • Project templates
  • Demo notebooks

References

(None)

Assignments

Homework Policy: Homework is uploaded after each class. Submit your work in LMS. Homework correction will be given next session. Students who volunteer to do exercises will get extra points.

Submission: Assignments should be submitted through LMS (Learning Management System). Code should be uploaded in Kaggle platform.

Collaboration Policy: You may form study groups and discuss problems with your classmates. However, you must write up the assignment solutions and the code from scratch, without referring to notes from your joint session.

Homework 0

Course Introduction and Setup

Due: September 3rd, After each class

Homework 1

Search Strategies (BFS and DFS)

Due: September 10th, After each class

Homework 2

Informed Search Strategies

Due: September 17th, After each class

Homework 3

Optimal Search (A* and Greedy Search)

Due: October 1st, After each class

Homework 4

Adversarial Search (Minimax and Alpha-Beta Pruning)

Due: October 15th, After each class

Homework 5

Logic and Neural Networks

Due: November 12th, After each class

Course Project

The course project constitutes a significant part of the midterm evaluation (20%). Each team selects one topic from the provided project list. The project consists of two main parts:

  1. Presentation: 10โ€“12 minutes per team to be delivered next week
  2. Report: Due one week after the presentation date

Submit the presentation and report (all are .pdf files) via email or Zalo. There are awards for best presentation and best report.

Project Workflow:

  1. Identify a real-world problem
  2. Model it as a search problem (state space search)
  3. Apply at least 2โ€“3 search algorithms (BFS, DFS, Greedy, A*, etc.)
  4. Implement and test with code
  5. Compare results (expanded nodes, time, solution quality)
  6. Relate findings back to the real-world context

Suggested Report Structure:

  1. Introduction: Real-world background of the problem
  2. Problem Formulation: Search problem representation
  3. Algorithms: Description of applied algorithms
  4. Experiments & Results: Comparison table and visual examples
  5. Discussion: Analysis of results and insights
  6. Response to Reviewers: Questions and answers from presentation
  7. Conclusion: Summary and findings

Project Example: 8-Puzzle

Purely theoretical version: "Initial state โ†’ Goal state. Apply BFS, GBFS (heuristic = misplaced tiles), A* (heuristic = Manhattan distance). Compare number of expanded nodes and solution depth."

Real-world interpretation: The 8-Puzzle can be modeled as seat arrangement in an international conference. There are 9 chairs (8 delegates + 1 empty spot). The organizer must arrange guests so that each delegate sits in the correct assigned seat. Valid operation = swapping a delegate with an adjacent empty chair. Goal = correct seating arrangement with the fewest moves.

Sample introduction section for the report: "In international conferences, the correct arrangement of delegates according to diplomatic protocols is essential. We can model this seating arrangement task as the 8-Puzzle problem, where each tile represents a delegate and the empty tile represents an unoccupied chair. The objective is to reach the final correct arrangement with minimal movements. In this study, we apply classical search algorithms (BFS, GBFS, A*) and compare their performance in terms of solution depth and number of expanded nodes, thereby evaluating the effectiveness of AI search methods for real-world organizational tasks."

Important Notes

Project Submission

Upload your project files (PDF format):

  • Submit both your presentation slides and final report as PDF files
  • File naming convention: TeamName_Presentation.pdf and TeamName_Report.pdf
  • Deadline: Report due one week after presentation date

๐Ÿ“ค Upload Project Files to Google Drive

Note: You will need to sign in with your account to upload files. If you encounter any issues, please contact the instructors.

People

Instructor

Co-Instructor