Improving lexical diversity of domain-specific automatic text generation with out-of-domain training data and style conditioning
Year: 2025
Type: dissertation
Abstract: The aim of automatic text generation is to produce coherent human-like text using computational models trained on textual data.While recent advances in deep learning have greatly enhanced text generation quality, generation of high-quality texts in low-resource style-specific domains remain a challenge.In this context, automatic generation of child-directed speech (CDS) transcripts represents a challenge for modern text generation systems.CDS is characterized by distinctive lexical and syntactic features compared to adult-directed speech, meaning that generalpurpose text generators cannot create authentic CDS.However, the existing CDS database, CHILDES, is limited in scale to support training of large-scale language models (LMs) for text generation in the given domain.Moreover, earlier research has demonstrated that moderatesized LMs trained on CHILDES can produce plausible CDS-like text, but with smaller effective vocabulary than observed in the original data.This thesis addresses the problem of limited vocabulary in CDS text generation, where the loss in diversity results from tail truncation taking place in training of statistical generative models.To address the problem, the study examines the incorporation of out-of-domain texts (children's book texts, CBT) into CDS text generation to enrich the vocabulary.The work first evaluates three alternative style conditioning strategies in LM training and generation to allow use of multi-domain training data while supporting text generation in a desired style.Experimental results demonstrate that all style conditioning methods successfully maintained key CDS characteristics during text generation, such as utterance length, syntactic simplicity, and part-of-speech distributions.However, these methods alone did not increase the lexical diversity of the generated output, indicating that style conditioning itself does not enable effective transfer of out-of-domain vocabulary into CDS-style output.To overcome this limitation, prompt engineering techniques were employed, specifically the use of out-of-domain prompts and longer prompts.Using out-of-domain prompts derived from the CBT data yielded notable gains in lexical diversity in the single-domain model to generate CDS-like output.Moreover, the combined use of style conditioning and prompt design emerged as a promising approach to balance stylistic fidelity with increased lexical variety in low-resource, domain-specific text generation.However, these improvements still involved a trade-off in LM perplexity and stylistic deviation.Overall, this thesis contributes methodological insights into controlled text generation under data scarcity.It shows that careful orchestration of out-of-domain data, conditioning mechanisms, and prompt design can mitigate vocabulary limitations, though at the cost of increased LM perplexity and minimal stylistic deviation.Beyond CDS generation, the proposed techniques can have broader implications for enhancing lexical diversity and stylistic control in other specialized NLP applications.
Author: Shahmoradi, Mina
Institutions: Tampere University, University of Tampere
Language: English
Topic: Topic Modeling
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Keywords: child-directed speech, lexical diversity, text generation, prompt engineering, CHILDES, children's literature, vocabulary enrichment, perplexity, stylistic fidelity, large language models, domain transfer, part-of-speech distribution, utterance length, syntactic simplicity, data scarcity, controllable text generation
Open Access status: green
OpenAlex ID: W7132928334
