DistilDoc: Knowledge Distillation for Visually-Rich Document Applications

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Van Landeghem, Jordy, Maity, Subhajit, Banerjee, Ayan, Blaschko, Matthew, Moens, Marie-Francine, Lladós, Josep, Biswas, Sanket
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929754604568576
author Van Landeghem, Jordy
Maity, Subhajit
Banerjee, Ayan
Blaschko, Matthew
Moens, Marie-Francine
Lladós, Josep
Biswas, Sanket
author_facet Van Landeghem, Jordy
Maity, Subhajit
Banerjee, Ayan
Blaschko, Matthew
Moens, Marie-Francine
Lladós, Josep
Biswas, Sanket
contents This work explores knowledge distillation (KD) for visually-rich document (VRD) applications such as document layout analysis (DLA) and document image classification (DIC). While VRD research is dependent on increasingly sophisticated and cumbersome models, the field has neglected to study efficiency via model compression. Here, we design a KD experimentation methodology for more lean, performant models on document understanding (DU) tasks that are integral within larger task pipelines. We carefully selected KD strategies (response-based, feature-based) for distilling knowledge to and from backbones with different architectures (ResNet, ViT, DiT) and capacities (base, small, tiny). We study what affects the teacher-student knowledge gap and find that some methods (tuned vanilla KD, MSE, SimKD with an apt projector) can consistently outperform supervised student training. Furthermore, we design downstream task setups to evaluate covariate shift and the robustness of distilled DLA models on zero-shot layout-aware document visual question answering (DocVQA). DLA-KD experiments result in a large mAP knowledge gap, which unpredictably translates to downstream robustness, accentuating the need to further explore how to efficiently obtain more semantic document layout awareness.
format Preprint
id arxiv_https___arxiv_org_abs_2406_08226
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DistilDoc: Knowledge Distillation for Visually-Rich Document Applications
Van Landeghem, Jordy
Maity, Subhajit
Banerjee, Ayan
Blaschko, Matthew
Moens, Marie-Francine
Lladós, Josep
Biswas, Sanket
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
This work explores knowledge distillation (KD) for visually-rich document (VRD) applications such as document layout analysis (DLA) and document image classification (DIC). While VRD research is dependent on increasingly sophisticated and cumbersome models, the field has neglected to study efficiency via model compression. Here, we design a KD experimentation methodology for more lean, performant models on document understanding (DU) tasks that are integral within larger task pipelines. We carefully selected KD strategies (response-based, feature-based) for distilling knowledge to and from backbones with different architectures (ResNet, ViT, DiT) and capacities (base, small, tiny). We study what affects the teacher-student knowledge gap and find that some methods (tuned vanilla KD, MSE, SimKD with an apt projector) can consistently outperform supervised student training. Furthermore, we design downstream task setups to evaluate covariate shift and the robustness of distilled DLA models on zero-shot layout-aware document visual question answering (DocVQA). DLA-KD experiments result in a large mAP knowledge gap, which unpredictably translates to downstream robustness, accentuating the need to further explore how to efficiently obtain more semantic document layout awareness.
title DistilDoc: Knowledge Distillation for Visually-Rich Document Applications
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2406.08226