Marko Milenković

Undergraduate, Computing and Control Engineering
Faculty of Technical Sciences, University of Novi Sad

I am a final-year undergraduate at the University of Novi Sad, where I am ranked 2nd of 188 in my cohort (GPA 9.96/10). I graduate in June 2027.

I am interested in when neural networks learn an algorithm rather than a shortcut. Most of my recent work is on graph neural networks and neural algorithmic reasoning, in particular on getting a model trained on small graphs to keep working on graphs a hundred times larger. I also like the systems side of ML: this summer I was a visiting researcher at Rice University, where I co-developed Eunoia, a scheduler that lets a 5G base station and an LLM share a single GPU.

I started doing research as a high-school student at Petnica Science Center, and have taught there as a junior teaching assistant since 2023. There is more about how I got here, and what I want to work on next, on my about page.

Graph neural networksNeural algorithmic reasoningGenerative modelsEfficient LLM systems

Portrait of Marko Milenković

News

  • Eunoia is on arXiv and under review at ACM HotMobile 2027.
  • Started a visiting research stay at Rice University (Jul–Oct) in Prof. Rahman Doost-Mohammady's group, mentored by Zongshen Wu, working on AI-RAN systems.
  • My poster on grokking BFS won the Best Poster Award at the Eastern European Machine Learning Summer School (EEML 2026) in Cetinje.
  • 4th place at the European final of the EESTech Challenge in Trieste, after winning the national round.

Research

Grokking Breadth-First Search: Generalizing from 16 to 1600 Nodes with Pointer Graph Networks

Marko Milenković

Extended abstract and poster, EEML 2026  Best Poster Award

Trained only on graphs with at most 16 nodes, a standard Pointer Graph Network executes BFS exactly on ≥ 99.5% of 1,600-node Erdős–Rényi and Delaunay graphs, where the SALSA-CLRS baseline solves ≤ 0.2%. The fix is in the optimisation recipe, not the architecture. Full paper in preparation.

