AsyiraFitri commited on
Commit
901dcea
Β·
1 Parent(s): 544fae7

22042026 daily update .md

Browse files
Updates/daily_updates/22042026-DailyUpdate.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ **Daily Update β€” Bad Case Analysis, Improvement Report & Initial Experiments**
2
+ *Image embedding benchmark Β· Tobacco-3482*
3
+
4
+ **Completed**
5
+
6
+ - Improved the bad case `.png` visualisations for better readability and repushed to HuggingFace. Added `bad_cases_grids.html` for improved grid-layout readability alongside the per-case PNGs.
7
+ - Created `figures/bad_cases/bad_case_report.html` with per-label summary tables, confusion heatmaps, retrieval error rate bar charts, colour-coded error severity (green <25%, amber 25–50%, red >50%), root cause analysis, and a full improvement roadmap across four categories (preprocessing, architecture/pooling, training objectives, post-processing/retrieval).
8
+ - Implemented and benchmarked **mean-centering** post-processing across SigLIP2 SO400M and ModernVBERT Bi β€” consistent gains across all metrics, most notably ModernVBERT Bi kNN@5 +4.73% (80.34% β†’ 85.08%).
9
+ - Implemented and benchmarked **CLS + mean-patch pooling** for SigLIP2 SO400M (dim=2304): kNN@1 +2.73% over CLS-only baseline (84.36% β†’ 87.09%), with further gains when combined with centering (87.80% kNN@1, 89.81% kNN@5, 90.53% Clf Acc).
10
+ - Ran **per-label kNN@1 error breakdown** across all six variants β€” CLS+patch+center is best overall and wins on 4 of 8 labels including Report (44.4% β†’ 35.2%) and Note (35.6% β†’ 25.4% tied with ModernVBERT Bi+ctr).
11
+ - Implemented **query expansion** swept across k ∈ {1, 3, 5, 10} for all variants β€” marginal gains at best; CLS+patch+center with k=3 gives +0.57% kNN@1 (87.80% β†’ 88.38%) but kNN@5 drops 2.15%. Query expansion does not reliably improve retrieval on this dataset.
12
+
13
+ **In Progress**
14
+
15
+ - Consolidating results β€” to be pushed to HuggingFace tomorrow.
16
+
17
+ **Blockers**
18
+
19
+ - Couldn't sync commit to huggingface
20
+
21
+ **Key Learnings**
22
+
23
+ - Centering consistently helps both models but ModernVBERT Bi benefits more than SigLIP2, suggesting its embedding space is less well-centred out of the box.
24
+ - CLS+patch pooling trades classifier accuracy for kNN@1 accuracy on its own, but combining both with centering gives the best results across all three metrics β€” the two post-processing steps are complementary.
25
+ - Query expansion does not help on Tobacco-3482 β€” gains on kNN@1 are marginal (≀0.57%) and kNN@5 consistently degrades, suggesting the neighbourhood structure is already noisy enough that averaging in neighbours introduces more error than it corrects.
26
+ - CLS+patch+center is now the strongest single-model variant at 87.80% kNN@1 and 90.53% Clf Acc, but per-label breakdown shows Report (35.2%) and Note (25.4%) remain the hardest classes across all variants.