Manuscript Offprint

arXiv:2608.29540

NepScript Genesis: Neural Architecture Search for Handwritten Devanagari Digit Synthesis

Mausam Gurung, Prabin Neupane, Sajjan Acharya

Abstract

This paper introduces NepScript Genesis, a Neural Architecture Search (NAS) framework for automated Generative Adversarial Network (GAN) discovery, applied to conditional Devanagari handwritten digit synthesis. We compare five NAS strategies against a carefully constructed Deep Convolutional GAN (DCGAN) baseline (FID = 332.28). Architecture selection utilizes a two-stage pipeline guided by a novel domain-aware evaluation metric (Enhanced Score). Results demonstrate that Adaptive Exploration achieves the optimal quality-efficiency trade-off, attaining an FID of 79.12—a 76.19% improvement over the baseline—and the highest mode coverage among the NAS strategies (Recall = 0.531) in under one GPU-hour. Furthermore, we demonstrate that incorporating script-specific structural heuristics into the search phase prevents early-stage mode collapse. In a downstream low-resource evaluation, augmenting 250 real training samples per class with GAN-generated digits from the best NAS model improves CNN classification accuracy from 91.0% to 96.5% (+5.5 percentage points), demonstrating that NAS-optimized synthesis produces digits of sufficient quality to benefit practical recognition pipelines when real data is scarce.

Keywords: Neural Architecture Search, GANs, Devanagari, Conditional Image Synthesis, DCGAN, Adaptive Exploration, FID, Inception Score

1 Introduction

The synthesis of handwritten characters from low-resource scripts is an important yet underexplored problem in generative modeling. Devanagari [1], the script underlying Nepali, Hindi, Sanskrit, and several other South Asian languages, presents particular challenges for generative models: its characters feature complex stroke topologies, conjunct consonant forms, vowel diacritics, and a distinctive horizontal headline (shirorekha) that must be faithfully reproduced for generated samples to be legible. Automated synthesis of such script is practically valuable for data augmentation in OCR pipelines [2, 3], educational tool development, and digital preservation of handwritten documents in low-resource language settings [4].

Yet GAN training remains sensitive to architectural choices: network depth, normalization scheme, activation functions, latent space dimensionality, and regularization must all be selected by the practitioner through costly trial-and-error iteration. For a script as structurally demanding as Devanagari, poor architectural choices lead directly to mode collapse or failure to reproduce stroke topology.

Neural Architecture Search (NAS) [5] replaces this manual process with automated exploration guided by performance feedback. NAS has been extended to generative settings through AdversarialNAS [6] and AutoGAN [7], but has not been systematically applied to GAN architecture search for Devanagari or other Brahmic script synthesis tasks.

We address this gap with NepScript Genesis, a NAS framework that automates GAN architecture discovery for conditional Devanagari digit synthesis. We compare five search strategies against a manually designed DCGAN baseline and show that automated search consistently recovers better architectures within a practical single-GPU budget.

We make the following contributions:

  1. We design and evaluate a manual DCGAN baseline [8] for Devanagari digit synthesis, establishing reference FID, IS, Precision, and Recall scores against which all NAS-discovered architectures are compared. Manual DCGAN: FID = 332.28 | IS = 2.00 | P = 0.693 | R = 0.552

  2. We implement and compare five NAS strategies — Random Search [9], Progressive Search, Adaptive Exploration, Multi-fidelity Search [10, 11], and AdversarialNAS [6] — under a fixed evaluation budget, demonstrating that intelligent search strategies consistently improve upon the manual baseline.

  3. We show that Adaptive Exploration achieves the best quality-efficiency trade-off, surpassing the manual DCGAN baseline on FID by 76.2% (332.28 → 79.12) while requiring only 56.56 minutes of search time — less than half the cost of AdversarialNAS (124.50 min).

  4. We release an open-source reproducible framework [12] for NAS experimentation on Devanagari and other Brahmic scripts, publicly available at https://github.com/M9star/NepScript-Genesis-Framework.

References (34)

  • Data in Brief, 39:107642, 2021
  • Handwriting recognition in low-resource scripts using adversarial learning
  • AutoML: A survey of the state-of-the-art
  • AdversarialNAS: Adversarial neural architecture search for GANs
  • AutoGAN: Neural architecture search for generative adversarial networks
  • Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks
  • Random search and reproducibility for neural architecture search
  • Hyperband: A novel bandit-based approach to hyperparameter optimization
  • Non-stochastic best arm identification and hyperparameter optimization
  • Improving reproducibility in machine learning research
  • Progressive growing of GANs for improved quality, stability, and variation
  • A style-based generator architecture for generative adversarial networks
  • Large scale GAN training for high fidelity natural image synthesis
  • Wasserstein generative adversarial networks
  • Improved training of Wasserstein GANs
  • Spectral normalization for generative adversarial networks
  • Batch normalization: Accelerating deep network training by reducing internal covariate shift
  • Instance normalization: The missing ingredient for fast stylization (opens arXiv in a new tab)
  • GANs trained by a two time-scale update rule converge to a local Nash equilibrium
  • Conditional generative adversarial nets (opens arXiv in a new tab)
  • Neural architecture search with reinforcement learning
  • Efficient neural architecture search via parameter sharing
  • Regularized evolution for image classifier architecture search
  • DARTS: Differentiable architecture search
  • SNAS: Stochastic neural architecture search
  • Deep learning based large scale handwritten Devanagari character recognition
  • Devanagari handwritten character dataset
  • Generative adversarial nets
  • Dropout: A simple way to prevent neural networks from overfitting
  • Deep residual learning for image recognition
  • Rethinking the inception architecture for computer vision
  • Categorical reparameterization with Gumbel-Softmax
  • Improved techniques for training GANs
  • Improved precision and recall metric for assessing generative models