{
  "id": 236510,
  "title": "FGVC7 - 2020: BiLinear EfficientNet Focal Loss+ Label Smoothing",
  "url": "/competitions/plant-pathology-2021-fgvc8/discussion/236510",
  "author_name": "",
  "post_date": "2021-05-04T17:49:59.024510400Z",
  "votes": 3,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Last summer (April-May) I participated in the same competition with much less data. That motivated me to try different things to solve the problem.  </p>\n<p>The main challenges main:</p>\n<ol>\n<li>Fine grain details</li>\n<li>Class imbalance   </li>\n</ol>\n<p>I tried to divide the challenges and combine their solutions, which led to <a href=\"https://www.kaggle.com/jimitshah777/bilinear-efficientnet-focal-loss-label-smoothing\" target=\"_blank\">BiLinear EfficientNet Focal Loss+ Label Smoothing</a>.  </p>\n<p>i) BiLinear EfficientNet for Fine grain classification: Effiecient Net was state of the art last year, you can use the latest CNN backbone too.<br>\nii) Focal Loss+ Label Smoothing for Class imbalance: Tried various loss functions to improve the training where we have less samples of target class.</p>\n<p>The code, results and other details of the solution can be found in this Kaggle Notebook: <a href=\"https://www.kaggle.com/jimitshah777/bilinear-efficientnet-focal-loss-label-smoothing\" target=\"_blank\">https://www.kaggle.com/jimitshah777/bilinear-efficientnet-focal-loss-label-smoothing</a></p>\n<p>Best of luck!</p>",
  "messages": [
    {
      "id": "1293271",
      "postDate": "05/04/2021 17:49:59",
      "content": "<p>Last summer (April-May) I participated in the same competition with much less data. That motivated me to try different things to solve the problem.  </p>\n<p>The main challenges main:</p>\n<ol>\n<li>Fine grain details</li>\n<li>Class imbalance   </li>\n</ol>\n<p>I tried to divide the challenges and combine their solutions, which led to <a href=\"https://www.kaggle.com/jimitshah777/bilinear-efficientnet-focal-loss-label-smoothing\" target=\"_blank\">BiLinear EfficientNet Focal Loss+ Label Smoothing</a>.  </p>\n<p>i) BiLinear EfficientNet for Fine grain classification: Effiecient Net was state of the art last year, you can use the latest CNN backbone too.<br>\nii) Focal Loss+ Label Smoothing for Class imbalance: Tried various loss functions to improve the training where we have less samples of target class.</p>\n<p>The code, results and other details of the solution can be found in this Kaggle Notebook: <a href=\"https://www.kaggle.com/jimitshah777/bilinear-efficientnet-focal-loss-label-smoothing\" target=\"_blank\">https://www.kaggle.com/jimitshah777/bilinear-efficientnet-focal-loss-label-smoothing</a></p>\n<p>Best of luck!</p>",
      "rawMarkdown": "Last summer (April-May) I participated in the same competition with much less data. That motivated me to try different things to solve the problem.  \n\nThe main challenges main:\n1. Fine grain details\n2. Class imbalance   \n\nI tried to divide the challenges and combine their solutions, which led to [BiLinear EfficientNet Focal Loss+ Label Smoothing](https://www.kaggle.com/jimitshah777/bilinear-efficientnet-focal-loss-label-smoothing).  \n\ni) BiLinear EfficientNet for Fine grain classification: Effiecient Net was state of the art last year, you can use the latest CNN backbone too.\nii) Focal Loss+ Label Smoothing for Class imbalance: Tried various loss functions to improve the training where we have less samples of target class.\n\nThe code, results and other details of the solution can be found in this Kaggle Notebook: https://www.kaggle.com/jimitshah777/bilinear-efficientnet-focal-loss-label-smoothing\n\nBest of luck!",
      "votes": null
    },
    {
      "id": "1293369",
      "postDate": "05/04/2021 19:11:13",
      "content": "<p>Looks like nice idea, I'll try it. Thanks for sharing this.</p>",
      "rawMarkdown": "Looks like nice idea, I'll try it. Thanks for sharing this.",
      "votes": null
    },
    {
      "id": "1293718",
      "postDate": "05/05/2021 05:51:51",
      "content": "<p>Hello. Thanks to share this awesome information to us :)<br>\nI have a question. I think Label Smoothing can be applied about multi-class classification problem.<br>\nBut, is it okay to use Label Smoothing method to multi-label classification problem? </p>",
      "rawMarkdown": "Hello. Thanks to share this awesome information to us :)\nI have a question. I think Label Smoothing can be applied about multi-class classification problem.\nBut, is it okay to use Label Smoothing method to multi-label classification problem?",
      "votes": null
    },
    {
      "id": "1294379",
      "postDate": "05/05/2021 15:39:25",
      "content": "<p>Yes you can use it in this problem too. What label smoothing basically does is regularization. Due to this, the model doesn't learn too confidently. Hence it explores more paths, thus leading to generalization.</p>",
      "rawMarkdown": "Yes you can use it in this problem too. What label smoothing basically does is regularization. Due to this, the model doesn't learn too confidently. Hence it explores more paths, thus leading to generalization.",
      "votes": null
    },
    {
      "id": "1294471",
      "postDate": "05/05/2021 17:14:53",
      "content": "<p>Thank you for your reply :) Yes, I agree with your opinion. Because the dataset from competition wouldn't show the distribution of real data. By the way in this problem, the label 'healthy' cannot be existed with other labels as far as I know. Do you think label smoothing still can be used?</p>",
      "rawMarkdown": "Thank you for your reply :) Yes, I agree with your opinion. Because the dataset from competition wouldn't show the distribution of real data. By the way in this problem, the label 'healthy' cannot be existed with other labels as far as I know. Do you think label smoothing still can be used?",
      "votes": null
    },
    {
      "id": "1297095",
      "postDate": "05/07/2021 18:25:28",
      "content": "<p>I am not sure about the problem statement and how this particular competition works. <br>\nBut when it comes to pathology of any kind (in plants or in humans), I have observed that there is always a class imbalance, because finding the diseased class is rare than that of healthy.</p>",
      "rawMarkdown": "I am not sure about the problem statement and how this particular competition works. \nBut when it comes to pathology of any kind (in plants or in humans), I have observed that there is always a class imbalance, because finding the diseased class is rare than that of healthy.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1293369,
      "author_name": "atamazian",
      "author_url": "",
      "post_date": "05/04/2021 19:11:13",
      "content": "<p>Looks like nice idea, I'll try it. Thanks for sharing this.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1293718,
      "author_name": "ljh0128",
      "author_url": "",
      "post_date": "05/05/2021 05:51:51",
      "content": "<p>Hello. Thanks to share this awesome information to us :)<br>\nI have a question. I think Label Smoothing can be applied about multi-class classification problem.<br>\nBut, is it okay to use Label Smoothing method to multi-label classification problem? </p>",
      "votes": null,
      "replies": [
        {
          "id": 1294379,
          "author_name": "jimitshah777",
          "author_url": "",
          "post_date": "05/05/2021 15:39:25",
          "content": "<p>Yes you can use it in this problem too. What label smoothing basically does is regularization. Due to this, the model doesn't learn too confidently. Hence it explores more paths, thus leading to generalization.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1294471,
          "author_name": "ljh0128",
          "author_url": "",
          "post_date": "05/05/2021 17:14:53",
          "content": "<p>Thank you for your reply :) Yes, I agree with your opinion. Because the dataset from competition wouldn't show the distribution of real data. By the way in this problem, the label 'healthy' cannot be existed with other labels as far as I know. Do you think label smoothing still can be used?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1297095,
          "author_name": "jimitshah777",
          "author_url": "",
          "post_date": "05/07/2021 18:25:28",
          "content": "<p>I am not sure about the problem statement and how this particular competition works. <br>\nBut when it comes to pathology of any kind (in plants or in humans), I have observed that there is always a class imbalance, because finding the diseased class is rare than that of healthy.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1293271": "Last summer (April-May) I participated in the same competition with much less data. That motivated me to try different things to solve the problem.  \n\nThe main challenges main:\n1. Fine grain details\n2. Class imbalance   \n\nI tried to divide the challenges and combine their solutions, which led to [BiLinear EfficientNet Focal Loss+ Label Smoothing](https://www.kaggle.com/jimitshah777/bilinear-efficientnet-focal-loss-label-smoothing).  \n\ni) BiLinear EfficientNet for Fine grain classification: Effiecient Net was state of the art last year, you can use the latest CNN backbone too.\nii) Focal Loss+ Label Smoothing for Class imbalance: Tried various loss functions to improve the training where we have less samples of target class.\n\nThe code, results and other details of the solution can be found in this Kaggle Notebook: https://www.kaggle.com/jimitshah777/bilinear-efficientnet-focal-loss-label-smoothing\n\nBest of luck!",
    "1293369": "Looks like nice idea, I'll try it. Thanks for sharing this.",
    "1293718": "Hello. Thanks to share this awesome information to us :)\nI have a question. I think Label Smoothing can be applied about multi-class classification problem.\nBut, is it okay to use Label Smoothing method to multi-label classification problem?",
    "1294379": "Yes you can use it in this problem too. What label smoothing basically does is regularization. Due to this, the model doesn't learn too confidently. Hence it explores more paths, thus leading to generalization.",
    "1294471": "Thank you for your reply :) Yes, I agree with your opinion. Because the dataset from competition wouldn't show the distribution of real data. By the way in this problem, the label 'healthy' cannot be existed with other labels as far as I know. Do you think label smoothing still can be used?",
    "1297095": "I am not sure about the problem statement and how this particular competition works. \nBut when it comes to pathology of any kind (in plants or in humans), I have observed that there is always a class imbalance, because finding the diseased class is rare than that of healthy."
  },
  "source": "meta"
}