BrainCurve
APPLIED ML · NEUROTECH · 2025

BrainCurve

Turning a video into a second-by-second map of attention, emotion, and memory

Context
Solo product — research engineering to product
Role
ML & Full-stack Engineer
Duration
Working prototype
THE CHALLENGE

THE
PROBLEM

Creators and researchers can measure whether a video performed, but not why — which exact moments hold attention, land emotionally, or are likely to be remembered. Existing analytics are aggregate and after-the-fact; there was no way to see engagement as a continuous signal over the timeline.

THE SOLUTION

OUR
APPROACH

BrainCurve builds on Meta’s TRIBE multimodal brain-encoding model: audio (HuBERT), vision (DINOv2), and text embeddings are fused to predict per-timestep cortical responses, then distilled into attention, emotion, memory, and visual curves for any video. A FastAPI service handles upload, feature extraction, and inference; a Next.js frontend surfaces the engagement timeline, an overall score, and the strongest and weakest moments with explanations.

IMPACT

TRIBE
Model
Meta’s multimodal brain encoder, fine-tuned to the task
3 fused
Modalities
Audio (HuBERT) + vision (DINOv2) + text
4 curves
Output
Attention, emotion, memory, visual — per timestep
End-to-end
Stack
PyTorch inference, FastAPI backend, Next.js frontend

PROCESS

01

RESEARCH

Studied TRIBE and multimodal brain encoding to map the approach to a usable product

02

FEATURE PIPELINE

Built extraction with HuBERT (audio) and DINOv2 (vision) plus text embeddings

03

INFERENCE ENGINE

Ran TRIBE to predict per-timestep responses, with GPU/CPU device fallback

04

DISTILLATION

Turned cortical predictions into attention, emotion, memory, and visual curves

05

PRODUCT

Wrapped it in a FastAPI service and a Next.js dashboard with key-moment explanations

TECHNOLOGIES & SKILLS

PythonTRIBEHuBERTDINOv2FastAPINext.jsPyTorch
Pest Prediction
NEXT PROJECT

Pest Prediction

VIEW PROJECT