Category Archives: Science

I trained a headset fit-detector on 100% synthetic data, zero-shot transferred it straight to inference… and it worked!

How synthetic data let us skip the dataset entirely, and still ship +90% real-world accuracy on-device.

The problem nobody warns you about

Haven is a flickering light therapy headset. For the therapy to mean anything, the device has to sit correctly on the patient’s face — level, centered, over the eyes. So before a session starts, the app looks through the phone’s camera and answers one deceptively simple question: is this being worn correctly, and if not, what’s wrong? Tilted left? Slipped down the nose? Too high? Off to one side? Not on at all?

This is a textbook keypoint-detection problem. The textbook solution is where it gets expensive.

Two expensive doors

To train a model to recognize good vs. bad fit, you normally need examples — lots of them. That meant one of two things:

Door A — collect a real dataset. Recruit a diverse set of people. Get them to wear the device, in different rooms, under different lighting, at every wrong angle we care about. Photograph it. Then label thousands of frames by hand. For a medical device, add consent, privacy handling, and the sheer calendar time of coordinating humans. Weeks of work and real money before a single model trains.

Door B — ask an LLM at runtime. Skip training entirely: send each camera frame to a vision model and let it describe the fit. Tempting, until you count the costs — a recurring per-image bill that never stops, a hard dependency on network connectivity (our app is offline-first), latency far too high for a live camera preview, and — the dealbreaker — streaming a patient’s face to a third-party server. For a HIPAA-bound medical product, that last one ends the conversation.

Neither door was good. So we built a third.

Continue reading I trained a headset fit-detector on 100% synthetic data, zero-shot transferred it straight to inference… and it worked!

I’m using AI to Change the Game for 3D Microscopy Cell Segmentation

Can you guess how big a single microscopic 3D image of a mouse retina is? It’s about 10 Terabytes! That’s roughly equal to thousands of high-definition movies stored in just one image.

During my time at Siegert Lab, I was fascinated but also concerned when I realized scientists were manually segmenting microglial cells from these massive 3D confocal microscopy images. Imagine the effort, time, and potential for errors involved in manually processing data of this scale.

(Placeholder for photo: Scientists manually segmenting cells)

Introducing trAIce3D: A New AI model for cell segmentation

Motivated by this significant challenge, I developed trAIce3D, a cutting-edge deep-learning model designed specifically for the automatic and precise segmentation of microglial cells.

Continue reading I’m using AI to Change the Game for 3D Microscopy Cell Segmentation

Brian Entrainment using Flickering Light

Over the past few years, my work has mainly focused on developing deep learning architectures, signal processing, and software engineering. However, I’ve always stayed connected to neuroscience through both research and hands-on work. I first applied my signal processing skills to EEG data in 2019, studying the effects of 40 Hz flickering light on both healthy individuals and those with Alzheimer’s. More recently, I conducted a study at Syntropic Medical to examine these effects over a longer time scale and at 60 Hz frequency. It was a nice experience, and it was cool to return to EEG recording sessions and signal processing after 4 years. We found that exposure to 60 Hz light induces strong and widespread entrainment in healthy human brain, and different brain regions get synchronized at this frequency. Also, over course of 3 weeks, the power of entrainment and level of synchrony decreases (Most likely due to plasticity), so it’s very likely that 60 Hz flickering light induces plasticity in the brain which is super cool.

You can check out my latest publication on this topic here. Also, you can listen to an AI generated discussion about the paper: