Classifying Emails into Human vs Machine Category
Changsung Kang, Hongwei Shang, Jean-Marc Langlois
Abstract
It is an essential product requirement of Yahoo Mail to distinguish between personal and machine-generated emails. The old production classifier in Yahoo Mail was based on a simple logistic regression model. That model was trained by aggregating features at the SMTP address level. We propose building deep learning models at the message level. We built and trained four individual CNN models: (1) a content model with subject and content as input; (2) a sender model with sender email address and name as input; (3) an action model by analyzing email recipients' action patterns and correspondingly generating target labels based on senders' opening/deleting behaviors; (4) a salutation model by utilizing senders' "explicit salutation" signal as positive labels. Next, we built a final full model after exploring different combinations of the above four models. Experimental results on editorial data show that our full model improves the adjusted-recall from 70.5% to 78.8% compared to the old production model, while at the same time lifts the precision from 94.7% to 96.0%. Our full model also significantly beats the state-of-the-art Bert model at this task. This full model has been deployed into the current production system (Yahoo Mail 6).
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on2
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
- Learning with Weak Supervision for Email Intent DetectionKai Shu, Subhabrata Mukherjee, Guoqing Zheng, Ahmed Hassan Awadallah et al.SIGIR 2020 · 26 citations
Related papers
- Deep or Simple Models for Semantic Tagging? It Depends on your DataJinfeng Li, Yuliang Li, Xiaolan Wang, Wang-Chiew TanVLDB 2020
- Evaluating the Robustness of a Production Malware Detection System to Transferable Adversarial AttacksMilad Nasr, Yanick Fratantonio, Luca Invernizzi, Ange Albertini et al.CCS 2025
- 1+1>2: Integrating Deep Code Behaviors with Metadata Features for Malicious PyPI Package DetectionXiaobing Sun, Xingan Gao, Sicong Cao, Lili Bo et al.ASE 2024 · 3 citations
- TemPEST: Soft Template-Based Personalized EDM Subject Generation through Collaborative SummarizationYu-Hsiu Chen, Pin-Yu Chen, Hong-Han Shuai, Wen-Chih PengAAAI 2020 · 6 citations
- Feature Projection for Improved Text ClassificationQi Qin, Wenpeng Hu, Bing LiuACL 2020 · 66 citations
