MVMauricio Villegas

Mauricio Villegas

*This is an algorithmically generated author record based on publicly available information.

Mauricio Villegas has a total of 199 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Content and Style Aware Generation of Text-Line Images for Handwriting Recognition

    by Lei Kang, Pau Riba, Marcal Rusinol, Alicia Fornes, Mauricio Villegas

    Handwritten Text Recognition has achieved an impressive performance in public benchmarks. However, due to the high inter- and intra-class variability between handwriting styles, such recognizers need to be trained using huge volumes of manually labeled training data. To alleviate this labor-consuming problem, synthetic data produced with TrueType fonts has been often used in the training loop to gain volume and augment the handwriting style variability. However, there is a significant style bias between synthetic and real data which hinders the improvement of recognition performance. To deal with such limitations, we propose a generative method for handwritten text-line images, which is conditioned on both visual appearance and textual content. Our method is able to produce long text-line samples with diverse handwriting styles. Once properly trained, our method can also be adapted to new target data by only accessing unlabeled text-line images to mimic handwritten styles and produce images with any textual content. Extensive experiments have been done on making use of the generated samples to boost Handwritten Text Recognition performance. Both qualitative and quantitative results demonstrate that the proposed approach outperforms the current state of the art.


  • Open Access

    GANwriting: Content-Conditioned Generation of Styled Handwritten Word Images

    by Lei Kang, Pau Riba, Yaxing Wang, Marçal Rusiñol, Alicia Fornés, Mauricio Villegas

    Although current image generation methods have reached impressive quality levels, they are still unable to produce plausible yet diverse images of handwritten words. On the contrary, when writing by hand, a great variability is observed across different writers, and even when analyzing words scribbled by the same individual, involuntary variations are conspicuous. In this work, we take a step closer to producing realistic and varied artificially rendered handwritten words. We propose a novel method that is able to produce credible handwritten word images by conditioning the generative process with both calligraphic style features and textual content. Our generator is guided by three complementary learning objectives: to produce realistic images, to imitate a certain handwriting style and to convey a specific textual content. Our model is unconstrained to any predefined vocabulary, being able to render whatever input word. Given a sample writer, it is also able to mimic its calligraphic features in a few-shot setup. We significantly advance over prior art and demonstrate with qualitative, quantitative and human-based evaluations the realistic aspect of our synthetically produced images.

  • Open Access

    Unsupervised Adaptation for Synthetic-to-Real Handwritten Word Recognition

    by Lei Kang, Marçal Rusiñol, Alicia Fornés, Pau Riba, Mauricio Villegas

    Handwritten Text Recognition (HTR) is still a challenging problem because it must deal with two important difficulties: the variability among writing styles, and the scarcity of labelled data. To alleviate such problems, synthetic data generation and data augmentation are typically used to train HTR systems. However, training with such data produces encouraging but still inaccurate transcriptions in real words. In this paper, we propose an unsupervised writer adaptation approach that is able to automatically adjust a generic handwritten word recognizer, fully trained with synthetic fonts, towards a new incoming writer. We have experimentally validated our proposal using five different datasets, covering several challenges (i) the document source: modern and historic samples, which may involve paper degradation problems; (ii) different handwriting styles: single and multiple writer collections; and (iii) language, which involves different character combinations. Across these challenging collections, we show that our system is able to maintain its performance, thus, it provides a practical and generic approach to deal with new document collections without requiring any expensive and tedious manual annotation step.

  • Open Access

    Pay Attention to What You Read: Non-recurrent Handwritten Text-Line Recognition

    by Lei Kang, Pau Riba, Marçal Rusiñol, Alicia Fornés, Mauricio Villegas

    The advent of recurrent neural networks for handwriting recognition marked an important milestone reaching impressive recognition accuracies despite the great variability that we observe across different writing styles. Sequential architectures are a perfect fit to model text lines, not only because of the inherent temporal aspect of text, but also to learn probability distributions over sequences of characters and words. However, using such recurrent paradigms comes at a cost at training stage, since their sequential pipelines prevent parallelization. In this work, we introduce a non-recurrent approach to recognize handwritten text by the use of transformer models. We propose a novel method that bypasses any recurrence. By using multi-head self-attention layers both at the visual and textual stages, we are able to tackle character recognition as well as to learn language-related dependencies of the character sequences to be decoded. Our model is unconstrained to any predefined vocabulary, being able to recognize out-of-vocabulary words, i.e. words that do not appear in the training vocabulary. We significantly advance over prior art and demonstrate that satisfactory recognition accuracies are yielded even in few-shot learning scenarios.

  • Unsupervised Adaptation for Synthetic-to-Real Handwritten Word Recognition

    by Lei Kang, Marcal Rusinol, Alicia Fornes, Pau Riba, Mauricio Villegas

    Handwritten Text Recognition (HTR) is still a challenging problem because it must deal with two important difficulties: the variability among writing styles, and the scarcity of labelled data. To alleviate such problems, synthetic data generation and data augmentation are typically used to train HTR systems. However, training with such data produces encouraging but still inaccurate transcriptions in real words. In this paper, we propose an unsupervised writer adaptation approach that is able to automatically adjust a generic handwritten word recognizer, fully trained with synthetic fonts, towards a new incoming writer. We have experimentally validated our proposal using five different datasets, covering several challenges (i) the document source: modern and historic samples, which may involve paper degradation problems; (ii) different handwriting styles: single and multiple writer collections; and (iii) language, which involves different character combinations. Across these challenging collections, we show that our system is able to maintain its performance, thus, it provides a practical and generic approach to deal with new document collections without requiring any expensive and tedious manual annotation step.


  • A set of benchmarks for Handwritten Text Recognition on historical documents

    by Joan Andreu Sánchez, Verónica Romero, Alejandro H. Toselli, Mauricio Villegas, Enrique Vidal


  • Document Domain Adaptation with Generative Adversarial Networks

    by Diede Rusticus, Lutz Goldmann, Matthias Reisser, Mauricio Villegas

    Despite the digitization of communication flows, information is still commonly exchanged via printed documents. Since manual information extraction becomes inefficient and prone to errors, automatic document processing (ADP) tools have been proposed. Following the current trends in machine learning, many of these tools are based on deep learning methods which require a representative set of training documents to achieve good performance for a target domain. In practice, training documents are often scarce and limited to certain domains which makes it difficult to train a model that generalises well to varying domains. This paper analyses the influence of domain shifts on the performance of document analysis tasks. It further explores the improvements that can be achieved with visual domain adaptation using generative adversarial networks (GANs). The results show that the impact of the domain shift on the performance is not only depending on the difference between the domains but also on the analysis task itself. While some tasks such as document binarization are noticeably affected by the domain shift, other tasks like page classification are less sensitive. It is also shown that the use of mapped training data obtained from a GAN, which translates between the source and target domain, can improve the performance considerably.


  • Top Cited Papers
    Open Access

    Transforming scholarship in the archives through handwritten text recognition

    by Guenter Muehlberger, Louise Seaward, Melissa Terras, Sofia Ares Oliveira, Vicente Bosch, Maximilian Bryan, Sebastian Colutto, Hervé Déjean, Markus Diem, Stefan Fiel, et al.

    Purpose: An overview of the current use of handwritten text recognition (HTR) on archival manuscript material, as provided by the EU H2020 funded Transkribus platform. It explains HTR, demonstrates Transkribus, gives examples of use cases, highlights the affect HTR may have on scholarship, and evidences this turning point of the advanced use of digitised heritage content. The paper aims to discuss these issues. Design/methodology/approach: This paper adopts a case study approach, using the development and delivery of the one openly available HTR platform for manuscript material. Findings: Transkribus has demonstrated that HTR is now a useable technology that can be employed in conjunction with mass digitisation to generate accurate transcripts of archival material. Use cases are demonstrated, and a cooperative model is suggested as a way to ensure sustainability and scaling of the platform. However, funding and resourcing issues are identified. Research limitations/implications: The paper presents results from projects: further user studies could be undertaken involving interviews, surveys, etc. Practical implications: Only HTR provided via Transkribus is covered: however, this is the only publicly available platform for HTR on individual collections of historical documents at time of writing and it represents the current state-of-the-art in this field. Social implications: The increased access to information contained within historical texts has the potential to be transformational for both institutions and individuals. Originality/value: This is the first published overview of how HTR is used by a wide archival studies community, reporting and showcasing current application of handwriting technology in the cultural heritage sector.