تحلیل و ارزیابی تکنیک‌های مهندسی پرامپت چندگانه برای بهبود عملکرد چت‌بات‌های مبتنی بر مدل‌های زبانی بزرگ

نوع مقاله : مقاله پژوهشی

نویسندگان
1 دانشجوی دکتری، گروه مهندسی کامپیوتر، واحد فردوس، دانشگاه آزاد اسلامی، فردوس، ایران.
2 دانشیار گروه مهندسی کامپیوتر، واحد فردوس، دانشگاه آزاد اسلامی، فردوس، ایران.
چکیده
مدل‌های زبانی بزرگ (LLMs) با توانایی‌های پیشرفته در پردازش زبان، توسعه چت‌بات‌های هوشمند را ممکن ساخته‌اند؛ اما عملکرد آن‌ها به شدت به کیفیت پرامپت‌های ورودی وابسته بوده و روش‌های قبلی در ارائه استدلال گام به گام و پاسخ‌های قابل تفسیر با چالش‌هایی مواجه بودند. مدل‌ زبان‌های بزرگ (LLMs) نوعی مدل هوش مصنوعی هستند که با آموزش روی حجم بسیار زیادی از متن، توانایی درک و تولید زبان انسانی را به دست می‌آورند. این مدل‌ها می‌توانند متن تولید کنند، به پرسش‌ها پاسخ دهند، خلاصه‌سازی، ترجمه، استدلال و حتی برنامه‌نویسی انجام دهند. LLMها با استفاده از معماری ترنسفورمر کار می‌کنند و یاد می‌گیرند الگوهای زبانی، معنا، زمینه و روابط میان کلمات را پیش‌بینی کنند. هرچه داده آموزشی و تعداد پارامترها بیشتر باشد، مدل قادر است پاسخ‌های دقیق‌تر، طبیعی‌تر و شبیه‌تر به انسان ارائه دهد. این مدل‌ها اکنون در چت‌بات‌ها، موتورهای جستجو، سیستم‌های آموزشی، تحلیل داده و بسیاری از حوزه‌های دیگر نقشی کلیدی ایفا می‌کنند.در این پژوهش، با ادغام تکنیک زنجیره افکار در مهندسی پرامپت‌های چندگانه، چارچوب فنی نوینی ارائه شده است که توانسته با افزایش دقت، قابلیت اطمینان و شفافیت در استدلال، عملکرد چت‌بات‌ها را در پاسخ به سؤالات پیچیده بهبود بخشد.
کلیدواژه‌ها
موضوعات

عنوان مقاله English

Analysis and Evaluation of Multiple Prompt Engineering Techniques to Enhance the Performance of Large Language Model-Based Chatbots

نویسندگان English

Ali Ahmadi Reshadat 1
Hamidreza Ghaffary 2
1 PhD Student, Department of Computer Engineering, Fe.C., Islamic Azad University, Ferdows, Iran.
2 Associate Professor, Department of Computer Engineering, Fe.C., Islamic Azad University, Ferdows, Iran.
چکیده English

Large Language Models (LLMs), with their advanced natural language processing capabilities, have facilitated the development of intelligent chatbots; however, their performance heavily relies on the quality of input prompts, and prior methods have faced challenges in delivering step-by-step reasoning and interpretable responses. LLMs are a category of artificial intelligence models trained on vast corpora of text to acquire the capability of understanding and generating human language. These models can generate text, answer questions, summarize, translate, perform reasoning, and even write code. LLMs operate based on the Transformer architecture, learning to predict linguistic patterns, semantics, context, and semantic relationships between words. As the volume of training data and the number of parameters increase, the model becomes capable of providing more accurate, natural, and human-like responses. Today, these models play a pivotal role in chatbots, search engines, educational systems, data analytics, and numerous other domains. In this study, by integrating the Chain-of-Thought (CoT) technique into multiple prompt engineering, a novel technical framework is proposed. This framework successfully improves chatbot performance in addressing complex queries by enhancing accuracy, reliability, and reasoning transparency.

کلیدواژه‌ها English

Prompt Engineering
Large Language Models (LLMs)
Chain-of-Thought (CoT) Prompting
Chatbot
Step-by-Step Reasoning

مقالات آماده انتشار، پذیرفته شده
انتشار آنلاین از 15 شهریور 1405