Research

Epoxy: Using Semi-Supervised Learning to Augment Weak Supervision

December 16, 2021
4 min read

Machine Learning Whiteboard (MLW) Open-source Series

We launched the machine learning whiteboard series (MLW) was launched earlier this year as an open-invitation forum to brainstorm ideas and discuss the latest papers, techniques, and workflows in artificial intelligence. Everyone interested in learning about machine learning can participate in an informal and open environment. If you are interested in learning about ML, we encourage you to join us on our next ML whiteboard. In this episode, Humza Iqbal, a machine learning research engineer with our research team, talks about “Train and You’ll Miss It: Interactive Model Iteration with Weak Supervision and Pre-Trained Embeddings,” by Mayee F. Chen, Daniel Y. Fu, Frederic Sala, Sen Wu, Ravi Teja Mullapudi, Fait Poms, Kayvon Fatahalian, and Christopher Ré. The reproducible code for Epoxy can be found on Github.This episode is part of the #MLwhiteboard video series hosted by Snorkel AI. Check out the episode here:


With Epoxy, you can train models at programmatically-interactive speeds (less than 1/2 second) while retaining the performance of training deep networks. This Github repository contains a simple Epoxy proof-of-concept implementation (Showing an implementation at approximately 100 lines long, including documentation).Using weak supervision, users can write noisy labeling functions to generate labels for their data. These labeling functions are historically high in accuracy but low in coverage (each voting on a subset of points). Until recently, the only way to fill the gap was to write more labeling functions (which can be challenging as you start dealing with the long tail) or use the labeling functions to train an end model (see, for example, FlyingSquid for more information).By using Epoxy pre-trained embeddings, we obtain some of the benefits of training an end model without actually training one. By using the embeddings and nearest-neighbor search (which improves coverage), we make extended labeling functions and aggregate the functions with FlyingSquid. With this, you gain some of the benefits of deep learning at a fraction of the cost. You can also use Epoxy to generate labels to train a downstream model if you have time to train a deep network.

Abstract: 

Our goal is to enable machine learning systems to be trained interactively. This requires models that perform well and train quickly, without large amounts of hand-labeled data. We take a step forward in this direction by borrowing from weak supervision (WS), wherein models can be trained with noisy sources of signal instead of hand-labeled data. But WS relies on training downstream deep networks to extrapolate to unseen data points, which can take hours or days. Pre-trained embeddings can remove this requirement. We do not use the embeddings as features as in transfer learning (TL), which requires fine-tuning for high performance, but instead, use them to define a distance function on the data and extend WS source votes to nearby points. Theoretically, we provide a series of results studying how performance scales with changes in source coverage, source accuracy, and the Lipschitzness of label distributions in the embedding space and compare this rate to standard WS without extension and TL without fine-tuning. On six benchmark NLP and video tasks, our method outperforms WS without extension by 4.1 points, TL without fine-tuning by 12.8 points, and traditionally-supervised deep networks by 13.1 points, and comes within 0.7 points of state-of-the-art weakly-supervised deep networks-all while training in less than half a second.Where to connect with Humza: Linkedin.If you are interested in learning with us, consider joining us at our biweekly ML whiteboard.Stay in touch with Snorkel AI, follow us on Twitter, LinkedIn, Facebook, Youtube, or Instagram, and if you’re interested in joining the Snorkel team, we’re hiring! Please apply on our careers page.

Share this article

Recommended articles

View all articles
Image
Grok 4.5 Testing Results: How SpaceXAI’s New Model Performs on Real Professional Work
We’ve evaluated Grok 4.5 on Snorkel’s GDPval+ dataset, Snorkel’s expert-created dataset of professional workplace reasoning tasks from across the economy. To compare performance against other frontier models, we ran the evaluation alongside GPT 5.5 and Claude Opus 4.8. Overall, Grok 4.5 demonstrated the strongest overall performance. Dataset GDPval+ is part of the Snorkel Data Series (SDS), Snorkel’s portfolio of expert-curated
July 8, 2026
Jacob Fleisig
agents-last-exam-thumbnail
Agents’ Last Exam: AI Benchmarking for Real Work
At our latest Snorkel AI Reading Group, Yiyou Sun and David (Xinyang) Han (UC Berkeley, Center for Responsible and Decentralized Intelligence) presented Agents’ Last Exam (ALE) — a benchmark designed to evaluate AI agents on long-horizon, economically valuable, real-world tasks with verifiable outcomes. ALE is a collaboration between Berkeley RDI, Snorkel AI, and 300+ expert contributors across 55 professional subfields. ALE asks a deceptively simple question: can
June 30, 2026
Snorkel Team
continual-learning-bench-featured-image
Continual learning and evaluating how AI agents learn across sequences of tasks
Most agent benchmarks evaluate each task as an independent episode. The agent receives a task, produces an answer, gets scored, and moves on. The next task starts as if the previous one never happened. That setup misses a core requirement for deployed agents. A coding agent, research assistant, data analyst, or workplace assistant should improve as it works across repeated
June 29, 2026
Chris Glaze
Image

Join our newsletter

For expert advice, the latest research, and exclusive events.
By submitting this form, I acknowledge I will receive email updates from Snorkel AI, and I agree to the Terms of Use and acknowledge that my information will be used in accordance with the Privacy Policy.