B251: Robot Learning (UROB)

Code: B3B33UROB Level: Undergraduate Semester: Winter 2025/2026 Credits: 6 ECTS

The course covers deep learning methods for well-known robotic problems, such as semantic segmentation and reactive robot motion control. It aims at lasting, general knowledge rather than a catalog of deep learning architectures. Students should already know mathematics (gradient, Jacobian, Hessian, gradient descent, Taylor polynomial) and machine learning (Bayesian risk minimization, linear classifier).

The labs have two parts. In the first, students solve basic deep learning problems from scratch, including reimplementing autograd backpropagation. In the second, they build on existing templates to solve complex problems, including reinforcement learning (RL), transformers, and generative networks.

Learning objectives

  • Understand fundamental deep learning theory and optimization methods
  • Develop autograd-based backpropagation for scalar, vector, and tensor operations
  • Apply convolutional neural networks to robotic vision tasks like semantic segmentation
  • Implement reinforcement learning algorithms and explore transformer-based architectures

My labs

Lab 4: Backpropagation

+

Learn how the backpropagation algorithm works and implement it from scratch.

  • Courseware: Labs page
  • Objective: Implement backpropagation for a small neural network
  • Materials: Lab files | Slides
  • Tasks: Code forward and backward passes, and test with scalar inputs

Lab 5: Convolutional neural networks

+

Explore convolutional neural networks and their applications in robotic vision tasks like semantic segmentation.

  • Courseware: Labs page
  • Objective: Build and train a CNN for image-based tasks
  • Materials: Lab files
  • Tasks: Understand and implement convolutional layers

My homework

HW 2: Autograd (10 pts)

+

Implement a custom autograd library supporting vector and tensor operations, similar to the scalar-based autograd shown in Lab 4.

  • Courseware: HW2 Autograd
  • Repository: GitHub
  • Task: Complete engine.py for forward and backward passes. Use NumPy only (no PyTorch/TensorFlow).
  • Key notes:
    • Implement functions within marked sections (ellipses and comments)
    • Handle broadcasting in __add__ and __mul__ using reshape_gradient
    • __pow__ accepts int or float, not Tensor
  • Getting started:
    1. Clone the repository: git clone https://github.com/urob-ctu/hw2-autograd.git
    2. Install requirements: pip install -r requirements.txt
  • Testing: Run python3 test.py.
  • Submission: Zip the directory with ./submit.sh and upload it to BRUTE, the faculty’s automatic evaluation system. Tutors may re-evaluate any submission.
  • Grading: Up to 10 points; you lose 1 point per 24 hours late, up to 9 points.

Resources

Courseware

Access all course materials and announcements.

Visit Courseware

Main GitHub repository

Explore code samples and lab templates.

Visit repository

Unofficial materials

Contribute to community-driven docs for extra credit.

View docs

Office hours

Schedule a consultation for questions or project help.

Contact me