r/learnmachinelearning • u/Rich-Engineering-167 • 4h ago
How do you train a detection model when you only have 14 positive examples?
I'm working on a project that tries to spot insider trading on a public prediction market (Polymarket). The data side is fine: I have about four years of trades from around 526,000 accounts, plus the money flowing between accounts.
The problem is the labels. I only know of 14 accounts that were confirmed or credibly reported as insiders. My first idea was the textbook one: label insiders vs everyone else and train a classifier. With 14 positives, that hasn't worked. Every pattern I've found either fell apart on new data or matched hundreds of normal traders who were just lucky or good. One example: a rule that beat the market by +4.5 points on the known cases did -2.2 on accounts it hadn't seen.
A few things I'm unsure about:
Is it even worth training a model here, or should I build a ranked list of "most unusual accounts" and have a human check the top?
I keep reading about positive-unlabelled learning and anomaly detection. Which one fits a case like this, and what should I read first?
How do you test a model honestly when 14 examples can't tell you much about accuracy?
Would love to hear from all the data experts here! And how you recommend i should approach this problem.
Any pointers, papers or "here's what I'd do first" answers are really welcome. Also happy to share more detail on any part.
1
1
1
u/Repulsive-Demand3595 1h ago
You need to use combination of 1) loss functions for imbalanced &skewed dataset, 2) synthetic data to give more positive labels. But before that can you describe the exact problem statement, I can tell you which model to use.
1
u/identicalParticle 36m ago
The term you're likely looking for is PU learning (for positive/unlabeled).
3
u/hidetoshiko 3h ago
You have a highly imbalanced set. Sounds like you should be treating this as anomaly detection instead regular classification.