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

Rohan Sequeira, Matthew Rosenberg, Amin Mahmoudabadbozchelou, Oleg Poliannikov, Jonathan RubinarXiv 2026

TL;DR

Researchers at Amazon Alexa have developed an automated production pipeline that generates animated line-art icons ("Alexicons") from text descriptions. By fine-tuning a FLUX.2 model using Reinforcement Learning from Verifiable Rewards (RLVR), they successfully addressed the "stroke crowding" problem—where lines merge into illegible blobs at production scales—increasing the icon pass rate from 15.7% to 58.7%.

What Problem Does This Paper Address?

Alexa+ devices use animated icons to visually reinforce voice interactions. Historically, these were hand-drawn by designers, a process that couldn't scale to the infinite variety of topics in open-ended conversations.

The primary technical hurdle in automating this is stroke crowding. While a high-resolution generative model might produce a clean drawing, these icons must be rendered on small screens with specific, thick stroke widths. When downscaled, lines that were close together in the high-res output merge into solid black masses, destroying the icon's legibility.

Stroke crowding: (a) looks fine at high-res, but (b) becomes an illegible blob when rendered at production stroke widths.

Standard supervised fine-tuning (SFT) wasn't an option because no large-scale dataset of line-art icons exists that adheres to these specific rendering constraints. Furthermore, simple prompt engineering lacks the spatial precision required to prevent these geometric collisions.

Methods

The authors built a multi-stage pipeline: Image Generation → Semantic Decomposition → Vectorization → Styling → Animation.

The four-stage Alexicon production pipeline.

To optimize the critical first stage (Image Generation), they used Flow-GRPO (Flow-based Group Relative Policy Optimization) to fine-tune an open-source FLUX.2 [klein] 4B model. The core innovation is the reward model, which uses "verifiable rewards" instead of human-in-the-loop feedback:

  1. Stroke-Clearance Measurement: A geometric tool that flags three types of crowding: narrow clearances, fused strokes, and enclosed holes that fill in.
  2. Objective Verifier: A Gradient-Boosted Decision Tree (GBDT) classifier trained to distinguish between genuine defects and "by-design" tight spaces (like where a scissor's blades cross).
  3. Concept-Fidelity Score: A Vision-Language Model (VLM) judge that ensures the model doesn't "cheat" the reward by drawing nothing or drawing the wrong object to avoid crowding.

Datasets

  • Verifier Dataset: 682 generated icons with 3,836 hand-labeled violations (1,928 defects vs. 1,908 "by-design" instances) used to train the GBDT classifier.
  • Training Concept List: 592 text prompts ranging from simple geometric shapes to complex real-world actions.
  • Evaluation Concept List: 1,000 unique concepts, entirely disjoint from the training set, used for final benchmarking.

Key Insights and Ideas

  • Geometry requires Semantic Context: You can't fix stroke crowding with math alone. A geometric tool will flag a "joint" where two parts meet as a defect, even though it's necessary for the icon's structure. The GBDT verifier provides the semantic layer needed to tell the difference.
  • RLVR as an SFT Alternative: When you lack a "gold standard" dataset for a niche style, reinforcement learning against an objective, automated judge is a powerful way to steer a model toward specific design constraints.
  • Flow-GRPO Efficiency: The authors demonstrated that Flow-GRPO can effectively fine-tune flow-matching models like FLUX using LoRA (Low-Rank Adaptation), allowing for rapid iteration without destroying the base model's general knowledge.

Key Results

The fine-tuned model showed a massive improvement in production readiness:

  • Pass Rate: Increased from 15.7% to 58.7% (a 3.7x improvement) when evaluated by an independent VLM judge (Claude Opus).
  • Qualitative Shift: The model learned to simplify internal structures and widen gaps between contours, ensuring icons remain legible even after being rendered with thick production strokes.
  • Training Stability: The combined reward (fidelity + separation) showed that the model improved depiction accuracy and stroke separation in tandem, rather than trading one for the other.
Training reward trajectory showing steady improvement in both line separation and concept fidelity.

Limitations and Future Work

  • Label Noise: The objective verifier has a macro $F_1$ of 0.685. Improving this classifier with a larger, multi-annotator dataset would provide a cleaner reward signal.
  • Structural Ceiling: Some concepts are simply too complex to represent within the fixed canvas and stroke-width constraints. Future work could involve rewarding "concept simplification," allowing the model to omit non-essential details.
  • Dynamic Constraints: The current model is optimized for one specific set of design rules. The authors suggest training against variable scales and stroke widths to make the pipeline more flexible.

Summary updated

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.7x) 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.
BibTeX
@misc{sequeira2026from,
  author = {Rohan Sequeira and Matthew Rosenberg and Amin Mahmoudabadbozchelou and Oleg Poliannikov and Jonathan Rubin},
  title = {{From Handcrafted to Generative: RLVR-Optimized Icon Generation for Alexa+}},
  year = {2026},
  eprint = {2611.06123},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.06123},
}
Figure