Skip to main navigation Skip to search Skip to main content

Slim-Donut: A Lightweight and Scalable Transformer for Accelerated Table of Contents Generation

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

The large model size and high computational cost of the Document Understanding Transformer (Donut) and other OCR-free architectures from the Visual Document Understanding (VDU) models pose significant obstacles to scalable and practical deployment. In this paper, we present Slim-Donut, a new lightweight and scalable framework designed for high-throughput generation of ToCs (Table of Contents). Slim-Donut optimizes the standard Donut architecture through a two-pronged approach: first, it incorporates a dynamic token slimming module into the Swin Transformer encoder to reduce computational complexity by adaptively merging redundant visual features; second, it employs post-training quantization and knowledge distillation to significantly compress the model size while preserving high fidelity. By fine-tuning the comprehensive DocLayNet dataset, Slim-Donut learns to accurately identify and structure hierarchical headers. Our experimental evaluation shows that Slim-Donut achieves an 8 × improvement in CPU inference speed, a 3 × reduction in model parameters, and a 2.5 × reduction in GFLOPs compared to the baseline Donut model, while maintaining comparable accuracy. Furthermore, it outperforms other leading architectures like LayoutLMv3 in scalability and deployment readiness. Crucially, this efficiency is achieved with only a minimal trade-off in extraction accuracy, establishing a new, highly favorable point on the performance efficiency frontier for document indexing tasks. This work demonstrates the immense potential of architectural optimization and model compression to create practical, scalable solutions for automated document structuring.

Original languageEnglish
Title of host publication2025 Supercomputing India, SCI 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798331557584
DOIs
Publication statusPublished - 2025
Event2025 Supercomputing India, SCI 2025 - Bangalore, India
Duration: 09-12-202513-12-2025

Publication series

Name2025 Supercomputing India, SCI 2025

Conference

Conference2025 Supercomputing India, SCI 2025
Country/TerritoryIndia
CityBangalore
Period09-12-2513-12-25

All Science Journal Classification (ASJC) codes

  • Signal Processing
  • Computer Science Applications
  • Artificial Intelligence
  • Computational Theory and Mathematics

Fingerprint

Dive into the research topics of 'Slim-Donut: A Lightweight and Scalable Transformer for Accelerated Table of Contents Generation'. Together they form a unique fingerprint.

Cite this