Skip to content
View diogomsmiranda's full-sized avatar
📺
Learning
📺
Learning
  • Lisbon-Portugal

Highlights

  • Pro

Block or report diogomsmiranda

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
diogomsmiranda/README.md

Diogo Miranda

Master’s student @ Instituto Superior Técnico (Lisbon) • ML / Model Merging • Portugal 🇵🇹


About Me

  • I'm 22 years old
  • Final year Master’s in Computer Science @ Instituto Superior Técnico (Lisbon)
  • Research: Model Merging, specifically On-Policy Distillation solutions on Knowledge Distillation-based fusion
  • Currently passionate with the full model creation pipeline: pre-training → training -> post-training → evaluation → deployment → monitoring
  • Based in Portugal 🇵🇹

Check out my CV


Research Snapshot

Current theme: Moving Model Fusion from Static Imitation to Dynamic Exploration

I am investigating On-Policy Multi-Teacher Distillation, a framework designed to fix the "exposure bias" limitation in current methods like FuseLLM and InfiFusion. Instead of training a student to passively mimic static teacher logits (Off-Policy), I force the student to generate its own rollouts and receive dynamic feedback from an ensemble of experts.

Key Hypotheses:

  • Dynamic vs. Static: Training on student-induced distributions (On-Policy) allows the model to learn error-recovery strategies that static distillation misses.
  • Consensus Stability: Using Generalized Jensen-Shannon Divergence ($JS_\pi$) creates a bounded, symmetric loss landscape, preventing gradient explosions when the student explores "long-tail" trajectories.
  • Expert Allocation: Applying Max-Margin Ensemble Aggregation enables the student to dynamically attend to the most confident domain expert (e.g., Math vs. Code teacher) for every token it generates.

Keywords: multi-teacher distillationon-policy learningjensen-shannon divergencemodel fusionmax-margin aggregation

Currently reading through this repository for Model Merging / Model Fusion literature.


Featured Projects

  • 📍 EVBuddy - EVBuddy is a reproducible ML pipeline for EV charging-station availability forecasting in Barcelona.
  • 🧊 CUBOS — It is open source and free to use game engine for any purpose. Written in modern C++ (20) and with data-oriented design in mind, its goal is to be both performant and highly flexible.
  • 🧪 LEMAC-Website — Website for the laboratory LEMAC (Computer Assisted Mechanical Engineering Laboratory).

Project Highlights (Academic)


Tech Stack

ML / Data

PyTorch NumPy Pandas Dask scikit--learn

.NET / Backend

C%23 .NET ASP.NET FastAPI

Web Dev

HTML5 JavaScript React Vue.js TailwindCSS

Databases

MySQL PostgreSQL

MLOps / DevOps / Tools

Git Docker DVC MLflow

Languages (General)

Python C Java C%2B%2B


Let’s Connect

If you’re into model merging, distillation, or practical ML, I’d love to chat.


Pinned Loading

  1. evbuddy evbuddy Public

    EVBuddy is a reproducible ML pipeline for EV charging-station availability forecasting.

    Python

  2. NL-Project NL-Project Public

    Classify the creator chef (chef_id) of a recipe using its metadata and text fields.

    Python

  3. GameDevTecnico/cubos GameDevTecnico/cubos Public

    A still very barebones game engine focused on voxels and data-oriented programming

    C++ 102 42

  4. pandas pandas Public

    Forked from pandas-dev/pandas

    Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

    Python

  5. DeepLearning_G41_HW DeepLearning_G41_HW Public

    Deep Learning Coursework (HW1 & HW2)

    Python

  6. SO-proj SO-proj Public

    C