In your own words: computationally identifying interpretable themes in free-text survey data
Organizations: Technology and Operations Management Unit, Harvard Business School, Boston, Massachusetts, USA. · Department of Sociology, Stanford University, Palo Alto, CA, USA. · Department of Electrical Engineering and Computer Sciences, University of California, Berkeley, Berkeley, CA, USA.
Abstract
Free-text survey responses can provide nuance often missed by structured questions, but remain difficult to statistically analyze. To address this, we introduce In Your Own Words, a computational framework for exploratory analyses of free-text survey data that identifies structured, interpretable themes in free-text responses, facilitating systematic analysis. To illustrate the benefits of this approach, we apply it to a new dataset of free-text descriptions of race, gender, and sexual orientation from 1,004 U.S. participants. The themes our approach produces on this dataset are more coherent and interpretable than those produced by past computational methods. The themes have three practical applications in survey research. First, they can suggest structured questions to add to future surveys by surfacing salient constructs - such as belonging and identity fluidity - that existing surveys do not capture. Second, the themes reveal heterogeneity within standardized categories, explaining additional variation in health, well-being, and identity importance. Third, the themes illuminate systematic discordance between self-identified and perceived identities, highlighting mechanisms of misrecognition that existing measures do not reflect. More broadly, our framework can be deployed in a wide range of survey settings to identify interpretable themes from free text, complementing existing qualitative methods.
Figures & tables
| Free-Text Question |
|---|
| In at least 2–3 sentences, how would you describe your race ? For example, you could discuss specific traditions or customs, cultural practices or norms, languages or dialects spoken in your family, or ways race and/or ethnicity has influenced your life experiences. |
| In at least 2–3 sentences, how would you describe your gender ? For example, you could discuss ways your gender identity influences your life or significant milestones or moments in your life related to your gender identity. |
| In at least 2–3 sentences, how would you describe your sexual orientation ? For example, you could discuss ways your sexual orientation influences your life, significant milestones or moments in your life related to your sexual orientation, or any differences between your romantic and sexual identities. |
Appendix figures & tables40 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Multiselect (%) |
|---|---|
| Race and/or Ethnicity | |
| American Indian or Alaska Native | 6.8% |
| Asian | 15.4% |
| Black or African American | 22.2% |
| Hispanic or Latino | 16.8% |
| Middle Eastern or North African | 4.4% |
| Model | Prompt | Race | Gender | Sexual Orient. | Human Pos. (%) | LLM Pos. (%) | Pos. (pp) |
|---|---|---|---|---|---|---|---|
| GPT-4.1-mini | Baseline | 0.754 | 0.552 | 0.609 | 13.0 | 16.3 | +3.3 |
| GPT-4.1 | Baseline | 0.685 | 0.559 | 0.741 | 13.0 | 10.2 | -2.8 |
| GPT-4.1-mini | Identity-Specific | 0.771 | 0.544 | 0.666 | 13.0 | 13.1 | +0.1 |
| GPT-4.1 | Identity-Specific | 0.683 | 0.547 | 0.778 | 13.0 | 9.0 | -4.0 |
| Race Theme | Fidelity | |
|---|---|---|
| 1 | mentions celebrating Christian holidays | 0.78 |
| 2 | uses the phrase ‘I would describe my race’ or a close variation of it | 0.91 |
| 3 | mentions speaking English or American English as a primary language | 0.90 |
| 4 | mentions being first, second, or third generation American or immigrant | 0.75 |
| 5 | mentions pride in Black or African American identity | 0.88 |
| 6 | uses the phrase ‘I am’ followed by a race or ethnicity descriptor without elaboration | 0.75 |
| Gender Theme | Fidelity | |
|---|---|---|
| 1 | uses the exact word ‘male’ | 0.91 |
| 2 | mentions childhood experiences related to gender roles or expectations | 0.78 |
| 3 | mentions responsibility to provide for family | 0.55 |
| 4 | mentions use of multiple pronouns or experimenting with pronouns | 0.46 |
| 5 | mentions physical appearance or specific physical traits | 0.38 |
| 6 | mentions giving birth or having children as a significant aspect of their identity | 0.86 |
| Sexual Orientation Theme | Fidelity | |
|---|---|---|
| 1 | refuses to provide a clear or specific answer about sexual orientation | 0.64 |
| 2 | explicitly states attraction to ‘men’ without additional context or qualifiers | 0.91 |
| 3 | mentions demisexuality or being demisexual | 0.89 |
| 4 | mentions being married | 0.91 |
| 5 | explicitly self-describes as asexual or aromantic | 0.99 |
| 6 | explicitly self-describes as straight or heterosexual without additional context or elaboration | 0.80 |
| Race Theme | |
|---|---|
| mentions being born in the United States or America | 0.01 |
| mentions celebrating Christian holidays | 0.03 |
| mentions speaking English or American English as a primary language | 0.03 |
| mentions traditional or cultural food as an important aspect of their identity | 0.04 |
| explicitly states a lack of cultural or ethnic identity or traditions | 0.05 |
| mentions being first, second, or third generation American or immigrant | 0.05 |
| Gender Theme | |
|---|---|
| mentions childhood experiences related to gender roles or expectations | 0.00 |
| uses the word ‘cisgender’ | 0.01 |
| discusses how gender impacts societal roles, opportunities, or treatment | 0.01 |
| explicitly states being heterosexual | 0.02 |
| mentions roles or responsibilities within a family or household | 0.02 |
| mentions how gender identity influences decisions, safety, or interactions in life | 0.02 |
| Sexual Orientation Theme | |
|---|---|
| mentions being married | 0.02 |
| discusses how sexual orientation influences personal growth, relationships, or key life milestones | 0.03 |
| mentions that their sexual orientation does not significantly impact their life | 0.03 |
| discusses how their sexual orientation influences their personal relationships or life milestones | 0.04 |
| mentions ‘opposite sex’ or ‘opposite gender’ | 0.05 |
| explicitly states attraction to ‘men’ without additional context or qualifiers | 0.05 |
| Race | Gender | Sexual Orientation | |
|---|---|---|---|
| 0.15 | 0.12 | 0.22 | |
| Adjusted | 0.14 | 0.11 | 0.22 |
| (McFadden) | 0.31 | 0.18 | 0.26 |
| (Cox-Snell) | 0.13 | 0.11 | 0.20 |
| Identity | Outcome | Relative Increase ( ) |
|---|---|---|
| Race | Mental Health | 1.5 (0.04 0.06) ∗ |
| Physical Health | 1.9 (0.02 0.05) ∗ | |
| Life Satisfaction | 1.9 (0.01 0.03) | |
| Everyday Discrimination | 0.8 (0.02 0.02) | |
| Income | 1.5 (0.02 0.04) | |
| Identity Importance | 1.1 (0.30 0.33) ∗∗∗ |
| Perceived Race Theme | Fidelity | |
|---|---|---|
| 1 | mentions connection (or lack thereof) to European heritage or traditions | 0.548 |
| 2 | mentions being black or African | 0.916 |
| 3 | mentions feeling disconnected from or not fully immersed in their cultural heritage | 0.804 |
| 4 | mentions being perceived as white | 0.800 |
| 5 | mentions equality or equal treatment | 0.436 |
| 6 | mentions uncertainty or lack of knowledge about how others perceive their race/ethnicity | 0.630 |
| Perceived Gender Theme | Fidelity | |
|---|---|---|
| 1 | mentions being perceived with mixed or multiple gender identities | 0.810 |
| 2 | mentions societal or cultural expectations related to gender | 0.679 |
| 3 | discusses societal perceptions or stereotypes specifically about women | 0.561 |
| 4 | mentions societal perceptions or treatment of women | 0.749 |
| 5 | mentions discomfort or negative emotions regarding the topic | 0.316 |
| 6 | expresses uncertainty or avoidance in response | 0.480 |
| Perceived Sexual Orientation Theme | Fidelity | |
|---|---|---|
| 1 | avoids explicitly identifying or discussing specific sexual orientations | 0.486 |
| 2 | expresses indifference or lack of concern about others’ perceptions of their sexual orientation | 0.748 |
| 3 | mentions connection or comparison between sexual orientation and gender identity | 0.699 |
| 4 | mentions how others assume they are heterosexual due to appearances or societal norms | 0.652 |
| 5 | mentions being perceived as straight due to being married to a man | 0.828 |
| 6 | mentions being perceived as lesbian or bisexual | 0.732 |
| # Responses | Top 10 Race Words | |
|---|---|---|
| 1 | 0 | appearance, someone, colonizers, system, language, identify, advantage, colonized, history–, unequitable |
| 2 | 0 | disorder, narratives, lighthearted, american, white, family, race, english, ethnicity, black |
| 3 | 0 | bengali, iceland, bangladeshi, speaking, southern, geneology, icelandic, icelantic, varieties, organizing |
| 4 | 31 | side, mother, father, dad, mom, hispanic, half, italian, puerto, family |
| 5 | 5 | christmas, holidays, celebrate, thanksgiving, year, new, lunar, chinese, vietnamese, easter |
| 6 | 28 | black, african, american, africa, race, experiences, community, skin, americans, caribbean |
| # Responses | Top 10 Gender Words | |
|---|---|---|
| 1 | 13 | can, family, women, men, our, hard, they, when, believe, you |
| 2 | 1 | black, higher, when, based, women, femme, blackness, internal, color, respected |
| 3 | 1 | androgyny, work, nothing, physical, connection, desire, stronger, gain, muscle, exude |
| 4 | 1 | side, mujer, child, american, towards, fashion, sort, lean, clothes, an |
| 5 | 1 | lesbian, butch, role, stemme, influences, prefer, presentation, word, fem, black |
| 6 | 1 | answer, spirit, dual, aspects, sports, future, choice, options, below, odd |
| # Responses | Top 10 Sexual Orientation Words | |
|---|---|---|
| 1 | 339 | asexual, feel, really, like, sexual, attraction, think, if, ’ve, can |
| 2 | 1 | rainbow, christian, no, he, focusing, sunglasses, pins, covered, telling, human |
| 3 | 0 | base, sexual, attracted, straight, heterosexual, orientation, men, women, people, like |
| 4 | 1 | no, back, problem, effeminate, ’re, hope, nowadays, fits, gay, identity |
| 5 | 0 | intimacy, getting, trauma, sexuality, labels, beyond, must, last, kept, earlier |
| 6 | 0 | base, sexual, attracted, straight, heterosexual, orientation, men, women, people, like |
| # Responses | Theme Representation | |
|---|---|---|
| 1 | 178 | Black American Identity and Heritage |
| 2 | 64 | Asian American Identity and Cultural Practices |
| 3 | 44 | European Ancestry of White Americans |
| 4 | 39 | Cultural Heritage and Ethnic Identity in American Families |
| 5 | 39 | White American English Speakers |
| 6 | 32 | racial and ethnic self-identification |
| # Responses | Theme Representation | |
|---|---|---|
| 1 | 237 | Gender Identity and Expression |
| 2 | 67 | Impact of Gender Identity on Women’s Life Experiences |
| 3 | 63 | Cisgender Female Identity |
| 4 | 59 | Gender Identity and Biological Sex |
| 5 | 54 | Male Identity and Biological Sex |
| 6 | 48 | Female Gender Identity |
| # Responses | Theme Representation | |
|---|---|---|
| 1 | 96 | Heterosexual Attraction to Men |
| 2 | 87 | Asexual and Aromantic Experiences |
| 3 | 48 | Bisexual Attraction to Men and Women |
| 4 | 37 | Heterosexual Identity |
| 5 | 33 | Demisexual and Emotional Attraction |
| 6 | 33 | Influence of Heterosexuality on Personal Life |
| Level | Count | Theme / Subtheme Name & Description |
|---|---|---|
| [1] | 989 | Cultural Identity: Mentions the significance of cultural heritage and personal identity in shaping experiences and perspectives. |
| [2] | 1 | Race and Ethnicity: How individuals identify with race/ethnicity, including cultural heritage and experiences. |
| [2] | 1 | Language and Communication: Role of language spoken at home and its impact on cultural connection. |
| [2] | 1 | Cultural Practices and Traditions: Cultural practices (food, celebrations, customs) shaping identity. |
| [1] | 2 | Agriculture: Mentions the context of living in a rural farming community. |
| Level | Count | Theme / Subtheme Name & Description |
|---|---|---|
| [1] | 981 | Gender Identity: Discusses the experiences and perspectives shaped by one’s gender identity, including the diversity of expressions and identities beyond traditional norms. |
| [2] | 1 | Cisgender: Refers to individuals whose gender identity matches the sex they were assigned at birth. |
| [2] | 1 | Transgender: Refers to individuals whose gender identity differs from the sex they were assigned at birth. |
| [2] | 1 | Non-binary: Refers to gender identities that do not fit within the traditional binary of male and female. |
| [2] | 1 | Gender Fluid: Refers to a gender identity that is not fixed and can change over time or depending on the situation. |
| [2] | 1 | Agender: Refers to individuals who do not identify with any gender. |
| Level | Count | Theme / Subtheme Name & Description |
|---|---|---|
| [1] | 240 | Sexuality: Discusses the complexities of sexual orientation and the nuances of attraction and relationships. |
| [2] | 1 | Heterosexuality: Refers to attraction to the opposite gender. |
| [2] | 1 | Homosexuality: Refers to attraction to the same gender. |
| [2] | 1 | Bisexuality: Refers to attraction to both men and women. |
| [2] | 1 | Pansexuality: Refers to attraction to people regardless of gender. |
| [2] | 1 | Asexuality: Refers to little or no sexual attraction to others. |
| Race Theme | Fidelity | |
|---|---|---|
| 1 | mentions whiteness or being white | 0.359 |
| 2 | self-describes as white | 0.990 |
| 3 | mentions cultural traditions or practices | 0.940 |
| 4 | explicitly self-describes as Black or African American | 0.910 |
| 5 | mentions collective or community-oriented values | 0.699 |
| 6 | mentions speaking an Asian language | 0.723 |
| Gender Theme | Fidelity | |
|---|---|---|
| 1 | uses the term ‘female’ or ‘females’ explicitly to describe gender | 0.397 |
| 2 | mentions physical appearance or traits about self | 0.407 |
| 3 | is a single word response | 0.438 |
| 4 | mentions being nonbinary or genderfluid | 0.910 |
| 5 | includes a definitive statement about gender identity without discussing ambiguity or questioning | 0.561 |
| 6 | self-describes as cisgender male or man | 0.950 |
| Sexual Orientation Theme | Fidelity | |
|---|---|---|
| 1 | expresses uncertainty or refusal to describe their sexual orientation | 0.615 |
| 2 | mentions experimentation or exploration of sexuality | 0.486 |
| 3 | mentions fluidity or changes in sexual orientation over time | 0.370 |
| 4 | discusses how sexual orientation influences relationships or life experiences | 0.815 |
| 5 | mentions bisexual or queer as part of their sexual orientation | 0.890 |
| 6 | mentions comfort or natural feeling about sexual orientation | 0.525 |
| Race Theme | Fidelity | |
|---|---|---|
| 1 | mentions African American identity or culture | 0.769 |
| 2 | self-describes using a single concise phrase or label without additional context or elaboration | 0.679 |
| 3 | mentions specific ancestry percentages or fractions | 0.584 |
| 4 | mentions lack of specific traditions or customs related to their race or ethnicity | 0.767 |
| 5 | mentions Arabic language or dialect | 0.507 |
| 6 | mentions indigenous roots or ancestry | 0.686 |
| Gender Theme | Fidelity | |
|---|---|---|
| 1 | mentions using multiple pronouns or being comfortable with multiple pronouns | 0.893 |
| 2 | mentions racial or ethnic identity explicitly | 0.630 |
| 3 | explicitly self-describes as cisgender | 0.626 |
| 4 | mentions being born male and still identifying as male | 0.867 |
| 5 | mentions how gender impacts their life | 0.452 |
| 6 | discusses challenges or discrimination faced in professional or societal contexts due to gender | 0.636 |
| Sexual Orientation Theme | Fidelity | |
|---|---|---|
| 1 | mentions pansexual or pan-romantic | 0.958 |
| 2 | discusses how sexual orientation shapes identity, relationships, or personal growth | 0.357 |
| 3 | mentions attraction to or relationships with nonbinary or transgender individuals | 0.838 |
| 4 | uses the term ‘heterosexual’ | 0.889 |
| 5 | mentions that sexual orientation does not significantly influence their life | 0.844 |
| 6 | mentions questioning or uncertainty about their sexual or romantic orientation | 0.508 |
Computational Social Science
Computational social science uses data and computational models to study social behavior, institutions, communication, and collective outcomes.
See all 165 papers