What is Partial FC and when to use it
mainPartial FC is a sparse variant of the model parallel architecture designed for large-scale face recognition. It uses a sparse softmax where each batch dynamically samples a subset of class centers for training.
Key Benefits:
- Scalability: Allows training on datasets with massive identity counts (up to 29 million identities).
- Efficiency: Reduces GPU memory consumption and computational overhead compared to standard Data Parallel or Model Parallel methods.
- Performance: Provides significantly faster training speeds and lower memory costs when the number of identities in the dataset exceeds 300K.
Comparison Summary (Tesla V100 32GB * 8):
- Data Parallel: Limited by GPU memory as identity counts increase; fails for large datasets.
- Model Parallel: Higher memory cost than Partial FC; also fails for very large datasets.
- Partial FC 0.1: Maintains high training speed and manageable memory usage even as identities scale to tens of millions.