Skip to main content
QUICK REVIEW

[論文レビュー] From Questions to Insightful Answers: Building an Informed Chatbot for University Resources

Subash Neupane, Elias Hossain|arXiv (Cornell University)|May 13, 2024
AI in Service InteractionsComputer Science被引用数 3
ひとこと要約

本論文では、ミシシッピ州立大学向けに開発された、リtrieval-Augmented Generation (RAG) ベースのLLMチャットボットであるBarkPlug v.2を提示する。このシステムは、校内データのキュレート済みコアスからドメイン固有のデータを取得し、正確で文脈に即した応答を生成することで、キャンパスリソースへのアクセスを向上させる。平均RAGASスコアが0.96に達し、SUS(システム可用性尺度)の高いスコアを示しており、学術的および行政関連の質問に対して高いパフォーマンスとユーザー満足度を実証している。

ABSTRACT

This paper presents BARKPLUG V.2, a Large Language Model (LLM)-based chatbot system built using Retrieval Augmented Generation (RAG) pipelines to enhance the user experience and access to information within academic settings.The objective of BARKPLUG V.2 is to provide information to users about various campus resources, including academic departments, programs, campus facilities, and student resources at a university setting in an interactive fashion. Our system leverages university data as an external data corpus and ingests it into our RAG pipelines for domain-specific question-answering tasks. We evaluate the effectiveness of our system in generating accurate and pertinent responses for Mississippi State University, as a case study, using quantitative measures, employing frameworks such as Retrieval Augmented Generation Assessment(RAGAS). Furthermore, we evaluate the usability of this system via subjective satisfaction surveys using the System Usability Scale (SUS). Our system demonstrates impressive quantitative performance, with a mean RAGAS score of 0.96, and experience, as validated by usability assessments.

研究の動機と目的

  • 静的大学ウェブサイトが学術的および行政的問い合わせに対して、パーソナライズされ、リアルタイムの応答を提供できないという限界を是正すること。
  • 人的サポートからの応答遅延や情報の断片化により、学生および出願希望者に生じる不満を軽減すること。
  • 大学固有のデータを活用してドメイン特化型の質問応答を実現する、スケーラブルで正確かつインタラクティブなチャットボットの開発。
  • 生成応答の事実的正確性と、実世界の学術環境におけるシステムの可用性の両方を評価すること。
  • RAGパイプラインを用いた、高等教育機関にAI駆動のチャットボットを展開するための再利用可能なフレームワークの構築。

提案手法

  • 本システムは、OpenAIのgpt-3.5-turbo LLMに基づくリtrieverとジェネレータを有する、リtrieval-Augmented Generation (RAG) パイプラインを採用している。
  • 大学のデータ(学部プログラム、施設、学生支援サービスなど)を抽出・クリーニングし、インデクシング用にマスターファイル(JSON形式)に構造化した。
  • 効率的なリトリーブを実現するため、再帰的文字テキストスプリッタを用いて8000トークンのチャンクと1200トークンのオーバーラップを設定した。
  • OpenAIのtext-embedding-3-largeモデルを用いて埋め込み表現を生成し、ベクトルベースの類似度検索用にChroma DBに格納した。
  • RAGパイプラインは、意味的類似度検索により関連するコンテキストをリトリーブし、取得したコンテキストをプロンプトとして用いてLLMが応答を生成する。
  • バックエンドにはDjango、フロントエンドにはHTML/CSS/JSを採用し、ユーザー認証機能および会話履歴の保存機能を備えた第三者クラウドサービスを介してデプロイした。
Figure 1 : Comparative example of completion (response generation) without using the RAG approach versus using the RAG approach for a given user prompt related to specific individual at Mississippi State University.
Figure 1 : Comparative example of completion (response generation) without using the RAG approach versus using the RAG approach for a given user prompt related to specific individual at Mississippi State University.

実験結果

リサーチクエスチョン

  • RQ1RAGベースのLLMチャットボットは、多様な大学関連の質問に対して、的確で文脈に即した応答を効果的にリトリーブおよび生成できるか?
  • RQ2ドメイン特化型の質問に対して、RAGパイプラインの性能は、スタンドアロンLLMと比較して事実的正確性および応答の関連性において優れているか?
  • RQ3チャットボットは、大学リソースへのアクセスにおいて、ユーザー満足度と可用性をどの程度向上させているか?
  • RQ4大学情報システムにおけるリトリーブ精度と応答信頼性に影響を与える主な技術的制限要因は何か?
  • RQ5本システムは、多言語対応およびマルチモーダルインタラクション(例:音声入力)をサポートするようにどのように拡張できるか?

主な発見

  • BarkPlug v.2は平均RAGASスコア0.96を達成し、応答生成における高い事実的正確性と関連性を示した。
  • システムは高い可用性を示しており、システム可用性尺度(SUS)スコアから実用的で効果的なユーザーエクスペリエンスであると判明した。
  • RAGによる大学固有データの統合により、スタンドアロンLLMに比べ、幻覚(hallucinations)の発生が顕著に減少した。
  • 意味的埋め込みに基づくベクトルリトリーブにより、複雑な質問に対しても効率的かつ正確なコンテキスト抽出が可能になった。
  • ユーザー認証、会話履歴、メール共有機能をサポートしており、パーソナライズ性と可用性が向上した。
  • 強力なパフォーマンスを示したが、多言語対応、音声認識(ASR)統合、およびトークンコンテキスト窓の制限といった課題が残っている。
Figure 2 : Overview of BarkPlug v.2 ’s two phase architecture. The first phase Context retrieval is responsible to retrieve relevant documents based on the user prompt. The second phase, Completion responsible of generating personalized responses utlilizing retrieved documents as context along with
Figure 2 : Overview of BarkPlug v.2 ’s two phase architecture. The first phase Context retrieval is responsible to retrieve relevant documents based on the user prompt. The second phase, Completion responsible of generating personalized responses utlilizing retrieved documents as context along with

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。