Improving news headline text generation quality through frequent POS-tag patterns analysis

Fatima, Noureen and Daudpota, Sher Muhammad and Kastrati, Zenun and Imran, Ali Shariq and Hassan, Saif and Elmitwally, Nouh (2023) Improving news headline text generation quality through frequent POS-tag patterns analysis. Engineering Applications of Artificial Intelligence, 125. p. 106718. ISSN 0952-1976

1-s2.0-S0952197623009028-main.pdf - Published Version
Available under License Creative Commons Attribution.

Download (3MB)


Original synthetic content writing is one of the human abilities that algorithms aspire to emulate. The advent of sophisticated algorithms, especially based on neural networks has shown promising results in recent times. A watershed moment was witnessed when the attention mechanism was introduced which paved the way for transformers, a new exciting architecture in natural language processing. Recent sensations like GPT and BERT for synthetic text generation rely on NLP transformers. Although, GPT and BERT-based models are capable of generating creative text given they are properly trained on abundant data, however, the generated text suffers the quality aspect when limited data is available. This is especially an issue for low-resource languages where labeled data is still scarce. In such cases, the generated text, more often than not, lacks the proper sentence structure, thus unreadable. This study proposes a post-processing step in text generation that improves the quality of generated text through the GPT model. The proposed post-processing step is based on the analysis of POS tagging patterns in the original text and accepts only those generated sentences from GPT which satisfy POS patterns that are originally learned from the data. We exploit the GPT model to generate English headlines by utilizing Australian Broadcasting Corporation (ABC) news dataset. Furthermore, for assessing the applicability of the model in low-resource languages, we also train the model on the Urdu news dataset for Urdu news headlines generation. The experiments presented in this paper on these datasets from high- and low-resource languages show that the performance of generated headlines has a significant improvement by using the proposed headline POS pattern extraction. We evaluate the performance through subjective evaluation as well as using text generation quality metrics like BLEU and ROUGE.

Item Type: Article
Identification Number:
23 June 2023Accepted
17 July 2023Published Online
Uncontrolled Keywords: POS tagging, text generation, low resource language, generative pre-trained transformer, attention mechanism
Subjects: CAH11 - computing > CAH11-01 - computing > CAH11-01-05 - artificial intelligence
Divisions: Faculty of Computing, Engineering and the Built Environment > School of Computing and Digital Technology
Depositing User: Nouh Elmitwally
Date Deposited: 03 Jul 2023 14:41
Last Modified: 21 Jul 2023 14:10

Actions (login required)

View Item View Item


In this section...