Human Stories in AI: Simon Stochholm
Overview
Simon Stochholm traces a nonlinear career from a childhood fascination with ELIZA and computational linguistics to teaching applied deep learning at UCL in Denmark. He describes four applied projects: identifying ferry captains from thrust time series encoded as images, exploring MRI segmentation to help prevent unnecessary leg amputations, tracking pig welfare behaviors with YOLOv8, and investigating satellite-based cloud forecasts for solar power. His central career advice is to take opportunities despite uncertainty, persist through setbacks, and follow the work that interests you.
Key takeaways
- Encoding ferry thrust time series as Gramian Angular Field and Markov Transition Field images let a simple convolutional autoencoder identify captains from operating patterns, using five years of data and a few hours of training on one Google Colab GPU.
- The ferry project showed that deep-learning features can support operational planning, but predicting who sailed a boat did not by itself determine what counted as a good crossing or an optimal schedule.
- Stochholm’s MRI project uses instance segmentation to locate anatomical structures as a possible step toward identifying poor foot blood flow and preventing some leg amputations.
- Overhead pig video can expose welfare-related behaviors such as drinking and eating, but tracking an individual animal remains difficult when it leaves the camera’s field of view.
- Stable Diffusion tools including DreamBooth and ControlNet struggled to generate useful synthetic images of pigs in specific poses, showing that generative models may lack domain-specific visual knowledge.
- Stochholm’s career demonstrates the value of accepting challenging opportunities before feeling fully prepared, then learning through persistence, as he did with speech recognition and his route through five universities.
Chapters
- At about age 10, Simon Stochholm tried ELIZA, a program his psychologist father brought home that imitated a therapist by responding to keywords with questions.
- With no internet available around 1990, he began learning programming by copying complete programs from library books, even though he did not yet understand how they worked.
- A decade later he chose linguistics at university, then became interested in computational linguistics and how computers understand and produce speech.
- After his first computational-linguistics program shut down, Stochholm contacted successive university staff and eventually transferred course credits to another university to complete a master’s degree.
- A business contact offered him six months to build a speech-recognition switchboard; he accepted despite having almost no coding experience and completed it using Dragon speech-recognition libraries adapted for Danish pronunciation.
- After the financial crisis cost him his job, he taught coding to people with Asperger’s syndrome, earned coding certifications, and later joined UCL, where he initially taught computer science.
- At UCL, Stochholm developed an interest in machine learning through DataCamp, Josh Starmer’s StatQuest lessons, and fast.ai.
- He now teaches an introductory applied deep-learning course and has shifted from mainly hands-on work toward studying algorithms and mathematics more deeply.
- While experimenting with U-Net skip connections, he found they did not improve results on one dataset, illustrating that architectural choices need to be tested against the specific task.
- A ferry electrification project needed more consistent harbor recharging time: both 8-minute and 17-minute stays caused problems, so the team targeted roughly 14 minutes.
- Following a fast.ai approach, Stochholm encoded thrust time series as images using Gramian Angular Fields and Markov Transition Fields, then trained a simple convolutional autoencoder to find patterns.
- The model could identify who was sailing from thrust patterns over time; Stochholm used Google Colab and a single GPU, with training taking a few hours on five years of data.
- The work helped create a proposed shift schedule that could be compared with the actual schedule, though the team did not establish what made a crossing objectively good.
- A Danish project is investigating whether poor blood flow in feet can be identified before patients undergo leg amputations.
- The planned approach uses instance segmentation on MRI images to locate muscles and bones, with the hope that anatomical localization can help reveal blood vessels and circulation problems.
- The project was only a few months underway and still needed data; Stochholm planned to prototype locally on a machine with an NVIDIA RTX 3090 before scaling to cloud computing.
- A pig-welfare project records animals from overhead with a camera and labels behaviors such as eating, drinking, standing, and lying down, which may help flag illness such as diarrhea.
- After a student annotated images, Stochholm moved from Facebook’s Detectron2 to YOLOv8 for easier configuration and for detecting and tracking pig behaviors.
- He explored Stable Diffusion to address underrepresented behaviors, but DreamBooth, textual inversion, and ControlNet produced unreliable results, including pigs with extra heads or fins and images that changed only a pig’s eyes.
- Individual pigs became difficult to track once they left the camera’s view, limiting the system’s ability to connect a behavior history to a specific animal.
- Inspired by Thomas Chappelle’s work with Stable Diffusion and cloud movement, Stochholm explored predicting satellite-image sequences for solar-panel operators who need forecasts 20 to 30 minutes ahead.
- His prototype was small-scale; operational satellite images require substantial memory and computing resources, so scaling the work would require much larger infrastructure.
- Stochholm’s advice is to take opportunities even when a task feels intimidating: he accepted the speech-recognition job without prior coding experience and learned what he needed to deliver.
- He also emphasizes persistence, noting that he attended five universities in total while pursuing computational linguistics, and recommends following personal interests with determination.
Transcript excerpt
0:01 hello I'm Josh starmer and welcome to human stories and AI with stack Quest and lightning AI in this series we'll hear about the career journeys of passionate AI experts from their humble beginnings to conquered challenges will be inspired by the realworld experiences of professionals thriving in the ever evolving AI landscape human stories and AI is brought to you by lightning AI code together prototype type train and deploy AI web apps all from your browser with zero setup personally I love lightning AI because it makes it super easy to use and learn from the stat Quest coding tutorials just go to the web page click on the Run button and Bam you get code that you can play with without
0:50 downloading anything or installing any packages today we have special guest Simon Stockholm a lecture at UCL Denmark Mark Simon applies machine learning especially deep learning to images video and time series in a wide variety of settings and by wide variety I really mean it Simon is fearless when it comes to seizing opportunities that come up and somehow turns them all into success stories so without further Ado Simon can you tell us about your journey to where you are right now at UCL how did this all start well Josh um I think I was was about 10 years old uh when my father who was working as a psychologist he came home one day with uh a software called
1:40 Eliza and for those who don't know Eliza Eliza is uh the jet gbt of the 9s oh really yeah so um it was supposed to imitate a psychologist and it was supposed to replace psychologists actually by asking people questions okay so so he come comes over and I try the software and it says what's your name
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, StatQuest with Josh Starmer.