<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Reinforcement Learning⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Henry Fordjour Ansah</string-name>
          <email>hfansah@uno.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Workshop</string-name>
        </contrib>
        <contrib contrib-type="editor">
          <string-name>Natural Language, SVG, Reinforcement Learning, Supervised-Finetuning, Group Relative Policy Optimization</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of New Orleans</institution>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2025</year>
      </pub-date>
      <abstract>
        <p>This work addresses the challenge of translating free-form textual descriptions into precise, well-formed Scalable Vector Graphics (SVG). We introduce an end-to-end framework that ingests a natural-language prompt, identifies the visual elements and semantic relationships it implies, and produces syntactically valid SVG markup that closely matches the intended image. To ensure both fidelity and robustness, our method incorporates a constrained reinforcement learning stage, enforcing a subset of SVG tags and attributes, and a specialized reward function that balances structural correctness, semantic alignment, and code compactness. The proposal utilizes the Qwen 2.5 coder model and employs a two-stage approach - first, the model undergoes supervised fine-tuning on the deepseek-svg-dataset to enhance the model's capacity for instruction adherence. Second, to ensure the generated SVG adheres to specific constraints, reinforcement learning using the Group Relative Policy Optimization (GRPO) algorithm is applied. This project aims to develop a robust system capable of translating natural language into valid and constrained SVG code.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        The task of translating natural language into vector graphics holds significant potential for creative
expression and programmatic content generation. This project addresses this challenge within the
context of the Kaggle competition ”Drawing with LLMs,” which requires participants to generate SVG
code from textual descriptions. The core approach involves leveraging the reasoning capabilities of
a large language model, specifically the Qwen 2.5 coder model [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], and refining its output through a
combination of supervised fine-tuning and reinforcement learning. This methodology aims to produce
SVG code that is not only semantically relevant to the input prompt but also strictly adheres to the
competition’s constraints on size, allowed elements and attributes and the generation of SVG code
whose renderings are semantically similar to their corresponding prompts. This project builds upon
recent advancements in large language models and their application to code generation and creative
tasks. The expected outcome is a model capable of generating high-quality, constrained SVG code from
natural language prompts, demonstrating the efectiveness of the proposed two-stage training process.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Problem</title>
    </sec>
    <sec id="sec-3">
      <title>Definition and Algorithm</title>
      <sec id="sec-3-1">
        <title>2.1. Task Definition</title>
        <p>The problem addressed in this project is the generation of valid and constrained Scalable Vector Graphics
(SVG) code from natural language descriptions. The input to the system is a textual prompt describing
an image or graphic. The output is a string of SVG code representing that image. This task is crucial for
the ”Drawing with LLMs” Kaggle competition, where submissions are evaluated based on the quality</p>
        <p>CEUR</p>
        <p>ceur-ws.org
and constraint compliance of the generated SVGs. The constraints are: 1) No SVG may be more than
10,000 bytes long. 2) Each SVG may only include elements and attributes from an allowlist, excluding
CSS style elements. 3) No SVG may include any rasterized image data or data from external sources.
Additionally, the evaluation system requires that an SVG is returned within 5 minutes, and all SVGs
are generated in under 9 hours. This problem is interesting due to the complexity of mapping natural
language concepts to precise SVG syntax and the added challenge of enforcing strict output constraints.</p>
      </sec>
      <sec id="sec-3-2">
        <title>2.2. Algorithm Definition</title>
        <p>Qwen 2.5 coder language model, denoted as   0
with parameters  0, on the deepseek-svg-dataset.</p>
        <p>The dataset   
= {(  ,</p>
        <p>)}=1 consists of  examples, where each   = (  ,   ) represents the input,
comprising a natural language prompt   and a reasoning trace   , and   is the target SVG code. The goal
of supervised fine-tuning is to learn a new set of model parameters   
log-likelihood of the target SVG code given the input prompt and reasoning trace.
that minimizes the negative</p>
        <p>Let   = ( ,1 ,  ,2 , ...,  ,  ) be the sequence of tokens representing the SVG code of length   . The
conditional probability of generating the target sequence given the input   and model parameters  is:
dataset:
   .</p>
        <p>=1</p>
        <p>1
 =1
 (  |  ; ) =</p>
        <p>∏  ( , | ,&lt; ,   ; )
ℒ  () = −
∑ log  (
 |  ; )
where  ,&lt; = ( ,1 , ...,  ,−1 ) represents the tokens generated so far.</p>
        <p>The objective of supervised fine-tuning is to minimize the following loss function over the entire
