ScamSpot: Fighting Financial Fraud in Instagram Comments
A machine-learning system I built together with Andreas Waldis that detects scam and spam comments on financial Instagram pages — published at the Conference of the European Chapter of the Association for Computational Linguistics (EACL 2024) and released as open source.
How it started
ScamSpot started half as a joke. After I had finished my master's thesis, Andreas Waldis, who had supervised it, suggested the topic might have potential for a paper — and asked whether I'd want to write one. Now, I hold two master's degrees, but I'm no PhD student and academia was never my career path; my heart beats for applied research, for things that work outside the lab. So my answer was: if I'm doing this, then at a conference with a proper level. We aimed for EACL — rated CORE Rank A, one of the leading conferences in computational linguistics.
I wrote the paper in the evenings, partly on vacation, improving it draft by draft while shipping the software on the side. Somewhat to my own surprise, it worked out: the paper was accepted, and I got to present it in St. Julian's, Malta.
The problem
Comment sections of financial Instagram pages have long been flooded with spam and fraudulent messages — fake giveaways, impersonation accounts and "investment advisors" trying to lure followers into scams. I knew this problem firsthand: as co-founder of CryptoExplorer, we ran one of the world's largest crypto Instagram accounts ourselves, and fighting exactly these comments was part of our daily routine. For the mostly young audiences of financial education accounts, they are a real risk — and manual moderation does not scale.
The system
ScamSpot is a comprehensive system that classifies Instagram comments and filters fraudulent content directly in the browser. It consists of:
- a fine-tuned language model (BERT) for comment classification,
- an annotated dataset of Instagram comments,
- a browser extension that flags scam and spam comments in place,
- a REST API serving the model,
- an Instagram comment scraper, and
- open-source repositories for all components.
Evaluation
The work includes a data annotation study and evaluates the system through user feedback and comparison with existing models.
Publication
Our paper "ScamSpot: Fighting Financial Fraud in Instagram Comments", which I wrote together with Andreas Waldis, appeared in the Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (EACL 2024): System Demonstrations, pages 71–81, St. Julian's, Malta. Presented and published at EACL 2024, an international conference in computational linguistics and natural language processing.
ScamSpot grew out of my master's thesis; FH Technikum Wien covered the path from thesis to conference publication in a news article.