Self-Training for Label-Efficient Information Extraction from Semi-Structured Web-Pages

Ritesh Sarkhel, Binxuan Huang, Colin Lockard, Prashant ShiralkarPVLDB 2023

TL;DR

This paper introduces LEAST, a novel self-training algorithm designed to significantly reduce the human effort required for training effective web information extraction models. By combining a generative model for high-quality pseudo-labeling with an uncertainty-aware training strategy, LEAST achieves comparable or superior performance to existing methods while using up to 11x fewer human-labeled samples.

What Problem Does This Paper Address?

Extracting structured information from semi-structured web pages (like product detail pages) is crucial for many applications, from recommendation systems to knowledge base construction. However, training robust extraction models typically demands a large number of human-labeled examples, which is a costly and time-consuming process. While transferable learning and large language models (LLMs) offer some efficiency gains, they still require substantial in-domain fine-tuning data. This paper tackles the challenge of achieving high extraction performance with minimal human supervision, specifically addressing how to minimize the number of human-labeled pages without sacrificing model accuracy.

Methods

LEAST employs a two-pronged approach to achieve label efficiency:

  • Semi-Supervised Generative Model for Pseudo-Labeling: Instead of relying solely on a teacher model to generate pseudo-labels (which can be noisy if the teacher is trained on limited data), LEAST incorporates a generative model. This model leverages "inverse rendering rules" inferred from website-specific templates and potentially overlapping data across websites to create higher-quality pseudo-labels. This acts as a supplementary supervision source.
  • Uncertainty-Aware Training Strategy: To mitigate the impact of any remaining noisy pseudo-labels, LEAST uses an uncertainty-aware training strategy. This involves:
  • Adaptive Re-weighting: Assigning weights to training samples based on their estimated label uncertainty. Samples with higher confidence (e.g., human-labeled data) receive higher weights, while those with lower confidence (noisy pseudo-labels) receive lower weights, effectively dampening their influence on gradient updates.
  • Noise-Aware Loss Function: A specialized loss function is used that incorporates these sample weights and a penalty term to further manage distribution shifts and prevent overfitting to noisy data.

The overall workflow is an iterative self-training process where a teacher model is trained, then used with the generative model to create pseudo-labels for unlabeled data, and finally, a student model is trained on this augmented corpus using the uncertainty-aware strategy. The student then becomes the teacher for the next iteration.

Datasets

The paper evaluates LEAST on two publicly available benchmark datasets:

  • Structured Web Data Extraction (SWDE): Contains 8 verticals (e.g., auto, movie, book) with 10 websites each.
  • Web Structured Reading Comprehension (WebSRC): Contains 10 verticals with a varying number of websites, each having 400 detail pages.

The datasets are partitioned into pretraining (seed websites) and fine-tuning (target websites) corpora, with varying numbers of human-labeled samples (from zero-shot to few-shot scenarios).

Key Insights and Ideas

  • Pseudo-label quality is paramount: The paper highlights that relying solely on a teacher model for pseudo-labeling, especially with limited initial human data, can lead to noisy labels and degrade performance. The generative model component is crucial for improving pseudo-label quality.
  • Uncertainty is a powerful signal: Explicitly modeling and acting upon label uncertainty is key to robustly training on noisy, self-generated data. Re-weighting samples based on confidence allows the model to learn more effectively from reliable data and ignore or downplay less reliable data.
  • Generative models can complement LLMs: While LLMs are powerful, they still benefit from in-domain fine-tuning. LEAST provides a framework to generate high-quality fine-tuning data for LLMs, making them more efficient for specific web extraction tasks.
  • Label efficiency is achievable without sacrificing performance: The core message is that significant reductions in human labeling effort are possible without a corresponding drop in extraction accuracy, by intelligently leveraging unlabeled data and uncertainty estimation.

Key Results

  • LEAST achieves comparable or superior extraction performance to state-of-the-art baselines on both SWDE and WebSRC datasets.
  • Using LEAST, models can be trained with less than ten human-labeled pages per website, outperforming baselines by up to 22 F1 points.
  • LEAST reduces the number of human-labeled samples needed for comparable performance by up to 11x compared to naive transfer learning baselines.
  • The ablation study confirms the importance of both the generative pseudo-labeling component (15.01 F1 drop) and the uncertainty-aware training (5.06 F1 drop) for LEAST's effectiveness.

Limitations and Future Work

  • Hyperparameter sensitivity: The paper acknowledges that LEAST's performance can be sensitive to hyperparameter choices, particularly the initial values for the pseudo-labeling probability ($\beta(0)$) and the noise-aware loss penalty ($k(0)$). Sensitivity analyses are provided, and empirical tuning is necessary.
  • Future work: The authors suggest a systematic study to understand the impact of label noise on various web extraction models, including large language models, when trained with LEAST. Further exploration into optimizing the balance between generative and teacher-based pseudo-labeling could also be beneficial.

Summary updated

BibTeX
@article{sarkhel2023self,
  author = {Ritesh Sarkhel and Binxuan Huang and Colin Lockard and Prashant Shiralkar},
  title = {{Self-Training for Label-Efficient Information Extraction from Semi-Structured Web-Pages}},
  journal = {Proc. VLDB Endow.},
  year = {2023},
  url = {https://openreview.net/forum?id=IXOEu3HzWT5},
}
Figure