pdf code
bibtex
@misc{milenkovic2026grokking,
  title  = {Grokking Breadth-First Search: Generalizing from
            16 to 1600 Nodes with Pointer Graph Networks},
  author = {Milenkovi{\'c}, Marko},
  year   = {2026},
  note   = {Extended abstract, Eastern European Machine
            Learning Summer School (EEML 2026)},
  url    = {https://markomilenkovic.rs/papers/extended-abstract-eeml2026.pdf}
}
Eunoia system architecture: a RAN monitor, SM predictor and SM allocator partitioning GPU streaming multiprocessors between the 5G stack and an AI application.

Eunoia: Toward Application-Transparent, Scalable GPU Sharing in AI-RAN

Zongshen Wu, Marko Milenković, Jiarong Xing, Rahman Doost-Mohammady

Under review at ACM HotMobile 2027 · arXiv:2610.15404

A real-time scheduler that lets a 5G base station and an LLM share one NVIDIA GH200 with no changes to either. At 27 cells it doubles LLM throughput over a RAN-safe static split while meeting 99.7% of uplink deadlines. My work spanned machine learning and systems, centred on its GPU-demand predictor: the monitoring that collected training labels, building the dataset, designing the quantile-regression MLP ensemble that forecasts each 0.5 ms slot in under 25 µs, integrating it into the scheduler, and testing the deployment on a live 5G cell.

arXiv pdf
bibtex
@misc{wu2026eunoia,
  title         = {Eunoia: Toward Application-Transparent, Scalable
                   GPU Sharing in AI-RAN},
  author        = {Wu, Zongshen and Milenkovi{\'c}, Marko and
                   Xing, Jiarong and Doost-Mohammady, Rahman},
  year          = {2026},
  eprint        = {2610.15404},
  archivePrefix = {arXiv},
  primaryClass  = {eess.SP}
}

Earlier work, from Petnica Science Center (in Serbian)

Objects generated by Shap-E from text prompts (a donut, a penguin, a lego tree, Minecraft Steve, a hypercube) above their voxelised Minecraft counterparts.

Generating Structures in the Video Game “Minecraft” Using the Shap-E Model

Marko Milenković

IEEESTEC 16th & “Step Into Science” XXII, 2023  IEEESTEC Audience Award, 2nd  SR

Text prompt to 3D object with OpenAI's Shap-E, then voxelised and colour-matched to Minecraft blocks in CIE Lab space, so that a prompt becomes a building in the game.

pdf code proceedings doi abstract
bibtex
@inproceedings{milenkovic2023minecraft,
  title     = {Generisanje gra{\dj}evina u ra{\v{c}}unarskoj igri
               ``Minecraft'' kori{\v{s}}{\'c}enjem Shap-e modela},
  author    = {Milenkovi{\'c}, Marko},
  booktitle = {Proceedings of the 16th International Students
               Projects Conference IEEESTEC},
  publisher = {Faculty of Electronic Engineering, University of Ni{\v{s}}},
  pages     = {173--176},
  year      = {2023},
  isbn      = {978-86-6125-273-0},
  doi       = {10.5281/zenodo.24536731},
  note      = {In Serbian}
}
Artisan SP Guardian SJ Idealist NF Rational NT

Random Forest vs. Hybrid CNN–LSTM Networks for Classifying Text into Keirsey Temperaments

Marko Milenković

IEEESTEC 15th & “Step Into Science” XXI, 2022  SR

My first research project, done in high school: predicting personality type from people's forum posts. The hybrid network beat the random forest, and pretrained spaCy embeddings transferred poorly to slang-heavy internet text.

pdf code proceedings doi abstract
bibtex
@inproceedings{milenkovic2022keirsey,
  title     = {Pore{\dj}enje ta{\v{c}}nosti modela random forest i hibridne
               neuronske mre{\v{z}}e na klasifikaciju teksta u tipove
               li{\v{c}}nosti po Keirsey modelu},
  author    = {Milenkovi{\'c}, Marko},
  booktitle = {Proceedings of the 15th International Students
               Projects Conference IEEESTEC},
  publisher = {Faculty of Electronic Engineering, University of Ni{\v{s}}},
  pages     = {159--162},
  year      = {2022},
  isbn      = {978-86-6125-257-0},
  doi       = {10.5281/zenodo.24536729},
  note      = {In Serbian}
}

Projects

Decision boundary learned by a small neural network on the two-moons dataset.

Machine Learning from First Principles

Ongoing

retrograd, a reverse-mode autodiff engine with a small neural-network library on top, and NumPy-only implementations of MLPs, CNNs, RNNs and diffusion models. Writing the backward pass yourself is the fastest way to understand it, so these are what my Petnica workshops are built on.

Watching a Network Learn

Teaching material

Animations of how a small MLP bends its input space: decision boundaries forming during training, and the hidden layer pulling tangled classes apart until a hyperplane can separate them.

Also on GitHub: Rainbow Tron, a game in Z80 assembly for the ZX Spectrum 48K, and the robot gripper from the EESTech Challenge final.

Teaching & Mentoring

Junior Teaching Assistant, Computer Science SeminarSep 2023 – present

Petnica Science Center, Valjevo

Petnica is an independent centre for extracurricular science education, where Serbian high-school students study advanced topics beyond the school curriculum and carry out their first research projects. I did mine there, and now help run the computer science seminar.

  • Taught about 150 high-school students in 10+ lectures and workshops on AI, language models and computer science.
  • Mentored 8 student research projects from proposal to poster; two were accepted to the “Step Into Science” conference.
  • Co-organise the seminar, planning its activities and logistics.

Selected lectures and workshops (in Serbian)

  • Neural networks from scratch, a five-hour workshop in Go: one scalar neuron, then an MNIST classifier with matrices, then a small autodiff engine. code
  • MLP from scratch, Jupyter notebooks in NumPy, with exercises and solutions. notebooks
  • Graph embeddings: from hand-crafted graph features through DeepWalk and node2vec to message-passing GNNs (GCN, GraphSAGE, GAT). slides
  • A history of language models: from ELIZA and n-grams through word2vec, RNNs and LSTMs to attention, transformers and GPT. slides
  • Using AI chatbots for research: how to use them critically, alongside Google, Wikipedia and Google Scholar, and how they can be misused or exploited. slides
  • Pathfinding on maps: from a greedy algorithm to methods that always find the shortest path, and how to make them fast. slides
  • Introduction to artificial intelligence, for the younger group. slides

Service

  • Organising-team volunteer, EEML 2024, Novi Sad.

Honours & Awards

  • Best Poster Award, Eastern European Machine Learning Summer School (EEML 2026)

  • CSSAP fellowship for a three-month research visit to Rice University

  • EESTech Challenge: 1st place in the national round, 4th of 14 teams in the European final (Trieste)

  • European Rover Challenge (remote): 7th of 22 teams, as software lead of a 10-person team

  • 2nd-place Audience Award, 16th IEEESTEC Student Projects Conference, Niš