Lab 00

Introduction

Meet the team Search Machine learning Language models
Work in progress These notes are still being written and reviewed: content may change, and some parts may still contain mistakes.

Overview of the lab

  1. About us
  2. Course topics
  3. Recommended projects: take part in SemEval-2027
  4. The top AI conferences
  5. How the labs work
Meet the team

About us

Your teaching assistants for the labs and the authors of these notes.

Photo of Elitsa Yotkova

Teaching assistant · Labs

Elitsa Yotkova

Hi! I'm Elitsa. I'm interested in the robustness of LLM judges, evaluation, and the broader questions of frontier AI safety.

At Sofia University I work with Dr. Dimitar Dimitrov, Prof. Ivan Koychev and Prof. Preslav Nakov (MBZUAI). Previously a software engineering intern at Google (Zurich) and Uber (Amsterdam & Sofia).

I also collaborate with Violeta Kastreva (ETH Zurich) on recent research.

Photo of Kristina Kalemdzhieva

Teaching assistant · Labs

Kristina Kalemdzhieva

I recently interned at Amazon Web Services (Berlin), and lately I can't stop thinking about multi-agent systems and NLP: how far you can push a handful of cooperating models before things get interesting.

Outside of that, one of my favorite things is working with students: I'm a teaching assistant at Sofia University, and watching a concept finally click is hard to beat.

Course topics

Fifteen labs in three parts: search, machine learning and language models.

LabAt a glanceWhat it is about
Part 1 · Search and reasoning
01Uninformed Search 123 State spaces and blind search: BFS, DFS, uniform-cost and iterative deepening.
02Informed Search Heuristics guide the search: greedy best-first, A* and its variants.
03Constraint Satisfaction Variables, domains and constraints: backtracking, AC-3 and min-conflicts.
04Genetic Algorithms Evolution as search: selection, crossover, mutation and a population of candidates.
05Games 3529 Adversarial search: game trees, minimax and alpha-beta pruning.
Part 2 · Machine learning
06Introduction to ML Learning from data: regression vs classification, training vs test, bias and variance.
6.5Linear & Logistic Regression Fitting a line with gradient descent, then turning it into probabilities with the sigmoid.
07K-Nearest Neighbours Classify a point by a vote of its closest neighbours: distances, scaling and choosing K.
08Naive Bayes Classifier Bayes' theorem with an independence assumption: spam filtering and Laplace smoothing.
09Decision Trees x < 3? y < 1? Split the data with yes/no questions: entropy, information gain, ID3 and pruning.
10K-Means and Clustering Finding groups without labels: K-means, K-means++, silhouette and hierarchical clustering.
11Neural Networks From one neuron to multilayer networks: activations, gradient descent and back-propagation.
Part 3 · Language models
12Transformers and Generative Models How LLMs work: tokens and embeddings, self-attention, and generating text one token at a time.
13Post-training and Alignment AB > From a pretrained model to an assistant: fine-tuning, reward models, RLHF and DPO.
14Evaluation, Metrics and Data Analysis TPFPFNTN Measuring what matters: precision and recall, text metrics, LLM judges, and reading plots critically.
SemEval-2027

Recommended projects: take part in SemEval-2027

SemEval is the yearly international workshop on semantic evaluation: organisers publish a task with data and a metric, teams build systems, and all systems are scored on the same hidden test set.

  • A ready-made problem: the data, the evaluation and the leaderboard come from the organisers, so you spend your time on the system and its analysis.
  • Compete with the world: your results are compared with teams from universities and companies everywhere.
  • Publish a paper: teams can write a system description paper; SemEval papers appear in the ACL Anthology. Example: Elitsa's SemEval-2026 Task 13 paper with Violeta Kastreva.
  • Course project: we recommend a SemEval-2027 task as your project, in teams of at most 2.

The 11 tasks

Task 9: Analysis of Multimodal Framing in the News

We are among the organisers of Task 9: Dr. Dimitar Dimitrov, Elitsa Yotkova and Prof. Ivan Koychev, together with Giovanni Da San Martino, Preslav Nakov, Jakub Piskorski and colleagues from Padova, MBZUAI, Helsinki, Porto, Beira Interior and ETH Zurich. It builds on the SemEval-2023 task on persuasion techniques, framing and news genre.

Framing is choosing which aspects of an issue to make salient, so that a reader takes away a particular meaning. Images can reinforce, complement or contradict the framing of the text.

Top AI conferences

The top AI conferences

In AI, the main results are published first at conferences, not in journals. Two groups matter most for this course.

Machine learning

ICLRInternational Conference on Learning Representations. Since 2013, focused on deep learning; reviews are public on OpenReview.
ICMLInternational Conference on Machine Learning. Held since 1980, in the summer.
NeurIPSConference on Neural Information Processing Systems. Held since 1987, in December; the largest ML conference.

Natural language processing · ACL*

ACLAnnual Meeting of the Association for Computational Linguistics: the flagship NLP conference.
EMNLPConference on Empirical Methods in Natural Language Processing. Held since 1996.
NAACLConference of the North American Chapter of the ACL.
  • ACL*: short for the conferences of the Association for Computational Linguistics (ACL, EMNLP, NAACL, and also EACL and AACL). All their papers are free in the ACL Anthology.
  • Findings: papers that are accepted but not selected for the main conference appear in Findings of ACL / EMNLP / NAACL, a companion volume.
  • Workshops: SemEval is a workshop co-located with an ACL* conference, which is why SemEval papers are in the ACL Anthology too.
  • Other AI venues: AAAI and IJCAI are the long-running general AI conferences; computer vision has CVPR, ICCV and ECCV.

How the labs work

  1. Class notes: every lab has a page with the definitions, worked examples and “Try it” widgets you can play with.
  2. Quizzes: a lab is followed by an auto-graded quiz with an explanation for every answer. Answers stay in your browser; nothing is collected.
  3. Menu: the left menu (☰ on phones) lists every lab; switch between Class notes and Quizzes at its top.
  4. Notebooks: the Jupyter notebooks for the labs are in the course repository.
Test yourselfLab 00 quiz: modern AI concepts

36 auto-graded questions, 100 points, no maths: check your AI vocabulary before the course. Abbreviations, embeddings, pretraining vs. post-training, prompting, RAG, tools and agents, hallucinations, MoE, quantization and distillation.

Start the quiz →