Skip to main content
QUICK REVIEW

[Paper Review] A Comparison of LLM Finetuning Methods & Evaluation Metrics with Travel Chatbot Use Case

Steffi De Meyer, Shreya Singh|arXiv (Cornell University)|Aug 7, 2024
AI in Service InteractionsComputer Science3 citations
TL;DR

This study compares QLoRA, RAFT, and RLHF fine-tuning methods on LLaMA 2 and Mistral 7B models for a travel chatbot use case, evaluating them via E2E, NLP, Ragas, GPT-4, and human metrics. Mistral-RAFT fine-tuned with RLHF outperformed others, especially in human evaluation, highlighting the critical role of human-in-the-loop evaluation and the superiority of GPT-4 over automated metrics.

ABSTRACT

This research compares large language model (LLM) fine-tuning methods, including Quantized Low Rank Adapter (QLoRA), Retrieval Augmented fine-tuning (RAFT), and Reinforcement Learning from Human Feedback (RLHF), and additionally compared LLM evaluation methods including End to End (E2E) benchmark method of "Golden Answers", traditional natural language processing (NLP) metrics, RAG Assessment (Ragas), OpenAI GPT-4 evaluation metrics, and human evaluation, using the travel chatbot use case. The travel dataset was sourced from the the Reddit API by requesting posts from travel-related subreddits to get travel-related conversation prompts and personalized travel experiences, and augmented for each fine-tuning method. We used two pretrained LLMs utilized for fine-tuning research: LLaMa 2 7B, and Mistral 7B. QLoRA and RAFT are applied to the two pretrained models. The inferences from these models are extensively evaluated against the aforementioned metrics. The best model according to human evaluation and some GPT-4 metrics was Mistral RAFT, so this underwent a Reinforcement Learning from Human Feedback (RLHF) training pipeline, and ultimately was evaluated as the best model. Our main findings are that: 1) quantitative and Ragas metrics do not align with human evaluation, 2) Open AI GPT-4 evaluation most aligns with human evaluation, 3) it is essential to keep humans in the loop for evaluation because, 4) traditional NLP metrics insufficient, 5) Mistral generally outperformed LLaMa, 6) RAFT outperforms QLoRA, but still needs postprocessing, 7) RLHF improves model performance significantly. Next steps include improving data quality, increasing data quantity, exploring RAG methods, and focusing data collection on a specific city, which would improve data quality by narrowing the focus, while creating a useful product.

Motivation & Objective

  • To evaluate and compare the effectiveness of QLoRA, RAFT, and RLHF fine-tuning methods on travel chatbot performance.
  • To assess the alignment between automated evaluation metrics (E2E, NLP, Ragas, GPT-4) and human evaluation.
  • To determine which fine-tuning method and model combination yields the most human-preferred responses in a travel planning context.
  • To identify limitations of automated metrics and advocate for human-in-the-loop evaluation in LLM deployment.
  • To explore future improvements in data quality, domain-specific fine-tuning, and RAG integration.

Proposed method

  • Fine-tuned two 7B LLMs—LLaMA 2 and Mistral—using QLoRA and RAFT for domain adaptation to travel chatbot tasks.
  • Collected and curated a travel-specific dataset from Reddit’s travel-related subreddits to support in-domain fine-tuning.
  • Applied Retrieval-Augmented Fine-Tuning (RAFT) to integrate external knowledge during fine-tuning, improving factual grounding.
  • Used Reinforcement Learning from Human Feedback (RLHF) on the top-performing RAFT model to further optimize response quality.
  • Evaluated model outputs using five metrics: End-to-End (Golden Answers), traditional NLP metrics, Ragas, OpenAI GPT-4, and human evaluation.
  • Conducted ablation and comparison across all 5 model variants (2 models × 3 methods) to identify performance trends.
Figure 1 : Project Plan
Figure 1 : Project Plan

Experimental results

Research questions

  • RQ1Which fine-tuning method—QLoRA, RAFT, or RLHF—produces the most effective travel chatbot responses?
  • RQ2How well do automated evaluation metrics (E2E, NLP, Ragas, GPT-4) align with human evaluation of response quality?
  • RQ3Does model architecture (LLaMA 2 vs. Mistral) significantly impact performance in the travel domain?
  • RQ4To what extent does RLHF improve response quality after initial fine-tuning with RAFT or QLoRA?
  • RQ5Can RAG-based methods like RAFT outperform standard parameter-efficient fine-tuning when grounded in domain-specific knowledge?

Key findings

  • Quantitative and Ragas metrics showed poor alignment with human evaluation, indicating limited reliability for real-world LLM assessment.
  • OpenAI GPT-4 evaluation metrics demonstrated the strongest correlation with human evaluation, making them a more reliable proxy than automated NLP or Ragas metrics.
  • Human evaluation was essential, as automated metrics alone failed to capture nuanced aspects of response quality such as relevance, coherence, and personalization.
  • Traditional NLP metrics (e.g., BLEU, ROUGE) were insufficient for evaluating complex, open-ended chatbot responses in the travel domain.
  • Mistral 7B outperformed LLaMA 2 7B across all evaluation methods, indicating model architecture choice significantly affects performance.
  • RAFT outperformed QLoRA in both automated and human evaluations, but still required post-processing to resolve factual inconsistencies and hallucinations.
Figure 2 : Visualization of the explosion of LLM research from 2007 to 2023. [ 6 ]
Figure 2 : Visualization of the explosion of LLM research from 2007 to 2023. [ 6 ]

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.