Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.22.0
CNN vs VLM Comparison Plan
Goal
The final comparison is:
trained landmark CNN vs pretrained VLM reranking
The CNN is the trained computer vision model. The VLM is evaluated zero-shot as a visual reasoning model that reranks the CNN's top-5 candidates from the original signing clip.
Model A: Landmark CNN
Input:
32 frames x 225 MediaPipe landmark features
Architecture:
BatchNorm1d
Conv1d -> BatchNorm1d -> ReLU -> Dropout
Conv1d -> BatchNorm1d -> ReLU -> MaxPool1d
Conv1d -> BatchNorm1d -> ReLU -> Dropout
AdaptiveAvgPool1d
Linear classifier
Training defaults:
loss: cross entropy with label smoothing 0.1
optimizer: AdamW
learning rate: 1e-3
weight decay: 1e-2
epochs: 50
batch size: 64
Outputs:
models/cnn_landmark_best.pt
results/cnn_metrics.json
results/cnn_training_curves.png
results/cnn_confusion_matrix.png
Model B: VLM Reranker
The VLM is not fine-tuned. For each held-out clip, it receives:
video clip
CNN top-5 candidate labels
prompt instructing it to choose only from those labels
This tests whether a pretrained vision-language model can improve the CNN's candidate selection without task-specific training.
Metrics
Report:
CNN top-1 accuracy
CNN top-5 coverage
VLM-reranked top-5 accuracy
precision / recall / F1 for CNN where available
qualitative VLM successes and failures
Optional Extra: Transformer
The Transformer remains useful for the rubric category covering Transformers/attention/modern methods. It should be presented as an additional experiment, not the main CNN vs VLM comparison.