How tabular-model-robustness works
Fraud and bot models are judged on accuracy, but attackers do not care about accuracy. They care about what it costs to get a fraudulent order or a scraping bot through: slowing down a little, faking some mouse movement, splitting a basket.
tabular-model-robustness attacks your own model the same way. You describe what an attacker can change, within which limits, and at what cost. It then finds, row by row, the cheapest changes that get past the model, and reports how many attacks succeed at each budget and which features they abuse. It then hardens the model, with adversarial training or by removing cheap-to-fake features, and shows the trade-off between accuracy, robustness and inference energy for each option.
Try it
pip install "tabular-model-robustness[all]"
tabular-model-robustness demo
Free and open source under the MIT license. Running a fraud or bot model and want it tested properly? Book a call.