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
    84
    arrow-down
    3
    ·
    8 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
      58
      arrow-down
      3
      ·
      8 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
        38
        arrow-down
        2
        ·
        edit-2
        8 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
          arrow-down
          1
          ·
          8 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
            arrow-down
            1
            ·
            edit-2
            8 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
              arrow-down
              1
              ·
              8 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
                arrow-down
                1
                ·
                8 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
          arrow-down
          1
          ·
          8 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
        ·
        8 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
        arrow-down
        1
        ·
        8 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
        ·
        8 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
          ·
          8 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
            ·
            8 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
      arrow-down
      2
      ·
      8 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
        arrow-down
        1
        ·
        8 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
      arrow-down
      1
      ·
      8 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
        ·
        8 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
          ·
          8 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
            ·
            8 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.

  • Thorny_Insight@lemm.ee
    link
    fedilink
    English
    arrow-up
    42
    ·
    8 months ago

    Interesting that it’s only 90% accurate but looking at pictures of iris scans it’s 98.88% accurate while an ophthalmologist can tell no difference between the scans from males and females.

    Source

    • HejMedDig@feddit.dk
      link
      fedilink
      English
      arrow-up
      24
      arrow-down
      8
      ·
      8 months ago

      There are several reasons why the ability to determine gender from iris images is an interesting and potentially useful problem (3). One possible use arises in searching in an authorization database for a match. If the gender of a sample can be determined, it can be used to order the search reduce the average search time. Another possible use arises in social settings, where it may be useful to screen entry to an area based on gender but without recording identity (3). Gender classification is also important for collecting demographic information, for marketing research and for real-time electronic marketing. Yet another possible use is in high-security scenarios, where there may be value in knowing the gender of people who attempt entry but are not recognized as authorized persons.

      So useful for marketing, and harassing my trans homies. Fuck that shit!

      From a biological standpoint it is still quite fascinating

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

        I mean the paper you quoted keeps saying “gender” …Is it actually for affirming trans folks? Big if true but I obviously didn’t read the source material.

        • Jojo@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          I did get curious and try to dig up if those irises were classified by gender identity or agab, and neither the paper quoted nor the paper they cited as the source clarify on that point. They do only use the word gender, though, never sex.

    • crimsonpoodle@pawb.social
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      8 months ago

      While the iris study is interesting, looking at their dataset the pictures seem to include the area around the eye a little bit, including eye lashes, so after a cursory glance it seems odd that they even titled it as iris. However I didn’t read the full thing so it cold be that they cropped it somewhere. Although they are using large convolutions so a lot of detail is lost.

    • SuckMyWang@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      16
      ·
      edit-2
      8 months ago

      This shit is dumb as fuck. You start off with a 50/50 chance of guessing right to begin with. Then just ask do you like sports? There. You get to 98% acuracy without any fancy chips and circuit boards

      Edit: geez Lemmy, learn to take a joke

      • Thorny_Insight@lemm.ee
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        8 months ago

        Yeah except that it doesn’t need to ask questions but instead can tell it straight from the picture. An eye doctor can tell no difference between the irises of men an women.

  • Ragdoll X@lemmy.world
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    3
    ·
    edit-2
    8 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

    • GBU_28@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      8 months ago

      Good God that utility file.

      For the record, I’ve earned some serious cash essentially chasing around data scientists and whipping their code into production readiness and deployability. So, carry on I guess. I’ve literally seen code like this that a company relies on, that runs one one dudes laptop (but he’s a PhD and the brainz of the product! Lol)

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

        More like a proof of concept, since they didn’t significantly improve upon the accuracy of their predictions compared to prior models.

  • GnuLinuxDude@lemmy.ml
    link
    fedilink
    English
    arrow-up
    30
    arrow-down
    2
    ·
    8 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
      arrow-down
      3
      ·
      8 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
        ·
        8 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
      arrow-down
      1
      ·
      8 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
    22
    arrow-down
    4
    ·
    8 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
        ·
        8 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
          arrow-down
          1
          ·
          8 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
            ·
            8 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
        arrow-down
        1
        ·
        edit-2
        8 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@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          1
          ·
          8 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.

  • BombOmOm@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    edit-2
    8 months ago

    inherent sex-based brain variations

    These findings could lead to personalized medicine approaches by considering sex differences in developing treatments for brain disorders.

    Yep. There are observable differences and it is good we are increasingly able to take them into account.

  • knightly the Sneptaur@pawb.social
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    4
    ·
    8 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
      20
      arrow-down
      1
      ·
      edit-2
      8 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
        ·
        8 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
      ·
      8 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
        8 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
        ·
        8 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”.

  • TWeaK@lemm.ee
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    8
    ·
    8 months ago

    Brains change over time. The outcome and interpretations of this study sound like they have more chance of causing harm than good.

    • FaceDeer@kbin.social
      link
      fedilink
      arrow-up
      15
      arrow-down
      1
      ·
      8 months ago

      People’s heights change over time too. Men and women can nevertheless have different average heights.

      • TWeaK@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        8 months ago

        Yes, but I’ve heard theories and read studies in the past that suggest the differences in sexuality change over time, also. Like, studies have documented that women can go back and forth from being gay and straight, while men might go gay later in life but never change back. Supposedly there is some mental rewiring that goes on alongside this, however not as something that has been quantifiably measured, only qualitatively observed.

        I think this AI processing could be a useful tool in further analysis against this and other hypotheses, but I worry that given the emotionally charged discussions around transgender nature the results will be far too easily misconstrued.

        Height is pretty consistent. You grow until adolescence, then maybe you shrink a bit later in life. Men are generally taller than women, but only on average. That doesn’t really have anything to do with neurology.

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

      The text of the study says they specifically focused on a segment of the dataset from 20-35 years old to minimuze variation among the sex cohorts.

      • TWeaK@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        8 months ago

        That’s cool, but that doesn’t stop wild misinterpretation of the study and its conclusions.

        • Doubletwist@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          8 months ago

          That’s true of every study ever made, especially in today’s media environment.

          And every probably done study includes acknowledgments of known shortcomings, most of the ones I’ve read include suggestions or thoughts about future studies that could be done to account for those known issues.

          Media is to blame for most of the misinterpretations, not the studies themselves. It’s impossible to create a single, perfect study that can’t be misconstrued in some way.

          • TWeaK@lemm.ee
            link
            fedilink
            English
            arrow-up
            2
            ·
            8 months ago

            I wasn’t criticising the study for that so much, aside from the suggestion that their findings have broader implications than they likely do. The article perhaps deserves a little criticism, but yes the media (which the article publisher is a part of), and particularly mass media is the bigger culprit.

  • Infiltrated_ad8271@kbin.social
    link
    fedilink
    arrow-up
    4
    arrow-down
    4
    ·
    8 months ago

    The study may help settle a long-standing debate about the existence of reliable sex differences in the brain.

    How many studies on these lines must appear before this “debate” is overcome? It is even a truism! That we are a tabula rasa without sexual dimorphism is as absurd as biological determinism.