{
  "id": 336777,
  "title": "RHO-LOSS: Efficient Training on Web Scale Data",
  "url": "/competitions/AI4Code/discussion/336777",
  "author_name": "Sarthak Bhatt",
  "post_date": "2022-07-12T23:05:31.755000",
  "votes": 6,
  "comment_count": 2,
  "views": 0,
  "content": "<p><strong>Paper</strong>: <a href=\"https://arxiv.org/abs/2206.07137\" target=\"_blank\">Prioritized Training on Points that are Learnable, Worth Learning, and Not Yet Learnt</a> (only a few weeks old)</p>\n<p>Training even 1 epoch (~150k notebooks) on the Kaggle P100 could take hours. A simple baseline to speed up training could be to remove duplicates or near-duplicate notebooks [1]. </p>\n<p>This paper introduces RHO-LOSS, which lets the authors achieve their target accuracy in <strong>18x fewer training steps</strong> on large noisy datasets like Clothing-1M.</p>\n<blockquote>\n  <p>Training on web-scale data can take months. But most computation and time is wasted on redundant and noisy points that are already learnt or not learnable.</p>\n</blockquote>\n<p>They prioritize training on samples that are most likely to result in decreased validation accuracy according to a simple heuristic.</p>\n<p>The main idea is to avoid samples that are <strong>noisy</strong>, <strong>irrelevant</strong>, and <strong>redundant</strong>. The authors show that RHO-LOSS chooses low-noise, task-relevant, non-redundant samples for training.</p>\n<p>In terms of epochs of training, their RHO-LOSS sampling often yields large reductions compared to uniform sampling and other curriculum-based baselines.</p>\n<hr>\n<p>[1] <a href=\"https://arxiv.org/abs/1812.06469\" target=\"_blank\">The Adverse Effects of Code Duplication in Machine Learning Models of Code</a></p>",
  "messages": [
    {
      "id": 1853477,
      "postDate": "2022-07-12T23:05:31.757Z",
      "content": "<p><strong>Paper</strong>: <a href=\"https://arxiv.org/abs/2206.07137\" target=\"_blank\">Prioritized Training on Points that are Learnable, Worth Learning, and Not Yet Learnt</a> (only a few weeks old)</p>\n<p>Training even 1 epoch (~150k notebooks) on the Kaggle P100 could take hours. A simple baseline to speed up training could be to remove duplicates or near-duplicate notebooks [1]. </p>\n<p>This paper introduces RHO-LOSS, which lets the authors achieve their target accuracy in <strong>18x fewer training steps</strong> on large noisy datasets like Clothing-1M.</p>\n<blockquote>\n  <p>Training on web-scale data can take months. But most computation and time is wasted on redundant and noisy points that are already learnt or not learnable.</p>\n</blockquote>\n<p>They prioritize training on samples that are most likely to result in decreased validation accuracy according to a simple heuristic.</p>\n<p>The main idea is to avoid samples that are <strong>noisy</strong>, <strong>irrelevant</strong>, and <strong>redundant</strong>. The authors show that RHO-LOSS chooses low-noise, task-relevant, non-redundant samples for training.</p>\n<p>In terms of epochs of training, their RHO-LOSS sampling often yields large reductions compared to uniform sampling and other curriculum-based baselines.</p>\n<hr>\n<p>[1] <a href=\"https://arxiv.org/abs/1812.06469\" target=\"_blank\">The Adverse Effects of Code Duplication in Machine Learning Models of Code</a></p>",
      "rawMarkdown": "__Paper__: [Prioritized Training on Points that are Learnable, Worth Learning, and Not Yet Learnt](https://arxiv.org/abs/2206.07137) (only a few weeks old)\n\nTraining even 1 epoch (~150k notebooks) on the Kaggle P100 could take hours. A simple baseline to speed up training could be to remove duplicates or near-duplicate notebooks [1]. \n\nThis paper introduces RHO-LOSS, which lets the authors achieve their target accuracy in __18x fewer training steps__ on large noisy datasets like Clothing-1M.\n\n > Training on web-scale data can take months. But most computation and time is wasted on redundant and noisy points that are already learnt or not learnable.\n\nThey prioritize training on samples that are most likely to result in decreased validation accuracy according to a simple heuristic.\n\nThe main idea is to avoid samples that are __noisy__, __irrelevant__, and __redundant__. The authors show that RHO-LOSS chooses low-noise, task-relevant, non-redundant samples for training.\n\nIn terms of epochs of training, their RHO-LOSS sampling often yields large reductions compared to uniform sampling and other curriculum-based baselines.\n\n---\n[1] [The Adverse Effects of Code Duplication in Machine Learning Models of Code](https://arxiv.org/abs/1812.06469)",
      "votes": 5
    },
    {
      "id": 1853566,
      "postDate": "2022-07-13T00:50:06.367Z",
      "content": "<p>Thank you for introducing interesting loss!<br>\nIs it right to say something like <a href=\"url\" target=\"_blank\">https://github.com/oatml/rho-loss</a> ?</p>",
      "rawMarkdown": "Thank you for introducing interesting loss!\nIs it right to say something like [https://github.com/oatml/rho-loss](url) ?",
      "votes": 2
    },
    {
      "id": 1855585,
      "postDate": "2022-07-14T17:53:06.160Z",
      "rawMarkdown": "",
      "votes": 1,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1853566,
      "author_name": "aisamhottman",
      "author_url": "",
      "post_date": "2022-07-13T00:50:06.367000",
      "content": "<p>Thank you for introducing interesting loss!<br>\nIs it right to say something like <a href=\"url\" target=\"_blank\">https://github.com/oatml/rho-loss</a> ?</p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 1855585,
      "author_name": "",
      "author_url": "",
      "post_date": "2022-07-14T17:53:06.160000",
      "content": "",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1853477": "__Paper__: [Prioritized Training on Points that are Learnable, Worth Learning, and Not Yet Learnt](https://arxiv.org/abs/2206.07137) (only a few weeks old)\n\nTraining even 1 epoch (~150k notebooks) on the Kaggle P100 could take hours. A simple baseline to speed up training could be to remove duplicates or near-duplicate notebooks [1]. \n\nThis paper introduces RHO-LOSS, which lets the authors achieve their target accuracy in __18x fewer training steps__ on large noisy datasets like Clothing-1M.\n\n > Training on web-scale data can take months. But most computation and time is wasted on redundant and noisy points that are already learnt or not learnable.\n\nThey prioritize training on samples that are most likely to result in decreased validation accuracy according to a simple heuristic.\n\nThe main idea is to avoid samples that are __noisy__, __irrelevant__, and __redundant__. The authors show that RHO-LOSS chooses low-noise, task-relevant, non-redundant samples for training.\n\nIn terms of epochs of training, their RHO-LOSS sampling often yields large reductions compared to uniform sampling and other curriculum-based baselines.\n\n---\n[1] [The Adverse Effects of Code Duplication in Machine Learning Models of Code](https://arxiv.org/abs/1812.06469)",
    "1853566": "Thank you for introducing interesting loss!\nIs it right to say something like [https://github.com/oatml/rho-loss](url) ?",
    "1855585": ""
  }
}