mlsanityData to 14 Oct 2026

Alfred: A System for Prompted Weak Supervision

arXiv 2305.18623 ↗First posted 29 May 2023cs.LG cs.CLcited by 8

Not on the map. Why?

Abstract (arXiv)

Alfred is the first system for programmatic weak supervision (PWS) that creates training data for machine learning by prompting. In contrast to typical PWS systems where weak supervision sources are programs coded by experts, Alfred enables users to encode their subject matter expertise via natural language prompts for language and vision-language models. Alfred provides a simple Python interface for the key steps of this emerging paradigm, with a high-throughput backend for large-scale data labeling. Users can quickly create, evaluate, and refine their prompt-based weak supervision sources; map the results to weak labels; and resolve their disagreements with a label model. Alfred enables a seamless local development experience backed by models served from self-managed computing clusters. It automatically optimizes the execution of prompts with optimized batching mechanisms. We find that this optimization improves query throughput by 2.9x versus a naive approach. We present two example use cases demonstrating Alfred on YouTube comment spam detection and pet breeds classification. Alfred is open source, available at https://github.com/BatsResearch/alfred.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 30 of its 37 references that are in the map. First posted on arXiv 29 May 2023.

Builds on

30 of 37 references.

References · 30

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  6. 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 4,057
  7. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
  8. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  9. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
  10. 2019LayoutLM: Pre-training of Text and Layout for Document Image Understandingcited by 553
  11. 2021Datasets: A Community Library for Natural Language Processingcited by 530
  12. 2022LayoutLMv3: Pre-training for Document AI with Unified Text and Image Maskingcited by 485
18 more
  1. 2020LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understandingcited by 408
  2. 2017Snorkel: Rapid Training Data Creation with Weak Supervisioncited by 372
  3. 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 289
  4. 2016Data Programming: Creating Large Training Sets, Quicklycited by 246
  5. 2022ZeroGen: Efficient Zero-shot Learning via Dataset Generationcited by 211
  6. 2021Generating Datasets with Pretrained Language Modelscited by 193
  7. 2022Ask Me Anything: A simple strategy for prompting language modelscited by 155
  8. 2021OpenPrompt: An Open-source Framework for Prompt-learningcited by 148
  9. 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 106
  10. 2020Fast and Three-rious: Speeding Up Weak Supervision with Triplet Methodscited by 98
  11. 2021WRENCH: A Comprehensive Benchmark for Weak Supervisioncited by 96
  12. 2020Few-Shot Text Generation with Pattern-Exploiting Trainingcited by 87
  13. 2022A Survey on Programmatic Weak Supervisioncited by 66
  14. 2022RelationPrompt: Leveraging Prompts to Generate Synthetic Data for Zero-Shot Relation Triplet Extractioncited by 60
  15. 2022Generating Data to Mitigate Spurious Correlations in Natural Language Inference Datasetscited by 54
  16. 2022Language Models in the Loop: Incorporating Prompting into Weak Supervisioncited by 52
  17. 2022Shoring Up the Foundations: Fusing Model Embeddings and Weak Supervisioncited by 18
  18. 2021Learning from Multiple Noisy Partial Labelerscited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 3; 2025: 2; 2026: 2.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Self-Supervised Prompt Optimization
  2. 2024LLM-based Weak Supervision Framework for Query Intent Classification in Video Search
  3. 2024Reward Modeling with Weak Supervision for Language Models
  4. 2025Dialz: A Python Toolkit for Steering Vectors
  5. 2025Don't Just Demo, Teach Me the Principles: A Principle-Based Multi-Agent Prompting Strategy for Text Classification
  6. 2020Aligning the Pretraining and Finetuning Objectives of Language Models
  7. 2024Concept Distillation from Strong to Weak Models via Hypotheses-to-Theories Prompting
  8. 2023Batch Prompting: Efficient Inference with Large Language Model APIs