Marcelle

Marcelle is an open-source framework designed to make it easy to build custom, interactive interfaces for Machine Learning (ML) pipelines. With Marcelle, developers, researchers and designers can rapidly prototype and deploy ML workflows that can be integrated into any web application.

The framework is designed and developed by Jules Françoise et Baptiste Caramiaux, with the contributions by (in alphabetical order): Etienne Blavo, Mihai Branga Peicu, Léo Chédin, Behnoosh Mohammadzadeh, Téo Sanchez.

Quick description

Originally created as a tool for teaching Interactive Machine Learning (IML) and Human–AI Interaction (HAI), Marcelle has evolved into a core framework supporting our research at the intersection of Human–Computer Interaction (HCI) and Artificial Intelligence (AI). Marcelle is built around components embedding computation and interaction that can be composed to form reactive machine learning pipelines and custom user interfaces. Reactivity is ensured through the notion of streams, enabling connections between components

As pedagogical example, using Marcelle, one can easily build an interactive web interface for developing a teachable sketch recognition system that learns directly from users’ inputs (demonstration below). Such interfaces allow users to collect data, train models in real time, visualize results, and experiment with AI behaviors within the browser. Here is the pipeline describing this example:

Marcelle also allows to connect easily with external computation backends. It can interface with Python-based scripts (that use PyTorch, Tensorflow or Scikitlearn) through Ray or FeathersJS backend. This enables an integration with existing data processing pipelines, training scripts, or real-time inference services. In this case Marcelle can be used to design interactions and interfaces with these services.

The framework was originally published at UIST in 2021: (Françoise et al., 2021)

Examples of projects using Marcelle

A Toy example with Teaching an Image Classifier

 

References

2024

  1. mohammadzadeh_studying_2024-01.jpg
    Studying Collaborative Interactive Machine Teaching in Image Classification
    Behnoosh Mohammadzadeh, Jules Françoise, Michèle Gouiffès, and 1 more author
    In Proceedings of the 29th International Conference on Intelligent User Interfaces, Apr 2024

2022

  1. sanchez_deep_2022-01.jpg
    Deep Learning Uncertainty in Machine Teaching
    Téo Sanchez, Baptiste Caramiaux, Pierre Thiel, and 1 more author
    In Proceedings of the 27th International Conference on Intelligent User Interfaces, Mar 2022

2021

  1. francoise_marcelle_2021-01.jpg
    Marcelle: Composing Interactive Machine Learning Workflows and Interfaces
    Jules Françoise, Baptiste Caramiaux, and Téo Sanchez
    In The 34th Annual ACM Symposium on User Interface Software and Technology, Mar 2021
  2. sanchez_how_2021-01.jpg
    How do people train a machine? Strategies and (Mis) Understandings
    Téo Sanchez, Baptiste Caramiaux, Jules Françoise, and 2 more authors
    Proceedings of the ACM on Human-Computer Interaction, Mar 2021
    Publisher: ACM New York, NY, USA