Structured Path Guidance for Logical Coherence in Large Language Model Generation

Authors
  • Xuehui Quan

Abstract

 In this paper, a thought chain control generation method based on structure guidance is proposed to solve the problem that large language models lack logical control and structural constraints in complex language generation tasks. This method introduces a structure encoding module and a dynamic structure state mechanism to guide the model to develop a thought chain along a preset structural path during the generation process, thereby improving the logical coherence and structural consistency of the generated content. Specifically, the model first converts the task requirements into a structured representation, fuses it with the input semantic context to construct a joint representation, and then generates it step by step through a structure-aware decoder. In this process, the dynamic structure state updates and constrains the generation state to achieve real-time regulation of the language output path. In order to systematically evaluate the effectiveness of this method, this paper designs experiments in multiple dimensions, including structural step sensitivity, comparison of structural representation methods, and performance comparison with a variety of public models. A comprehensive test is carried out using the NarrativeQA dataset. The experimental results show that this method is significantly superior to existing mainstream methods in terms of structural alignment, thought chain coherence, and generation accuracy, which effectively verifies the control value and modeling advantages of the structure guidance mechanism in generation tasks.

References
Cover Image
Downloads
Published
2024-06-30
Section
Articles
License
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

Academic Scholar Hub Press also operates under the Creative Commons Licence CC-BY 4.0. This allows for copy and redistribute the material in any medium or format for any purpose, even commercially. The premise is that you must provide appropriate citation information.

How to Cite

Quan, X. (2024). Structured Path Guidance for Logical Coherence in Large Language Model Generation. Journal of Computer Technology and Software, 3(3). https://doi.org/10.5281/zenodo.16777006