Better Data is Better Than Better Models
Tags: ai, llm, cloudcomputing, chatgpt
Published: 2023-11-12 00:34:53

---
title: Better Data is Better Than Better Models
published: true
tags: ai,llm,cloudcomputing,chatgpt
canonical_url: https://firstfinger.medium.com/better-data-is-better-than-better-models-e6bd3cdedab9
---

![Image credit: Posted on Twitter](https://cdn-images-1.medium.com/max/1024/1*GJYzTKWbC3L8DT1ZjlyOOQ@2x.jpeg)

_Image credit: Posted on Twitter_

**_What does better data mean and how it can improve the performance, and efficiency of LLMs?_**

### Better Data is Better Than Better Models

This year, there has been a race to create ever larger and more complex AI language models like GPT-3 & 4, Google’s LaMDA, and Anthropic’s Claude. These models can generate remarkably human-like text and engage in conversations.

Why we should focus more on curating better training data? I will explain what better data means and how it can improve the performance, efficiency, and fairness of LLMs.

### 💿 What is better data?

Better data is data that is relevant, representative, reliable, and responsible for the task at hand. Better data should meet the following criteria:

- **_Relevant_** : The data should match the domain, genre, style, and purpose of the task. For example, if the task is to generate product reviews, the data should consist of product reviews from the target market and not from other domains or languages.
- **_Representative_** : The data should reflect the diversity and variability of the real-world phenomena that the task aims to model. For example, if the task is to generate text for a chatbot, the data should include different types of conversations, topics, users, and contexts.
- **_Reliable_** : The data should be accurate, consistent, and complete. For example, if the task is to translate text from one language to another, the data should have correct and consistent translations that cover all the relevant aspects of the source text.
- **_Responsible_** : The data should be ethical, legal, and respectful of the rights and interests of the data providers and users. For example, if the task is to generate text for a social media platform, the data should not contain harmful or offensive content that may violate the platform’s policies or harm its users.

### **_📈 Some reasons why better data is more important?_**

1. **_Models are only as good as their training data._** No matter how sophisticated the architecture is, if the model is trained on low-quality, biased data, it will reflect those flaws. We’ve seen issues like racist and sexist outputs from large models trained on web data. Better vetted datasets prevent this.

2. **_Curating data well is difficult._** Removing toxicity and bias from large datasets requires substantial human effort and care. Doing this well needs to be a priority over simply scraping more data from the web. High-quality training datasets will pay dividends.

3. **_Personalized data matters._** For tasks like conversing naturally, models benefit from being trained on data relevant to the user’s interests and style. A model trained on carefully filtered data from an individual will connect better than a giant model trained on generic data.

4. **_Targeted data beats generic data._** Even for general skills like reasoning and common sense, models do better with datasets carefully designed for the task instead of unstructured web data. Better data eliminates the need for models to learn everything.

5. **_Data, not models, are a scarce resource._** Thanks to computing power, we can scale up models easily now. However compiling and cleaning large datasets requires human time, effort, and care. We should focus resources on what’s hardest to obtain in AI: diverse, high-quality training data.

### ⚙️ How can better data improve LLMs?

- **_Performance_** : Better data can help LLMs achieve higher accuracy, fluency, coherence, and diversity in their outputs. Better data can also help LLMs avoid generating incorrect, irrelevant, or inappropriate outputs that may harm their credibility or usability.
- **_Efficiency_** : Better data can help LLMs reduce their training time and cost by requiring less data and fewer parameters. Better data can also help LLMs optimize their inference speed and memory by enabling more effective pruning, quantization, or distillation techniques.
- **_Fairness_** : Better data can help LLMs mitigate their biases and ensure their outputs are fair and inclusive for all groups of users. Better data can also help LLMs respect the privacy and consent of the data providers and users by avoiding exposing or exploiting their personal or sensitive information.

Overall, training data is the real bottleneck for better AI, not model scale. Companies and researchers should prioritize building rich datasets over designing gigantic models. With carefully curated data, even smaller models can outperform the giants. For safe, ethical, and useful AI, better data is essential.