English

Learning to Identify Regular Expressions that Describe Email Campaigns

Machine Learning 2012-06-22 v1 Computation and Language Machine Learning

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.

Keywords

Cite

@article{arxiv.1206.4637,
  title  = {Learning to Identify Regular Expressions that Describe Email Campaigns},
  author = {Paul Prasse and Christoph Sawade and Niels Landwehr and Tobias Scheffer},
  journal= {arXiv preprint arXiv:1206.4637},
  year   = {2012}
}

Comments

ICML2012

R2 v1 2026-06-21T21:22:48.673Z