paper-with-me

홈 › Papers

Perplexed by Quality: A Perplexity-based Method for Adult and Harmful Content Detection in Multilingual Heterogeneous Web Data

2022-12-20 · Tim Jansen, Yangling Tong, Victoria Zevallos, Pedro Ortiz Suarez

As demand for large corpora increases with the size of current state-of-the-art language models, using web data as the main part of the pre-training corpus for these models has become a ubiquitous practice. This, in turn, has introduced an important challenge for NLP practitioners, as they are now confronted with the task of developing highly optimized models and pipelines for pre-processing large quantities of textual data, which implies, effectively classifying and filtering multilingual, heterogeneous and noisy data, at web scale. One of the main components of this pre-processing step for the pre-training corpora of large language models, is the removal of adult and harmful content. In this paper we explore different methods for detecting adult and harmful of content in multilingual heterogeneous web data. We first show how traditional methods in harmful content detection, that seemingly perform quite well in small and specialized datasets quickly break down when confronted with heterogeneous noisy web data. We then resort to using a perplexity based approach but with a twist: Instead of using a so-called "clean" corpus to train a small language model and then use perplexity so select the documents with low perplexity, i.e., the documents that resemble this so-called "clean" corpus the most. We train solely with adult and harmful textual data, and then select the documents having a perplexity value above a given threshold. This approach will virtually cluster our documents into two distinct groups, which will greatly facilitate the choice of the threshold for the perplexity and will also allow us to obtain higher precision than with the traditional classification methods for detecting adult and harmful content.

📄 PDF Abstract BibTeX arXiv:2212.10440

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModellingSmall Language Model

Similar Papers 제목 키워드 기반

Perplexed by Perplexity: Perplexity-Based Data Pruning With Small Reference Models

2024-05-30 · Zachary Ankner, Cody Blakeney, Kartik Sreenivasan, Max Marion 외

In this work, we investigate whether small language models can determine high-quality subsets of large-scale text datasets that improve the performance of larger language models. While existing work has shown that prunin…

Large Language Models are Perplexed by some Political Parties

2026-06-04 · Paul Lerner, François Yvon arxiv

Large Language Models (LLMs) are increasingly used, including in political applications, but their political fairness has been little studied. We assess it using perplexity, posing that a fair model should give equal pro…

What Makes My Model Perplexed? A Linguistic Investigation on Neural Language Models Perplexity

2021-06-01 · NAACL (DeeLIO) 2021 6 · Alessio Miaschi, Dominique Brunato, Felice Dell’Orletta, Giulia Venturi

This paper presents an investigation aimed at studying how the linguistic structure of a sentence affects the perplexity of two of the most popular Neural Language Models (NLMs), BERT and GPT-2. We first compare the sent…

Sentence

Is my model perplexed for the right reason? Contrasting LLMs' Benchmark Behavior with Token-Level Perplexity

2026-03-31 · Zoë Prins, Samuele Punzo, Frank Wildenburg, Giovanni Cinà 외 arxiv

Standard evaluations of Large language models (LLMs) focus on task performance, offering limited insight into whether correct behavior reflects appropriate underlying mechanisms and risking confirmation bias. We introduc…

Towards Harmful Erotic Content Detection through Coreference-Driven Contextual Analysis

2023-10-22 · Inez Okulska, Emilia Wiśnios

Adult content detection still poses a great challenge for automation. Existing classifiers primarily focus on distinguishing between erotic and non-erotic texts. However, they often need more nuance in assessing the pote…

coreference-resolutionCoreference Resolution