Virtue-Based Thai Folktale Recommendation with Ensemble LLMs

dc.contributor.authorDaeng-Am, Wassana
dc.contributor.authorAnuntachai, Anuntapat
dc.contributor.authorNetisopakul, Ponrudee
dc.date.accessioned2026-08-06T10:55:52Z
dc.date.available2026-08-06T10:55:52Z
dc.date.issued2026-06-16
dc.description.abstractMoral learning plays an important role in early childhood education, yet teachers often spend considerable time identifying moral lessons in stories and deciding which virtues they represent. This study investigates whether a multi-model ensemble strategy can produce more teacher-aligned moral extractions from Thai folktales than a single-LLM baseline. We propose an LLM-based ensemble framework that extracts concise moral statements and classifies them into eight core virtues promoted by the Thai Ministry of Education: diligence, frugality, honesty, discipline, politeness, cleanliness, unity, and kindness. The framework combines outputs from Google Gemini 2.0 Flash, OpenAI GPT-4o-mini, and Anthropic Claude 3.5 Sonnet through a semantic consensus mechanism using BGE-M3 embeddings and majority voting. The system is evaluated on a corpus of 200 Thai folktales annotated by three experienced early childhood educators using multi-label metrics including Hamming Loss, Jaccard Similarity, and Exact Match. The results show that the ensemble approach achieves a Hamming Loss of 0.208, Jaccard Similarity of 0.564, and Exact Match of 0.175, consistently outperforming all single-model baselines. These findings suggest that consensus-driven ensemble inference provides a more robust and teacher-aligned foundation for automated moral education tools in Thai NLP.
dc.identifier.citationIait 2026 14th International Conference on Advances in Information Technology, 2026
dc.identifier.doi10.1145/3816713.3818217
dc.identifier.other2-s2.0-105045301531
dc.identifier.urihttps://dspace.kmitl.ac.th/handle/123456789/18196
dc.sourceIait 2026 14th International Conference on Advances in Information Technology
dc.subjectensemble method
dc.subjectThai NLP
dc.subjectvirtue taxonomy
dc.titleVirtue-Based Thai Folktale Recommendation with Ensemble LLMs
dc.typeConference Paper

Files

Collections