Hi, I am Junhao.

About

I am a 4th year student in the double bachelor's degree program of Mathematics and Computer Science at CFIS-UPC. I have been passionate about programming since I was 13 – I wanted to create educational videogames, though I don't often play videogames. For that purpose, I started learning programming, I picked up the piano, I taught myself basic Blender 3D modeling, and I ended up in love with both the programming and the music. However regarding the 3D modeling, I'm just not that talented in art.

Currently my main focus is on AI safety and interpretability, as well as training dynamics. Being someone who loves determinism, what draws me to AI is, contrastingly, its nature of unpredictability. With LLMs especially, I find it exciting being able to control its behavior by manipulating its training data, its input prompts, editing its weights, detecting its learning patterns, and seeing the results empirically.

In 2025, I tried building from scratch a simple MNIST handwritten digit recognizer, purely using Numpy. It was already fascinating seeing the loss drops as more training data are fed in. Moreover, I felt lucky being able to explore it on my own machine, while for pre-training research, one needs huge compute. Earlier in 2026, I have run Gemma 4 on my own GPU, and seeing its reasoning process and how it reacts to tool-calls when I provide Python-programmed tools, also fascinates me a lot. It's like a little toy I can shape to however I want. It's a play-doh.

Long-term, I would like to build something of my own. For now, I'm learning as much as I can, step by step, on small projects and experiments. I'm looking for research internships for summer 2027, at labs or companies working on interpretability, safety or training dynamics. If you're working on something related, or just want to talk about AI, music or math, feel free to reach out at my email or at my LinkedIn.

Languages: English · Spanish · Catalan · Chinese

Research interests

Learning dynamics and adaptation of neural networks (training, fine-tuning and post-training of LLMs).

Mechanistic interpretability and safety of LLM-based systems.

Hardware-aware and efficient LLM inference; multi-agent systems.

Education

Double-degree in Mathematics and Computer Science · CFIS-UPC

2023 - 2028

Centre de Formació Interdisciplinària Superior, Universitat Politècnica de Catalunya

Experience

Software Intern · Semidynamics

July 2026 – Sept 2026

Adapting FlashAttention to Group Query Attention on RISC-V. Speedup against previous implementation of over 3x in Prefill for large sequence lengths.


Software Intern · Semidynamics

June 2026 – Aug 2026

Vectorized Multidimensional Pad operator on RISC-V. Reduced execution time by 30% via cacheline optimization.

NVIDIA Tensor Core research. Measured Tensor Core precision and rounding modes.

Fast-Fourier Transform operator implementation. Delivered a correct Radix-2 2D complex FFT algorithm, adopted as the baseline for further optimization.

My Blog

Visit blog

Contact & CV

The best way to reach me is by email and by LinkedIn.

Download laboral CV (PDF)

Here only laboral CV is provided. Academic CV contains reference data. Please contact me for academic CV.