Font Generation Model Training via Adversarial Feedback

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current font generation models, particularly those based on Generative Adversarial Networks (GAN), struggle to learn user-style features and generate professional fonts with correct shapes and aesthetics, often producing incorrect characters when extending beyond the training set.

Innovation Solution

A method for training a font generation model using an adversarial loss mechanism, where a source-domain sample character is input to generate a target-domain character, which is then evaluated by a font recognition model to update the model parameters, improving the learning of font features and aesthetics.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a font generation model based on GAN is used, then style diversity can be achieved, but the model fails to learn user-style features and generate professional fonts with correct shapes and aesthetics

Engineering Contradiction:
Improvestyle diversityVSAvoidfont shape accuracy
Core Design Contradiction:
Adaptability or versatilityVSManufacturing precision

Solution Approach 1:

The patent implements a feedback mechanism by using a font recognition model to evaluate generated characters and compute an adversarial loss. This loss is fed back to the font generation model to guide parameter updates, enabling the model to learn from its mistakes and progressively improve font shape accuracy while maintaining style diversity

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent introduces a font recognition model as an intermediary between the font generation model and the evaluation process. This intermediary model acts as a discriminator that provides adversarial feedback, enabling the generation model to learn font features more effectively without directly accessing ground truth labels for all training cases

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If the font generation model extends beyond the training set, then new font styles can be generated, but incorrect characters are produced

Engineering Contradiction:
Improvefont style generalizationVSAvoidcharacter correctness
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The adversarial loss mechanism provides continuous feedback when the model generates characters outside the training distribution. The font recognition model evaluates these generated characters and provides gradient signals that guide the generation model to produce more correct characters while maintaining the ability to generalize to new styles

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary training on a source domain with correct character shapes before extending to target domains. This preliminary action establishes a solid foundation of correct character formation that the model builds upon when learning new styles, reducing the production of incorrect characters during generalization

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11875584B2Method for training a font generation model, method for establishing a font library, and device
Publication Date: 2024.01.16 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US11875584B2 patent drawing
  • US11875584B2 patent drawing
  • US11875584B2 patent drawing

AI summary

Provided are a method for training a font generation model, a method for establishing a font library, and a device. The method for training a font generation model includes the following steps. A source-domain sample character is input into the font generation model to obtain a first target-domain generated character. The first target-domain generated character is input into a font recognition model to obtain the target adversarial loss of the font generation model. The model parameter of the font generation model is updated according to the target adversarial loss.