trefoil

michael zhang

computer science @ waterloo

I study computer science at the University of Waterloo. I’m interested in how machine learning models learn, remember, and represent information.

My work focuses on continual learning, interpretability, and efficient machine learning. Previously, I was a software developer intern at RBC.

Outside the lab, I build games in Roblox Studio and tools I want to play with.

research

  • A Bag of Concepts?

    “The doctor treated the lawyer” and “the lawyer treated the doctor” contain the same concepts. Can we read who did what to whom from a language model’s workspace?

    Co-first author, NeurIPS 2026 Interpretability as a Science Workshop. Code ↗
  • When Less is More

    How does 8-bit quantization change what a language model retains as it learns language, math, and coding tasks in sequence?

    First author, NeurIPS 2025 CCFM Workshop. Code ↗

experience

  • Royal Bank of Canada software developer intern

    Built a Java and Oracle service that processed 500,000+ stale records a week for the investments team.

  • Independent Roblox game studiofounder & developer

    Founded a studio and shipped four or more Luau games. My Roblox games have reached one million visits in total.

  • Algoverse machine learning researcher

    Studied continual learning and role binding in language models and built the evaluation pipelines behind the two papers above.

  • Rally

    A game of table tennis across two laptops. Each webcam turns one player’s hand into a racket.

    1st place at the General Catalyst hackathon
    build notes

    MediaPipe tracks the hands locally. A shared physics server keeps the ball, score, and both players in sync.

  • Iris

    Describe a page out loud and a crew of cursors builds it in Figma, one editable layer at a time.

    Winner at the YC × ElevenLabs hackathon
    build notes

    The voice agent takes the brief. The Figma plugin lays out frames, type, and artwork from a library of design templates.

  • Daedalus

    Sculpt a 3D model with your hands in front of a webcam.

    Best Non-GenAI Hack at JamHacks 10
    build notes

    In a team of four, I built the gesture prototype and mesh-boolean tools that let you cut and combine shapes in the browser.

  • J-space visualizer

    Pick a token and move through the model’s layers to see which concepts become readable and when.

    build notes

    A layer-by-token view built with PyTorch and batched vector–Jacobian products. Source code ↗

  • Multi-agent RAG

    Break a question into smaller searches and trace the answer back to evidence across 72,000 passages.

    build notes

    The evaluation compares 32 Qwen3 configurations across model sizes and quantization levels.

all repositories →

  • 0 posts

    the first one is being written.