Muhammad Armaghan Shakir
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Muhammad Armaghan Shakir has a total of 13 co-authors. Here are the top co-authors by number of shared publications:
- Marcel Lamott
RheinMain University of Applied Sciences, Wiesbaden, Germany
2 shared publications - Adrian Kalwa
RheinMain University of Applied Sciences, Wiesbaden, Germany
1 shared publication - Adrian Ulges
RheinMain University of Applied Sciences, Wiesbaden, Germany
1 shared publication - Ahmad Sarmad Ali
National University of Sciences and Technology (NUST), Islamabad, Pakistan
1 shared publication - Andreas Dengel
German Research Center for Artificial Intelligence (DFKI)
1 shared publication - Faisal Shafait
National University of Sciences and Technology (NUST)
1 shared publication
Latest Publications
- Open Access
- 25 August 2026
- Published by Springer Nature in International Journal on Document Analysis and Recognition (IJDAR)
- p. 1-16
DocDjinn: controllable synthetic document generation with VLMs and handwriting diffusion
Effective document intelligence models rely on large amounts of annotated training data. However, procuring sufficient and high-quality data poses significant challenges due to the labor-intensive and costly nature of data acquisition. Additionally, leveraging language models to annotate real documents raises concerns about data privacy. In this context, synthetic document generation has emerged as a promising, privacy-preserving alternative. We propose DocDjinn, a novel framework for controllable synthetic document generation using Vision-Language Models (VLMs) that produces annotated documents from unlabeled seed samples. Our approach generates visually plausible and semantically consistent synthetic documents that follow the distribution of an existing source dataset through clustering-based seed selection with parameterized sampling. By enriching documents with realistic diffusion-based handwriting and contextual visual elements via semantic-visual decoupling, we generate diverse, high-quality annotated synthetic documents. We evaluate DocDjinn as a source of training data across eleven benchmarks spanning key information extraction, question answering, document classification, and document layout analysis. Our experiments show that with only 100 real training samples, our framework achieves on average $$87\%$$ of the performance of the full real-world dataset. To our knowledge, this is the first work demonstrating that VLMs can generate faithful annotated document datasets at scale from unlabeled seeds that can effectively enrich or approximate real, manually annotated data for diverse document understanding tasks. We publicly release our code and 140k+ synthetic document samples.- 25 August 2026
- Published by Springer Nature in International Journal on Document Analysis and Recognition (IJDAR)
- p. 1-16
Open AccessDocDjinn: controllable synthetic document generation with VLMs and handwriting diffusion
Effective document intelligence models rely on large amounts of annotated training data. However, procuring sufficient and high-quality data poses significant challenges due to the labor-intensive and costly nature of data acquisition. Additionally, leveraging language models to annotate real documents raises concerns about data privacy. In this context, synthetic document generation has emerged as a promising, privacy-preserving alternative. We propose DocDjinn, a novel framework for controllable synthetic document generation using Vision-Language Models (VLMs) that produces annotated documents from unlabeled seed samples. Our approach generates visually plausible and semantically consistent synthetic documents that follow the distribution of an existing source dataset through clustering-based seed selection with parameterized sampling. By enriching documents with realistic diffusion-based handwriting and contextual visual elements via semantic-visual decoupling, we generate diverse, high-quality annotated synthetic documents. We evaluate DocDjinn as a source of training data across eleven benchmarks spanning key information extraction, question answering, document classification, and document layout analysis. Our experiments show that with only 100 real training samples, our framework achieves on average $$87\%$$ of the performance of the full real-world dataset. To our knowledge, this is the first work demonstrating that VLMs can generate faithful annotated document datasets at scale from unlabeled seeds that can effectively enrich or approximate real, manually annotated data for diverse document understanding tasks. We publicly release our code and 140k+ synthetic document samples. - Open Access
Leveraging Distillation Techniques for Document Understanding: A Case Study with FLAN-T5
The surge of digital documents in various formats, including less standardized documents such as business reports and environmental assessments, underscores the growing importance of Document Understanding. While Large Language Models (LLMs) have showcased prowess across diverse natural language processing tasks, their direct application to Document Understanding remains a challenge. Previous research has demonstrated the utility of LLMs in this domain, yet their significant computational demands make them challenging to deploy effectively. Additionally, proprietary Blackbox LLMs often outperform their open-source counterparts, posing a barrier to widespread accessibility. In this paper, we delve into the realm of document understanding, leveraging distillation methods to harness the power of large LLMs while accommodating computational limitations. Specifically, we present a novel approach wherein we distill document understanding knowledge from the proprietary LLM ChatGPT into FLAN-T5. Our methodology integrates labeling and curriculum-learning mechanisms to facilitate efficient knowledge transfer. This work contributes to the advancement of document understanding methodologies by offering a scalable solution that bridges the gap between resource-intensive LLMs and practical applications. Our findings underscore the potential of distillation techniques in facilitating the deployment of sophisticated language models in real-world scenarios, thereby fostering advancements in natural language processing and document comprehension domains.
Open AccessLeveraging Distillation Techniques for Document Understanding: A Case Study with FLAN-T5
The surge of digital documents in various formats, including less standardized documents such as business reports and environmental assessments, underscores the growing importance of Document Understanding. While Large Language Models (LLMs) have showcased prowess across diverse natural language processing tasks, their direct application to Document Understanding remains a challenge. Previous research has demonstrated the utility of LLMs in this domain, yet their significant computational demands make them challenging to deploy effectively. Additionally, proprietary Blackbox LLMs often outperform their open-source counterparts, posing a barrier to widespread accessibility. In this paper, we delve into the realm of document understanding, leveraging distillation methods to harness the power of large LLMs while accommodating computational limitations. Specifically, we present a novel approach wherein we distill document understanding knowledge from the proprietary LLM ChatGPT into FLAN-T5. Our methodology integrates labeling and curriculum-learning mechanisms to facilitate efficient knowledge transfer. This work contributes to the advancement of document understanding methodologies by offering a scalable solution that bridges the gap between resource-intensive LLMs and practical applications. Our findings underscore the potential of distillation techniques in facilitating the deployment of sophisticated language models in real-world scenarios, thereby fostering advancements in natural language processing and document comprehension domains.