CSPO: Chain-Structured Prompt Optimisation for Large Language Models
Large language models (LLMs) show promise in improving content distribution in mobile communication networks, but their performance heavily depends on input prompts. Manually crafting effective prompts for complex tasks is time-consuming and often suboptimal, highlighting the need for automated optimisation. This paper proposes a chain-structured prompt optimisation (CSPO) method to automatically optimise prompts for LLMs. Inspired by neural network training, CSPO decomposes tasks into a series of ordered instruction steps, forming an instruction chain. It then employs an iterative optimisation process analogous to forward and backward propagation to refine this chain. CSPO automatically constructs an initial instruction chain, executes it to generate output, analyses errors, formulates improvement strategies, and updates the chain accordingly. Evaluations on instruction induction, mathematical reasoning, and counter factual tasks demonstrate that CSPO generally outperforms baseline methods. This study contributes to the field of prompt engineering, offering a novel approach to automatic prompt optimisation for LLMs.
Authors
- Shan Lin (ORCID: https://orcid.org/0000-0001-8717-3681)
- Zhengyi Tang (ORCID: https://orcid.org/0000-0002-9306-6038)
- Xingsi Xue (ORCID: https://orcid.org/0000-0002-3008-8782)
- Shuguang Chen (ORCID: https://orcid.org/0009-0007-9745-471X)
- Jinshui Wang
Institutions
- Fujian University of Technology (CN)
Publication Details
- Journal
- International Journal of Ad Hoc and Ubiquitous Computing
- Published
- 2024-12-24
- DOI
- https://doi.org/10.1504/ijahuc.2025.10068590
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00