


OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons
In recent years, many surprising breakthroughs have been made in the field of text-generated images, and many models are capable of creating high-quality and diverse images based on text instructions. Although the generated images are already very realistic, current models are usually good at generating physical images such as landscapes and objects, but have difficulty generating images with highly coherent details, such as images with complex glyph text such as Chinese characters
In order to solve For this problem, researchers from OPPO and other institutions have proposed a universal learning framework called GlyphDraw. The goal of this framework is to enable models to generate images embedded with coherent text. This work is the first in the field of image synthesis to solve the problem of Chinese character generation
Please click the following link to view the paper: https://arxiv. org/abs/2303.17870
Project home page link: https://1073521013.github.io/glyph-draw.github.io/
Let’s take a look at the generation effect first, such as generating warning slogans for the exhibition hall:
Making billboards:
Add a brief text description to the picture, and you can also diversify the text style
Another interesting and practical example is to generate emoticons:
Although there are some flaws in the results, overall the results generated by this study have been excellent. The main contributions of this research include:
This research proposes a Chinese character image generation framework called GlyphDraw. During the entire generation process, using auxiliary information such as Chinese character glyphs and positions, this framework can provide fine-grained guidance, so that the generated Chinese character images can be seamlessly embedded into the image with high quality
This study proposes an effective training strategy that successfully maintains the model's performance in open domain generation by limiting the number of trainable parameters in the pre-trained model to prevent overfitting and catastrophic forgetting. Strong performance and the ability to accurately generate Chinese character images
This study details the process of building a training dataset and proposes a new baseline method to evaluate Chinese character image generation the quality of. Among them, the generation accuracy of GlyphDraw reaches 75%, which is significantly better than the previous image synthesis method
Model introduction:
First, this study designed a complex image-text data set construction strategy. Then, using the open source image synthesis algorithm Stable Diffusion, a general learning framework GlyphDraw is proposed, as shown in Figure 2
The overall training goal of stable diffusion can be expressed as the following formula :
GlyphDraw is based on the cross-attention mechanism in Stable Diffusion. It cascades the latent vector z_t of the original input with the latent vector z_t of the image, the text mask l_m and the glyph image l_g
In addition, by using domain-specific fusion Module,Condition C is equipped with mixed glyph and text features. The introduction of text mask and glyph information enables the entire training process to achieve fine-grained diffusion control, which is a key component to improve model performance and can ultimately generate images with Chinese character text
Specifically, text The pixel representation of information, especially in complex text forms, such as pictographic Chinese characters, is significantly different from natural objects. For example, the Chinese word "sky" is composed of multiple strokes in a two-dimensional structure, and the corresponding natural image is "blue sky dotted with white clouds." In contrast, Chinese characters have very fine-grained characteristics, and even small movements or deformations can cause the text to render incorrectly, making image generation impossible
Embedding characters into natural image backgrounds also requires consideration of a key issue, which is to accurately control the generation of text pixels without affecting adjacent natural image pixels. In order to display perfect Chinese characters on natural images, the author designed two key components, namely position control and glyph control, which were integrated into the diffusion synthesis model
Different from the global conditional input of other models, the character Generation requires more attention to specific local areas of the image because the underlying feature distribution of character pixels is very different from that of natural image pixels. In order to prevent model learning from collapsing, this study innovatively proposes fine-grained position area control to decouple the distribution between different areas
Rewritten content: In addition to position control, another important issue is Get fine control over Chinese character stroke synthesis. Considering the complexity and diversity of Chinese characters, it is very difficult to just learn from a large image-text dataset without any explicit prior knowledge. In order to accurately generate Chinese characters, this study introduces explicit glyph images as additional conditional information into the diffusion process of the model
In order to keep the original meaning unchanged, it is necessary to The content has been rewritten into Chinese. The following is the rewritten content: Research Design and Experimental Results
Since there is no previous dataset specifically for Chinese character image generation, this study first created a benchmark dataset ChineseDrawText for qualitative and quantitative evaluation. Subsequently, the researchers tested the generation accuracy of several methods on ChineseDrawText and evaluated it through the OCR recognition model
The GlyphDraw model proposed in this study fully utilizes the auxiliary Glyph and position information, achieving an excellent average accuracy of 75%, proving the model's excellent ability in character image generation. The following figure shows the visual comparison results of several methods
#In addition, GlyphDraw can also maintain open-domain image synthesis performance by limiting training parameters, in MS-COCO FID-10k The FID of general image synthesis only dropped by 2.3

The above is the detailed content of OPPO proposes GlyphDraw: one-click generation of images with Chinese characters, diffusion model to output emoticons. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











