Article

October 13, 2026

Delineo: Adaptation of a diffusion model for sketch-guided user interface prototyping

Matheus Mendes Silva; Edilson José Rodrigues

DOI: 10.22167/2675-6528-202603291

Article derived from a Final Course Work (TCC), with content based on the student’s original work and adapted to the editorial format of the E&S Magazine with the support of the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege for textual synthesis and organization.

Summary

The evolution of artificial intelligence and deep neural networks has revolutionized human-machine interactions, but the prototyping of user interfaces with generative models faces critical challenges in preserving the idealized spatial structure. To address this divergence, a conditional latent diffusion model was adapted, integrating a control architecture with a large-scale model specifically fine-tuned for mobile interfaces. The approach utilized user interface sketches to guide image inference. The method’s feasibility was validated through automated quantitative evaluation and qualitative analysis conducted with a group of industry experts. The results confirmed that the method surpassed the original model’s capabilities, but the evaluation highlighted aesthetic degradation and loss of functional elements in the logical structuring of the interface. It was concluded that, although the technology demonstrates technical feasibility for optimizing the transition between requirements and code implementation, the automation of creative processes still demands architectural improvements to achieve the visual rigor required by the software development industry.

Keywords: low-rank adaptation; machine learning; conditional latent diffusion; deep neural networks.

1. Introduction

The software development process undergoes constant changes, evolving to meet the accelerated pace of the industry. A fundamental part of this cycle is user interface prototyping, which defines the customer journey and enables requirement validation before implementation (Al-Saqqa et al., 2020). This stage presents great openness for the exploration of methodologies based on artificial intelligence (AI), potentially enhancing the creative process and increasing productivity.

Modern industry seeks to develop intelligent and interactive systems, both machine-to-machine and human-to-machine, driving the automation of tasks and processes performed by humans (Ismail and Hassan, 2019). Following this trend, global investments in AI have shown remarkable growth, especially in countries like the United States, China, and the United Kingdom. In the corporate sector, adoption is also growing rapidly: 78% of organizations reported using AI, according to the AI Index Report 2025 from Stanford University (HAI, 2025). In this context, several studies explore the use of generative artificial intelligence (GenAI) to automate stages of the software development cycle, including documentation creation, code production, test automation, and even the creation of agents to assist in code review and the elaboration of digital system architecture (Beltramelli, 2018; He et al., 2025; Wan et al., 2025; Wang et al., 2024).

Most published studies focus on code generation, produced from textual specifications or user interface (UI) images, often elaborated by dedicated design teams. In contrast to the aforementioned studies, the present work focuses on the visual UI design stage. This process precedes both development routes, whether by manual coding or by code generation with automated tools, serving as the foundation for all subsequent software development (Lauff et al., 2018). However, the application of these technologies for user interface prototyping, besides being little explored, faces critical challenges, as generative models frequently fail to respect the idealized spatial structure.

Deep neural network models are widely used for activities that require generative capacity. Latent diffusion models (LDMs), a variant of text-to-image (T2I) models, stand out for presenting performance comparable to the state-of-the-art and greater computational efficiency (Rombach et al., 2022). Although T2I models are powerful tools for image generation, textual input plays a fundamental role in the obtained results, and this architecture can generate imprecise and unstable results due to not allowing greater user control over the generated images, resulting in a negative experience for non-specialized individuals (Liu and Chilton, 2022; Mou et al., 2024). Considering the visual nature of interfaces, the automation of UI prototyping requires neural network architectures capable of understanding and synthesizing layouts while respecting complex visual hierarchies. In this context, the research is based on conditional image generation methodologies, anchoring the inference process in a reference image (Couairon et al., 2023; Mou et al., 2024; Zhang et al., 2023; Zhao et al., 2023).

Given the above, the present work aims to adapt latent diffusion models for the generation of high-fidelity prototypes through supplementary training, using open-source technologies and publicly available databases. The hypothesis is that the developed adapters will surpass the capabilities of the original base model, ensuring higher visual quality and structural fidelity to the reference sketch.

2. Material and Methods

To compose the training database, public datasets made available by related works were used, containing UI images of mobile applications. The scope limitation to the mobile ecosystem aimed to simplify hierarchical structures and optimize the inference process due to the smaller screen dimensions, reducing the computational cost related to the complexity of matrix calculations.

Database

The MUD database contributed approximately 7,200 images, each associated with a file containing metadata of the component hierarchy, detailing classes, spatial coordinates, and other descriptive attributes (Feng et al., 2024). Complementarily, approximately 1,700 UI images were selected from the VINS database, which also provides metadata of visual components and human-annotated spatial coordinates (Bunian et al., 2021). Finally, approximately 3,500 UI sketch images were incorporated from the SWIRE database, created in collaboration with design professionals (Huang et al., 2019). Each sketch in this database references UI images from the Rico database (Deka et al., 2017), but the Rico database was avoided due to inconsistencies in spatial metadata (Feng et al., 2024).

Data preprocessing

A preprocessing step was implemented to ensure the consistency of the training dataset. Initially, metadata was screened to filter samples with unwanted components (ads, “iframes”), text in non-Latin alphabets, or screenshots in landscape orientation. The notification bar present in the images was cropped to avoid noise and biases. To enrich the data, synthetic data were generated to create corresponding outlines for datasets composed solely of UI images. Image generation was performed using Python scripts, adapted to the metadata structure of each database. The algorithm processes the component hierarchy metadata of each UI and uses class and coordinate information to draw the representation of relevant components using the OpenCV computer vision library (Bradski, 2000). The result of this process is images with a black background and white lines that maintain the aspect ratio of the original UI images, with minor distortions and random noise added for diversity, as illustrated in Figure 1.

