LLM-Based Assistant for Dog Care Guidance

Abubakar Sadiq Shittu, Venkat Gopu, Arshita Sharma, Jacob KennedyarXiv 2026

TL;DR

When it comes to specialized advice—like whether your senior Shih Tzu needs a different diet than a rambunctious Border Collie—general-purpose AI often "hallucinates" or gives dangerously generic answers. This paper pits two popular techniques for fixing this, Retrieval-Augmented Generation (RAG) and Low-Rank Adaptation (LoRA) fine-tuning, against each other to see which creates a better digital veterinarian’s assistant. The verdict? RAG is the clear winner, providing a "perfect" score in accuracy by essentially giving the AI an open-book exam using verified medical data.

What Problem Does This Paper Address?

Large Language Models (LLMs) are brilliant generalists, but they are prone to "hedging" (telling you to consult a professional without answering the question) or, worse, confidently stating incorrect facts. In the world of pet care, these errors aren't just annoying; they can be harmful.

The authors identify a "performance gap" in breed-specific dog care. A dog's health, nutrition, and grooming needs vary wildly by breed, yet off-the-shelf models often lack the "grounding" in verified veterinary knowledge to provide specific, actionable advice. The researchers wanted to know: can we force these models to be more reliable by either teaching them new facts (fine-tuning) or giving them a library to look things up in (RAG)?

Methods

The researchers built two distinct systems to compare their effectiveness:

  1. The RAG Pipeline: Think of this as an "open-book" approach. They took a lightweight model (TinyLlama-1.1B) and connected it to a custom database. When a user asks a question, the system searches the database for the most relevant "chunks" of text and feeds them to the AI as context.
  2. The LoRA Fine-Tuning: This is the "intensive studying" approach. Using Low-Rank Adaptation (LoRA), they updated a small fraction (0.22%) of the weights in a LLaMA-3.2-1B model. This allows the model to "absorb" the domain knowledge into its own internal parameters without the massive computational cost of full retraining.
Figure 1: Architecture of the RAG and LoRA pipelines, both built from the same curated dog care dataset and evaluated on shared questions

Datasets

The authors prioritized quality over quantity. Instead of scraping the "noisy" open web, they curated a dataset from PetMD, a trusted veterinary source.

  • Scope: Information on 260 dog breeds.
  • Processing: They used Python and BeautifulSoup to scrape the data, converted it to PDFs, and then used a combination of OCR and the Gemini model to structure the messy text into a clean JSON format.
  • Evaluation: A set of 15 expert-verified dog care questions covering training, diet, grooming, and health.

Key Insights and Ideas

  • RAG is the "Gold Standard" for Reliability: The RAG system achieved a perfect score (2.0/2.0) with zero variance. This suggests that for high-stakes domains like health, having a model "look up" the answer is far safer than relying on its memory.
  • Fine-Tuning Struggles with Edge Cases: While the fine-tuned model improved significantly over the baseline, it still failed on specific "edge cases." For example, it misattributed the cause of seizures in one breed, likely because the training data wasn't vast enough to override the model's pre-existing (and incorrect) general knowledge.
  • The "Hallucination" Fix: In the baseline tests, models would often repeat generic grooming steps (like "brush the dog") without realizing that over-brushing certain breeds, like the Curly-Coated Retriever, can actually damage their coat. RAG caught these nuances immediately because the specific warning was right there in the retrieved text.
Figure 5: RAG Before and After Comparison

Key Results

The quantitative "showdown" between the two methods was decisive:

  • RAG Performance: Achieved a 100% "Full Match" rate across all 15 test queries, resulting in a perfect mean score of 2.0.
  • Fine-Tuning Performance: Showed an 87% improvement over the baseline but only achieved a mean score of 1.47. It provided "Full Matches" for 9 queries, "Partial Matches" for 4, and failed on 2.
  • Statistical Significance: Using Welch’s t-test and Mann-Whitney U tests, the authors confirmed that the performance gap between RAG and fine-tuning was statistically significant ($p < 0.05$).
Figure 4: Comparison of Fine-tuned vs. RAG Model Perfor- mance

Limitations and Future Work

The authors are transparent about the hurdles they faced:

  • Hardware Constraints: They were limited to smaller 1B-parameter models due to using a single RTX 4080 GPU. Larger models (7B or 13B) might have responded better to fine-tuning.
  • Small Evaluation Set: While the 15 questions were expert-verified, they don't cover the full complexity of real-world pet ownership.
  • Static Data: The current RAG setup uses a static dataset. Future versions could incorporate "dynamic retrieval" to pull in the latest veterinary research in real-time.
  • Hybrid Models: The authors suggest that the "ultimate" assistant might be a hybrid: a fine-tuned model that also uses RAG as a fallback for specific facts.

Summary updated

Abstract

This study investigates whether domain grounding through Retrieval-Augmented Generation (RAG) and parameter-efficient fine-tuning using Low-Rank Adaptation (LoRA) can enhance the accuracy and reliability of pet care advice generated by large language models (LLMs). We curated a dataset of breed-specific dog care information and used it to develop two systems: a RAG pipeline based on TinyLlama-1.1B-Chat-v1.0, and a fine-tuned LLaMA-3.2-1B model adapted using LoRA. Both systems were evaluated on 15 dog care questions. The RAG model achieved a perfect average score of 2.0, outperforming the fine-tuned model (mean = 1.47). Statistical analyses, including Welch's t-test, Mann-Whitney U, and Wilcoxon signed-rank tests (all p < 0.05), confirmed the significance of the performance gap. Our findings suggest that retrieval-based domain grounding leads to more accurate, consistent, and trustworthy responses than standalone fine-tuning in specialized LLM applications.
BibTeX
@misc{shittu2026llm,
  author = {Abubakar Sadiq Shittu and Venkat Gopu and Arshita Sharma and Jacob Kennedy},
  title = {{LLM-Based Assistant for Dog Care Guidance}},
  year = {2026},
  eprint = {2611.29286},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29286},
}
Figure