deepinsight / deepinsight/insightface
Feature Proposal: Integrate Hard Negative Mining into Partial FC
Open
- Dominant language
- Python
- Stars
- 29.7k
- Forks
- 6.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hi authors,
First of all, thank you for your great work on Partial FC and InsightFace!
I’d like to propose a feature enhancement: integrating hard negative mining into Partial FC sampling:
- Maintain a lightweight confusion memory bank that records per-class "confused" predictions (e.g., from top-k logits).
- During sampling, combine:
- Positive class centers
- Confused (hard) negative class centers
- Random negatives (optional for diversity)
What do you think?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.