This minimization is typically performed using gradient descent-based optimization algorithms, such
as Adam, to update the model parameters  from the initial parameters  0 to the fine-tuned parameters</p>
        <p>
          Stage 2: Reinforcement Learning for Constraint Enforcement using Group Relative Policy
Optimization (GRPO) The second stage aims to further fine-tune the model    (now considered
the initial policy   0 =    with parameters  0 =    ) using reinforcement learning to ensure that the
generated SVG code adheres to the competition’s constraints. We employ the Group Relative Policy
Optimization (GRPO) algorithm[
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] introduced in the Deepseek Math paper for this purpose.
        </p>
        <p>Let  be a natural language prompt sampled from a distribution  . The policy   (|) represents the
probability of the model with parameters  generating an SVG code  given the prompt  . We define a
reward function () that assigns a high positive reward if the generated SVG code  satisfies all the
constraints (size ≤ 10000 bytes, only allowed elements and attributes, no raster or external data) and a
lower or zero reward otherwise.</p>
        <p>In practice, the GRPO update often involves sampling multiple actions from the current policy for
each prompt and comparing their rewards. The goal is then to maximize the expectation represented as
the objective function:</p>
        <p>GRPO ofers a distinct advantage over traditional reinforcement learning approaches by leveraging
relative comparisons rather than relying solely on absolute reward values. This makes GRPO particularly
efective and eficient in environments where reward signals are sparse, noisy, or dificult to calibrate.
Instead of attempting to estimate the true value of each action, GRPO simply asks whether one action
is better than another within a given group, which leads to more stable learning and often faster
convergence. This relative perspective aligns well with human feedback scenarios, where explicit
numerical rewards may be unavailable but ranking or preference information is easier to obtain.
Moreover, by focusing on group-wise preferences, GRPO can exploit more information per training
batch—since each group allows for multiple pairwise comparisons—leading to more eficient policy
updates. This approach can also mitigate issues like high variance in returns and instability that often
plague absolute reward-based methods such as vanilla policy gradients or PPO.</p>
        <p>
          For this project, we will be using the Huggingface Trl library[
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] to perform both supervised fine-tuning
and reinforcement learning training on our model.
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>3. Experimental Evaluation</title>
      <sec id="sec-4-1">
        <title>3.1. Methodology</title>
        <p>All experiments for this project were conducted on a single NVIDIA A100 GPU with 40GB of memory.
We utilized the Qwen 2.5 coder model, and experiments were performed with the 7B parameter versions.</p>
        <p>Supervised Fine-tuning Setup: For the supervised fine-tuning stage, the Qwen 2.5 coder model
was trained on the deepseek-svg-dataset. Each instance of the dataset consist of a prompt, a step-by-step
reasoning trace and a ground-truth svg answer. We perform data processing by placing the reasoning
traces in think tags &lt;think&gt;...&lt;/think&gt; and the SVG in generated tags
&lt;answer&gt;...&lt;/answer&gt;. We employed the AdamW optimizer with a learning rate schedule that
included a warm-up phase followed by a decay. The batch size was set to 256 and the model was trained
for 100 steps. The primary goal of this stage was to adapt the already instruction-tuned Qwen2.5 coder
model to the task of generating SVG code from natural language prompts and reasoning traces present
in the dataset. This process, popularized in the Deepseek paper as cold start enhances the model’s
capacity for instruction adherence and to generate responses in a specific format before reinforcement
learning is applied.</p>
        <p>
          Reinforcement Learning Setup: Following the supervised fine-tuning, we performed reinforcement
learning using the Group Relative Policy Optimization (GRPO) algorithm on the text2svg-stack dataset[
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]
consisting of 2.17 million instances. Several reward functions were designed to provide a high positive
reward only when the generated SVG code satisfied all the competition constraints: 1) the size was
no more than 10,000 bytes, 2) it only included elements and attributes from the specified allowlist,
and 3) it contained no rasterized image data or data from external sources. Also, we introduced other
reward functions to incentivize the model to generate a response that adhered to the format of having
its chain-of-thought steps in think tags and the output in answer tags. Lastly, we added a similarity
reward function that incentivizes the model to generated svg output that are semantically similar to the
prompt descriptions. We discuss the reward functions below.
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>3.2. Reward Function Design</title>
        <p>To train the SVG generation model using reinforcement learning, we adopt a multi-faceted reward
