Prompting Generative LLMs for Consistent Thai Question Generation via Semantic Retrieval

Thai Question Answering has primarily focused on extractive methods despite the availability of resources like the 17,000-pair ThaiWiki QA dataset. This study proposes a generative question similarity framework that combines FAISS retrieval with prompt-tuned large language models. To evaluate the semantic correctness of generated questions, we introduce the Semantic Answer Match (SMA) metric, which measures whether a generated question leads to the same answer as the original. Through extensive experimentation, we found that Qwen2.5 (3B) achieved 88.2% accuracy, surpassing LLaMA ChatQA 8B by 150.6%, while Granite 3.3 (3B) followed closely with 87.5% accuracy. These results highlight the importance of language compatibility over model size, especially in lowresource settings. Additionally, our findings show that prompt design significantly influences generative performance, with certain base prompts achieving consistent results across models. Remarkably, even simple base prompts and instruction formats yield strong results with lower inference time. These findings confirm that language-compatible pretraining, paired with effective retrieval and prompt design, enables fast and accurate Thai question generation—supporting real-world applications across sectors. They also raise the question of how such approaches might generalize to other Asian languages.

Authors

Institutions

Publication Details

Published
2025-08-27
DOI
https://doi.org/10.1109/inecce64959.2025.11151020
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Prompting Generative LLMs for Consistent Thai Question Generation via Semantic Retrieval

Kritwara Rattanaopas, Phantiga Wattanakul, Standa Na
Topic Modeling
article

Prompting Generative LLMs for Consistent Thai Question Generation via Semantic Retrieval

Kritwara Rattanaopas, Phantiga Wattanakul, Standa Na
article en

Abstract

Thai Question Answering has primarily focused on extractive methods despite the availability of resources like the 17,000-pair ThaiWiki QA dataset. This study proposes a generative question similarity framework that combines FAISS retrieval with prompt-tuned large language models. To evaluate the semantic correctness of generated questions, we introduce the Semantic Answer Match (SMA) metric, which measures whether a generated question leads to the same answer as the original. Through extensive experimentation, we found that Qwen2.5 (3B) achieved 88.2% accuracy, surpassing LLaMA ChatQA 8B by 150.6%, while Granite 3.3 (3B) followed closely with 87.5% accuracy. These results highlight the importance of language compatibility over model size, especially in lowresource settings. Additionally, our findings show that prompt design significantly influences generative performance, with certain base prompts achieving consistent results across models. Remarkably, even simple base prompts and instruction formats yield strong results with lower inference time. These findings confirm that language-compatible pretraining, paired with effective retrieval and prompt design, enables fast and accurate Thai question generation—supporting real-world applications across sectors. They also raise the question of how such approaches might generalize to other Asian languages.

Prince of Songkla University (TH), Nakhon Pathom Rajabhat University (TH)
Openalex Percentile: Top 87%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Prompting Generative LLMs for Consistent Thai Question Generation via Semantic Retrieval — Kritwara Rattanaopas, Phantiga Wattanakul, et al. · (2025) | TGRS Research Map | TGRS