MSc student in Machine Learning at KTH, with a master's thesis at UIUC and a background in computer science.
Projects
-
Surrogate Gradient Flossing
Training stability of spiking neural networks, analyzed with dynamical systems theory
Studies gradient propagation and trainability in spiking neural networks with surrogate Lyapunov exponents (SLEs) and Surrogate Gradient Flossing (SGF), on a delayed classification task designed to require temporal credit assignment.
Key result
The largest SLE is a useful diagnostic of long-term gradient propagation, and SGF can improve delayed classification accuracy. Against an optimized baseline its benefits were limited, and controlling the leading SLEs did not prevent vanishing gradients in deep networks.
- Tech
- Python · PyTorch · HPC
-
Prompt Minimization
Shortening LLM prompts without losing output fidelity
Investigated methods for reducing LLM prompt length while preserving output fidelity. Implemented and evaluated a zero-shot prompt-compression approach using LangChain. Course project for CS 546, Advanced Topics in NLP.
- Tech
- Python · LangChain · LLMs
-
Downsampling for Event-based Hough Transform
Event-camera tracking with about 99% less computation and little loss in accuracy
With Martin Arenbro, supervised by Prof. Jörg Conradt. Co-implemented an event-based circle Hough transform from scratch and measured how three downsampling methods affect it, on event-camera recordings of a chaotic pendulum. Temporal downsampling cut computation time by about 99% with little or no loss in tracking accuracy.
- Tech
- Python · NumPy · pandas · Event cameras
-
Molecular Activity Prediction
Graph neural networks vs. classical features for predicting molecular activity
Compared graph-theoretic features, molecular fingerprints, and graph neural networks for predicting molecular activity across four benchmark datasets. Implemented the GNNs in PyTorch Geometric and compared them with classical machine learning baselines. Course project for ID2211, Data Mining.
- Tech
- Python · PyTorch Geometric · scikit-learn
Publications & presentations
-
Poster · 2026
Analyzing Surrogate Gradient Training Stability in Spiking Neural Networks Using Dynamical Systems Theory
SNUFA 2026
-
Preprint · 2026
Prompt Minimization: Reducing Input Redundancy Without Sacrificing Output Fidelity
arXiv preprint
-
Paper · 2022
MetaAnalyser – A Concept and Toolkit for Enablement of Digital Twin
IFAC-PapersOnLine, 55(2), 199–204
Experience & Education
-
MSc in Machine Learning KTH Royal Institute of Technology
Expected March 2027. Master's thesis at the University of Illinois Urbana-Champaign.
GPA 4.87 / 5.0 (self-calculated using KTH guidelines)
-
Exchange Studies University of Illinois Urbana-Champaign
Graduate coursework, including CS 546, Advanced Topics in NLP.
GPA 3.89 / 4.0
-
Research Engineering Intern Luleå University of Technology
- 2023 EEG-based prediction of golf putting outcomes, with psychology researchers: experiment design, EEG–audio synchronization, and a classification pipeline.
- 2022 Autonomous navigation with the Boston Dynamics Spot robot and aerial drones, using camera and LiDAR data.
- 2021 Machine learning pipeline in Azure relating weather to train delays, contributing to a peer-reviewed paper; image-based damage detection in industrial machinery.
- 2020 Automated pipelines for parsing, categorizing, and routing research data.
-
BSc in Computer Science and Engineering KTH Royal Institute of Technology
Bachelor's thesis on event-based vision, supervised by Prof. Jörg Conradt. Degree requirements completed in 2022; the degree is awarded with the MSc (expected March 2027), as part of KTH's integrated five-year engineering program.
-
Application Developer Intern Predge AB
Optimized parameters of predictive-maintenance models in MATLAB with differential evolution, and visualized railway wheel degradation from real-world measurements.
Courses
36 courses at KTH and UIUC, colored by topic. Bigger text means a graduate-level course.Courses with similar descriptions sit close together, and each is linked to its two most similar courses.
- Algebra and Geometry
- Machine Learning, Advanced Course
- Operating Systems
- Public Speaking
- Philosophy of Science and Research Methodology
- Calculus in One Variable
- Programming
- Neuroscience
- Discrete Mathematics
- Algorithms, Data Structures and Complexity
- Writing in the Engineering Profession
- Dynamical Systems and Neural Networks
- Neural Networks and Deep Architectures
- Probability Theory and Statistics
- Computer Organization and Components
- Foundations of Machine Learning
- Database Technology
- Calculus in Several Variables
- Advanced Topics in NLP
- Artificial Intelligence
- Human-Computer Interaction
- Numerical Methods
- Ethical Hacking
- Sustainable Development
- Programming Paradigms
- Data Mining
- Engineering Entrepreneurship
- Logic for Computer Scientists
- Interaction Programming and the Dynamic Web
- Parallel and Concurrent Programming
- Speech Technology
- Mathematics, Basic Course
- Software Engineering in Project Form
- Organization and Knowledge-Intensive Work
- Algorithms and Data Structures
- Project in Introduction to Computer Science
- Master's thesis
- Prompt Minimization
- Bachelor's thesis
- Molecular Activity Prediction
Kevin Alexander Karim