Unapologetically Distributed: A Call for Decentralized Document Analysis
Organizations: Centre de Visió per Computador Universitat Autònoma de Barcelona Bellaterra, Catalonia · Computer Science Department Universitat Autònoma de Barcelona, Bellaterra, Catalonia
Abstract
Privacy has become an increasingly important concern in the Document Analysis community, to the extent that in many environments such as archives, governmental institutions, and local businesses, the adoption of automation is restricted by legal and policy constraints. While federated learning has often been regarded as a ``necessary evil'', implying an unavoidable performance trade-off in exchange for decentralization and privacy, many prior works overlook its potential to improve robustness to out-of-distribution data. In this paper, we present Unapologetically Distributed, the first comprehensive study evaluating distributed learning in Document Analysis along three key axes simultaneously: the tasks addressed, the architectures employed, and the fine-tuning strategies applied. Specifically, we demonstrate how various distributed training approaches enhance generalization capabilities across diverse tasks such as Table Recognition, handwriting recognition, and Word Spotting, particularly during transfer learning stages. Our results provide strong evidence that decentralization is not merely a constraint, but a valuable opportunity to improve model robustness and adaptability in real-world Document Analysis scenarios.
Figures & tables
| Dataset Name | Tasks | Finetuning | Pretraining | Alphabet |
|---|---|---|---|---|
| IAM [ Marti and Bunke(2002) ] | WS | KD | ✓ | Latin |
| Esposalles [ Romero et al.(2013)Romero, Fornés, Serrano, Sánchez, Toselli, Frinken, Vidal, and Lladós ] | WS | KD | ✓ | Latin |
| George Washington [ Fischer et al.(2012)Fischer, Keller, Frinken, and Bunke ] | WS | KD | ✓ | Latin |
| Parzival [ Fischer et al.(2012)Fischer, Keller, Frinken, and Bunke ] | WS | KD | ✓ | Latin |
| CoCoText [ Veit et al.(2016)Veit, Matera, Neumann, Matas, and Belongie ] | WS | KD | ✓ | Latin |
| MLT19 (Latin) [ Nayef et al.(2019)Nayef, Patel, Busta, Chowdhury, Karatzas, Khlif, Matas, Pal, Burie, Liu, et al. ] | WS | KD | ✓ | Latin |
| mAP | |
|---|---|
| Mean mAP (C / D) | .313 / .363 |
| Recall | |
| R@1 (C/D) | .256/ .300 |
| R@5 (C/D) | .388/ .451 |
| R@10(C/D) | .447/ .516 |
| Vatican | Borg | Copiale | Arabic | Chinese | Japanese | Korean | Bangla | Hindi | ||
|---|---|---|---|---|---|---|---|---|---|---|
| From Baseline | .549 | .382 | .825 | .131 | .020 | .116 | .282 | .260 | .470 | - |
| Centr. (base) | .465 | .000 | .794 | .175 | .0103 | .0951 | .214 | .115 | .384 | 0.69 |
| Dist. (base) | .591 | .505 | .838 | .422 | .073 | .197 | .374 | .462 | .514 | 1.62 |
| Dist. (random) | .480 | .272 | .930 | .410 | .010 | .114 | .271 | .266 | .282 | 1.04 |
| Multi-Lingual | Multi-Cipher | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Accuracy | Arabic | Bangla | Chinese | Hindi | Japanese | Korean | Borg | Copiale | Vatican |
| Distributed | .472 | .469 | .127 | .539 | .252 | .435 | .573 | .840 | .566 |
| Centralized | .402 | .385 | .076 | .468 | .183 | .324 | .573 | .819 | .524 |
| M96 | RLV | ICDAR | CON-Anonym | |||||
| Node Acc | Edge Accuracy | Node Acc | Edge Accuracy | Node Acc | Edge Accuracy | Node Acc | Edge Accuracy | |
| Centr. (zero-shot) | 87.50% | 85.70% | 76.70% | 72.90% | 68.10% | 78.00% | 75.50% | 70.10% |
| Dist. (zero-shot) | 88.00% | 87.00% | 78.10% | 78.00% | 79.00% | 84.70% | 73.00% | 77.20% |
| Centr. (partial) | 87.60% | 85.20% | 76.90% | 69.40% | 82.60% | 81.70% | 89.30% | 73.80% |
| Dist. (partial) | 88.00% | 86.50% | 79.70% | 72.30% | 83.40% | 78.70% | 89.10% | 75.40% |
| Centr. (E2E) | 86.10% | 69.90% | 85.30% | 81.50% | 92.00% | 95.50% | 97.80% | 90.60% |
| Regime | Low-Data | ZS | OOD | Param.-Efficient | E2E | ID |
|---|---|---|---|---|---|---|
| Distributed | Strong | Strong | Strong | Strong | Moderate | Low |
| Centralized | Moderate | Low | Moderate | Moderate | Strong | Strong |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| M96 | RLV | ICDAR | CON | |||||
|---|---|---|---|---|---|---|---|---|
| Node | Edge | Node | Edge | Node | Edge | Node | Edge | |
| ZS – r2 | 88.6 | 87.3 | 76.9 | 79.6 | 80.6 | 76.9 | 72.4 | 75.7 |
| ZS – r3 | 88.1 | 86.7 | 75.0 | 78.6 | 83.5 | 82.2 | 74.5 | 76.7 |
| ZS – r4 | 88.2 | 86.8 | 75.2 | 79.0 | 82.2 | 78.7 | 72.5 | 79.4 |
| ZS – r5 | 87.6 | 86.7 | 74.3 | 78.2 | 82.3 | 81.8 | 68.7 | 78.9 |
| Part – r2 | 88.6 | 87.0 | 80.9 | 72.3 | 83.5 | 81.4 | 88.5 | 76.4 |