An Interactive Visual Enhancement for Prompted Programmatic Weak Supervision in Text Classification
- 23 May 2025
- journal article
- Published by Wiley in Computer Graphics Forum
- Vol. 44 (3)
Abstract
Programmatic Weak Supervision (PWS) has emerged as a powerful technique for text classification. By aggregating weak labels provided by manually written label functions, it allows training models on large‐scale unlabeled data without the need for costly manual annotations. As an improvement, Prompted PWS incorporates pre‐trained large language models (LLMs) as part of the label function, replacing programs coded by experts with natural language prompts. This allows for the more accessible expression of complex and ambiguous concepts. However, the existing workflow does not fully utilize the advantages of Prompted PWS, and the annotators have difficulty in effectively converging their ideas to develop high‐quality LFs, and lack support during the iterations. To address this issue, this study improves the existing PWS workflow through interactive visualization. We first propose a collaborative LF development workflow between humans and LLMs, where the large language model assists humans in creating a structured development space for exploration and automatically generates prompted LFs based on human selections. Annotators can integrate their knowledge through informed selection and judgment. Then, we present an interactive visual system that supports efficient development, in‐depth exploration, and iteration of LFs. Our evaluation, comprising a quantitative evaluation on the benchmark, a case study, and a user study, demonstrates the effectiveness of our approach.Keywords
Funding Information
- National Natural Science Foundation of China (62377008, 42171450)
This publication has 14 references indexed in Scilit:
- Luminate: Structured Generation and Exploration of Design Space with Large Language Models for Human-AI Co-Creation2024
- EvoVis: A Visual Analytics Method to Understand the Labeling Iterations in Data ProgrammingIEEE Transactions on Visualization and Computer Graphics, 2024
- Let’s Embed Your Knowledge into AI by Trial and Error Instead of Annotation2022
- NemoProceedings of the VLDB Endowment, 2022
- Prompt-Based Rule Discovery and Boosting for Interactive Weakly-Supervised Learning2022
- Adaptive Rule Discovery for Labeling Text Data2021
- AsteriskACM/IMS Transactions on Data Science, 2020
- Hybridization of Active Learning and Data Programming for Labeling Large Industrial Datasets2018
- The Comparative Toxicogenomics Database: update 2017Nucleic Acids Research, 2016
- TubeSpam: Comment Spam Filtering on YouTube2015