收藏切换
Adapative Query Style Transfer for Large Language Models as Knowledge Bases
收藏切换
Junbo Fu, Guoshuai Zhao*, Xueming Qian
Journal of Computer Research and Development | 2025, 62(12) : 2951 - 2961
Less
收藏切换
Journal of Computer Research and Development | 2025, 62(12): 2951-2961
• Artificial Intelligence •
Adapative Query Style Transfer for Large Language Models as Knowledge Bases
Full
Junbo Fu, Guoshuai Zhao*, Xueming Qian
Affiliations
  • Faculty of Electronic and Information Engineering, Xi’an Jiaotong University, Xi’an 712046
  • born in 2001. Master. His main research interests include natural language processing and information retrieval

    born in 1991. PhD, associate professor, PhD supervisor. His main research interests include social multimedia data mining, information retrieval, and personalized recommendation

    born in 1974. PhD, professor, PhD supervisor. His main research interests include computer vision, and data mining and retrieval

About Author:

born in 2001. Master. His main research interests include natural language processing and information retrieval

born in 1991. PhD, associate professor, PhD supervisor. His main research interests include social multimedia data mining, information retrieval, and personalized recommendation

born in 1974. PhD, professor, PhD supervisor. His main research interests include computer vision, and data mining and retrieval

Published: 2025-12-01 doi: 10.7544/issn1000-1239.202440549
Outline
收藏切换

The increasing capabilities of large language models (LLMs) in knowledge storage have underscored their potential utility as knowledge bases. However, it’s important to note that any given prompt can merely offer a lower-bound estimate of the knowledge encompassed by the language model. Prior prompt learning methods in the context of language models as knowledge bases (LMs-as-KBs) have overlooked the influence of query style. We have unveiled a significant revelation—there are indeed learnable preference within LLMs pertaining to query style. Leveraging this distinctive model characteristic, we introduce the adaptive query style transfer (ARES) method to improve the performance of LMs-as-KBs by adapting LLM’s preference. ARES initiates by presenting a candidate set of queries, achieved through paraphrasing to incorporate various expression styles. Subsequently, an evaluator is trained to learn and discern LLM’s preferences for query styles, ultimately evaluating the candidate set and selecting the potentially optimal query. Experiments conducted across multiple datasets have convincingly demonstrated the efficacy of our approach in enhancing question answering accuracy on LMs-as-KBs scenarios. Furthermore, incremental comparison of the original model and three baseline methods shows an average improvement of 2.26%, 1.68%, 1.19%, and 1.17%, respectively, indicating ARES can be effectively utilized in conjunction with other approaches, leading to enhanced performance and optimization across different dimensions.

large language models (LLMs)  /  language models as knowledge bases  /  promote learning  /  text style transfer  /  in-context learning
付钧渤, 赵国帅, 钱学明. 基于大语言模型的知识库查询风格自适应转换. 计算机研究与发展, 2025 , 62 (12) : 2951 -2961 . DOI: 10.7544/issn1000-1239.202440549
Junbo Fu, Guoshuai Zhao, Xueming Qian. Adapative Query Style Transfer for Large Language Models as Knowledge Bases[J]. Journal of Computer Research and Development, 2025 , 62 (12) : 2951 -2961 . DOI: 10.7544/issn1000-1239.202440549
Year 2025 volume 62 Issue 12
110
50
Cite this Article
BibTeX
Article Info
doi: 10.7544/issn1000-1239.202440549
  • Receive Date:2024-06-20
  • Online Date:2026-11-10
  • Published:2025-12-01
Article Data
Affiliations
History
  • Received:2024-06-20
  • Revised:2025-04-09
Affiliations
    Faculty of Electronic and Information Engineering, Xi’an Jiaotong University, Xi’an 712046
References
Share
https://castjournals.cast.org.cn/joweb/jsjyjyfz/EN/10.7544/issn1000-1239.202440549
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT