This article describes a new study using AI to identify sex differences in the brain with over 90% accuracy.

Key findings:

  • An AI model successfully distinguished between male and female brains based on scans, suggesting inherent sex-based brain variations.
  • The model focused on specific brain networks like the default mode, striatum, and limbic networks, potentially linked to cognitive functions and behaviors.
  • These findings could lead to personalized medicine approaches by considering sex differences in developing treatments for brain disorders.

Additional points:

  • The study may help settle a long-standing debate about the existence of reliable sex differences in the brain.
  • Previous research failed to find consistent brain indicators of sex.
  • Researchers emphasize that the study doesn’t explain the cause of these differences.
  • The research team plans to make the AI model publicly available for further research on brain-behavior connections.

Overall, the study highlights the potential of AI in uncovering previously undetectable brain differences with potential implications for personalized medicine.

  • orclev@lemmy.world
    link
    fedilink
    English
    arrow-up
    83
    ·
    9 months ago

    I would be curious what this would predict for trans (including those both on and off hormone therapy), intersex, or homosexual individuals. My guess is that at a minimum in those cases it’s accuracy of predicting either their gender or sex would be very poor, although it would be absolutely fascinating if it accurately predicted their gender rather than their sex. The opposite result (predicting sex but not gender) would also be interesting but less so.

    • FaceDeer@kbin.social
      link
      fedilink
      arrow-up
      57
      ·
      9 months ago

      I’d be very interested in those results too, though I’d want everyone to bear in mind the possibility that the brain could have many different “masculine” and “feminine” attributes that could be present in all sorts of mixtures when you range afield from whatever statistical clusterings there might be. I wouldn’t want to see a situation where a transgender person is denied care because an AI “read” them as cisgender.

      In another comment in this thread I mentioned how men and women have different average heights, that would be a good analogy. There are short men and tall women, so you shouldn’t rely on just that.

      • LibertyLizard@slrpnk.net
        link
        fedilink
        English
        arrow-up
        37
        ·
        edit-2
        9 months ago

        I have a suspicion that this is exactly what’s going on here and may be why past studies found no differences. AI is much better at quickly synthesizing complex patterns into coherent categories than humans are.

        Also, 90% is not that good all things considered. The brain is almost certainly a complex mix of features that defy black and white categorization.

        Hopefully we will be wise enough to not require trans people to prove their trans-ness scientifically. People have a right to do what they wish with their bodies and express their gender in a way that feels right to them, and should not be required to match some artificial physical diagnosis of what it means to be trans. Even if it turns out that most trans people do share certain brain structures or patterns. There will always be exceptions and that doesn’t mean we get to label someone’s identity as inauthentic.

        • metallic_z3r0@infosec.pub
          link
          fedilink
          English
          arrow-up
          9
          ·
          9 months ago

          Unlikely as it might be, maybe the 10% error rate is from gender queer people that haven’t realized/faced it yet.

          • LibertyLizard@slrpnk.net
            link
            fedilink
            English
            arrow-up
            13
            ·
            edit-2
            9 months ago

            There are a lot of potential explanations. In essence they built a model to categorize brain features into male and female, and then tested this against their label of male or female on each brain. So this could result from problems with the model predictions—or just as easily from their “correct” labeling of each brain as male or female.

            So a big question is how did they define male and female? By genetics? By reproductive anatomy? By self reported identity? This information was not in the article. All of these things are very likely correlated with things happening in the brain, but probably not perfectly. It’s worth noting that many definitions of sex do not consider gender identity at all—if such a definition was used, then a trans-man might be labeled female in their data, whether they have reckoned with their identity or not.

            • knightly the Sneptaur@pawb.social
              link
              fedilink
              English
              arrow-up
              8
              ·
              9 months ago

              I looked into this, the study analyzed three pre-existing fMRI datasets.

              I wasn’t able to find any info on how these projects assessed sex/gender of participants.

              • june@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                9 months ago

                Based on this, I’d assume they just used AGAB as that’s how medical professionals approach patients in their care.

        • GenderNeutralBro@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          7
          ·
          9 months ago

          Given any finite data set above a trivially small size/complexity, and an undefined set of criteria, the odds of meaningless patterns appearing are extremely high.

          Machine learning algorithms are basically automated P-hackers when misused. Be skeptical of any conclusions drawn from ML that are not otherwise verifiable.

      • june@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        9 months ago

        Someone else mentioned the iris test being more accurate but that it also includes the eye area around the iris, including eyelashes and eye shape. That would clearly bias the model.

        I wonder if there’s anything else that’s might be giving clues to the machine or if it I limited to what they say it’s determining sex based on. As a trans-nonbinary person myself, I’m very skeptical and anxious about technologies like this leading to biases and prejudices being emboldened.

      • webghost0101@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        Just a guess but if they labeled training data either male or female then i believe its more likely that it detects biological sex…

        But if i they would also label and train on lgbt brains then i bet machine learning can differentiate between all of those.

        I bet you can do the same thing with neurodivergent people but you would need to make sure the training data is without error to make me trust it.

      • parens@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        There are short men and tall women, so you shouldn’t rely on just that.

        I don’t think that’s a fair comparison. Height is a single value. If you trained an AI on that, it would be guessing. A brain has many, many more parameters to take into consideration when going into an artificial neural network.

        • FaceDeer@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          That just makes my point stronger, though. The basic gist of what I was saying is that even if there is a statistical clustering of data into two groups that seem correlated with some category, that doesn’t mean that you can absolutely rely on that data to classify people into those categories.

          • parens@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 months ago

            The more data you have, the more confident you can be that the resulting categorisation is correct. If you’re saying this is incorrect, I disagree with you. If you’re saying absolute confidence that the categories themselves are correct is impossible, then I agree with you

    • kromem@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      9 months ago

      Anecdotally, women develop language earlier than men as children.

      The MtF trans person I know most closely was in the 90th percentile for their birth sex in early language development.

      I suspect it might well show trans brain differences.

      • Bizarroland@kbin.social
        link
        fedilink
        arrow-up
        3
        ·
        9 months ago

        That’s interesting. I and my father are both hyperlexic (as in, taught ourselves to read, in my case, before I could speak) but not trans or autistic.

        I wonder how that mixes into the fold?

    • parens@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      The opposite result (predicting sex but not gender) would also be interesting but less so

      I disagree. It could be wildly interesting if somebody born a male got a scan and it revealed a female brain. Dunno if “anti-trans” people would agree then that a sex-change is valid or if they’d disagree and start finding other excuses.

      • orclev@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Assuming I’m understanding your point that would be a mis-categorization. I’m assuming you meant a straight non-trans male was scanned and the result predicted a female brain was scanned (a result matching neither the sex nor gender)? I was saying it would be less interesting if it scanned say a female-to-male trans person and returned a result of female (correctly guessing the sex but not the gender), than if it had returned a result of male (that is correctly guessing the gender but not the sex). It would also be interesting if it could detect trans people in general as their own unique group.

        • parens@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          I do mean person born a male that wants to become female. Anti-trans people often make points that trans people are just forced into being trans by the trans-mafia (or whatever term they use) aka social pressure. A brain scan indicating a female brain would counter that. But as I said, they’d probably find other excuses “it’s a mental disease that can be treated” and so on and so forth.

          I was saying it would be less interesting if it scanned say a female-to-male trans person and returned a result of female (correctly guessing the sex but not the gender), than if it had returned a result of male (that is correctly guessing the gender but not the sex).

          That would embolden the anti-trans crowd.

          Science is ongoing though, so who knows what the results will be.

          • orclev@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            9 months ago

            That would embolden the anti-trans crowd.

            Unfortunately no matter the outcome there’s likely danger there which is why legal protections are going to be critical. If it doesn’t accurately detect trans people they’d argue it’s evidence that being trans is a choice and that they could just decide to “be normal”. If it does accurately detect trans people in some ways that’s even more dangerous because now you’ve created a trans detector that could potentially be used to target people.

            Ultimately from a scientific perspective there’s still so much we don’t know about how our brains work and even less known about how gender and sexual orientation are determined. Projects like this provide valuable clues about all of that, but there’s still so much that’s unknown that any result is potentially useful. I personally would find it more interesting though if it did accurately detect someone whose trans as it would suggest there’s physically detectable brain differences.

  • Ragdoll X@lemmy.world
    link
    fedilink
    English
    arrow-up
    39
    ·
    edit-2
    9 months ago

    I don’t doubt that there are inherent differences between the brains of most men and women, but “we can measure these differences” and “these differences are inherent” are two different claims. I don’t really get what the article is trying to get at by first claiming the latter and then walking back to the former.

    btw can someone post the full PDF I can’t access it via sci-hub yet


    Edit: Also a tangential nitpick, but looking at their code I can tell that they’re psychiatrists/neuroscientists first and programmers second lol

    “CNN Block 1” comment used twice?

    They skip layer 5? (Why even keep it in there??)

    A linear layer with 2 outputs??? And then they do “_, predicted = torch.max(outputs.data, 1)” in the training script??? JUST USE 1 OUTPUT WITH A SIGMOID I’M BEGGING YOU

    And there’s a lot going on in the “utilityFunctions.py” file lol

  • GnuLinuxDude@lemmy.ml
    link
    fedilink
    English
    arrow-up
    29
    ·
    9 months ago

    I’m asking genuinely: is this “AI” or is this “ML,” because the latter terms appears more appropriate to me.

    • Womble@lemmy.world
      link
      fedilink
      English
      arrow-up
      19
      ·
      9 months ago

      Machine learning has been a subset of artificial inteligence research for decades (like 4 at least).

      • jacksilver@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        From a technical perspective yeah, but from a colloquial manner AI and ML have been used interchangeably for years. An issue only made worse by AI now frequently being used to describe GenAI which, while ML, behaves in a manner where it’s somewhat misleading to use AI/ML/Gen AI interchangeably.

    • RippleEffect@lemm.ee
      link
      fedilink
      English
      arrow-up
      9
      ·
      9 months ago

      Ai has begun to be used interchangeably with all kinds of automation. Not that I agree with it, but it’s the current golden child.

  • hperrin@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    ·
    9 months ago

    How can they say the differences are inherent? Wouldn’t you have to control for someone’s entire socialization to say that?

      • hperrin@lemmy.world
        link
        fedilink
        English
        arrow-up
        24
        ·
        9 months ago

        They can’t rule out the potential explanation that being raised male changes your brain in a different way than being raised female without having subjects that were raised differently than their birth sex. You would have to control for that variable in order to rule it out.

        • maniclucky@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          ·
          9 months ago

          Many thanks. Obviously, getting brain scans of infants is… difficult, so I wonder if one could proxy that. Maybe feed it brain scans from cultures with significant gender role differences and see if any performance differences are significant?

          I’d also be very curious how it sorted transgender individuals. I remember reading something years ago about transgender brains being structured like the sex with which they identify, but that was a long time ago and my critical reading skills have come a long way since then.

          • Jojo@lemm.ee
            link
            fedilink
            English
            arrow-up
            3
            ·
            9 months ago

            Last I read regarding trans brains: it’s a confusing mishmash and unclear if brains are even as sexed as they seem outside of just size. If they are though, it seems like probably trans brains are at least somewhere in between? More research definitely appreciated.

      • JoBo@feddit.uk
        link
        fedilink
        English
        arrow-up
        15
        ·
        edit-2
        9 months ago

        You can’t point to a difference and say it’s (directly) caused by chromosomes or the SRY gene or hormones, whatever. Brain differences increase with age, suggesting that they may be more to do with socialisation than genetics. Does this evidence prove that women should be treated differently or is it evidence that women are, in fact, treated differently?

        • Kit
          link
          fedilink
          English
          arrow-up
          8
          ·
          9 months ago

          The article touches on your question. It says that it’s too earlier to know if the differences are caused by hormones, chromosomes, or socialization. No point in speculating.

  • knightly the Sneptaur@pawb.social
    link
    fedilink
    English
    arrow-up
    16
    ·
    9 months ago

    Found myself a copy of the paper for a read-through and it’s immediately obvious to me why they couldn’t get above 90% accuracy.

    The word “Gender” occurs exactly zero times in the text and the datasets they worked with were divided into a strict sex binary. As a result, the accuracy of their models’ predictions could not significantly improve upon prior work in the field.

    The only new info here is that their XAN is able to point out the specific brain features that influenced its predictions. Potentially useful with regards to the development of treatments for gendered brain issues in neurotypical people, but anyone who falls outside of the 90th percentile of sexually dimorphic normativity won’t see any benefit here.

    • RobotToaster@mander.xyz
      link
      fedilink
      English
      arrow-up
      19
      ·
      edit-2
      9 months ago

      It’s not unusual for studies like these to exclude people taking medication, or with any kind of medical condition, such as gender dysphoria, autism ,etc. It’s to control as many variables as possible.

      (I’ve personally been excluded from FMRI studies for being autistic and left handed.)

      • Jojo@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        It doesn’t sound like they excluded trans or genderqueer people, they just ignored their gender. Or maybe I’m reading it wrong, but?

    • Chuymatt@kbin.social
      link
      fedilink
      arrow-up
      5
      ·
      9 months ago

      10% seems a bit more than was predicted, but would that account for those who don’t fit the peaks for the sexual dimorphism definitions, you think?

      • knightly the Sneptaur@pawb.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        9 months ago

        I think so. With a more diverse dataset and fewer binary assumptions baked into the analysis I think we’d start seeing the bimodal contours of a spectrum between the masculine and feminine peaks. The graphics included in the study seem to hint at this, showing nodes of similarity with a tapering tail toward the middle of the distribution for all three sets of data they analyzed:

      • RobotToaster@mander.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        IIRC Simon Baron Cohen’s studies on his (IMHO poorly named) extreme male brain theory of autism found that only 70% of men had “male brains”.