[Paper Review] Platypus: Quick, Cheap, and Powerful Refinement of LLMs
Platypus presents a PEFT-based fine-tuning and merging approach using LoRA on a curated Open-Platypus dataset, achieving top performance on the Open LLM Leaderboard with low data and compute.
We present $ extbf{Platypus}$, a family of fine-tuned and merged Large Language Models (LLMs) that achieves the strongest performance and currently stands at first place in HuggingFace's Open LLM Leaderboard as of the release date of this work. In this work we describe (1) our curated dataset $ extbf{Open-Platypus}$, that is a subset of other open datasets and which $ extit{we release to the public}$ (2) our process of fine-tuning and merging LoRA modules in order to conserve the strong prior of pretrained LLMs, while bringing specific domain knowledge to the surface (3) our efforts in checking for test data leaks and contamination in the training data, which can inform future research. Specifically, the Platypus family achieves strong performance in quantitative LLM metrics across model sizes, topping the global Open LLM leaderboard while using just a fraction of the fine-tuning data and overall compute that are required for other state-of-the-art fine-tuned LLMs. In particular, a 13B Platypus model can be trained on $ extit{a single}$ A100 GPU using 25k questions in 5 hours. This is a testament of the quality of our Open-Platypus dataset, and opens opportunities for more improvements in the field. Project page: https://platypus-llm.github.io
Motivation & Objective
- Improve LLM performance with minimal fine-tuning data and compute using parameter-efficient tuning (LoRA).
- Create a curated, STEM-focused dataset (Open-Platypus) to boost domain knowledge while preserving base model capabilities.
- Investigate data contamination and test-set leakage to ensure robust benchmarking.
- Explore merging multiple fine-tuned adapters to boost performance across tasks and domains.
Proposed method
- Curate Open-Platypus, a subset of open datasets focused on STEM and logic requiring ~25k questions.
- Apply LoRA-based fine-tuning to LLaMa-2 variants (13B and 70B) with targeted modules (gate_proj, down_proj, up_proj).
- Merge Platypus adapters with base models and with other fine-tuned variants to assess synergistic gains.
- Conduct contamination checks to remove duplicates and test-set leakage, including gray-area and similar-but-different categories.
- Evaluate using Hugging Face Open LLM Leaderboard benchmarks (ARC, HellaSwag, MMLU, TruthfulQA) and compare to closed/open models.
- Hyperparameters include LoRA rank=16, lora alpha=16, dropout=0.05, learning rate 4e-4/3e-4, 1 epoch, batch size 16.
Experimental results
Research questions
- RQ1How far can parameter-efficient fine-tuning with a small, curated dataset push open-source LLMs toward state-of-the-art performance?
- RQ2Does merging multiple fine-tuned adapters ( Platypus + other models) yield measurable gains across diverse benchmarks?
- RQ3What is the impact of contamination screening and deduplication on reported benchmark performance?
- RQ4Which model merging combinations best augment knowledge-rich tasks (e.g., TruthfulQA) and domain-specific tasks (e.g., MMLU domains)?
Key findings
- Platypus2-70B-instruct tops the HuggingFace Open LLM Leaderboard with an average score of 73.13.
- Stable-Platypus2-13B is the top 13B model on the leaderboard with an average score of 63.96.
- Merges with Stable Beluga and Camel variants produced notable improvements across benchmarks, e.g., TruthfulQA gains up to +5.87% in some merges.
- Camel-Platypus2-70B showed the largest ARC-Challenge improvement of +4.12% when merged.
- Platypus adapters achieve strong results with only 0.27% (13B) and 0.2% (70B) trainable parameters.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.