In modern manufacturing, accurate defect detection is not only the key to ensuring product quality, but also the core of improving production efficiency. However, existing defect detection datasets often lack the accuracy and semantic richness required for practical applications, resulting in models unable to identify specific defect categories or locations. In order to solve this problem, a top research team composed of Hong Kong University of Science and Technology Guangzhou and Simou Technology innovatively developed the "DefectSpectrum" data set, which provides detailed and semantically rich large-scale annotation of industrial defects. As shown in Table 1, compared with other industrial data sets, the "DefectSpectrum" data set provides the most defect annotations (5438 defect samples) and the most detailed defect classification (125 defect categories

The open LLM community is an era when a hundred flowers bloom and compete. You can see Llama-3-70B-Instruct, QWen2-72B-Instruct, Nemotron-4-340B-Instruct, Mixtral-8x22BInstruct-v0.1 and many other excellent performers. Model. However, compared with proprietary large models represented by GPT-4-Turbo, open models still have significant gaps in many fields. In addition to general models, some open models that specialize in key areas have been developed, such as DeepSeek-Coder-V2 for programming and mathematics, and InternVL for visual-language tasks.

Editor |KX To this day, the structural detail and precision determined by crystallography, from simple metals to large membrane proteins, are unmatched by any other method. However, the biggest challenge, the so-called phase problem, remains retrieving phase information from experimentally determined amplitudes. Researchers at the University of Copenhagen in Denmark have developed a deep learning method called PhAI to solve crystal phase problems. A deep learning neural network trained using millions of artificial crystal structures and their corresponding synthetic diffraction data can generate accurate electron density maps. The study shows that this deep learning-based ab initio structural solution method can solve the phase problem at a resolution of only 2 Angstroms, which is equivalent to only 10% to 20% of the data available at atomic resolution, while traditional ab initio Calculation

For AI, Mathematical Olympiad is no longer a problem. On Thursday, Google DeepMind's artificial intelligence completed a feat: using AI to solve the real question of this year's International Mathematical Olympiad IMO, and it was just one step away from winning the gold medal. The IMO competition that just ended last week had six questions involving algebra, combinatorics, geometry and number theory. The hybrid AI system proposed by Google got four questions right and scored 28 points, reaching the silver medal level. Earlier this month, UCLA tenured professor Terence Tao had just promoted the AI Mathematical Olympiad (AIMO Progress Award) with a million-dollar prize. Unexpectedly, the level of AI problem solving had improved to this level before July. Do the questions simultaneously on IMO. The most difficult thing to do correctly is IMO, which has the longest history, the largest scale, and the most negative

In 2023, almost every field of AI is evolving at an unprecedented speed. At the same time, AI is constantly pushing the technological boundaries of key tracks such as embodied intelligence and autonomous driving. Under the multi-modal trend, will the situation of Transformer as the mainstream architecture of AI large models be shaken? Why has exploring large models based on MoE (Mixed of Experts) architecture become a new trend in the industry? Can Large Vision Models (LVM) become a new breakthrough in general vision? ...From the 2023 PRO member newsletter of this site released in the past six months, we have selected 10 special interpretations that provide in-depth analysis of technological trends and industrial changes in the above fields to help you achieve your goals in the new year. be prepared. This interpretation comes from Week50 2023

Editor |ScienceAI Question Answering (QA) data set plays a vital role in promoting natural language processing (NLP) research. High-quality QA data sets can not only be used to fine-tune models, but also effectively evaluate the capabilities of large language models (LLM), especially the ability to understand and reason about scientific knowledge. Although there are currently many scientific QA data sets covering medicine, chemistry, biology and other fields, these data sets still have some shortcomings. First, the data form is relatively simple, most of which are multiple-choice questions. They are easy to evaluate, but limit the model's answer selection range and cannot fully test the model's ability to answer scientific questions. In contrast, open-ended Q&A

Editor | KX Retrosynthesis is a critical task in drug discovery and organic synthesis, and AI is increasingly used to speed up the process. Existing AI methods have unsatisfactory performance and limited diversity. In practice, chemical reactions often cause local molecular changes, with considerable overlap between reactants and products. Inspired by this, Hou Tingjun's team at Zhejiang University proposed to redefine single-step retrosynthetic prediction as a molecular string editing task, iteratively refining the target molecular string to generate precursor compounds. And an editing-based retrosynthetic model EditRetro is proposed, which can achieve high-quality and diverse predictions. Extensive experiments show that the model achieves excellent performance on the standard benchmark data set USPTO-50 K, with a top-1 accuracy of 60.8%.

Editor | ScienceAI Based on limited clinical data, hundreds of medical algorithms have been approved. Scientists are debating who should test the tools and how best to do so. Devin Singh witnessed a pediatric patient in the emergency room suffer cardiac arrest while waiting for treatment for a long time, which prompted him to explore the application of AI to shorten wait times. Using triage data from SickKids emergency rooms, Singh and colleagues built a series of AI models that provide potential diagnoses and recommend tests. One study showed that these models can speed up doctor visits by 22.3%, speeding up the processing of results by nearly 3 hours per patient requiring a medical test. However, the success of artificial intelligence algorithms in research only verifies this
