Please use this identifier to cite or link to this item: https://repositorio.ufu.br/handle/123456789/50340
ORCID:  http://orcid.org/0000-0001-7628-5709
Document type: Dissertação
Access type: Acesso Aberto
Title: Domain-specific small language models for creative text generation: a case study on the backrooms
Alternate title (s): Modelos de linguagem pequenos de domnínios específicos para geração de texto criativo: um estudo de caso sobre os backrooms
Author: Julia, Roxanne Silva
First Advisor: Paiva, Elaine Ribeiro de Faria
First coorientator: Nascimento, Marcelo Zanchetta do
First member of the Committee: Pereira, Fabíola Souza Fernandes
Second member of the Committee: Prati, Ronaldo Cristiano
Summary: Large Language Models (LLMs) occupy a prominent place among Machine Learning models that have been revolutionizing modern life as an indispensable support tool in the most diverse areas of human activity. Nevertheless, the popularization of large LLMs faces a significant limiting challenge: the high cost associated with their use, whether through expensive hardware, cloud processing or paid APIs. In this light, the main objective of this work is to propose an approach to generate smaller language models, which can be trained in more modest hardware and that are effective in generating texts related to specific domains. The case study chosen for that are The Backrooms, an online legend which describes an alternative reality with different levels that are described with very unique, surreal and rich descriptions. For this, a Backrooms dataset, was created and used to produce two small language models (SLMs) to generate Backrooms level descriptions: Backrooms-Llama, conceived from the fine-tuning of the open source pretrained model Llama 1B; and Tiny Backrooms, a decoder-only architecture pretrained from scratch and then fine-tuned. The performance of these two models was evaluated against the famous and much larger DeepSeek-V3. The generated level descriptions of the three models were evaluated by using chatGPT 4o-mini as judge and human judges. Additionally, a brand new evaluation method, which consists on generating pictures with the output of each competitor model and, then, evaluating these pictures alongside their descriptions with chatGPT 4o, was proposed. The results found are very promising, showing that, even though DeepSeek performed better in general, Backrooms-Llama and Tiny Backrooms, operating in a much more modest architecture, also got mainly relevant evaluations and were able to learn how to generate Backrooms level descriptions. Such results indicate that, in creative generative tasks, a lower cost domain-specific SLM, when properly optimized, can achieve performance comparable to that of consecrated LLMs.
Abstract: Large Language Models (LLMs) occupy a prominent place among Machine Learning models that have been revolutionizing modern life as an indispensable support tool in the most diverse areas of human activity. Nevertheless, the popularization of large LLMs faces a significant limiting challenge: the high cost associated with their use, whether through expensive hardware, cloud processing or paid APIs. In this light, the main objective of this work is to propose an approach to generate smaller language models, which can be trained in more modest hardware and that are effective in generating texts related to specific domains. The case study chosen for that are The Backrooms, an online legend which describes an alternative reality with different levels that are described with very unique, surreal and rich descriptions. For this, a Backrooms dataset, was created and used to produce two small language models (SLMs) to generate Backrooms level descriptions: Backrooms-Llama, conceived from the fine-tuning of the open source pretrained model Llama 1B; and Tiny Backrooms, a decoder-only architecture pretrained from scratch and then fine-tuned. The performance of these two models was evaluated against the famous and much larger DeepSeek-V3. The generated level descriptions of the three models were evaluated by using chatGPT 4o-mini as judge and human judges. Additionally, a brand new evaluation method, which consists on generating pictures with the output of each competitor model and, then, evaluating these pictures alongside their descriptions with chatGPT 4o, was proposed. The results found are very promising, showing that, even though DeepSeek performed better in general, Backrooms-Llama and Tiny Backrooms, operating in a much more modest architecture, also got mainly relevant evaluations and were able to learn how to generate Backrooms level descriptions. Such results indicate that, in creative generative tasks, a lower cost domain-specific SLM, when properly optimized, can achieve performance comparable to that of consecrated LLMs.
Keywords: Modelos de Linguagem Pequenos
Small Language Models
Processamento de Linguagem Natural
The Backrooms
Modelos de Linguagem Grandes
Computational Storytelling
Modelos Generativos
Tarefas Criativas
Natural Language Processing
The Backrooms
Large Language Models
Creative Tasks
Computational Storytelling
Generative Models
Area (s) of CNPq: CNPQ::CIENCIAS EXATAS E DA TERRA
Subject: Computação
Natural language processing (Computer science)
Large Language Models
Country: Brasil
Publisher: Universidade Federal de Uberlândia
Program: Programa de Pós-graduação em Ciência da Computação
Quote: JULIA, Roxanne. Domain-specific small language models for creative text generation: a case study on the Backrooms. 2026. 85 f. Dissertação (Mestrado em Ciência da Computação) - Universidade Federal de Uberlândia, Uberlândia, 2026. DOI http://doi.org/10.14393/ufu.di.2026.10021.
Document identifier: http://doi.org/10.14393/ufu.di.2026.10021
URI: https://repositorio.ufu.br/handle/123456789/50340
Date of defense: 18-Jun-2026
Sustainable Development Goals SDGs: ODS::ODS 4. Educação de qualidade - Assegurar a educação inclusiva, e equitativa e de qualidade, e promover oportunidades de aprendizagem ao longo da vida para todos.
Appears in Collections:DISSERTAÇÃO - Ciência da Computação

Files in This Item:
File Description SizeFormat 
DomainSmallLanguage.pdfDissertação ou Tese5 MBAdobe PDFThumbnail
View/Open


This item is licensed under a Creative Commons License Creative Commons