Abstract
Healthcare fraud detection typically relies on manual audits or supervised learning, both of which are limited by the scarcity and high cost of labeled data. This paper presents an unsupervised framework for detecting anomalous billing patterns in discrete patient visit sequences. By leveraging LSTM-based predictive models and Seq2Seq autoencoders, the system learns the structure of legitimate medical journeys. A novel Empirical Distribution Function (EDF) normalization is introduced to handle class imbalance in treatment codes. Evaluated on a real-world dataset of 350,000 records, the models achieve a ROC AUC of approximately 0.77, demonstrating that unsupervised deep learning can effectively identify fraudulent behavior without prior labeling.
Introduction
Healthcare fraud, including practices like "upcoding" and unnecessary treatments, imposes a multi-billion dollar burden on global insurance and government systems. Traditional detection methods often require extensive manual review or supervised machine learning models. However, labeled fraud data is notoriously difficult to obtain, expensive to produce, and quickly becomes obsolete as fraudulent tactics evolve. Furthermore, medical data is inherently discrete and sequential—comprising series of treatment codes—which poses challenges for standard anomaly detection algorithms.
This research addresses these gaps by proposing an unsupervised approach. Instead of learning to identify fraud directly, the system learns the patterns of "normal" patient journeys. Any significant deviation from these learned patterns is flagged as a potential anomaly, allowing for the detection of novel fraud types without the need for historical labels.
Methodology
The core of the proposed system involves modeling patient visit sequences using two deep learning architectures:
- LSTM Predictive Model: This model treats treatment sequences as a language, predicting the next treatment code based on historical visits. High anomaly scores are assigned when the actual treatment deviates significantly from the model's prediction.
- Seq2Seq Autoencoder: This reconstructive model uses a bi-directional LSTM to encode patient history into a latent vector, which a unidirectional LSTM then attempts to reconstruct. Sequences that are difficult to reconstruct accurately are flagged as anomalous.
EDF Normalization
A critical challenge in healthcare data is the high degree of class imbalance among treatment codes; rare but legitimate procedures can easily be mistaken for anomalies. To mitigate this, the authors introduce Empirical Distribution Function (EDF) normalization. By calculating the error distribution for each treatment type on a validation set, raw error scores are transformed into EDF values. This ensures that an anomaly is defined by its statistical "unexpectedness" relative to its specific treatment category, rather than its overall rarity.
Experimental Setup
The models were evaluated using a real-world dataset provided by Allianz, consisting of 350,000 patient records. The dataset includes 2,204 unique treatment codes and 17 broader treatment categories. While the training process remained entirely unsupervised, a small subset of labeled data (with a ~1.5% fraud rate) was used for final validation and threshold calibration.
Results and Discussion
The unsupervised models demonstrated strong performance, significantly outperforming traditional baselines like Isolation Forest. Both the LSTM and Autoencoder architectures achieved a ROC AUC of approximately 0.77.
Key findings include:
- Normalization Impact: Applying EDF normalization improved the LSTM model's ROC AUC from 0.743 to 0.768, highlighting the importance of statistical handling in discrete token sequences.
- Sequence Logic: By capturing the temporal logic of medical visits, the models can identify suspicious sequences that might appear normal if viewed as static aggregates.
- Practical Utility: At a recall of 0.8 (identifying 80% of actual fraud), the LSTM + EDF model achieved a precision of approximately 0.033. While seemingly low, this represents a substantial lift over random selection in a low-prevalence environment, providing a viable shortlist for human auditors.
Conclusion
This work demonstrates that unsupervised deep learning is a powerful tool for healthcare fraud detection. By focusing on the underlying structure of legitimate patient journeys and employing robust normalization techniques like EDF, it is possible to identify anomalous billing patterns effectively without the burden of large-scale data labeling. Future research will focus on improving model interpretability and integrating multi-modal data, such as clinical notes, to provide richer context for flagged anomalies.
Summary updated