Figure 1. Example of preprocessing results and synthetic outline generation

Source: Original survey data

Next, all images were resized to the target resolution of 720 pixels in width by 1280 pixels in height, preserving the original aspect ratio. Finally, textual instructions complementary to the sketches were generated. The images were submitted to the “application program interface” [API] of the multimodal model “Gemini 2.0 Flash” (Google, 2025), through a script developed in Python. A “system prompt” was created to standardize the description of styles and visual elements, as well as to identify and discard samples with excessive noise or low aesthetic quality.

Hardware, infrastructure and tools

For the development of the preprocessing, training, and quantitative evaluation scripts, the Python programming language was adopted. The research was based on the free software ecosystem, using open-source libraries such as Open CV (Bradski, 2000), PyTorch (Paszke et al., 2019), Diffusers (von Platen et al., 2022), Transformers (Wolf et al., 2020), and Accelerate (Gugger et al., 2020). The computational infrastructure consisted of an NVIDIA A100 graphics processing unit [GPU], equipped with 80 GB of high-performance video memory, allocated through a cloud computing service. The developed scripts are available at https://github.com/mendexjs/delineo.

Base diffusion model

Considering the database volume and limited computational resources, the adopted strategy consisted of supplementary training of a model with frozen parameters. The LDM “Stable Diffusion” [SD] was chosen as the base model due to its computational efficiency and widespread use in related works (Rombach et al., 2022). SD performs the iterative denoising process in a low-dimensional latent space, which reduces memory consumption during inference. The latest version, SD 3, introduced a “multimodal diffusion transformer” architecture, which uses distinct weights for processing textual and visual modalities, resulting in superior performance in prompt adherence and typography generation (Esser et al., 2024). This architecture adds the “Text-To-Text Transfer Transformer” [T5] text encoder (Raffel et al., 2020), improving the ability to understand semantics and render text compared to CLIP (Radford et al., 2021). Tests have shown that T5 improves results with longer and more detailed instructions, a relevant aspect for precise UI element generation.

Conditional control architecture

To enhance the results of LDMs, Zhang et al. (2023) introduced “ControlNet”, a framework that allows conditioning image generation through additional spatial information. As an attached module, “ControlNet” ensures training stability by keeping the original weights and parameters of the base model unchanged, delegating spatial structure to the control network and visual details to the diffusion model. Full training of a “ControlNet” architecture demands a large volume of data and computational resources. The present study opted for adapting a “ControlNet canny edges” network through supplementary training, due to the visual similarity between edge images and UI sketches. For this, the training database, containing approximately 12,400 images, was used. Table 1 presents the configurations and hyperparameters used in the training.

Table 1. Training configuration and hyperparameters of the “ControlNet” network

Parameter / HyperparameterValueDescription
Model Architecture“Stable Diffusion 3.5 Large”Base diffusion model
Control architecture“ControlNet Canny”Trained control module
Training resolution1024×1024Resizing solution
Numerical precisionbf16Mixed precision format
Optimizer8-bit AdamQuantized version of AdamW for VRAM saving
Learning rate10-5Fixed learning rate
Effective batch size32Accumulated samples before weight update
Training epochs18Full passes over the dataset
“Gradient Checkpointing”ActivatedMemory optimization for high-resolution training

Source: Original survey data

Low-rank adapter

During preliminary tests, it was observed that the generated images lacked aesthetic consistency and varied in visual quality. To address this, a low-rank adaptation (LoRA) was added to the “pipeline”, responsible for injecting trainable low-rank decomposition matrices. This type of adaptation is used to add stylistic nuances and specific characteristics to generative models without requiring a large volume of data (Hu et al., 2022; Gandikota et al., 2024; Wu et al., 2024). For LoRA training, 156 images of modern UIs from distinct categories were manually collected, extracted from free repositories specialized in design. The generation of textual instructions followed the same process and “system prompt” applied in the training datasets of the “ControlNet” network. The dataset underwent pre-processing to standardize image size and reduce the representational discrepancy of categories with fewer samples, applying a controlled oversampling strategy, setting the 75th percentile of sample volume among classes as the balancing target, with a strict limit of four repetitions for minority category samples. Table 2 presents the configurations and hyperparameters used.

Table 2. Configuration and hyperparameters for low-rank adapter training

Parameter / HyperparameterValueDescription
Model Architecture“Stable Diffusion 3.5 Large”Base diffusion model
Position64Trainable matrix post
Training resolution1024×1024Resizing solution
Numerical precisionbf16Mixed precision format
Learning rate10-4Learning rate of the “Transformer” network
Text encoder learning rate10-5Learning rate used in the textual input encoders
Effective batch size2Accumulated samples before weight update
Training steps1000Step limit for training
Learning Rate Scheduler“cosine”Reduces the learning rate over training
Warm-up Steps150Steps for transitioning the learning rate from 0 to maximum value
“Gradient Checkpointing”ActivatedMemory optimization for high-resolution training

Source: Original survey data

Quantitative evaluation

Due to the specificity of the user interface domain, commonly used metrics in the evaluation of T2I models (such as CLIPScore and LPIPS) have shown to be limited (Hessel et al., 2021; Zhang et al., 2018). A more compatible evaluation strategy with the study’s objectives was adopted, comparing the original textual instruction with a textual description of the image, generated by the same process used in the construction of the training set. For this purpose, the “Sentence-BERT” [SBERT] technique (Reimers and Gurevych, 2019) was used, which projects entire sentences into dense vectors to calculate semantic similarity. To adapt the metric to the UI domain, empirical minimum and maximum limits were established. The empirical maximum limit (Tmax) was defined from a variation experiment, where 20 distinct captions were generated for 44 UI images, and the SBERT similarity between all possible pairs of captions was computed. The 10th percentile of the statistical distribution of these scores was adopted as Tmax, as illustrated in Figure 2.

Figure 2. Histogram of the similarity distribution (SBERT) for the definition of the empirical maximum consistency limit

Source: Original survey data

In contrast, the empirical lower bound (Tmin) was established to define a minimum level of similarity arising from the intrinsic noise of the domain. To estimate this level, the captions from the training dataset of “ControlNet” were used to generate 50,000 random pairs, allowing the calculation of the SBERT residual similarity between the UI descriptions. Figure 3 illustrates the obtained statistical distribution, and the 75th percentile was defined as Tmin.

Figure 3. Histogram of the distribution of similarity (SBERT) between random unpaired pairs, used for the definition of the empirical lower bound of residual similarity

Source: Original survey data

The final calibration step consisted of standardizing the raw metric results using the “Min-Max” scaling technique combined with a rigid limitation mechanism. Normalized Semantic Similarity [NSS] was calculated using formula (1):

SSN = min (1, max (0, (Sobs – Tmin) / (Tmax – Tmin))) (1)

where: Sobs: is the observed raw cosine similarity; Tmin: is the empirical lower bound; and Tmax: is the empirical upper bound. This function penalizes noisy samples, zeroing the result if the raw value is less than or equal to the lower bound, and assigns the maximum score if it reaches or exceeds the empirical ceiling. For the evaluation phase, an independent subset of 44 samples, previously separated from the training set, was used. For each pair of sketch and textual instruction, ten images were generated using fixed “seeds”, and the similarity between the generated sample and the respective input instruction was calculated to obtain an average performance estimate.

Qualitative evaluation

In addition to quantitative analysis, evaluation by area professionals was conducted to understand subjective nuances. For this purpose, a structured questionnaire was developed, administered anonymously and online, consisting of a section for characterizing the respondents’ profile and six blocks for evaluating the samples. The convenience sample was composed of 20 professionals from the “UI/UX design” and “frontend” development areas, residing in Brazil or the United States, with a minimum of three years of experience in the software industry. Participants were questioned regarding the aesthetic quality, structural fidelity, and practical utility of the tool, using a five-point Likert scale for evaluation (Likert, 1932). For the selection of samples submitted to qualitative evaluation, the SSN metric was used as a filtering criterion. The selection was made intentionally, considering the results obtained by the metric and the limited availability of human resources. The reduced number of specialists and the non-random selection of samples constitute methodological limitations that should be considered in the interpretation of the evaluation results. This qualitative approach aimed to validate the perception of professionals in a context close to real use, allowing for the assessment of the application’s acceptance level and its potential to assist in the workflow of professionals in UI development areas.

3. Results and Discussion

The evaluation of the results was conducted through a quantitative analysis of semantic similarity and a qualitative assessment with industry professionals, followed by a comparison with existing diffusion models.

SBERT “embeddings” Similarity

Normalized Semantic Similarity (NSS) was calculated for 440 samples of user interfaces. Table 3 consolidates the global metrics obtained in this experiment.

Table 3. Statistical analysis of normalized semantic similarity between “embeddings”

MetricValue
Average0,6181
Standard deviation0,4021
10th percentile0
25th percentile0
Median0,7928
75th Percentile0,9843
90th Percentile1

Source: Original research results

Figure 4 illustrates the frequency distribution of the SSN results.

Figure 4. Distribution of SSN between original textual instructions and descriptions extracted from generated samples

Source: Original research results

The quantitative analysis of the 440 validation samples indicated that the model can capture the instruction’s intent most of the time, with a global median of 0.7928. However, the global mean of 0.6181 and the standard deviation of 0.4021 highlight the stochastic nature of the generation process and the inconsistency between the generated UIs, especially with different complexity levels. It was observed that the same input can generate opposite performances depending on the “seed” used in the inference.

The 10th and 25th percentiles registered the minimum value of zero, which, due to the SSN normalization clipping mechanism, indicates that at least 25% of the inference tests failed by presenting only artificial similarity with the original textual instructions. This volatile and polarized behavior corroborates findings in related works (Avrahami et al., 2024; Ho et al., 2020; Xu et al., 2023), reinforcing the importance of generating multiple images and applying a rigorous filter of semantic adherence before human evaluation. Based on this analysis, six high-fidelity samples were manually selected for qualitative evaluation.

Industry professional assessment

The qualitative evaluation involved 20 professionals (65% frontend developers, 35% UI/UX designers), with 70% in Brazil and 30% in the United States. The majority (80%) use AI daily, and 85% have already applied AI solutions for generating UI mockups or prototypes. Participants evaluated six criteria (Q1 to Q6) on a five-point Likert scale, grouped into satisfactory, somewhat satisfactory, or not at all satisfactory performance.

Figures 5 to 10 present the evaluation results for the selected samples.

Figure 5. Results of the professionals’ evaluation for the first selected sample

Source: Original research results

Figure 6. Results of the professionals’ evaluation for the second selected sample

Source: Original research results

Figure 7. Results of the professionals’ evaluation for the third selected sample

Source: Original research results

Figure 8. Results of the professionals’ evaluation for the fourth selected sample

Source: Original research results

Figure 9. Results of the professionals’ evaluation for the fifth selected sample

Source: Original research results

Figure 10. Results of the professionals’ evaluation for the sixth selected sample

Source: Original research results

The consolidated data for the Q1 assertion (UI precision in reflecting functional context) indicated that 77% of the samples performed satisfactorily. This finding suggests that the model understands the functional context of requests in most scenarios. However, the sample from Figure 10 showed 28.6% disapproval, indicating semantic comprehension failures in certain nuances.

The Q2 statement (structural fidelity to the original sketch) revealed that low-complexity interfaces, such as the login and onboarding screens (Figures 6 and 8), achieved 85.7% and 81% approval, respectively. This demonstrates that the model respected the sketch’s boundaries. In contrast, more complex samples obtained between 52.4% and 61.9% satisfaction, suggesting that the geometric structure’s adequacy was less effective in higher complexity scenarios.

The technical feasibility of the generated UIs (Q5) received a positive reception, with an average approval of 78.6%. This result indicates that the generative pipeline establishes a well-defined component architecture and a logical structural organization, which can reduce friction in code implementation.

In contrast, criteria Q3 (effectiveness of visual hierarchy) and Q4 (overall aesthetic quality) showed the highest rejection rates, with 21.4% and 19.8% of unsatisfactory evaluations, respectively. The sample in Figure 10, for example, had a 42.9% rejection rate for Q3, where the model suppressed critical elements and introduced deformed textual artifacts, compromising visual integrity. This divergence highlights that, although the technical structure may be satisfactory, professionals maintain high aesthetic demands, penalizing jumbled typography or structural omissions that harm communication clarity.

The overall quality assessment (Q6) registered a global average of 50.8% satisfactory performance. The segmentation of responses revealed polarization: frontend engineers demonstrated greater tolerance to visual anomalies (61.9% approval), valuing agility in initial structuring. UI/UX designers, on the other hand, presented a rejection rate of 50%, with only 28.6% satisfactory evaluations, indicating greater sensitivity to the loss of fidelity to sketches and aesthetic degradation.

State-of-the-art comparison

To compare Delineo with reference multimodal models, inference tests were performed with the same samples, using Google’s Gemini 2.5-flash-image model (2025), OpenAI’s gpt-image-1.5 (2026), and the original base model Stable Diffusion 3.5 Large (Rombach et al., 2022). Figure 11 illustrates this comparison.

Figure 11. Comparison of Delineo against the most powerful models of today

Source: Original research results

The comparative analysis demonstrates that the results generated by Delineo surpass the capabilities of the original base model in UI prototyping. Delineo’s capacity for structure generation is comparable to that of the most powerful models on the market. In aesthetic terms, Delineo appears closer to industry standards, with a more modern and professional look than the results from other models, which attests to the efficiency of the low-rank adaptation (LoRA) as an essential part of the pipeline. Google and OpenAI models, on the other hand, demonstrated less forgetting of requested elements and greater reasoning capacity, managing to elaborate relevant textual content and add unspecified elements that are common to the UI’s semantic context.

The results indicate that adapting a conditional latent diffusion model for user interface prototyping is technically feasible. The Delineo model surpassed the performance of the original base model, demonstrating the ability to generate UI structures with sketch fidelity and an aesthetic level more aligned with industry standards compared to other diffusion models. However, qualitative evaluation revealed that, although the component architecture is well-defined and the technical feasibility for implementation is high, significant challenges still persist in generating precise typography and maintaining aesthetic quality and visual hierarchy in highly complex UIs. The polarization in professionals’ perceptions, especially between frontend developers and UI/UX designers, highlights the need for architectural improvements to meet the visual rigor and usability required by the software development industry.

4. Conclusion

The present study aimed to adapt latent diffusion models for the generation of high-fidelity prototypes, using supplementary training and open-source resources. Through quantitative evaluation, it was found that the Delineo model managed to capture the intent of textual instructions in most samples, although it demonstrated inconsistency and failures in semantic similarity in more complex scenarios. Qualitative evaluation with industry experts confirmed the technical viability of the approach and the model’s ability to generate user interface structures with fidelity to the original sketch for simpler layouts. It was observed that Delineo surpassed the performance of the original base model and presented an aesthetic level more aligned with industry standards compared to other diffusion models, establishing a well-defined component architecture that can optimize the transition between visual requirements and code implementation.

However, the research highlighted significant challenges, such as aesthetic degradation, loss of functional elements in the logical structuring of the interface, and difficulty in generating precise typography, especially in highly complex interfaces. The stochastic nature of the generation process and the polarization in professionals’ perceptions, with UI/UX designers showing greater sensitivity to visual flaws, underscored the need for improvements. The study’s limitations included the small group of experts in qualitative evaluation and the scarcity of diverse public databases. It is suggested that future studies focus on architectural enhancements to elevate visual rigor and usability, as well as explore techniques that require a smaller volume of data for training new generative models, aiming to balance technical agility with the aesthetic excellence demanded by the software development industry.

Bibliographic References

Al-Saqqa, S.; Sawalha, S.; Abdel-Nabi, H. 2020. Agile software development: methodologies and trends. International Journal of Interactive Mobile Technologies 14(11): 246.

Avrahami, O.; Hertz, A.; Vinker, Y.; Arar, M.; Fruchter, S.; Fried, O.; Cohen-Or, D.; Lischinski, D. 2024. The chosen one: consistent characters in text-to-image diffusion models. In: Proceedings of SIGGRAPH ’24: Special Interest Group on Computer Graphics and Interactive Techniques Conference, 2024, Denver, CO, EUA. Anais… p. 1-12.

Beltramelli, T. 2018. Pix2code: generating code from a graphical user interface screenshot. In: Proceedings of the EICS ’18: ACM Symposium on Engineering Interactive Computing Systems, 2018, Paris, França. Anais… p. 1-6.

Bradski, G. 2000. The opencv library. Dr. Dobb’s Journal: Software Tools for the Professional Programmer 25(11): 120-123.

Bunian, S.; Li, K.; Jemmali, C.; Harteveld, C.; Fu, Y. El-Nasr, M.S. 2021. VINS: visual search for mobile user interface design. In: Proceedings of the Conference on Human Factors in Computing Systems, 2021, Yokohama, Japão. Anais… p. 1-14.

Couairon, G.; Careil, M.; Cord, M.; Lathuilière, S.; Verbeek, J. 2023. Zero-shot spatial layout conditioning for text-to-image diffusion models. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, 2023, Paris, França. Anais… p. 1274-2183.

Deka, B.; Huang, Z.; Franzen, C.; Hibschman, J.; Afergan, D.; Li, Y.; Nichols, J.; Kumar, R. 2017. Rico: a mobile app dataset for building data-driven design applications. In: UIST ’17: Proceedings of the 30th Annual ACM Symposium on User Interface Software and Technology, 2017, Québec, Canadá. Anais… p. 845-854.

Esser, P.; Kulal, S.; Blattmann, A.; Entezari, R.; Müller, J.; Saini, H.; Levi, Y.; Lorenz, D.; Sauer, A.; Boesel, F.; Podell, D.; Dockhorn, T.; English, Z.; Lacey, Z.; Goodwin, A.; Marek, Y.; Rombach, R. 2024. Scaling rectified flow transformers for high-resolution image synthesis. In: Proceedings of the International Conference on Machine Learning, 2024, Vienna, Austria. Anais… p. 12606-12633.

Feng, S.; Ma, S.; Wang, H.; Kong, D.; Chen, C. 2024. MUD: towards a large-scale and noise-filtered UI dataset for modern style UI Modeling. In: Proceedings of the CHI Conference on Human Factors in Computing Systems, 2024, Honolulu, HI, EUA. Anais… p. 1-14.

Gandikota, R.; Materzyńska, J.; Zhou, T.; Torralba, A.; Bau, D. 2025. Concept Sliders: LoRA Adaptors for Precise Control in Diffusion Models. p. 172-188. In: Leonardis, A.; Ricci, E.; Roth, S.; Russakovsky, O.; Sattler, T.; Varol, G. Computer Vision – ECCV 2024: Lecture Notes in Computer Science. v.15098. Springer, Cham, Suiça.

Google. 2025. Gemini models. Disponível em https://ai.google.dev/gemini-api/docs/models. Acesso em 08 abr. 2026.

Gugger, S.; Debut, L.; Wolf, T.; Schmid, P.; Mueller, Z.; Mangrulkar, S.; Sun, M.; Bossan, B. 2022. Accelerate: training on any device with PyTorch. Disponível em https://github.com/huggingface/accelerate. Acesso em 07 fev. 2026.

He, J.; Treude, C.; Lo, D. 2025. LLM-based multi-agent systems for software engineering: literature review, vision, and the road ahead. ACM Transactions of Software Engineering and Methodology 34(5): 164-193.

Hessel, J.; Holtzman, A.; Forbes, M.; Bras, R. L.; Choi, Y. 2021. ClipScore: a reference-free evaluation metric for image captioning. In: Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2021, Punta Cana, República Dominicana, Anais… p. 7514-7528.

Ho, J.; Jain, A.; Abbeel, P. 2020. Denoising diffusion probabilistic models. Advances in Neural Information Processing Systems, 1(33): 6840-6851.

Hu, E. J.; Shen, Y.; Wallis, P.; Allen-Zhu, Z.; Li, Y.; Wang, S.; Wang, L.; Chen, W. 2022. Lora: low-rank adaptation of large language models. In: Proceedings of the International Conference on Learning Representations, 2022, virtual. Anais… p. 1-26.

Huang, F.; Canny, J. F.; Nichols, J. 2019. Swire: sketch-based user interface retrieval. In: Proceedings of the CHI Conference on Human Factors in Computing Systems, 2019, Glasgow, Escócia. Anais… p. 1-10.

Ismail, A.A.; Hassan, R. 2019. Technical competencies in digital technology towards industrial revolution 4.0. Journal of Technical Education and Training 11(3): 55-62.

Lauff, C. A.; Kotys-Schwartz, D.; Rentschler, M. E. 2018. What is a prototype? What are the roles of prototypes in companies?. Journal of Mechanical Design 140(6): 061102.

Likert, R. 1932. A technique for the measurement of attitudes. Archives of Psychology 22(140): 1-55.

Liu, V.; Chilton, L. B. 2022. Design guidelines for prompt engineering text-to-image generative models. In: Proceedings of the CHI Conference on Human Factors in Computing Systems, 2022, New Orleans, LA, EUA. Anais… p. 1-23.

Mou, C.; Wang, X.; Xie, L.; Wu, Y.; Zhang, J.; Qi, Z.; Shan, Y. 2024. T2i-adapter: learning adapters to dig out more controllable ability for text-to-image diffusion models. In: Proceedings of the AAAI Conference on Artificial Intelligence 38(5): 4296-4304.

OpenAI. 2026. Image generation. Disponível em https://developers.openai.com/api/docs/models/gpt-image-1.5. Acesso em 08 abr. 2026.

Paszke, A.; Gross, S.; Massa, F.; Lerer, A.; Bradbury, J.; Chanan, G.; Killeen. T.; Lin, Z.; Gimelshein, N.; Antiga, L.; Desmaison, A.; Köpf, A.; Yang, E.; DeVito, Z.; Raison, M.; Tejani, A.; Chilamkurthy, S.; Steiner, B.; Fang, L.; Bai, J.; Chintala, S. 2019. PyTorch: an imperative style, high-performance deep learning library. Advances in Neural Information Processing Systems 32: 8024-8035.

Radford, A.; Kim, J.W.; Hallacy, C.; Ramesh, A.; Goh, G.; Agarwal, S.; Sastry, G.; Askell, A.; Mishkin, P.; Clark, J.; Krueger, G.; Sutskever, I. 2021. Learning transferable visual models from natural language supervision. In: Proceedings of the International Conference on Machine Learning, 2021, virtual. Anais… 8748-8763.

Raffel, C.; Shazeer, N.; Roberts, A.; Lee, K.; Narang, S.; Matena, M.; Zhou, Y.; Li, W.; Liu, P.J. 2020. Exploring the Limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research 21(140): 1-67.

Reimers, N.; Gurevych, I. 2019. Sentence-bert: sentence embeddings using siamese bert-networks. In: Proceedings of the Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, 2019, Hong Kong, China. Anais… 3982-3992.

Rombach, R.; Blattmann, A.; Lorenz, D.; Esser, P.; Ommer, B. 2022. High-resolution image synthesis with latent diffusion models. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022, New Orleans, LA, EUA. Anais… p. 10684-10695.

Stanford Institute for Human-Centered AI [HAI]. 2025. The AI Index 2025 annual report. Disponível em https://hai.stanford.edu/assets/files/hai_ai_index_report_2025.pdf. Acesso em 24 out. 2025.

von Platen, P.; Patil, S.; Lozhkov, A.; Cuenca, P.; Lambert, N.; Rasul, K.; Davaadorj, M.; Wolf, T. 2022. Diffusers: state-of-the-art diffusion models. Disponível em https://github.com/huggingface/diffusers. Acesso em 07 fev. 2026.

Wan, Y.; Wang, C.; Dong, Y.; Wang, W.; Li, S.; Huo, Y.; Lyu, M. 2025. Divide-and-conquer: generating UI code from screenshots. Proceedings of the ACM on Software Engineering 2(FSE): 2099-2122.

Wang, J.; Huang, Y.; Chen, C.; Liu, Z.; Wang, S.; Wang, Q. 2024. Software testing with large language models: survey, landscape, and vision. IEEE Transactions on Software Engineering 50(4): 911-936.

Wolf, T.; Debut, L.; Sanh, V.; Chaumond, J.; Delangue, C.; Moi, A.; Cistac, P.; Rault, T.; Louf, R.; Funtowicz, M.; Davison, J.; Shleifer, S.; von Platen, P.; Ma, C.; Jernite, Y.; Plu, J.; Xu, C.; Le Scao, T.; Gugger, S.; Drame, M.; Lhoest, Q.; Rush, A. M. 2020. Transformers: state-of-the-art natural language processing. In: Proceedings of the Conference on Empirical Methods in Natural Language Processing: System Demonstration: 38-45.

Wu, X.; Huang, S.; Wei, F. 2024. Mixture of LoRA experts. In: Proceedings of the International Conference on Learning Representations, 2024, Vienna, Austria. Anais… p. 1-17.

Xu, S.; Ma, Z.; Huang, Y.; Lee, H.; Chai, J. 2023. Cyclenet: rethinking cycle consistency in text-guided diffusion for image manipulation. Advances in Neural Information Processing Systems, 1(36), 10359-10384.

Zhang, L.; Rao, A.; Agrawala, M. 2023. Adding conditional control to text-to-image diffusion models. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, 2023, Paris, França. Anais… p. 3836-3847.

Zhang, R.; Isola, P.; Efros, A. A.; Shechtman, E.; Wang, O. 2018. The unreasonable effectiveness of deep features as a perceptual metric. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018, San Francisco, CA, EUA. Anais… p. 586-595.

Zhao, S.; Chen, D.; Chen, Y.; Bao, J.; Hao, S.; Yuan, L.; Wong, K. 2023. Uni-ControlNet: all-in-one control to text-to-image diffusion models. Proceedings of the International Conference on Neural Information Processing Systems, 2023, New Orleans, LA, EUA. Anais… p. 11127-11150.

Article originating from the Course Conclusion Work of the Specialization in Data Science and Analytics of the MBA USP/Esalq

To learn more about the course, click here and access the MBX Academy platform

You may also like

November 10, 2026

Crest and Toe Deviations in the Effective Berm Width in an Open Pit Mine

The geometric assessment of berms in open-pit mines has proven relevant for operational safety and excavation compliance with the design. The study analyzed the extent to which geometric deviations of the crest and toe explained the variation in the effective berm width in Bench -120 of an open-pit mine, using the Excavation Compliance Index as an interpretation tool. The investigation was characterized as applied and quantitative, developed through a case study with real geometric data extracted from DXF format files. Crest and toe coordinates were processed in Python, interpolated with regular spacing of 1 meter, and harmonized along the common section of the geometries. Subsequently, descriptive statistical analysis, multiple linear regression, quantile regression, Random Forest Regressor, and an adapted application of the index were performed. The results indicated that 57.7% of the berms were classified as compliant, 30.0% as attention, and 12.2% as critical. Crest deviations were higher and more dispersed than toe deviations. Multiple linear regression indicated a statistically significant association between geometric deviations and effective berm width, albeit with low explanatory power. Quantile regression showed that the effects varied along the width distribution, and the Random Forest indicated sensitivity to non-linear patterns, but with a limitation of sequential generalization. It was found that crest and toe deviations were associated with the effective berm width, but did not solely explain its entire variability.

Keywords: geometric assessment; bench geometry; compliance index; quantile regression.

November 10, 2026

Applied marketing for strengthening brand strength, contribution, and value in credit co-operatives

In a competitive and demanding financial scenario requiring trust, brand relevance is crucial for sustaining preference and relationships in cooperative organizations. The study investigated how applied marketing strategies can strengthen brand equity, contribution, and value in a credit cooperative, aiming to enhance its competitive relevance in the market. To this end, a case study was conducted in a Brazilian credit cooperative, employing quantitative research. A Likert scale questionnaire was administered to 85 marketing department employees, selected by non-probabilistic convenience sampling. Data were analyzed using frequencies, descriptive statistics, cross-tabulation, and inter-section interdependence analysis. The results revealed a predominantly positive perception, with highlights in immediate recall, credibility, trust, and security, and favorable evaluations regarding the practical effects of the brand on preference, relationship stages, and recommendation. However, opportunities for improvement were identified in consistency across channels, the onboarding process and post-membership support, and the sufficiency of evaluation metrics. As managerial contributions, the research supported recommendations to standardize messages and contact points, strengthen the entry and post-membership stages, and consolidate indicator-based monitoring routines, with inter-departmental alignment and leadership support for more consistent decisions.

Keywords: multichannel consistency; performance metrics; onboarding; competitive relevance.

November 10, 2026

Formal compliance and practical ineffectiveness: on the presence of senior management in the practice of illicit acts in relation to Public Power

In recent years, the robustness of an integrity program has consolidated itself as a criterion for corporate credibility, notably in relations with the public sector. Nevertheless, despite its widespread diffusion in the corporate environment, recurrent cases of corruption involving companies and often involving senior management persist. The objective of this study was to analyze the relationship between the effectiveness of the integrity program, the role of senior management, and the practice of illicit acts in relation to Public Administration. To this end, an exploratory and bibliographic research was adopted, from a broad view of compliance, with an emphasis on the role of senior management as one of the main pillars for the implementation and development of an effective integrity program. Based on data made available by the Comptroller General of the Union [CGU] and widely publicized cases reported in the media, we sought to examine in an integrated manner the correlation between the inefficiency of an integrity program and the practice of illicit acts in relation to Public Administration. With the results, it was verified that, although compliance has become the rule in large corporations, as well as a requirement for contracting with public bodies, predatory management and the lack of leadership commitment are still a reality that weakens or nullifies the integrity programs implemented in the Brazilian corporate scenario, especially in the relationship with Public Administration.

Keywords: compliance; managers; offense; public bodies.

November 10, 2026

Behavioural Insights: The commercialization of data for strategic decision-making in the technology sector

The growing use of artificial intelligence and big data by technology companies has expanded the use of personal data as strategic assets, but has also intensified ethical risks related to privacy, consent, and transparency. In this context, we investigated how users with minimal knowledge about the General Data Protection Law (LGPD), artificial intelligence, and data perceive the legitimacy and ethics of using the Behaviour Insights product, developed by Meta, and what trade-offs they considered acceptable to authorize data processing. To this end, an applied research was conducted, with a quantitative, descriptive, and exploratory approach. Data collection occurred through a structured questionnaire, applied to 100 participants from the Southeast region of Brazil with minimal knowledge about LGPD, AI, and data. Data analysis was statistical and included triangulation for greater robustness. The results indicated that the presence of predictive algorithms is widely perceived, and 55.6% of users considered algorithmic recommendation systems positive for their experience. However, 82.7% of respondents negatively assessed the commercialization of their data to third parties without explicit consent. The perceived legitimacy of Behaviour Insights was not associated with technical sophistication, but with the existence of data governance, algorithmic transparency, and data subject control. It was concluded that the acceptance of predictive solutions, such as Behaviour Insights, depends on the perception of direct user benefit and clarity about data usage, with strong rejection of commercialization without consent. It is recommended that organizations explicitly state the purposes of data usage and the trade-offs offered to increase acceptance.

Keywords: Data commercialization; Combinatorial creativity; LGPD; Prediction; Privacy.

November 10, 2026

Information security controls based on ISO/IEC 27002:2022 in companies in Brazil

Information security represents a fundamental requirement for companies and governmental entities, especially in the face of increasing digitalization and the risks associated with data protection and system integrity. The objective was to analyze 25 controls from the ISO/IEC 27002:2022 standard, distributed into 15 organizational, 5 technological, 3 people, and 2 physical controls, in organizations in Brazil. To this end, an exploratory study with a quantitative approach was conducted, applying a structured questionnaire with 30 questions to 66 information security professionals. Data were collected virtually between February and March 2026 and analyzed using graphs and tables. The results indicated that organizations prioritized controls such as physical access restriction, malware protection, and removal of access after termination. In contrast, controls related to information security auditing, business continuity, and organizational learning were the least used. The analysis revealed that, although the prioritization of operational controls generates immediate results, it compromises the maturation of information security. It was concluded that the consistent implementation of structuring controls is crucial to strengthen corporate resilience and align the information security system with management and compliance requirements.

Keywords: compliance; organizational controls; governance; information security.

November 10, 2026

Model for supporting the financial analysis process of on-premises to cloud migration

Cloud computing has consolidated itself as a strategic alternative for cost reduction and increased flexibility in IT infrastructure management. However, migrating on-premises environments to the cloud presents challenges, especially for organizations with limited resources. The study aimed to propose a model to support the feasibility analysis of cloud migration, based on real usage and operational cost data. A case study methodology was adopted, in which data from a real environment were collected using the AWS Migration Evaluator tool, complemented by information obtained from an IT manager. From this data, the costs of the on-premises environment were estimated, and equivalent cloud scenarios were simulated, enabling the calculation of financial indicators TCO, ROI, and Payback. The results showed that the economic feasibility of the migration depended on the premises adopted, such as region, contracting model, and resource utilization profile. The application of the model revealed a robust economic feasibility, with a Return on Investment (ROI) of 451% and an estimated payback period of 6.5 months, driven by a 45% reduction in vCPU and 64% in RAM, resulting from the correction of over-provisioning. It was concluded that the proposed model contributed as a decision support tool, by providing a structured and real-data-based approach, promoting predictability and economic rationality for cloud migration processes in medium-sized companies.

Keywords: Cloud computing; Cloud migration; Payback; ROI; TCO.

November 10, 2026

Structuring of business profiles by financial indicators and multivariate clustering

The growing availability of financial data and the need to interpret it in a structured way have made multivariate analysis techniques relevant in the context of data science applied to organizations. The study aimed to identify and interpret clusters of companies based on selected financial indicators, in order to understand patterns of similarity and differentiation among the observed economic-financial profiles. To this end, an applied, quantitative, and exploratory-descriptive research was conducted, using a database composed of balance sheet, working capital, and operational liabilities variables. The data were processed, standardized, and aggregated by company, and subsequently analyzed using clustering techniques with the K-means algorithm, determination of the number of clusters by the Elbow and Silhouette methods, dimensionality reduction by Principal Component Analysis, and statistical validation by analysis of variance. The results showed that the segmentation identified distinct groups of companies, differentiated mainly by variables related to size, current assets, total liabilities, current liabilities, and suppliers, highlighting the central role of these dimensions in the formation of clusters. The projection by principal components confirmed the visual separation between the groups, and the analysis of variance indicated statistically significant differences in a significant portion of the variables. It was concluded that clustering constituted an adequate approach to identify business profiles based on financial data and that the integration between financial analysis and data science expanded the capacity to interpret the patterns present in the sample.

Keywords: Multivariate Analysis; Data Science; Clustering; Financial Indicators; K-means.

November 10, 2026

LOCATION OF DISTRIBUTION CENTERS FOR E-COMMERCE IN BRAZIL

The location of Distribution Centers (DCs) is a crucial strategic decision for e-commerce companies, influencing logistics costs and delivery times. Small and medium-sized enterprises (SMEs) face challenges in conducting robust analyses due to the scarcity of proprietary data and specialized tools. An analytical combinatorial optimization model was developed, integrating unsupervised machine learning (K-means) and meta-heuristics (Genetic Algorithm), based exclusively on public data, to support DC location decisions in Brazil. Data from IBGE, the Olist dataset (Kaggle), Google Trends, and the Google Maps Distance Matrix API were used to build an integrated database with geographic coordinates, demand proxies, and distance matrices. The methodology combined K-means clustering to identify logistically homogeneous regions and the Genetic Algorithm as a search heuristic to select municipalities that minimized total logistics cost. The results indicated the formation of six clusters with distinct regional patterns, concentrating 42% of the demand in the Southeast metropolitan region. The scenario with two DCs, located in São Paulo and Salvador, showed a 22% reduction in variable transportation costs compared to a single DC baseline, covering 70% of the demand within the two-day delivery window (SLA). Sensitivity analyses demonstrated the model’s robustness, with variations below five percentage points under different demand and cost scenarios. It was concluded that the proposed approach offers a viable and replicable alternative for SMEs to democratize access to analytical location methods.

Keywords: Genetic Algorithm; Distribution Centers; E-commerce; K-means; Optimization.