EUVIMEDEUVIMED entdecken
Crossref

Difficulty-aware Dynamic Chain-of-Thought Prompting for Large Language Models via BM25 and Semantic Retrieval

Zuchen Zhuang

Informatica · 29.06.2026 · 50 (13)

DOI: 10.31449/inf.v50i13.14118 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Informatica, online erschienen am 29.06.2026. Verfasst von Zuchen Zhuang.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Large language models (LLMs) have demonstrated exceptional capabilities across multiple domains and emerged as the core driving force in natural language processing. Their reasoning however can be associated with logical flaws and lack of stability when attempting to solve difficult problems that require multi-step deduction, cross-domain knowledge or implicit constraints, with redundant or insufficient exemplars in conventional prompts and poor fit with exemplar and target problems. To address these issues, we propose a dynamic Chain-of-Thought (CoT) prompting method based on problem difficulty assessment: first, the model performs zero-shot self-evaluation of the required solution steps to dynamically determine the number of exemplars; then, it integrates BM25 retrieval to select the most similar high-quality question-answer pairs, constructing precise Few-shot prompts. Experiments conducted on multiple datasets effectively resolve the two major limitations of traditional exemplar-based methods, enabling LLMs to obtain appropriately tailored exemplars for both multi-step mathematical reasoning and interdisciplinary question answering. Consequently, the accuracy of complex reasoning is improved to varying degrees across tasks.

Zitieren

APA

Zhuang, Z. (2026). Difficulty-aware Dynamic Chain-of-Thought Prompting for Large Language Models via BM25 and Semantic Retrieval. Informatica, 50(13). https://doi.org/10.31449/inf.v50i13.14118

Vancouver

Zhuang Z. Difficulty-aware Dynamic Chain-of-Thought Prompting for Large Language Models via BM25 and Semantic Retrieval. Informatica. 2026;50(13). doi:10.31449/inf.v50i13.14118

BibTeX
@article{Zhuang2026,
  author = {Zhuang, Zuchen},
  title = {Difficulty-aware Dynamic Chain-of-Thought Prompting for Large Language Models via BM25 and Semantic Retrieval},
  journal = {Informatica},
  year = {2026},
  volume = {50},
  number = {13},
  doi = {10.31449/inf.v50i13.14118}
}
Kostenlos starten →