Introduction
In the current landscape of Large Language Models (LLMs), the prevailing "Scaling Laws" suggest that increasing parameter counts and training data volumes—often reaching into the trillions of tokens—is the primary path to superior performance. However, this approach presents significant challenges for Small Language Models (SLMs) intended for edge devices or resource-constrained environments. Indiscriminate web-scraping often introduces noise that limits training efficiency and increases the risk of benchmark data leakage, where models appear proficient simply by memorizing test data.
The HARE (HumAn pRiors Efficiency) framework proposes a paradigm shift: prioritizing "human priors"—specifically semantic diversity and data consistency—over sheer data volume. By curating a high-quality, concise training pipeline, the authors demonstrate that a 1.1B parameter model can outperform larger competitors while maintaining a lower risk of benchmark contamination.
The HARE Philosophy: Proper Human Priors
The central thesis of HARE is that there exists a "sweet spot" for human intervention in data selection. While models like TinyLlama and OpenELM rely on massive open-source datasets with minimal human priors, others may incorporate excessive priors that align too closely with benchmark data, leading to potential leakage.
HARE seeks to occupy the "Proper Human Prior" zone, achieving competitive performance through deliberate data engineering rather than memorization. This approach ensures that the model learns fundamental reasoning and knowledge patterns rather than specific test answers.
Methodology: A Three-Stage Data Pipeline
The HARE framework utilizes a sophisticated three-stage data construction pipeline to inject human-curated principles into the training process.
- Heuristic Cleaning ($D_1$): This stage involves rigorous filtering of open-source corpora (e.g., RedPajama, The Pile) to remove noise, personally identifiable information (PII), and non-English content. This forms the foundation of the dataset (46.5%).
- LLM-based Synthesis ($D_2$): To enhance semantic diversity, the team employed Mixtral-8×7B to generate "textbook-quality" synthetic data. By clustering seed data into topics and using diverse prompts, they expanded the model's knowledge base beyond simple web text (13.63%).
- NLP Task Synthesis ($D_3$): To bolster reasoning and zero-shot capabilities, Qwen1.5-32B was used to generate NLP task data (Q&A, summarization) in natural language formats. This stage proved critical for translating raw knowledge into task-solving proficiency (39.87%).
The resulting HARE-1.1B model, based on the Mistral architecture, was trained on only 600 billion tokens—significantly fewer than the 1.8T to 3T tokens typically used by its peers like OpenELM or TinyLlama.
Results and Evaluation
HARE-1.1B was evaluated against the Open LLM Leaderboard benchmarks, including MMLU (general knowledge), ARC-C (science), GSM8k (math), and TruthfulQA.
Performance and Generalization
HARE-1.1B achieved an average score of 40.17, notably outperforming TinyLlama (36.42) and OpenELM (38.47). This result underscores the principle that the quality and diversity of training data are more impactful than volume for SLMs. The inclusion of $D_3$ (NLP tasks) was identified as a critical factor for the model's zero-shot performance.
Benchmark Decontamination
A key focus of the study was the "leakage" score ($Δ$). While high-performing models often show high $Δ$ values (suggesting they may have seen test data during training), HARE maintained relatively low leakage metrics across the board. This indicates that its performance stems from genuine generalization and the effective use of human priors rather than rote memorization of benchmarks.
Real-World Application: On-Device API Calling
To test practical utility, the authors developed HARE-1.1B-Tool, a version fine-tuned for Android API calling. In head-to-head comparisons with Llama3-8B-RAG, the 1.1B model outperformed the 8B model in 4 out of 7 tasks, achieving a 26.1% higher average accuracy. Crucially, it maintained a speed of 8 tokens per second on a mid-range smartphone (Xiaomi Redmi K40), proving its viability for edge deployment.
Conclusion and Future Work
The HARE framework demonstrates that small language models can achieve high efficiency and performance by leveraging high-quality, semantically diverse data. While the authors acknowledge the need for more formal metrics to measure the "quality" of human priors and the potential risks of bias, HARE provides a robust blueprint for developing the next generation of efficient, on-device SLMs.
Summary updated