PatternGPT :A Pattern-Driven Framework for Large Language Model Text Generation
Preprint
Abstract
Large language models(LLMS)have shown excellent text generation capabilities, capable of generating fluent human-like responses for many downstream tasks. However, applying large language models to real-world critical tasks remains challenging due to their susceptibility to hallucinations and inability to directly use external knowledge. To cope with the above challenges, this paper proposes PatternGPT, a pattern-driven text generation framework for Large Language Models. Firstly, the framework utilizes the extraction capability of Large Language Models to generate rich and diversified structured and formalized patterns, which facilitates the introduction of external knowledge to do the computation, and then draws on the idea of federated learning to use multiple agents to achieve the sharing in order to obtain more diversified patterns, and finally uses judgment criteria and optimization algorithm to search for high-quality patterns to guide the generation of models. Finally, external knowledge such as judgment criteria and optimization algorithms are used to search for high-quality patterns, and the searched patterns are used to guide model generation. This framework has the advantages of generating diversified patterns, protecting data privacy, combining external knowledge, and improving the quality of generation, which provides an effective method to optimize the text generation capability of large language models, and make it better applied to the field of intelligent dialogue and content generation.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Boosting Language Models Reasoning with Chain-of-Knowledge Prompting2024
- A New Method of Time-Series Event Prediction Based on Sequence LabelingApplied Sciences, 2023
- A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivity2023
- Incorporating Context into Subword Vocabularies2023
- Pattern recognition using self-reference feature extraction for φ-OTDRApplied Optics, 2022
- Deduplicating Training Data Makes Language Models Better2022
- Self-adaptive nonoverlapping sequential pattern miningApplied Intelligence, 2021
- On Faithfulness and Factuality in Abstractive Summarization2020
- Handling Divergent Reference Texts when Evaluating Table-to-Text Generation2019
- A review of automated feature recognition with rule-based pattern recognitionComputers in Industry, 2008