Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Real-time object tracking using spiking neural networks on neuromorphic hardware
KTH, School of Electrical Engineering and Computer Science (EECS).
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Spårning av objekt i realtid med biologiskt inspirerade neuronnät på neuromorf hårdvara (Swedish)
Abstract [en]

This degree project has developed a set of algorithms and implemented them as a real-time system for tracking a moving object with the gaze of a robot head. As the algorithms are suitable for deployment on low power hardware and could be used in low latency settings, they enable future applications where a small mobile robot tracks fast-moving objects. The robot head is equipped with event cameras, a novel type of vision sensor with lower latency, higher dynamic range and that generates sparser data than conventional cameras. The system first computes the optical flow of the event camera input, where optical flow refers to the apparent motion in an image caused by relative motion between the observer and objects in the scene. This is achieved using a recently proposed spiking neural network (SNN) architecture. An SNN is a computational model inspired by biological neurons, where neurons communicate using ”spikes”. The project designed an SNN that maps the architecture to SpiNNaker, a hardware platform designed to facilitate efficient computation with SNNs, so called neuromorphic hardware. The optical flow is fed to a second SNN, developed from scratch and also running on SpiNNaker, that identifies the region of the image occupied by the moving object in a way that is robust to the robot head’s own movements. The key idea of this SNN is to determine where the local optical flow significantly deviates from the overall optical flow. Finally, the system controls the robot head’s actuators, adjusting its gaze to follow the tracked object. Compared to an earlier reference GPU implementation of the optical flow SNN, this project achieves a speedup of 8.4 to 80 times (depending on choice of GPU hardware), enabling real-time optical flow computation with comparable or fewer computing elements. This speedup is primarily due to the implementation leveraging the SpiNNaker platform’s highly flexible parallel execution capabilities, which allow the system to process synapses only when they transmit spikes. The full closed-loop system demonstrated stable behavior and some capability to track moving visual stimuli. Most importantly, this project highlights the potential efficiency of sparse computation using neuromorphic platforms.

Abstract [sv]

Detta examensarbete har utvecklat algoritmer och implementerat dem som ett realtidssystem för att följa ett rörligt objekt med blicken hos ett robothuvud. Algoritmerna är lämpliga för energieffektiv hårdvara och kan användas med låg fördröjning, vilket möjliggör framtida tillämpningar där en liten mobil robot följer snabbrörliga objekt. Robothuvudet är utrustat med eventkameror, en ny typ av bildsensor med lägre fördröjning, högre dynamiskt omfång och som genererar glesare data än konventionella kameror. Systemet beräknar det optiska flödet i indatan från eventkameran, där optiskt flöde avser den skenbara rörelsen i en video som orsakas av relativ rörelse mellan observatören och föremål i scenen. Detta åstadkoms med en nyligen föreslagen neuronnätsarkitektur av typen Spiking Neural Network (SNN). Ett SNN är en beräkningsmodell inspirerad av biologiska nervceller som kommunicerar med hjälp av nervimpulser (eng. ”spikes”). Examensarbetet har utformat ett SNN som avbildar arkitekturen på SpiNNaker, en hårdvaruplattform utarbetad för effektiva SNN-beräkningar, så kallad neuromorf hårdvara. Det optiska flödet matas till ett annat SNN som också körs på SpiNNaker. Detta nät är specialdesignat inom ramen för examensarbetet och identifierar den region i bilden som upptas av det rörliga objektet på ett sätt som hanterar robothuvudets egna rörelser, genom att avgöra var det lokala optiska flödet väsentligen avviker från det övergripande flödet. Slutligen styr systemet robothuvudets motorer så att dess blick följer objektet. Jämfört med en tidigare GPU-referensimplementation av neuronnätet som beräknar optiskt flöde uppnår examensarbetet en hastighetsökning på 8,4-80 gånger (beroende på val av GPU-hårdvara), vilket möjliggör beräkning av optiskt flöde i realtid med ett jämförbart eller lägre antal beräkningselement. Denna förbättring beror främst på att implementationen utnyttjar SpiNNaker- plattformens mycket flexibla parallelldatorarkitektur, vilket tillåter systemet att endast bearbeta synapser när de överför nervimpulser. Det fullständiga återkopplade systemet uppvisade stabilt beteende och viss förmåga att spåra rörliga föremål. Framför allt belyser examensarbetet effektiviteten hos glesa beräkningar på neuromorf hårdvara.

Place, publisher, year, edition, pages
2024. , p. 99
Series
TRITA-EECS-EX ; 2024:798
Keywords [en]
Spiking neural networks, event-based vision, neuromorphic computing, optical flow, motion segmentation
Keywords [sv]
Spiking neural networks, eventkameror, neuromorf databehandling, optiskt flöde, rörelsesegmentering
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-360237OAI: oai:DiVA.org:kth-360237DiVA, id: diva2:1939109
Supervisors
Examiners
Available from: 2025-02-25 Created: 2025-02-20 Last updated: 2025-02-25Bibliographically approved

Open Access in DiVA

fulltext(10111 kB)85 downloads
File information
File name FULLTEXT02.pdfFile size 10111 kBChecksum SHA-512
474759aeea7d4aca20bc1007a69915c6c742cf4cca35c96dc72ad591e3bbcc54645b063788de4d4419dd58b1e4171de4374bb23f27fa1652edc321111cdb83b5
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 85 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 536 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf