Manuscript Offprint

arXiv:2611.06123

From Handcrafted to Generative: RLVR-Optimized Icon Generation for Alexa+

Rohan Sequeira, Matthew Rosenberg, Amin Mahmoudabadbozchelou, Oleg Poliannikov, Jonathan Rubin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Alexa+ devices with screens display animated icons during conversations to visually reinforce what is being said. The original set of these icons was hand-drawn by designers one at a time, a process that produces polished results but is time-consuming and cannot scale to the range of topics encountered in open-ended conversation. We describe an automated pipeline, deployed in production, that generates these vectorised animated icons from a text description alone and surfaces relevant animations to customers based on their ongoing conversation. The pipeline decomposes icon creation into a sequence of stages (image generation, semantic decomposition, vectorisation, styling, and animation). Its quality is determined at the very first of these, image generation, on which every downstream stage depends. We therefore focus on improving this first and most critical stage. Because the icons are rendered on small display canvases under strict design guidelines, generations are often unsuitable for production. Supervised fine-tuning is not viable, as no dataset of line-art icons exists under these constraints. Instead, we design objective verifiers that automatically flag generations violating the design guidelines, and use them to fine-tune a flow matching image generation model via reinforcement learning from verifiable rewards (RLVR). The fine-tuned model raises the pass rate from 15.7% to 58.7% (3.7×) under a VLM judge that is independent of the reward model. Both the trained model and the verifier are deployed in the production pipeline, where the verifier also serves as the automated quality gate before final design review.

Introduction

Conversational assistants on screen-equipped devices communicate through voice, but many interactions benefit from a visual cue that reinforces what is being said. Alexicons are the animated line-art icons that serve this role on Alexa+ devices (Figure 1): a question about cooking surfaces a skillet, a weather query brings up an umbrella. Each icon is rendered in a signature blue gradient with fluid motion, and the original set was hand-drawn by designers one icon at a time. That process produced polished results but could not keep pace with the range of topics Alexa+ encounters in open-ended conversation. We built an automated pipeline that decomposes icon

Figure

Figure 1: Alexicons on an Alexa+ display device. Left: an Alexicon animating on the home screen. Right: two Alexicons shown at closer scale, rendered in the signature blue gradient with fluid line-art strokes.

creation into tractable stages: image generation, semantic decomposition, centreline vectorisation, gradient styling, and procedural Lottie 1^{1} animation. The quality of the final icon is determined at the very first stage, and every downstream stage inherits whatever that first drawing produces. Image generation is the binding bottleneck. This paper describes the automated pipeline we use to serve Alexicons in production traffic, with a focus on the image generation stage and the improvements we made to it.

The initial pipeline relied on a proprietary image generation API. However, it is desirable to have a tailorable model rather than remaining dependent on frontier image generation services. FLUX.2 [klein] (Black Forest Labs 2025), a 4B parameter open-source flow-matching (Lipman et al. 2023) model, was identified as a practical candidate given its permissive licence and undistilled weights.

Alexicons are rendered on small display canvases with strict design guidelines that require relatively large stroke widths. When adjacent contours sit too close in the image generation model's high-resolution output, they merge into solid shapes once re-rendered at the production stroke width, we call this defect stroke crowding. With proprietary models, we managed this through extensive prompt tuning, and automated Vision-Language Model (VLM) judges that dropped failing cases at the cost of generating more variations per icon. Other open-source models we evaluated produced the defect far more often and were less reliable. Out of the box,

∗^{*}Work done during an internship at Amazon.

Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

1^{1}https://lottie.github.io/

Figure

Figure 2: The Alexicon production pipeline. Stage 1 generates black line-art from a text prompt and judges stroke separation quality. Stage 2 uses a VLM to identify semantic components and an image generation model to decompose the drawing into colour-coded parts. Stage 3 vectorises each component into centreline SVG paths and verifies vectorisation fidelity. Stage 4 applies the Alexicon gradient palette, animates the SVG, and exports a Lottie file for on-device playback.

FLUX.2 [klein] exhibits stroke crowding on roughly 85% of generations. Generating at lower resolution or controlling stroke width through prompting would theoretically circumvent the issue, but current image generation models cannot do either reliably while maintaining the required line-art quality, and vectorization of low-resolution images introduces artifacts (visual imperfections, jagged shapes, broken contours, etc.) downstream. Fine-tuning the model to avoid this defect is the natural next step, but supervised fine-tuning requires a corpus of correct examples, and no public dataset of line-art icons exists under these rendering constraints.

Reinforcement learning offers an alternative: it can optimise against a non-differentiable reward without paired data. In this work, we use Flow-GRPO (Flow based- Group Relative Policy Optimization) (Liu et al. 2025) to fine-tune FLUX.2 [klein] against a reward signal that evaluates the model's own rendered output directly. We introduce a morphological measurement tool that flags every region where strokes sit too close. A gradient-boosted classifier trained on 3,836 hand-labelled violations from 682 icons separates genuine defects from spacing the design requires. The trained model and objective verifier are deployed inside the production pipeline, introducing more objective automated quality gates into the Alexicon creation process.