Learning to Identify Regular Expressions that Describe Email Campaigns
@misc{potsdam2012learning,
title = {Learning to Identify Regular Expressions that Describe Email Campaigns},
author = {Paul Prasse (University of Potsdam) and Christoph Sawade (University of Potsdam) and Niels Landwehr (University of Potsdam) and Tobias Scheffer (University of Potsdam)},
year = {2012},
eprint = {1206.4637},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/1206.4637}
}
Potsdam), P. P. (. O., Potsdam), C. S. (. O., Potsdam), N. L. (. O., & Potsdam), T. S. (. O. (2012). Learning to Identify Regular Expressions that Describe Email Campaigns [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1206.4637
POTSDAM) PP(O, POTSDAM) CS(O, POTSDAM) NL(O, et al. Learning to Identify Regular Expressions that Describe Email Campaigns[EB/OL]. (2012-06-18)[2026-11-29]. https://arxiv.org/abs/1206.4637.
Abstract
This paper addresses the problem of inferring a regular expression from a given set of strings that resembles, as closely as possible, the regular expression that a human expert would have written to identify the language. This is motivated by our goal of automating the task of postmasters of an email service who use regular expressions to describe and blacklist email spam campaigns. Training data contains batches of messages and corresponding regular expressions that an expert postmaster feels confident to blacklist. We model this task as a learning problem with structured output spaces and an appropriate loss function, derive a decoder and the resulting optimization problem, and a report on a case study conducted with an email service.