Back to search

McGill University

A framework for learning by demonstration to teach your robot using K nearest neighbours and visual stimuli

Abstract

dc:description.abstract

As robot technology becomes increasingly prevalent in our society, it is important to develop strategies to facilitate the quick prototyping of new robot behaviours. This is especially important for when companion robots will live alongside human users. Given that it is infeasable for programmers to account for all possible robot behaviours, the task of instilling robots with new behaviours should be easily accessible to non-programmers. Meanwhile, the domain of machine learning has been growing and allows computers and robots to learn from data. One popular way for agents to learn policies is via reinforcement learning, but this way of learning typically requires an enormous amount of data. An alternative to reduce the amount of exploration done by a robot is by using learning by demonstration where computer agents learn policies based on demonstrations given by human experts. So far, these approaches have worked for robots living in simple worlds where the sensory inputs are simple and the action space is limited to a few possible actions. This work proposes robust methods for allowing a robotic wheelchair to learn new navigational behaviours from demonstrations by users with no programming experience. In this case, a front-facing mounted RGB camera provides the sensory inputs while the possible actions are in a continuous space of vectors that describe velocity commands. We will focus on short navigational tasks that are done daily by users and that may benefit from being automated, such as moving into elevators, parking at a table or going into the lobby of a building. The proposed framework starts with acquiring data from a user who teleoperates the wheelchair. During teaching, the wheelchair observes the world using its front-facing camera and the commands issued by the user. This forms a supervised learning dataset from which the robot can learn to derive a policy mapping raw images to velocity commands. The mapping is learned via the K Nearest Neighbours algorithm, which works by finding inputs similar to the query in its dataset and predicting the output to be a combination of the outputs of the most similar inputs. To describe the images, we consider two methods: (1) Speeded-Up Robust Feautres (SURF), which use keypoints of interest detector and descriptor, or (2) an image description coming from the Overfeat deep convolutional neural network which has been trained on an immense dataset of natural images. The similarity of two images described by SURF can be measured by matching keypoints across images, while the similarity between two images described by Overfeat can be measured by the Euclidean distance between their two Overfeat descriptions.The results show that based on a combination of visual-servoing and learning by demonstration, our approach allows robots to learn basic navigation behaviours that are acquired after just a few demonstrations. SURF features are mostly useful when tasks involve simple repetition with little generalization. On the other hand, the features given by Overfeat allow for generalization and policies that are robust to changes in initial and goal conditions.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2017

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Do-Omri, Alan
Advisor dc:contributor.advisor
  • Pineau, Joelle (Internal/Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1013747459
Dc Identifier Other
hyrax:z890rx04x

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Do-Omri, Alan. A framework for learning by demonstration to teach your robot using K nearest neighbours and visual stimuli. McGill University, 2017. https://doi.org/10.82308/39895