strategy. This approach ofers progressive feedback at diferent stages of the generation process, thereby
improving the semantic fidelity, structural validity, and aesthetic quality of the outputs. Our reward
functions are composed of six types: Tag Count Reward, Format Reward, Byte Length Reward, Semantic
Similarity Reward, and Structural SVG Reward.</p>
        <sec id="sec-4-2-1">
          <title>3.2.1. Tag Count Reward</title>
          <p>We encourage the model to adhere to the expected output structure by awarding partial rewards
for correctly used tags. Specifically, the tags &lt;think&gt;, &lt;/think&gt;, &lt;answer&gt; and &lt;/answer&gt; are each
rewarded with 0.25, up to a total of 1.0. This soft guidance helps the model learn appropriate response
formatting without being overly rigid.</p>
          <p>= 0.25 ⋅  &lt;ℎ&gt;
+ 0.25 ⋅  &lt;/ℎ&gt;
+ 0.25 ⋅  &lt;&gt;
+ 0.25 ⋅  &lt;/&gt;</p>
        </sec>
        <sec id="sec-4-2-2">
          <title>3.2.2. Format Reward</title>
          <p>To enforce generation structure, we apply a soft format reward that checks whether the response
matches the regular pattern: &lt;think&gt;.../think&gt;
&lt;answer&gt;.../answer&gt;. If this condition is satisfied, a reward of 0.5 is given; otherwise, the reward is 0.
  = {
0.5, if format pattern is matched
0.0, otherwise</p>
        </sec>
        <sec id="sec-4-2-3">
          <title>3.2.3. Byte Length Reward</title>
          <p>This reward ensures the model respects the byte-size limit of 10,000 bytes for SVG files. Outputs
exceeding this limit receive a penalty of −1.0, while compliant outputs receive a reward of 0.5.
  = {
0.5, if byte_length(SVG) ≤ 10,000
−1.0, otherwise</p>
        </sec>
        <sec id="sec-4-2-4">
          <title>3.2.4. Semantic Similarity Reward</title>
          <p>
            We evaluate how well the generated SVG image visually aligns with the input text prompt using a
BLIP-based similarity model. The SVG is converted to a PNG, embedded alongside the text, and scored
via cosine similarity. The resulting similarity score in [
            <xref ref-type="bibr" rid="ref1">0, 1</xref>
            ] is used directly as the reward.
          </p>
          <p>= sim(BLIP_embed(text), BLIP_embed(SVG))</p>
        </sec>
        <sec id="sec-4-2-5">
          <title>3.2.5. Structural SVG Reward</title>
          <p>This reward checks if the generated SVG begins with &lt;svg and ends with &lt;/svg&gt;, which indicates
proper encapsulation of the drawing. Correct structure yields a reward of 1.0, otherwise 0.0.
 struct = {
1.0, if SVG starts with &lt;  
0.0, otherwise
and ends with &lt; /  &gt;</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>4. Results</title>
      <sec id="sec-5-1">
        <title>4.1. Sample Generated SVGs</title>
        <p>To qualitatively assess the model’s output, Figure 2 shows examples of SVG images generated after the
full two-stage training process.</p>
        <p>The generated SVGs demonstrate the model’s ability to produce complex geometric shapes with
appropriate color gradients, fill styles, and background handling. Despite some variance in aesthetic
quality, the outputs successfully adhere to structural and content constraints set by the competition
guidelines.</p>
      </sec>
      <sec id="sec-5-2">
        <title>4.2. Supervised Fine-Tuning (SFT) Results</title>
        <p>During the initial supervised fine-tuning stage, the Qwen2.5 model was trained on the Deepseek-SVG
dataset to learn the mapping from natural language prompts, combined with reasoning traces, to SVG
code outputs. Figure 3 shows the training loss history across training steps.</p>
        <p>The loss curve demonstrates a rapid and consistent decrease in training loss, stabilizing after
approximately 100 steps. The initial high loss indicates the model’s limited understanding of SVG generation at
the start. As training progressed, the model quickly adapted, achieving a smooth convergence toward
lower loss values around 0.4 to 0.5, indicative of successful learning from the Deepseek-SVG dataset.
The stable and decreasing trend suggests that the model was efectively learning the structure and
elements of valid SVG code along with the reasoning trace without signs of overfitting or divergence.</p>
      </sec>
      <sec id="sec-5-3">
        <title>4.3. Reinforcement Learning (RL) with GRPO Results</title>
        <p>Following supervised fine-tuning, the model was further refined using Group Relative Policy
Optimization (GRPO) reinforcement learning to enforce strict competition constraints (e.g., maximum file size,
allowed elements only, no raster images).</p>
        <p>Figure 4 shows the training loss history during the reinforcement learning phase.</p>
        <p>The RL loss curve exhibits significantly more instability compared to the SFT phase, characterized by
sharp spikes at several points during early training (notably between step 5 and step 20). This behavior
is typical in reinforcement learning, where exploration can cause highly variable rewards, especially
when the model initially generates SVGs that either strongly violate or partially satisfy the constraints.</p>
        <p>After the initial fluctuations, the loss gradually stabilizes toward zero, indicating that the model
increasingly produced SVG outputs that conformed to the reward structure defined by the competition
rules. The observed instability highlights the challenge of constraint-driven SVG generation, but the
eventual stabilization demonstrates that the GRPO method was efective in guiding the model toward
constraint-compliant SVG outputs.
4.4. Summary of Model Behavior After Training
• After SFT, the model could reliably generate SVG code from prompts but occasionally violated
competition constraints (e.g., using disallowed tags).
• After GRPO RL, the model’s outputs showed:
– Significant improvements in constraint satisfaction rates (near 100% compliance in internal
evaluations).</p>
        <p>– Improved structural correctness and semantic fidelity of generated SVGs.</p>
        <p>Thus, the two-stage training strategy (SFT → GRPO) proved critical for achieving the performance
necessary for competitive participation in the Drawing with LLMs Kaggle challenge.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>5. Discussion</title>
      <p>The two-stage training framework combining supervised fine-tuning (SFT) and reinforcement learning
(RL) with Group Relative Policy Optimization (GRPO) proved to be an efective strategy for enabling
the Qwen2.5 model to generate competition-compliant SVG code from natural language descriptions.</p>
      <p>The supervised fine-tuning phase was crucial for teaching the model the foundational mapping
between prompts, reasoning traces, and valid SVG outputs. The steady decrease in loss during SFT
(Figure 3) suggests that the model efectively learned to replicate the examples in the Deepseek-SVG
dataset. However, SFT alone was insuficient to guarantee compliance with the strict competition
constraints, such as file size limits, allowed SVG elements, and prohibited raster content.</p>
      <p>Reinforcement learning with GRPO addressed this gap by explicitly rewarding the model for
producing outputs that satisfied all constraints. Although the RL training curve (Figure 4) showed significant
volatility initially—typical for reinforcement learning scenarios—the eventual stabilization demonstrated
the model’s ability to adapt under constraint-driven optimization. Nevertheless, RL introduced
challenges such as exploration-induced instability and occasional reward hacking attempts, where the
model initially found degenerate ways to maximize rewards without improving SVG quality.</p>
      <p>In conclusion, the two-stage training process efectively prepared the model for competitive
deployment. The project highlights the importance of reinforcement learning when strict structural
requirements must be met and demonstrates the synergy between supervised pretraining and
rewarddriven refinement.</p>
    </sec>
    <sec id="sec-7">
      <title>6. Related Work</title>
      <p>The generation of vector graphics from natural language descriptions has garnered increasing attention
in recent years, building upon advancements in both natural language processing and generative
modeling. Several approaches have been explored, ranging from rule-based systems to deep learning
models.  </p>
      <p>
        Early work in text-to-SVG generation often relied on rule-based systems or template-based methods,
where predefined patterns were mapped to specific linguistic structures. For instance, [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] demonstrated
a system capable of generating simple geometric shapes based on limited natural language input.
However, these methods typically lack the flexibility and generalizability to handle complex or novel
descriptions.
      </p>
      <p>
        With the rise of deep learning, more sophisticated generative models have been applied to this
task. Recurrent Neural Networks (RNNs) and their variants, such as LSTMs and GRUs, have been
used to directly generate SVG code as a sequence of tokens [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. These models learn the syntax and
structure of SVG by training on datasets of SVG code and corresponding descriptions. More recently,
Transformer-based architectures have shown significant promise in various sequence generation tasks,
including code generation. Models like [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] have demonstrated the ability to generate coherent and
syntactically correct code in diferent programming languages. The application of such models to SVG
generation, as explored in this project with the Qwen 2.5 model, represents a natural progression in
leveraging the capabilities of large language models for creative tasks.  
      </p>
      <p>
        The use of reinforcement learning to guide the output of generative models has also been explored
in various contexts, including text generation. Techniques like policy gradient methods have been
used to optimize models based on non-diferentiable reward signals, such as those related to style,
lfuency, or adherence to specific constraints [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. In the domain of image generation, reinforcement
learning has been used to improve the quality and coherence of generated images [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. The application
of Group Relative Policy Optimization (GRPO) in this project builds upon this line of work, specifically
focusing on enforcing the hard constraints imposed by the Kaggle competition on the generated SVG
code. GRPO, as described in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], ofers a method for efectively optimizing policies by comparing their
performance relative to a group of other policies, which can be particularly useful in scenarios with
complex reward landscapes, such as those involving multiple constraints.  
      </p>
      <p>This project distinguishes itself from prior work by combining the strong reasoning capabilities of
the Qwen 2.5 model, a state-of-the-art large language model, with a targeted reinforcement learning
approach using GRPO to ensure strict adherence to the competition’s constraints. While previous
work has explored either direct generation of SVG using sequence models or the use of reinforcement
learning for guiding generative models, this project specifically focuses on a two-stage approach that
leverages the strengths of both supervised learning on a relevant dataset and reinforcement learning
for fine-grained control over the output format and content, particularly in the context of a real-world
competition with specific requirements.</p>
    </sec>
    <sec id="sec-8">
      <title>7. Declaration on Generative AI</title>
      <p>During the course of this research, the Qwen 2.5 and Gemma language models were utilized to perform
evaluation experiments through the HuggingFace Transformers library. These tools were applied
strictly within the context of experimental assessment as described in the methodology. No generative
AI systems were employed for the writing or editing of this manuscript. The author assumes full
responsibility for the accuracy and integrity of the publication’s content.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>B.</given-names>
            <surname>Hui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Cui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , T. Liu,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Dang</surname>
          </string-name>
          , et al.,
          <source>Qwen2. 5-coder technical report, arXiv preprint arXiv:2409.12186</source>
          (
          <year>2024</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Q.</given-names>
            <surname>Z. R. X. J. S. M. Z. Y. L. Y. W. D. G. Zhihong</surname>
          </string-name>
          <string-name>
            <surname>Shao</surname>
          </string-name>
          , Peiyi Wang,
          <article-title>Deepseekmath: Pushing the limits of mathematical reasoning in open language models</article-title>
          ,
          <year>2024</year>
          . URL: https://arxiv.org/abs/2402.03300.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>L.</given-names>
            <surname>von Werra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Belkada</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Tunstall</surname>
          </string-name>
          , E. Beeching,
          <string-name>
            <given-names>T.</given-names>
            <surname>Thrush</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Lambert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Rasul</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Gallouédec</surname>
          </string-name>
          , Trl: Transformer reinforcement learning, https://github.com/huggingface/trl,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Rodriguez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Puri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Agarwal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I. H.</given-names>
            <surname>Laradji</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Rodriguez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Rajeswar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Vazquez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Pal</surname>
          </string-name>
          , M. Pedersoli,
          <source>StarVector: Generating Scalable Vector Graphics Code from Images and Text, arXiv preprint arXiv:2312.11556</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Q. T.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. J.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <article-title>Using restricted natural language for geometric construction</article-title>
          ,
          <source>Applied Mechanics and Materials</source>
          <volume>145</volume>
          (
          <year>2012</year>
          )
          <fpage>465</fpage>
          -
          <lpage>469</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>X.</given-names>
            <surname>Xing</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , D. Xu, Svgdreamer++:
          <article-title>Advancing editability and diversity in text-guided svg generation</article-title>
          ,
          <source>IEEE Transactions on Pattern Analysis and Machine Intelligence</source>
          (
          <year>2025</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xiong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Mou</surname>
          </string-name>
          ,
          <string-name>
            <surname>L. Zhang,</surname>
          </string-name>
          <article-title>Treegen: A tree-based transformer architecture for code generation</article-title>
          ,
          <source>in: Proceedings of the AAAI conference on artificial intelligence</source>
          , volume
          <volume>34</volume>
          ,
          <year>2020</year>
          , pp.
          <fpage>8984</fpage>
          -
          <lpage>8991</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S.</given-names>
            <surname>Kumar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Malmi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Severyn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Tsvetkov</surname>
          </string-name>
          ,
          <article-title>Controlled text generation as continuous optimization with multiple constraints</article-title>
          ,
          <source>Advances in Neural Information Processing Systems</source>
          <volume>34</volume>
          (
          <year>2021</year>
          )
          <fpage>14542</fpage>
          -
          <lpage>14554</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>O.</given-names>
            <surname>Oertell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. D.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Brantley</surname>
          </string-name>
          , W. Sun,
          <article-title>Rl for consistency models: Faster reward guided text-to-image generation</article-title>
          ,
          <source>arXiv preprint arXiv:2404.03673</source>
          (
          <year>2024</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>