Torchlight

Timeline
< 24 hours | October 2025
Role
Design Engineer
Status
Hackathon build
Tags
Tooling, Data Visualization

Torchlight is a web-based data visualization tool that helps students debug machine learning models. Named after both a literal torchlight that illuminates a dark path and PyTorch, the library behind the models it visualizes, Torchlight displays metrics and graphs, and lets you step through your model to watch them change in real time.

The Challenge

Machine learning models are incredibly information-dense. For students, the visuals have to be easy to read, especially when it comes to pinpointing where overfitting or unexpected results begin. We had 24 hours to make that happen, so every feature had to earn its place.

Three Problems, Three Answers

  1. Information density

    Make the model tangible

    A model has a variable number of layers, each with its own weights, biases, kernels, batch sizes, and more.

    Layer Visualizer
    A sandbox that turns architecture into shapes. Squares are layers, circles are numeric factors like weights and biases, and ovals are applied algorithms, all linked by flow arrows, with zoom and pan controls.
    Metric Overview
    The essentials come first: computation time, input shape, and output shape.
  2. Constant change

    Make the visuals evolve too

    Layers feed into each other, and metrics like validation and testing accuracy shift every epoch. Models evolve, so the visuals have to evolve with them.

    Convolutional Layer View
    For image-based models, a carousel shows the current layer between the ones before and after it, so students can watch images transform.
    Animated Data Flow
    Dotted-line animations show data feeding from one layer into the next.
  3. Disconnection

    Link structure to behavior

    For first-timers, the gap between the math and a working model is a barrier, and it’s hard to tell where a variable starts to help or hurt performance.

    Node Debugger
    A scrubber steps through the model while a live bar chart tracks changing weights, biases, and accuracies.
    Hover Statistics
    Hovering over a bar reveals exact values for quick comparisons without clutter.

Key Design Decisions

Mid-fi first, fast
I went straight to Figma for a quick mock dashboard, a kind of digital whiteboard to test layouts, color, typography, and where each piece of information should live. It became the blueprint for both the design and the backend connection.
A dark-mode IDE on purpose
The purple-black-blue palette mimics the code editors students already spend hours in. It keeps the environment familiar and gives bright metric colors strong contrast. Swappable color palettes let users adjust the view, which is key for any scientific visualization.
Version Control panel listing three color-coded model versions
Active Data panel with dataset folders and an upload button
Color Schema panel with three rows of swatches
Layer Visualizer sandbox: a data layer, weight, and bias feeding a matrix multiplication and a ReLU optimization
Metric Dashboard showing computation time, input shape, and output shape
Node Debugger with a layer scrubber and bar chart, above a Convolutional Layer View carousel
The mid-fi Figma board. Hover over a module to see what it does.

From Figma to React

Implementation: scoping for a 24-hour sprint and object-oriented programming

The engineering part of the “design engineer” job meant interpreting our object class data, also known as object-oriented programming (OOP). Our backend engineers transformed PyTorch tensors into Python object classes, making it easy to access and visualize certain variables.

We also adapted our implementation from graph theory: Node class objects held layer information, and Edge class objects held the connections to other layers.

Visualizing these meant connecting class instances (the objects holding data) to React components, something that can actually be rendered on a dashboard. I mapped Node objects to square layers containing text of all their attributes, and had the Edge objects connect each layer visually via dotted-line flow animations (a microinteraction), making the connections clear.

Final Dashboards

The homescreen for the tool: open recent models on the left, zoom in and out and click for details in the sandbox, and take a look at metrics on the right.

The Torchlight home screen: model controls on the left, the architecture sandbox in the middle, and the metric dashboard on the right

01 / 03