Skip to content

TakeshiKevinMusgrave

I work on AI agents at Fujitsu Research.

Selected work

Portrait of Kevin Musgrave

Experience

  1. Fujitsu logo

    Fujitsu Research

    Research Engineer

    Fujitsu Research · Jul 2025 – Present

    Working on AI agents.

  2. Hewlett Packard Enterprise logo

    Hewlett Packard Enterprise

    Machine Learning Developer Advocate

    Hewlett Packard Enterprise · Jul 2023 – Nov 2024

    Analyzed and evaluated state-of-the-art machine learning research papers. Created engaging videos and informative blog posts to simplify the latest advances in AI for developers and executives. Represented HPE at leading machine learning conferences, demonstrated HPE products, generated sales leads, and increased awareness of HPE’s AI software offerings. Co-developed an interactive AI hologram simulation of HPE CEO Antonio Neri, which was showcased prominently at the 2024 HPE Discover event in Las Vegas.

  3. Facebook logo

    Facebook

    Intern: Machine-learning researcher

    Facebook · Sep 2018 – Oct 2019

    Compared metric-learning loss functions on a level playing field and discovered that the performance difference between old and new methods is smaller than prior research indicated. Proposed significant improvements to the evaluation protocol.

  4. Intel logo

    Intel

    Graduate intern: Reinforcement learning

    Intel · Jun 2018 – Aug 2018

    Developed a behavioral-planning system for a self-driving car simulator, using reinforcement-learning algorithms.

    Intern: Computer vision

    Intel · Jun 2017 – Aug 2017

    Analyzed state-of-the-art deep-learning algorithms relevant to the autonomous-driving domain. Summarized the key performance metrics and trade-offs between various algorithms.

Education

  1. Cornell University seal

    PhD, Computer Science (Machine Learning)

    Cornell University · 2023

    Advised by Serge Belongie. I spent most of my PhD at Cornell Tech in New York City.

  2. McGill University logo

    BEng, Electrical Engineering, minor in Computer Science

    McGill University · 2016

Open source

Projects co-created with Jeff Musgrave

  • Code Polishy keeps AI coding agents from making a mess of your codebase. It gives every repository a shared definition of done, enforced by deterministic checks that catch failing tests and builds, tangled module boundaries, overly complex functions, and unpinned dependencies or ones with known vulnerabilities. It covers Go, TypeScript, Python and shell scripts, and this site’s repository uses it too.

  • Setta is a six-year experiment in how people work with code, data and AI. It began in 2020 by automatically generating UIs for Python functions and classes, then grew into a live canvas for running experiments, and eventually a shared workspace for files, tools and AI agents. Today it’s a React library for building workspaces out of movable sections, panes, typed controls and commands. The full story, with demos, is at setta.dev.

Libraries I built

  • PyTorch Metric Learning helps you train models for applications like image and text retrieval, clustering and recognition. It offers a unified interface for losses, miners and distance metrics, plus tools for evaluation and distributed training.

  • PyTorch Adapt is a library for domain adaptation, the task of getting a model trained on one kind of data, like synthetic images, to work well on another, like real photos. It lets you build a full training and validation pipeline in a few lines of code, and its modular hooks let you combine algorithms without rewriting the training loop.

  • Powerful Benchmarker runs large-scale machine-learning experiments, from configuration and hyperparameter searches to Slurm job submission, logging and analysis. It’s the code behind both research papers below.

Research papers

1,110 citations · All publications on Google Scholar →

  • A Metric Learning Reality Check

    ECCV 2020

    Metric-learning papers from 2016 to 2020 reported dramatic improvements over older methods, often more than doubling their accuracy. We investigated whether those gains held up under consistent training and evaluation conditions. Many did not. Older methods performed similarly to newer ones, revealing that flawed experimental setups had exaggerated the field’s progress.

  • Three New Validators and a Large-Scale Benchmark Ranking for Unsupervised Domain Adaptation

    How do you choose the best model for a new domain when you have no labeled examples from that domain? Normally you measure accuracy on labeled validation data, but here you can’t, so you need a validator that estimates accuracy without labels. Most unsupervised domain-adaptation papers at the time used target-domain labels to select models, even though the task assumes those labels are unavailable. We compared eight validators, including three new ones, across one million model checkpoints. Two of our validators achieved state-of-the-art results in several settings. Surprisingly, in many cases a simple baseline beat them all.

Videos

About AI

Will AI models solve IQ tests?

More on my AI channel →

Music

Me playing Chopin’s Prelude Op. 28 No. 18 in F minor.
Wandering Jasmine, one of my own pieces.

More on my music channel →

Contact

Questions about my open-source libraries or research, ideas for a collaboration, or anything else? Send me a note and I’ll get back to you.