Improving optimal prompt learning through multilayer fusion and latent dirichlet allocation
Recent advances in few-shot learning have demonstrated the potential of prompt-based techniques with pre-trained models, eliminating the need for extensive fine-tuning. However, challenges such as obtaining optimal prompts and addressing data scarcity in specialized domains remain challenging. We introduce a novel framework incorporating a Global Attention Mechanism (GAM) that effectively integrates features from multiple layers of pre-trained language models, enhanced by Latent Dirichlet Allocation (LDA) generated topic features for prompt optimization. Extensive experiments on four datasets consistently show that our approach outperforms state of-the-art baselines. The strategic integration of GAM with layer-specific features and LDA topics proves particularly effective in extracting valuable latent information for few-shot learning scenarios, yielding significant improvements in specialized domains, as evidenced by enhanced performance in therapeutic dialogue classification within a Applied Behavior Analysis clinical dataset.
Authors
- Jessica Korneder
- Osamah Rawashdeh
- Wing-Yue Geoffrey Louie (ORCID: https://orcid.org/0000-0002-2742-6947)
- Yanfeng Wang
- Qinghua Chen (ORCID: https://orcid.org/0000-0002-4726-3276)
Institutions
- Oakland University (US)
- Zhengzhou University of Light Industry (CN)
- Robotics Research (United States) (US)
- Embedded Systems (United States) (US)
Publication Details
- Journal
- Frontiers in Robotics and AI
- Published
- 2025-06-06
- DOI
- https://doi.org/10.3389/frobt.2025.1579990
- Citations
- 2
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 4.96