Learning to detect PII: Tabular vs. Document classification models for network traffic analysis

Detecting Personally Identifiable Information (PII) exfiltration from mobile network traffic is critical for preserving user privacy. Traditional approaches rely on machine learning classifiers trained on manually engineered features extracted from network packets. Deep learning offers the potential to remove the reliance on such an external feature selection process; however, its effectiveness depends significantly on how underlying packets are encoded. In this work, we investigate deep learning paradigms for PII detection with a focus on the impact of feature encoding strategies. We explore tabular modeling approaches, including both an existing architecture (FT-Transformer) and proposed modular frameworks that integrates a pretrained language model (all-MiniLM-L6-v2) for semantic feature embeddings, followed by a classifier. We also evaluate document classification modeling by applying pretrained language models such as TinyBERT directly to the raw packet content. We further demonstrate the feasibility of on-device inference by deploying trained models using ONNX and TensorFlow Lite. Finally, we recommend modeling strategies based on data size , performance , resource utilization , and generalizability , enabling model selection according to the primary requirement of the deployment scenario. • Dual modeling evaluation of deep learning methods for PII detection in mobile traffic. • Modular frameworks integrating LLM-based feature embeddings and classifiers for structured packet data. • Transformer models enabling efficient document classification of raw packet content. • Practical demonstration of on-device inference using ONNX and TensorFlow Lite models on mobile devices. • Comparative analysis on real-world datasets guiding model selection based on various constraints.

Authors

Institutions

Publication Details

Journal
Journal of Information Security and Applications
Published
2025-08-25
DOI
https://doi.org/10.1016/j.jisa.2025.104196
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Learning to detect PII: Tabular vs. Document classification models for network traffic analysis

Manoj Singh Gaur, Rishika Kohli, Shaifu Gupta, Soma S. Dhavala
Journal of Information Security and Applications
Advanced Malware Detection Techniques
article

Learning to detect PII: Tabular vs. Document classification models for network traffic analysis

Manoj Singh Gaur, Rishika Kohli, Shaifu Gupta, Soma S. Dhavala
article en

Abstract

Detecting Personally Identifiable Information (PII) exfiltration from mobile network traffic is critical for preserving user privacy. Traditional approaches rely on machine learning classifiers trained on manually engineered features extracted from network packets. Deep learning offers the potential to remove the reliance on such an external feature selection process; however, its effectiveness depends significantly on how underlying packets are encoded. In this work, we investigate deep learning paradigms for PII detection with a focus on the impact of feature encoding strategies. We explore tabular modeling approaches, including both an existing architecture (FT-Transformer) and proposed modular frameworks that integrates a pretrained language model (all-MiniLM-L6-v2) for semantic feature embeddings, followed by a classifier. We also evaluate document classification modeling by applying pretrained language models such as TinyBERT directly to the raw packet content. We further demonstrate the feasibility of on-device inference by deploying trained models using ONNX and TensorFlow Lite. Finally, we recommend modeling strategies based on data size , performance , resource utilization , and generalizability , enabling model selection according to the primary requirement of the deployment scenario. • Dual modeling evaluation of deep learning methods for PII detection in mobile traffic. • Modular frameworks integrating LLM-based feature embeddings and classifiers for structured packet data. • Transformer models enabling efficient document classification of raw packet content. • Practical demonstration of on-device inference using ONNX and TensorFlow Lite models on mobile devices. • Comparative analysis on real-world datasets guiding model selection based on various constraints.

Journal of Information Security and ApplicationsVol. 94
Indian Institute of Technology Jammu (IN)
Openalex Percentile: Top 73%
Advanced Malware Detection Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.