{
  "id": 384993,
  "title": "MIL approach",
  "url": "/competitions/rsna-breast-cancer-detection/discussion/384993",
  "author_name": "Gunes Evitan",
  "post_date": "2023-02-10T15:45:29.423000",
  "votes": 2,
  "comment_count": 6,
  "views": 0,
  "content": "<p>I tried to feed pairs of images of patients to a MIL model. Since some of the patients have more than 2 images per breast, I created combinations of image pairs from them. Regardless of fusing type; avg, max, concat, attention, I couldn't get any good result using this approach. I got 0.75 AUC at best. Does anyone able make this approach work?</p>",
  "messages": [
    {
      "id": 2168560,
      "postDate": "2023-03-04T10:20:46.737Z",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/gunesevitan\" target=\"_blank\">@gunesevitan</a> , we applied MIL and got good score on both CV, public LB, and private LB.<br>\nPlease check<br>\n<a href=\"https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/391779\" target=\"_blank\">https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/391779</a></p>",
      "rawMarkdown": "Hi @gunesevitan , we applied MIL and got good score on both CV, public LB, and private LB.\nPlease check\nhttps://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/391779",
      "votes": 1
    },
    {
      "id": 2139679,
      "postDate": "2023-02-11T02:32:44.030Z",
      "content": "<p>Did you take into account <a href=\"https://www.kaggle.com/code/anttiisosalo/solt-based-image-augs-rsna-bc-detection?scriptVersionId=118634331&amp;cellId=13\" target=\"_blank\">view and laterality</a>? And if there are multiple L-CC, R-CC, L-MLO and R-MLO images you could choose the latest (if there is a timestamp). I guess you have read already that L-CC and L-MLO match each other only partially and same for R-CC and R-MLO even though they depict the same breast. It is common that the lesions are not visible in both of the projections--perhaps neither or any of them.</p>",
      "rawMarkdown": "Did you take into account [view and laterality](https://www.kaggle.com/code/anttiisosalo/solt-based-image-augs-rsna-bc-detection?scriptVersionId=118634331&cellId=13)? And if there are multiple L-CC, R-CC, L-MLO and R-MLO images you could choose the latest (if there is a timestamp). I guess you have read already that L-CC and L-MLO match each other only partially and same for R-CC and R-MLO even though they depict the same breast. It is common that the lesions are not visible in both of the projections--perhaps neither or any of them.",
      "votes": 1,
      "replies": [
        {
          "id": 2139730,
          "postDate": "2023-02-11T05:07:14.983Z",
          "content": "<p>I wanted to model single breast images as they have a single label. For example; if there are 4 left breast images for a patient then I was creating 6 combinations of 2 from them and all of their labels were same. I didn't expect my score would get worse than per image approach.</p>",
          "rawMarkdown": "I wanted to model single breast images as they have a single label. For example; if there are 4 left breast images for a patient then I was creating 6 combinations of 2 from them and all of their labels were same. I didn't expect my score would get worse than per image approach.",
          "votes": 1
        }
      ]
    },
    {
      "id": 2139664,
      "postDate": "2023-02-11T01:45:40.010Z",
      "content": "<p>I tried feeding per patient images in channels but AUC wasn't better than 80 ish. </p>",
      "rawMarkdown": "I tried feeding per patient images in channels but AUC wasn't better than 80 ish. ",
      "votes": 1
    },
    {
      "id": 2138198,
      "postDate": "2023-02-10T16:23:46.327Z",
      "content": "<p>Did you do EDA? Otherwise, imbalanced dataset affects your results.</p>",
      "rawMarkdown": "Did you do EDA? Otherwise, imbalanced dataset affects your results.",
      "votes": 1,
      "replies": [
        {
          "id": 2139727,
          "postDate": "2023-02-11T05:01:23.930Z",
          "content": "<p>I was aggregating labels on patient, laterality groups so imbalance reduced but score got worse.</p>",
          "rawMarkdown": "I was aggregating labels on patient, laterality groups so imbalance reduced but score got worse."
        }
      ]
    },
    {
      "id": 2138151,
      "postDate": "2023-02-10T15:45:29.423Z",
      "content": "<p>I tried to feed pairs of images of patients to a MIL model. Since some of the patients have more than 2 images per breast, I created combinations of image pairs from them. Regardless of fusing type; avg, max, concat, attention, I couldn't get any good result using this approach. I got 0.75 AUC at best. Does anyone able make this approach work?</p>",
      "rawMarkdown": "I tried to feed pairs of images of patients to a MIL model. Since some of the patients have more than 2 images per breast, I created combinations of image pairs from them. Regardless of fusing type; avg, max, concat, attention, I couldn't get any good result using this approach. I got 0.75 AUC at best. Does anyone able make this approach work?",
      "votes": 2
    }
  ],
  "comments": [
    {
      "id": 2168560,
      "author_name": "ForcewithMe",
      "author_url": "",
      "post_date": "2023-03-04T10:20:46.737000",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/gunesevitan\" target=\"_blank\">@gunesevitan</a> , we applied MIL and got good score on both CV, public LB, and private LB.<br>\nPlease check<br>\n<a href=\"https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/391779\" target=\"_blank\">https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/391779</a></p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2139679,
      "author_name": "Antti Isosalo",
      "author_url": "",
      "post_date": "2023-02-11T02:32:44.030000",
      "content": "<p>Did you take into account <a href=\"https://www.kaggle.com/code/anttiisosalo/solt-based-image-augs-rsna-bc-detection?scriptVersionId=118634331&amp;cellId=13\" target=\"_blank\">view and laterality</a>? And if there are multiple L-CC, R-CC, L-MLO and R-MLO images you could choose the latest (if there is a timestamp). I guess you have read already that L-CC and L-MLO match each other only partially and same for R-CC and R-MLO even though they depict the same breast. It is common that the lesions are not visible in both of the projections--perhaps neither or any of them.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 2139730,
          "author_name": "Gunes Evitan",
          "author_url": "",
          "post_date": "2023-02-11T05:07:14.983000",
          "content": "<p>I wanted to model single breast images as they have a single label. For example; if there are 4 left breast images for a patient then I was creating 6 combinations of 2 from them and all of their labels were same. I didn't expect my score would get worse than per image approach.</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 2139664,
      "author_name": "Phaedrus",
      "author_url": "",
      "post_date": "2023-02-11T01:45:40.010000",
      "content": "<p>I tried feeding per patient images in channels but AUC wasn't better than 80 ish. </p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2138198,
      "author_name": "Hyunsoo Lee 1010",
      "author_url": "",
      "post_date": "2023-02-10T16:23:46.327000",
      "content": "<p>Did you do EDA? Otherwise, imbalanced dataset affects your results.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 2139727,
          "author_name": "Gunes Evitan",
          "author_url": "",
          "post_date": "2023-02-11T05:01:23.930000",
          "content": "<p>I was aggregating labels on patient, laterality groups so imbalance reduced but score got worse.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2168560": "Hi @gunesevitan , we applied MIL and got good score on both CV, public LB, and private LB.\nPlease check\nhttps://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/391779",
    "2139679": "Did you take into account [view and laterality](https://www.kaggle.com/code/anttiisosalo/solt-based-image-augs-rsna-bc-detection?scriptVersionId=118634331&cellId=13)? And if there are multiple L-CC, R-CC, L-MLO and R-MLO images you could choose the latest (if there is a timestamp). I guess you have read already that L-CC and L-MLO match each other only partially and same for R-CC and R-MLO even though they depict the same breast. It is common that the lesions are not visible in both of the projections--perhaps neither or any of them.",
    "2139664": "I tried feeding per patient images in channels but AUC wasn't better than 80 ish. ",
    "2138198": "Did you do EDA? Otherwise, imbalanced dataset affects your results.",
    "2138151": "I tried to feed pairs of images of patients to a MIL model. Since some of the patients have more than 2 images per breast, I created combinations of image pairs from them. Regardless of fusing type; avg, max, concat, attention, I couldn't get any good result using this approach. I got 0.75 AUC at best. Does anyone able make this approach work?"
  }
}