{
  "id": 576639,
  "title": "What works for you?",
  "url": "/competitions/birdclef-2025/discussion/576639",
  "author_name": "",
  "post_date": "2025-05-06T11:57:33.835975300Z",
  "votes": 26,
  "comment_count": 54,
  "views": 0,
  "content": "<p>For me, </p>\n<ol>\n<li>SED works better than CNN</li>\n<li>Pseudo Label is useful on some configurations</li>\n<li>random crop better than first 5/10 seconds </li>\n<li>CE better than BCE</li>\n</ol>",
  "messages": [
    {
      "id": "3194889",
      "postDate": "05/06/2025 11:57:33",
      "content": "<p>For me, </p>\n<ol>\n<li>SED works better than CNN</li>\n<li>Pseudo Label is useful on some configurations</li>\n<li>random crop better than first 5/10 seconds </li>\n<li>CE better than BCE</li>\n</ol>",
      "rawMarkdown": "For me, \n1. SED works better than CNN\n2. Pseudo Label is useful on some configurations\n3. random crop better than first 5/10 seconds \n4. CE better than BCE",
      "votes": null
    },
    {
      "id": "3194913",
      "postDate": "05/06/2025 12:17:34",
      "content": "<p>for my experiments</p>\n<ul>\n<li>CE better than BCE.</li>\n<li>Pseudo labels improved. </li>\n<li>random crop without human voice improved.</li>\n</ul>\n<p>one fold max score 0.80+ with CV 0.97. - will try SED Thanks.</p>\n<p><a href=\"https://www.kaggle.com/lihaoweicvch\" target=\"_blank\">@lihaoweicvch</a> is local CV matching with LB? whats your best local CV/LB?</p>",
      "rawMarkdown": "for my experiments\n- CE better than BCE.\n- Pseudo labels improved. \n- random crop without human voice improved.\n\none fold max score 0.80+ with CV 0.97. - will try SED Thanks.\n\n@lihaoweicvch is local CV matching with LB? whats your best local CV/LB?",
      "votes": null
    },
    {
      "id": "3194934",
      "postDate": "05/06/2025 12:47:33",
      "content": "<p>Not matching，so I didn’t make local  validation, CV 0.97, LB 0.85 That’s my very early version</p>",
      "rawMarkdown": "Not matching，so I didn’t make local  validation, CV 0.97, LB 0.85 That’s my very early version",
      "votes": null
    },
    {
      "id": "3195002",
      "postDate": "05/06/2025 14:14:43",
      "content": "<p>Thank for sharing this. </p>\n<p>I just did a single experiment with SED. <br>\nPseudo Label works.<br>\nI haven't tried CE, for me FocalBCE works. </p>",
      "rawMarkdown": "Thank for sharing this. \n\n\nI just did a single experiment with SED. \nPseudo Label works.\nI haven't tried CE, for me FocalBCE works.",
      "votes": null
    },
    {
      "id": "3195037",
      "postDate": "05/06/2025 15:02:40",
      "content": "<p>Do you use all the dataset to train model instead of cross validation?</p>",
      "rawMarkdown": "Do you use all the dataset to train model instead of cross validation?",
      "votes": null
    },
    {
      "id": "3195041",
      "postDate": "05/06/2025 15:08:06",
      "content": "<blockquote>\n  <p>Pseudo Label is useful on some configurations</p>\n</blockquote>\n<p>For me, it's on some models</p>",
      "rawMarkdown": "> Pseudo Label is useful on some configurations\n\nFor me, it's on some models",
      "votes": null
    },
    {
      "id": "3195087",
      "postDate": "05/06/2025 16:03:36",
      "content": "<p>In my tests, CE usually outperforms BCE. I'm still trying out Focal BCE now.</p>",
      "rawMarkdown": "In my tests, CE usually outperforms BCE. I'm still trying out Focal BCE now.",
      "votes": null
    },
    {
      "id": "3195330",
      "postDate": "05/06/2025 22:34:29",
      "content": "<p>Cool. Please share if it worked for you or not.</p>",
      "rawMarkdown": "Cool. Please share if it worked for you or not.",
      "votes": null
    },
    {
      "id": "3195345",
      "postDate": "05/06/2025 23:17:06",
      "content": "<p>Yes I use all </p>",
      "rawMarkdown": "Yes I use all",
      "votes": null
    },
    {
      "id": "3195387",
      "postDate": "05/07/2025 01:03:49",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/lihaoweicvch\" target=\"_blank\">@lihaoweicvch</a> </p>\n<p>I have a question, when you created pseudo labels for unlabeled_soundscapes, how did you apply CE loss, if no specie was detected? Did you set a threshold to include or exclude those chunks?</p>\n<p>If multiple species are detected in unlabeled_soundscapes, did you normalized it to have the sum of 1 for passing in to CE loss?</p>",
      "rawMarkdown": "Hi @lihaoweicvch \n\nI have a question, when you created pseudo labels for unlabeled_soundscapes, how did you apply CE loss, if no specie was detected? Did you set a threshold to include or exclude those chunks?\n\nIf multiple species are detected in unlabeled_soundscapes, did you normalized it to have the sum of 1 for passing in to CE loss?",
      "votes": null
    },
    {
      "id": "3195397",
      "postDate": "05/07/2025 01:41:01",
      "content": "<p>Thanks for replying. Do you also use average model method? such as ema, swa, model soup……</p>",
      "rawMarkdown": "Thanks for replying. Do you also use average model method? such as ema, swa, model soup......",
      "votes": null
    },
    {
      "id": "3196417",
      "postDate": "05/07/2025 02:50:52",
      "content": "<p>I include those  chunks which has species,  exclude no species  trunks  but see them as background noise on some configuration.<br>\nI didn't normalized it  to have the sum of 1.<br>\nwhat about yours?</p>",
      "rawMarkdown": "I include those  chunks which has species,  exclude no species  trunks  but see them as background noise on some configuration.\nI didn't normalized it  to have the sum of 1.\nwhat about yours?",
      "votes": null
    },
    {
      "id": "3196418",
      "postDate": "05/07/2025 02:51:21",
      "content": "<p>not yet, try later</p>",
      "rawMarkdown": "not yet, try later",
      "votes": null
    },
    {
      "id": "3196420",
      "postDate": "05/07/2025 02:56:27",
      "content": "<p>I see, I tried CE earlier in the competition and then dropped the idea because it can produce noisy predictions.</p>\n<p>I just started training again with a CE pipeline by normalizing labels to be 1. Let’s see how it works. </p>",
      "rawMarkdown": "I see, I tried CE earlier in the competition and then dropped the idea because it can produce noisy predictions.\n\nI just started training again with a CE pipeline by normalizing labels to be 1. Let’s see how it works.",
      "votes": null
    },
    {
      "id": "3196483",
      "postDate": "05/07/2025 04:49:42",
      "content": "<p>Well it scored 0.752 xD</p>",
      "rawMarkdown": "Well it scored 0.752 xD",
      "votes": null
    },
    {
      "id": "3196487",
      "postDate": "05/07/2025 04:55:39",
      "content": "<p>I use loss like this.</p>\n<pre><code> ():\n    log_probs = torch.nn.functional.log_softmax(logits, dim=)\n    loss = -torch.(soft_targets * log_probs, dim=)\n     loss.mean()\n</code></pre>",
      "rawMarkdown": "I use loss like this.\n\n```python\ndef soft_cross_entropy(logits, soft_targets):\n    log_probs = torch.nn.functional.log_softmax(logits, dim=1)\n    loss = -torch.sum(soft_targets * log_probs, dim=1)\n    return loss.mean()\n```",
      "votes": null
    },
    {
      "id": "3196522",
      "postDate": "05/07/2025 05:44:05",
      "content": "<p><a href=\"https://www.kaggle.com/salmanahmedtamu\" target=\"_blank\">@salmanahmedtamu</a>  I just tried CNN + CE, its predictions really noisy, many false positives, now I'am trying FocalBCE to see if it's better for CNN. </p>",
      "rawMarkdown": "salmanahmedtamu  I just tried CNN + CE, its predictions really noisy, many false positives, now I'am trying FocalBCE to see if it's better for CNN.",
      "votes": null
    },
    {
      "id": "3196529",
      "postDate": "05/07/2025 05:57:58",
      "content": "<p>I use FocalLossBCE  from your notebook: <a href=\"https://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66\" target=\"_blank\">https://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66</a><br>\nMay I ask your  BCE and Focal weight?    default is 1.0 and 1.0</p>",
      "rawMarkdown": "I use FocalLossBCE  from your notebook: https://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66\nMay I ask your  BCE and Focal weight?    default is 1.0 and 1.0",
      "votes": null
    },
    {
      "id": "3196531",
      "postDate": "05/07/2025 06:06:27",
      "content": "<p>Yes, both weights are set to 1</p>",
      "rawMarkdown": "Yes, both weights are set to 1",
      "votes": null
    },
    {
      "id": "3196651",
      "postDate": "05/07/2025 09:12:21",
      "content": "<p>Nice work Thanks for sharing this</p>",
      "rawMarkdown": "Nice work Thanks for sharing this",
      "votes": null
    },
    {
      "id": "3197305",
      "postDate": "05/08/2025 03:30:45",
      "content": "<p>How to build a SED model?</p>",
      "rawMarkdown": "How to build a SED model?",
      "votes": null
    },
    {
      "id": "3197346",
      "postDate": "05/08/2025 05:01:25",
      "content": "<p><a href=\"https://www.kaggle.com/competitions/birdclef-2025/discussion/576765\" target=\"_blank\">https://www.kaggle.com/competitions/birdclef-2025/discussion/576765</a></p>",
      "rawMarkdown": "https://www.kaggle.com/competitions/birdclef-2025/discussion/576765",
      "votes": null
    },
    {
      "id": "3198809",
      "postDate": "05/10/2025 02:58:46",
      "content": "<p>Have you tried cleaning vocal segments and using FocalBCE? It doesn't work for me.</p>",
      "rawMarkdown": "Have you tried cleaning vocal segments and using FocalBCE? It doesn't work for me.",
      "votes": null
    },
    {
      "id": "3198868",
      "postDate": "05/10/2025 05:15:23",
      "content": "<p>Yup, that's the solution which scored 0.907 LB.</p>",
      "rawMarkdown": "Yup, that's the solution which scored 0.907 LB.",
      "votes": null
    },
    {
      "id": "3198869",
      "postDate": "05/10/2025 05:16:25",
      "content": "<p>You need to consider the noisy audios in the train set, specially for the CSA recordings. </p>",
      "rawMarkdown": "You need to consider the noisy audios in the train set, specially for the CSA recordings.",
      "votes": null
    },
    {
      "id": "3199561",
      "postDate": "05/11/2025 06:11:24",
      "content": "<p>does CE + Sigmoid works better than CE + softmax for you?</p>",
      "rawMarkdown": "does CE + Sigmoid works better than CE + softmax for you?",
      "votes": null
    },
    {
      "id": "3199817",
      "postDate": "05/11/2025 13:54:17",
      "content": "<p>I didn’t try CE + softmax (infer), I guess there maybe more false positives, I”ll try tmr and report to here. what about yours </p>",
      "rawMarkdown": "I didn’t try CE + softmax (infer), I guess there maybe more false positives, I”ll try tmr and report to here. what about yours",
      "votes": null
    },
    {
      "id": "3199928",
      "postDate": "05/11/2025 17:59:04",
      "content": "<p>I am not able to get more than 0.752 with CE + sigmoid. 🥲</p>",
      "rawMarkdown": "I am not able to get more than 0.752 with CE + sigmoid. 🥲",
      "votes": null
    },
    {
      "id": "3199929",
      "postDate": "05/11/2025 18:00:42",
      "content": "<p>Yeah, it might work, if you have <code>nocall</code> as well in your classes.</p>",
      "rawMarkdown": "Yeah, it might work, if you have `nocall` as well in your classes.",
      "votes": null
    },
    {
      "id": "3200089",
      "postDate": "05/12/2025 03:54:36",
      "content": "<p>0.9 drop to  0.88 if using softmax for me </p>",
      "rawMarkdown": "0.9 drop to  0.88 if using softmax for me",
      "votes": null
    },
    {
      "id": "3200447",
      "postDate": "05/12/2025 15:27:33",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/salmanahmedtamu\" target=\"_blank\">@salmanahmedtamu</a>! What is <code>nocall</code> here? Is it a fake class of having no bird calls in the current 5 sec interval made by preprocessing of the training data?</p>",
      "rawMarkdown": "Hi @salmanahmedtamu! What is `nocall` here? Is it a fake class of having no bird calls in the current 5 sec interval made by preprocessing of the training data?",
      "votes": null
    },
    {
      "id": "3201570",
      "postDate": "05/14/2025 04:28:21",
      "content": "<p>how to deal with length less 5s segments?😭</p>",
      "rawMarkdown": "how to deal with length less 5s segments?😭",
      "votes": null
    },
    {
      "id": "3201626",
      "postDate": "05/14/2025 07:02:43",
      "content": "<p>simply pad it to 5s or repeat that segment to 5s.</p>",
      "rawMarkdown": "simply pad it to 5s or repeat that segment to 5s.",
      "votes": null
    },
    {
      "id": "3201655",
      "postDate": "05/14/2025 07:56:24",
      "content": "<p>i do pad it to 5s its hurts pb</p>",
      "rawMarkdown": "i do pad it to 5s its hurts pb",
      "votes": null
    },
    {
      "id": "3201859",
      "postDate": "05/14/2025 13:47:10",
      "content": "<p>Could you please provide some more detailed information about sed?</p>",
      "rawMarkdown": "Could you please provide some more detailed information about sed?",
      "votes": null
    },
    {
      "id": "3201870",
      "postDate": "05/14/2025 14:03:33",
      "content": "<p>nothing worked for me after overfitting to 0.845, it seems to be overfitting very hard 🤔</p>",
      "rawMarkdown": "nothing worked for me after overfitting to 0.845, it seems to be overfitting very hard 🤔",
      "votes": null
    },
    {
      "id": "3202144",
      "postDate": "05/14/2025 23:25:19",
      "content": "<p>The following methods worked well for me:</p>\n<ul>\n<li>SED model</li>\n<li>Removing human voices</li>\n<li>Pseudo‑labeling</li>\n<li>Post‑processing (see <a href=\"https://www.kaggle.com/code/myso1987/post-processing-with-power-adjustment-for-low-rank\" target=\"_blank\">notebook</a>)</li>\n</ul>",
      "rawMarkdown": "The following methods worked well for me:\n\n- SED model\n- Removing human voices\n- Pseudo‑labeling\n- Post‑processing (see [notebook](https://www.kaggle.com/code/myso1987/post-processing-with-power-adjustment-for-low-rank))",
      "votes": null
    },
    {
      "id": "3202176",
      "postDate": "05/15/2025 01:39:33",
      "content": "<p>Hi, I tried Removing human voices too, But got bad rewards from pb score, May you  provide mroe detail, thanks.</p>",
      "rawMarkdown": "Hi, I tried Removing human voices too, But got bad rewards from pb score, May you  provide mroe detail, thanks.",
      "votes": null
    },
    {
      "id": "3202179",
      "postDate": "05/15/2025 02:04:14",
      "content": "<p>Is pink noise and log-mel spectrogram really helpful for you?</p>",
      "rawMarkdown": "Is pink noise and log-mel spectrogram really helpful for you?",
      "votes": null
    },
    {
      "id": "3202203",
      "postDate": "05/15/2025 03:02:25",
      "content": "<p>Did you delete the entire file if it contained human voices?<br>\nIt might be better to remove only the frames that contain human voices within the file.</p>",
      "rawMarkdown": "Did you delete the entire file if it contained human voices?\nIt might be better to remove only the frames that contain human voices within the file.",
      "votes": null
    },
    {
      "id": "3202215",
      "postDate": "05/15/2025 03:39:15",
      "content": "<p>What’s the performance difference between SED and CNN in your experiments?</p>",
      "rawMarkdown": "What’s the performance difference between SED and CNN in your experiments?",
      "votes": null
    },
    {
      "id": "3202406",
      "postDate": "05/15/2025 10:19:12",
      "content": "<p>Compared to a CNN baseline, the SED model improved the LB score by about 0.03 in my experiments.</p>",
      "rawMarkdown": "Compared to a CNN baseline, the SED model improved the LB score by about 0.03 in my experiments.",
      "votes": null
    },
    {
      "id": "3202450",
      "postDate": "05/15/2025 11:38:12",
      "content": "<p>Thank you. Is this SED with CE same as <a href=\"https://www.kaggle.com/lihaoweicvch\" target=\"_blank\">@lihaoweicvch</a> mentioned?<br>\nIt's not working for me. 😅</p>",
      "rawMarkdown": "Thank you. Is this SED with CE same as @lihaoweicvch mentioned?\nIt's not working for me. 😅",
      "votes": null
    },
    {
      "id": "3202462",
      "postDate": "05/15/2025 12:05:21",
      "content": "<p>I'm only using FocalLoss(BCE)</p>",
      "rawMarkdown": "I'm only using FocalLoss(BCE)",
      "votes": null
    },
    {
      "id": "3202489",
      "postDate": "05/15/2025 13:18:00",
      "content": "<p>Thanks for sharing.</p>",
      "rawMarkdown": "Thanks for sharing.",
      "votes": null
    },
    {
      "id": "3202552",
      "postDate": "05/15/2025 14:45:17",
      "content": "<p>I remove only the frames that contain human voices within the file</p>",
      "rawMarkdown": "I remove only the frames that contain human voices within the file",
      "votes": null
    },
    {
      "id": "3203071",
      "postDate": "05/16/2025 09:12:35",
      "content": "<p>The following methods worked for me</p>\n<ol>\n<li>Removing human voices</li>\n<li>Smaller efficient net architecture like efficientnet b0 ns</li>\n<li>Pseudolabelling train soundscapes </li>\n<li>Post processing and predictions smoothing</li>\n</ol>",
      "rawMarkdown": "The following methods worked for me\n1. Removing human voices\n2. Smaller efficient net architecture like efficientnet b0 ns\n3. Pseudolabelling train soundscapes \n4. Post processing and predictions smoothing",
      "votes": null
    },
    {
      "id": "3203075",
      "postDate": "05/16/2025 09:22:57",
      "content": "<p>is it a single model?</p>",
      "rawMarkdown": "is it a single model?",
      "votes": null
    },
    {
      "id": "3203335",
      "postDate": "05/16/2025 15:27:24",
      "content": "<p>I get a slightly better score when promoting orthogonal matrices. Not sure if that still works when the performance is better than mine.</p>",
      "rawMarkdown": "I get a slightly better score when promoting orthogonal matrices. Not sure if that still works when the performance is better than mine.",
      "votes": null
    },
    {
      "id": "3203337",
      "postDate": "05/16/2025 15:30:23",
      "content": "<p>\"Post processing and predictions smoothing\" what do I need to google in order to find useful ideas for that?</p>",
      "rawMarkdown": "\"Post processing and predictions smoothing\" what do I need to google in order to find useful ideas for that?",
      "votes": null
    },
    {
      "id": "3209255",
      "postDate": "05/25/2025 13:05:11",
      "content": "<p>wow just to confirm: 0.03? or 0.003?</p>",
      "rawMarkdown": "wow just to confirm: 0.03? or 0.003?",
      "votes": null
    },
    {
      "id": "3209262",
      "postDate": "05/25/2025 13:17:04",
      "content": "<p>It’s 0.03, but that score comes from the very early stage of my experiments. After that, I used only the SED model.</p>",
      "rawMarkdown": "It’s 0.03, but that score comes from the very early stage of my experiments. After that, I used only the SED model.",
      "votes": null
    },
    {
      "id": "3209266",
      "postDate": "05/25/2025 13:27:16",
      "content": "<p>I see, that's a lot of improvement. I jsut start trying SED, but not too much improvement on our side.</p>",
      "rawMarkdown": "I see, that's a lot of improvement. I jsut start trying SED, but not too much improvement on our side.",
      "votes": null
    },
    {
      "id": "3210155",
      "postDate": "05/26/2025 19:58:01",
      "content": "<p>I haven't been able to get a boost from this either, but I'm still working on it.</p>",
      "rawMarkdown": "I haven't been able to get a boost from this either, but I'm still working on it.",
      "votes": null
    },
    {
      "id": "3210156",
      "postDate": "05/26/2025 20:00:23",
      "content": "<p>For the without human voice, did you just sample from regions that the VAD didn't detect as speech?</p>",
      "rawMarkdown": "For the without human voice, did you just sample from regions that the VAD didn't detect as speech?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3194913,
      "author_name": "seshurajup",
      "author_url": "",
      "post_date": "05/06/2025 12:17:34",
      "content": "<p>for my experiments</p>\n<ul>\n<li>CE better than BCE.</li>\n<li>Pseudo labels improved. </li>\n<li>random crop without human voice improved.</li>\n</ul>\n<p>one fold max score 0.80+ with CV 0.97. - will try SED Thanks.</p>\n<p><a href=\"https://www.kaggle.com/lihaoweicvch\" target=\"_blank\">@lihaoweicvch</a> is local CV matching with LB? whats your best local CV/LB?</p>",
      "votes": null,
      "replies": [
        {
          "id": 3194934,
          "author_name": "lihaoweicvch",
          "author_url": "",
          "post_date": "05/06/2025 12:47:33",
          "content": "<p>Not matching，so I didn’t make local  validation, CV 0.97, LB 0.85 That’s my very early version</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 3210156,
          "author_name": "willrice",
          "author_url": "",
          "post_date": "05/26/2025 20:00:23",
          "content": "<p>For the without human voice, did you just sample from regions that the VAD didn't detect as speech?</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3195002,
      "author_name": "salmanahmedtamu",
      "author_url": "",
      "post_date": "05/06/2025 14:14:43",
      "content": "<p>Thank for sharing this. </p>\n<p>I just did a single experiment with SED. <br>\nPseudo Label works.<br>\nI haven't tried CE, for me FocalBCE works. </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 3195037,
      "author_name": "i2nfinit3y",
      "author_url": "",
      "post_date": "05/06/2025 15:02:40",
      "content": "<p>Do you use all the dataset to train model instead of cross validation?</p>",
      "votes": null,
      "replies": [
        {
          "id": 3195345,
          "author_name": "lihaoweicvch",
          "author_url": "",
          "post_date": "05/06/2025 23:17:06",
          "content": "<p>Yes I use all </p>",
          "votes": null,
          "replies": [
            {
              "id": 3195397,
              "author_name": "i2nfinit3y",
              "author_url": "",
              "post_date": "05/07/2025 01:41:01",
              "content": "<p>Thanks for replying. Do you also use average model method? such as ema, swa, model soup……</p>",
              "votes": null,
              "replies": [
                {
                  "id": 3196418,
                  "author_name": "lihaoweicvch",
                  "author_url": "",
                  "post_date": "05/07/2025 02:51:21",
                  "content": "<p>not yet, try later</p>",
                  "votes": null,
                  "replies": []
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": 3195041,
      "author_name": "snorfyang",
      "author_url": "",
      "post_date": "05/06/2025 15:08:06",
      "content": "<blockquote>\n  <p>Pseudo Label is useful on some configurations</p>\n</blockquote>\n<p>For me, it's on some models</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 3195087,
      "author_name": "digiranger",
      "author_url": "",
      "post_date": "05/06/2025 16:03:36",
      "content": "<p>In my tests, CE usually outperforms BCE. I'm still trying out Focal BCE now.</p>",
      "votes": null,
      "replies": [
        {
          "id": 3195330,
          "author_name": "salmanahmedtamu",
          "author_url": "",
          "post_date": "05/06/2025 22:34:29",
          "content": "<p>Cool. Please share if it worked for you or not.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3195387,
      "author_name": "salmanahmedtamu",
      "author_url": "",
      "post_date": "05/07/2025 01:03:49",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/lihaoweicvch\" target=\"_blank\">@lihaoweicvch</a> </p>\n<p>I have a question, when you created pseudo labels for unlabeled_soundscapes, how did you apply CE loss, if no specie was detected? Did you set a threshold to include or exclude those chunks?</p>\n<p>If multiple species are detected in unlabeled_soundscapes, did you normalized it to have the sum of 1 for passing in to CE loss?</p>",
      "votes": null,
      "replies": [
        {
          "id": 3196417,
          "author_name": "lihaoweicvch",
          "author_url": "",
          "post_date": "05/07/2025 02:50:52",
          "content": "<p>I include those  chunks which has species,  exclude no species  trunks  but see them as background noise on some configuration.<br>\nI didn't normalized it  to have the sum of 1.<br>\nwhat about yours?</p>",
          "votes": null,
          "replies": [
            {
              "id": 3196420,
              "author_name": "salmanahmedtamu",
              "author_url": "",
              "post_date": "05/07/2025 02:56:27",
              "content": "<p>I see, I tried CE earlier in the competition and then dropped the idea because it can produce noisy predictions.</p>\n<p>I just started training again with a CE pipeline by normalizing labels to be 1. Let’s see how it works. </p>",
              "votes": null,
              "replies": []
            },
            {
              "id": 3196483,
              "author_name": "salmanahmedtamu",
              "author_url": "",
              "post_date": "05/07/2025 04:49:42",
              "content": "<p>Well it scored 0.752 xD</p>",
              "votes": null,
              "replies": []
            },
            {
              "id": 3196487,
              "author_name": "salmanahmedtamu",
              "author_url": "",
              "post_date": "05/07/2025 04:55:39",
              "content": "<p>I use loss like this.</p>\n<pre><code> ():\n    log_probs = torch.nn.functional.log_softmax(logits, dim=)\n    loss = -torch.(soft_targets * log_probs, dim=)\n     loss.mean()\n</code></pre>",
              "votes": null,
              "replies": [
                {
                  "id": 3196522,
                  "author_name": "lihaoweicvch",
                  "author_url": "",
                  "post_date": "05/07/2025 05:44:05",
                  "content": "<p><a href=\"https://www.kaggle.com/salmanahmedtamu\" target=\"_blank\">@salmanahmedtamu</a>  I just tried CNN + CE, its predictions really noisy, many false positives, now I'am trying FocalBCE to see if it's better for CNN. </p>",
                  "votes": null,
                  "replies": [
                    {
                      "id": 3196529,
                      "author_name": "lihaoweicvch",
                      "author_url": "",
                      "post_date": "05/07/2025 05:57:58",
                      "content": "<p>I use FocalLossBCE  from your notebook: <a href=\"https://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66\" target=\"_blank\">https://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66</a><br>\nMay I ask your  BCE and Focal weight?    default is 1.0 and 1.0</p>",
                      "votes": null,
                      "replies": [
                        {
                          "id": 3196531,
                          "author_name": "salmanahmedtamu",
                          "author_url": "",
                          "post_date": "05/07/2025 06:06:27",
                          "content": "<p>Yes, both weights are set to 1</p>",
                          "votes": null,
                          "replies": []
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": 3196651,
      "author_name": "sayakmukherjee05",
      "author_url": "",
      "post_date": "05/07/2025 09:12:21",
      "content": "<p>Nice work Thanks for sharing this</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 3197305,
      "author_name": "chenbaoying",
      "author_url": "",
      "post_date": "05/08/2025 03:30:45",
      "content": "<p>How to build a SED model?</p>",
      "votes": null,
      "replies": [
        {
          "id": 3197346,
          "author_name": "lihaoweicvch",
          "author_url": "",
          "post_date": "05/08/2025 05:01:25",
          "content": "<p><a href=\"https://www.kaggle.com/competitions/birdclef-2025/discussion/576765\" target=\"_blank\">https://www.kaggle.com/competitions/birdclef-2025/discussion/576765</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3198809,
      "author_name": "shenshiyun",
      "author_url": "",
      "post_date": "05/10/2025 02:58:46",
      "content": "<p>Have you tried cleaning vocal segments and using FocalBCE? It doesn't work for me.</p>",
      "votes": null,
      "replies": [
        {
          "id": 3198868,
          "author_name": "salmanahmedtamu",
          "author_url": "",
          "post_date": "05/10/2025 05:15:23",
          "content": "<p>Yup, that's the solution which scored 0.907 LB.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 3198869,
          "author_name": "salmanahmedtamu",
          "author_url": "",
          "post_date": "05/10/2025 05:16:25",
          "content": "<p>You need to consider the noisy audios in the train set, specially for the CSA recordings. </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3199561,
      "author_name": "salmanahmedtamu",
      "author_url": "",
      "post_date": "05/11/2025 06:11:24",
      "content": "<p>does CE + Sigmoid works better than CE + softmax for you?</p>",
      "votes": null,
      "replies": [
        {
          "id": 3199817,
          "author_name": "lihaoweicvch",
          "author_url": "",
          "post_date": "05/11/2025 13:54:17",
          "content": "<p>I didn’t try CE + softmax (infer), I guess there maybe more false positives, I”ll try tmr and report to here. what about yours </p>",
          "votes": null,
          "replies": [
            {
              "id": 3199928,
              "author_name": "salmanahmedtamu",
              "author_url": "",
              "post_date": "05/11/2025 17:59:04",
              "content": "<p>I am not able to get more than 0.752 with CE + sigmoid. 🥲</p>",
              "votes": null,
              "replies": []
            },
            {
              "id": 3199929,
              "author_name": "salmanahmedtamu",
              "author_url": "",
              "post_date": "05/11/2025 18:00:42",
              "content": "<p>Yeah, it might work, if you have <code>nocall</code> as well in your classes.</p>",
              "votes": null,
              "replies": [
                {
                  "id": 3200089,
                  "author_name": "lihaoweicvch",
                  "author_url": "",
                  "post_date": "05/12/2025 03:54:36",
                  "content": "<p>0.9 drop to  0.88 if using softmax for me </p>",
                  "votes": null,
                  "replies": []
                },
                {
                  "id": 3200447,
                  "author_name": "veshkinartem",
                  "author_url": "",
                  "post_date": "05/12/2025 15:27:33",
                  "content": "<p>Hi <a href=\"https://www.kaggle.com/salmanahmedtamu\" target=\"_blank\">@salmanahmedtamu</a>! What is <code>nocall</code> here? Is it a fake class of having no bird calls in the current 5 sec interval made by preprocessing of the training data?</p>",
                  "votes": null,
                  "replies": []
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": 3201570,
      "author_name": "aichangeworld",
      "author_url": "",
      "post_date": "05/14/2025 04:28:21",
      "content": "<p>how to deal with length less 5s segments?😭</p>",
      "votes": null,
      "replies": [
        {
          "id": 3201626,
          "author_name": "fangsionfang",
          "author_url": "",
          "post_date": "05/14/2025 07:02:43",
          "content": "<p>simply pad it to 5s or repeat that segment to 5s.</p>",
          "votes": null,
          "replies": [
            {
              "id": 3201655,
              "author_name": "aichangeworld",
              "author_url": "",
              "post_date": "05/14/2025 07:56:24",
              "content": "<p>i do pad it to 5s its hurts pb</p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 3201859,
      "author_name": "yandsbnb666zhang",
      "author_url": "",
      "post_date": "05/14/2025 13:47:10",
      "content": "<p>Could you please provide some more detailed information about sed?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 3201870,
      "author_name": "yuanzhezhou",
      "author_url": "",
      "post_date": "05/14/2025 14:03:33",
      "content": "<p>nothing worked for me after overfitting to 0.845, it seems to be overfitting very hard 🤔</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 3202144,
      "author_name": "myso1987",
      "author_url": "",
      "post_date": "05/14/2025 23:25:19",
      "content": "<p>The following methods worked well for me:</p>\n<ul>\n<li>SED model</li>\n<li>Removing human voices</li>\n<li>Pseudo‑labeling</li>\n<li>Post‑processing (see <a href=\"https://www.kaggle.com/code/myso1987/post-processing-with-power-adjustment-for-low-rank\" target=\"_blank\">notebook</a>)</li>\n</ul>",
      "votes": null,
      "replies": [
        {
          "id": 3202176,
          "author_name": "xukongji",
          "author_url": "",
          "post_date": "05/15/2025 01:39:33",
          "content": "<p>Hi, I tried Removing human voices too, But got bad rewards from pb score, May you  provide mroe detail, thanks.</p>",
          "votes": null,
          "replies": [
            {
              "id": 3202203,
              "author_name": "myso1987",
              "author_url": "",
              "post_date": "05/15/2025 03:02:25",
              "content": "<p>Did you delete the entire file if it contained human voices?<br>\nIt might be better to remove only the frames that contain human voices within the file.</p>",
              "votes": null,
              "replies": [
                {
                  "id": 3202552,
                  "author_name": "xukongji",
                  "author_url": "",
                  "post_date": "05/15/2025 14:45:17",
                  "content": "<p>I remove only the frames that contain human voices within the file</p>",
                  "votes": null,
                  "replies": [
                    {
                      "id": 3210155,
                      "author_name": "willrice",
                      "author_url": "",
                      "post_date": "05/26/2025 19:58:01",
                      "content": "<p>I haven't been able to get a boost from this either, but I'm still working on it.</p>",
                      "votes": null,
                      "replies": []
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "id": 3202215,
          "author_name": "salmanahmedtamu",
          "author_url": "",
          "post_date": "05/15/2025 03:39:15",
          "content": "<p>What’s the performance difference between SED and CNN in your experiments?</p>",
          "votes": null,
          "replies": [
            {
              "id": 3202406,
              "author_name": "myso1987",
              "author_url": "",
              "post_date": "05/15/2025 10:19:12",
              "content": "<p>Compared to a CNN baseline, the SED model improved the LB score by about 0.03 in my experiments.</p>",
              "votes": null,
              "replies": [
                {
                  "id": 3202450,
                  "author_name": "salmanahmedtamu",
                  "author_url": "",
                  "post_date": "05/15/2025 11:38:12",
                  "content": "<p>Thank you. Is this SED with CE same as <a href=\"https://www.kaggle.com/lihaoweicvch\" target=\"_blank\">@lihaoweicvch</a> mentioned?<br>\nIt's not working for me. 😅</p>",
                  "votes": null,
                  "replies": [
                    {
                      "id": 3202462,
                      "author_name": "myso1987",
                      "author_url": "",
                      "post_date": "05/15/2025 12:05:21",
                      "content": "<p>I'm only using FocalLoss(BCE)</p>",
                      "votes": null,
                      "replies": [
                        {
                          "id": 3202489,
                          "author_name": "salmanahmedtamu",
                          "author_url": "",
                          "post_date": "05/15/2025 13:18:00",
                          "content": "<p>Thanks for sharing.</p>",
                          "votes": null,
                          "replies": []
                        }
                      ]
                    }
                  ]
                },
                {
                  "id": 3209255,
                  "author_name": "leonshangguan",
                  "author_url": "",
                  "post_date": "05/25/2025 13:05:11",
                  "content": "<p>wow just to confirm: 0.03? or 0.003?</p>",
                  "votes": null,
                  "replies": [
                    {
                      "id": 3209262,
                      "author_name": "myso1987",
                      "author_url": "",
                      "post_date": "05/25/2025 13:17:04",
                      "content": "<p>It’s 0.03, but that score comes from the very early stage of my experiments. After that, I used only the SED model.</p>",
                      "votes": null,
                      "replies": [
                        {
                          "id": 3209266,
                          "author_name": "leonshangguan",
                          "author_url": "",
                          "post_date": "05/25/2025 13:27:16",
                          "content": "<p>I see, that's a lot of improvement. I jsut start trying SED, but not too much improvement on our side.</p>",
                          "votes": null,
                          "replies": []
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": 3202179,
      "author_name": "shenshiyun",
      "author_url": "",
      "post_date": "05/15/2025 02:04:14",
      "content": "<p>Is pink noise and log-mel spectrogram really helpful for you?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 3203071,
      "author_name": "sayedathar11",
      "author_url": "",
      "post_date": "05/16/2025 09:12:35",
      "content": "<p>The following methods worked for me</p>\n<ol>\n<li>Removing human voices</li>\n<li>Smaller efficient net architecture like efficientnet b0 ns</li>\n<li>Pseudolabelling train soundscapes </li>\n<li>Post processing and predictions smoothing</li>\n</ol>",
      "votes": null,
      "replies": [
        {
          "id": 3203075,
          "author_name": "player77",
          "author_url": "",
          "post_date": "05/16/2025 09:22:57",
          "content": "<p>is it a single model?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 3203337,
          "author_name": "tim6502",
          "author_url": "",
          "post_date": "05/16/2025 15:30:23",
          "content": "<p>\"Post processing and predictions smoothing\" what do I need to google in order to find useful ideas for that?</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3203335,
      "author_name": "tim6502",
      "author_url": "",
      "post_date": "05/16/2025 15:27:24",
      "content": "<p>I get a slightly better score when promoting orthogonal matrices. Not sure if that still works when the performance is better than mine.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "3194889": "For me, \n1. SED works better than CNN\n2. Pseudo Label is useful on some configurations\n3. random crop better than first 5/10 seconds \n4. CE better than BCE",
    "3194913": "for my experiments\n- CE better than BCE.\n- Pseudo labels improved. \n- random crop without human voice improved.\n\none fold max score 0.80+ with CV 0.97. - will try SED Thanks.\n\n@lihaoweicvch is local CV matching with LB? whats your best local CV/LB?",
    "3194934": "Not matching，so I didn’t make local  validation, CV 0.97, LB 0.85 That’s my very early version",
    "3195002": "Thank for sharing this. \n\n\nI just did a single experiment with SED. \nPseudo Label works.\nI haven't tried CE, for me FocalBCE works.",
    "3195037": "Do you use all the dataset to train model instead of cross validation?",
    "3195041": "> Pseudo Label is useful on some configurations\n\nFor me, it's on some models",
    "3195087": "In my tests, CE usually outperforms BCE. I'm still trying out Focal BCE now.",
    "3195330": "Cool. Please share if it worked for you or not.",
    "3195345": "Yes I use all",
    "3195387": "Hi @lihaoweicvch \n\nI have a question, when you created pseudo labels for unlabeled_soundscapes, how did you apply CE loss, if no specie was detected? Did you set a threshold to include or exclude those chunks?\n\nIf multiple species are detected in unlabeled_soundscapes, did you normalized it to have the sum of 1 for passing in to CE loss?",
    "3195397": "Thanks for replying. Do you also use average model method? such as ema, swa, model soup......",
    "3196417": "I include those  chunks which has species,  exclude no species  trunks  but see them as background noise on some configuration.\nI didn't normalized it  to have the sum of 1.\nwhat about yours?",
    "3196418": "not yet, try later",
    "3196420": "I see, I tried CE earlier in the competition and then dropped the idea because it can produce noisy predictions.\n\nI just started training again with a CE pipeline by normalizing labels to be 1. Let’s see how it works.",
    "3196483": "Well it scored 0.752 xD",
    "3196487": "I use loss like this.\n\n```python\ndef soft_cross_entropy(logits, soft_targets):\n    log_probs = torch.nn.functional.log_softmax(logits, dim=1)\n    loss = -torch.sum(soft_targets * log_probs, dim=1)\n    return loss.mean()\n```",
    "3196522": "salmanahmedtamu  I just tried CNN + CE, its predictions really noisy, many false positives, now I'am trying FocalBCE to see if it's better for CNN.",
    "3196529": "I use FocalLossBCE  from your notebook: https://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66\nMay I ask your  BCE and Focal weight?    default is 1.0 and 1.0",
    "3196531": "Yes, both weights are set to 1",
    "3196651": "Nice work Thanks for sharing this",
    "3197305": "How to build a SED model?",
    "3197346": "https://www.kaggle.com/competitions/birdclef-2025/discussion/576765",
    "3198809": "Have you tried cleaning vocal segments and using FocalBCE? It doesn't work for me.",
    "3198868": "Yup, that's the solution which scored 0.907 LB.",
    "3198869": "You need to consider the noisy audios in the train set, specially for the CSA recordings.",
    "3199561": "does CE + Sigmoid works better than CE + softmax for you?",
    "3199817": "I didn’t try CE + softmax (infer), I guess there maybe more false positives, I”ll try tmr and report to here. what about yours",
    "3199928": "I am not able to get more than 0.752 with CE + sigmoid. 🥲",
    "3199929": "Yeah, it might work, if you have `nocall` as well in your classes.",
    "3200089": "0.9 drop to  0.88 if using softmax for me",
    "3200447": "Hi @salmanahmedtamu! What is `nocall` here? Is it a fake class of having no bird calls in the current 5 sec interval made by preprocessing of the training data?",
    "3201570": "how to deal with length less 5s segments?😭",
    "3201626": "simply pad it to 5s or repeat that segment to 5s.",
    "3201655": "i do pad it to 5s its hurts pb",
    "3201859": "Could you please provide some more detailed information about sed?",
    "3201870": "nothing worked for me after overfitting to 0.845, it seems to be overfitting very hard 🤔",
    "3202144": "The following methods worked well for me:\n\n- SED model\n- Removing human voices\n- Pseudo‑labeling\n- Post‑processing (see [notebook](https://www.kaggle.com/code/myso1987/post-processing-with-power-adjustment-for-low-rank))",
    "3202176": "Hi, I tried Removing human voices too, But got bad rewards from pb score, May you  provide mroe detail, thanks.",
    "3202179": "Is pink noise and log-mel spectrogram really helpful for you?",
    "3202203": "Did you delete the entire file if it contained human voices?\nIt might be better to remove only the frames that contain human voices within the file.",
    "3202215": "What’s the performance difference between SED and CNN in your experiments?",
    "3202406": "Compared to a CNN baseline, the SED model improved the LB score by about 0.03 in my experiments.",
    "3202450": "Thank you. Is this SED with CE same as @lihaoweicvch mentioned?\nIt's not working for me. 😅",
    "3202462": "I'm only using FocalLoss(BCE)",
    "3202489": "Thanks for sharing.",
    "3202552": "I remove only the frames that contain human voices within the file",
    "3203071": "The following methods worked for me\n1. Removing human voices\n2. Smaller efficient net architecture like efficientnet b0 ns\n3. Pseudolabelling train soundscapes \n4. Post processing and predictions smoothing",
    "3203075": "is it a single model?",
    "3203335": "I get a slightly better score when promoting orthogonal matrices. Not sure if that still works when the performance is better than mine.",
    "3203337": "\"Post processing and predictions smoothing\" what do I need to google in order to find useful ideas for that?",
    "3209255": "wow just to confirm: 0.03? or 0.003?",
    "3209262": "It’s 0.03, but that score comes from the very early stage of my experiments. After that, I used only the SED model.",
    "3209266": "I see, that's a lot of improvement. I jsut start trying SED, but not too much improvement on our side.",
    "3210155": "I haven't been able to get a boost from this either, but I'm still working on it.",
    "3210156": "For the without human voice, did you just sample from regions that the VAD didn't detect as speech?"
  },
  "source": "meta"
}