<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">J Med Internet Res</journal-id><journal-id journal-id-type="publisher-id">jmir</journal-id><journal-id journal-id-type="index">1</journal-id><journal-title>Journal of Medical Internet Research</journal-title><abbrev-journal-title>J Med Internet Res</abbrev-journal-title><issn pub-type="epub">1438-8871</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v28i1e92539</article-id><article-id pub-id-type="doi">10.2196/92539</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Exploring the Narratives of Patients With Cancer Using Large Language Models: Topic Modeling and Social Network Analysis</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Feng</surname><given-names>Xinyu</given-names></name><degrees>MSN</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Kwok</surname><given-names>Hin Chi</given-names></name><degrees>BSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Chung</surname><given-names>Ching Kok</given-names></name><degrees>BS</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Yorke</surname><given-names>Janelle</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Hui</surname><given-names>Vivian</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff3">3</xref></contrib></contrib-group><aff id="aff1"><institution>School of Nursing, The Hong Kong Polytechnic University</institution><addr-line>11 Yuk Choi Road, Hung Hom</addr-line><addr-line>Kowloon</addr-line><country>China (Hong Kong)</country></aff><aff id="aff2"><institution>School of Nursing, University of Manchester</institution><addr-line>Manchester</addr-line><country>United Kingdom</country></aff><aff id="aff3"><institution>Department of Health and Community Sytems, School of Nursing, University of Pittsburgh</institution><addr-line>Pittsburgh</addr-line><addr-line>PA</addr-line><country>United States</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Sarvestan</surname><given-names>Javad</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Ngan</surname><given-names>Ben</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Lam</surname><given-names>Chun Sing</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Vivian Hui, PhD, School of Nursing, The Hong Kong Polytechnic University, 11 Yuk Choi Road, Hung Hom, Kowloon, China (Hong Kong), 852 27664691; <email>vivianc.hui@polyu.edu.hk</email></corresp></author-notes><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>6</day><month>7</month><year>2026</year></pub-date><volume>28</volume><elocation-id>e92539</elocation-id><history><date date-type="received"><day>30</day><month>01</month><year>2026</year></date><date date-type="rev-recd"><day>17</day><month>06</month><year>2026</year></date><date date-type="accepted"><day>18</day><month>06</month><year>2026</year></date></history><copyright-statement>&#x00A9; Xinyu Feng, Hin Chi Kwok, Ching Kok Chung, Janelle Yorke, Vivian Hui. Originally published in the Journal of Medical Internet Research (<ext-link ext-link-type="uri" xlink:href="https://www.jmir.org">https://www.jmir.org</ext-link>), 6.7.2026. </copyright-statement><copyright-year>2026</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research (ISSN 1438-8871), is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://www.jmir.org/">https://www.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://www.jmir.org/2026/1/e92539"/><abstract><p/><sec><title>Background</title><p>Patients with cancer often experience diverse psychosocial stressors that profoundly affect disease trajectories, treatment adherence, and overall quality of life. Understanding how patients experience and articulate these issues is critical for designing patient-centered interventions. Conventional data collection methods, such as surveys and interviews, provide depth but are constrained by recall bias and scalability and may overlook sensitive or underreported concerns. Patient-authored narratives in online health communities present a valuable opportunity to identify prevalent and underserved issues. However, critical analytic challenges remain in generating coherent and interpretable insights due to their unstructured and large-scale nature.</p></sec><sec><title>Objective</title><p>This study aims to leverage TopicGPT, a prompt-based topic modeling framework powered by large language models (LLMs), in combination with network analysis for interpretable topic discovery and interrelationship analysis in the narratives of patients with cancer.</p></sec><sec sec-type="methods"><title>Methods</title><p>Patient-authored posts describing psychosocial challenges about cancer experience were collected from 4 online health communities. Eligible posts were preprocessed and analyzed using TopicGPT, wherein topics were generated hierarchically and mapped at the sentence level. Comparison analyses were conducted among 3 state-of-the-art LLMs through cosine similarity and manual evaluation. Results from the best-performing LLM were further compared with 2 conventional topic models through topic diversity and were used to construct the network subsequently. Topic co-occurrence was examined using the pointwise mutual information algorithm and centrality metrics to reveal influential topics and thematic interconnections across narratives.</p></sec><sec sec-type="results"><title>Results</title><p>A total of 11,306 posts were collected from Reddit, Macmillan, Mijian, and Douban between December 6, 2006, and September 24, 2025. Of these, 3169 posts were retained for topic modeling and network analysis. DeepSeek-V3.2 consistently outperformed Gemini-2.5-Flash and GPT-4o, with similarity scores of 0.6295, 0.5342, and 0.5247, respectively. TopicGPT maintained consistently high topic diversity across languages. &#x201C;Fear of cancer recurrence&#x201D; and &#x201C;Psychological distress&#x201D; emerged as both most frequent and bridging topics across a hierarchy comprising 42 top-level and 58 subtopics. Strong connections were observed among &#x201C;Sexual health concerns,&#x201D; &#x201C;Reproductive concerns,&#x201D; and &#x201C;Quality of life impact&#x201D;; &#x201C;Family communication concerns&#x201D; frequently co-occurred with &#x201C;Employment concerns,&#x201D; &#x201C;Diagnostic delays and misdiagnosis,&#x201D; and &#x201C;Social support.&#x201D;</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>This study demonstrates the potential of LLM-based topic modeling for large-scale, context-sensitive analysis of patient-authored narratives. The proposed integrated, domain-adaptable pipeline enables the identification of high-fidelity topics and their interrelationships, offering a scalable and interpretable approach to qualitative data in health care. Importantly, our findings reveal substantial concerns and unmet needs among patients with cancer, with potential to support patient-centered research and inform future clinical assessment and supportive care strategies.</p></sec></abstract><kwd-group><kwd>TopicGPT</kwd><kwd>topic modeling</kwd><kwd>large language model</kwd><kwd>cancer</kwd><kwd>psychosocial stressors</kwd><kwd>network analysis</kwd><kwd>text mining</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>According to the latest statistics from the International Agency for Research on Cancer, the global cancer burden was estimated to have risen to 20 million new cases of cancer in 2022, suggesting that 1 in 5 individuals develop cancer in a lifetime [<xref ref-type="bibr" rid="ref1">1</xref>]. Concurrently, advances in oncological therapies and early detection have led to a marked reduction in mortality rates, with an estimated 69.9% surviving at least 5 years after diagnosis [<xref ref-type="bibr" rid="ref2">2</xref>]. As survivorship increases, the goals of oncology care are expanding beyond prolongation of life to encompass the holistic well-being of patients [<xref ref-type="bibr" rid="ref3">3</xref>]. Particularly, cancer and its treatments are frequently associated with a broad spectrum of psychosocial stressors, including but not limited to loss of autonomy, heightened anxiety, depression, and disruptions in social relationships, which can profoundly influence disease trajectories, treatment adherence, and quality of life [<xref ref-type="bibr" rid="ref4">4</xref>]. The pressure to achieve expected life transitions at specific stages can intensify persistent feelings of frustration and social isolation, especially when illness prevents them from making certain progress [<xref ref-type="bibr" rid="ref5">5</xref>]. Against this backdrop, it is essential to systematically characterize how patients experience and articulate these psychosocial issues for developing responsive, psycho-oncology services and targeted supportive interventions.</p><p>Traditional research on psychosocial issues in oncology has relied heavily on interviews and surveys. While these methods offer in-depth and clinical validity, they are inherently constrained by their scope, scalability, and susceptibility to recall bias. These limitations compromise the ability to capture nuanced, evolving experiences among diverse populations, particularly for sensitive or underreported topics such as sexual health concerns, fertility fears, financial toxicity, and intimate partner dynamics. With the global growth of internet use, many patients with cancer now share their cancer experiences in online health communities (OHCs) to seek information, empathy, and peer support. These patient-authored narratives often reveal emergent concerns and unmet needs, offering a unique lens on lived experience, values, and priorities with a bottom-up approach that traditional data sources may fail to access. However, the resulting qualitative corpora are typically large-scale, heterogeneous in style and content, and characterized by irregular structure and variable quality, where traditional qualitative analytics may struggle with subjectivity, timeliness, and reproducibility when applied at scale.</p><p>Recent advancements in natural language processing, including topic modeling and large language models (LLMs), enable scalable analysis of unstructured text to identify latent themes, sentiments, and temporal dynamics. Unlike conventional topic models (eg, latent Dirichlet allocation [LDA]), which represent topics as unordered collections of words and offer limited user control over topic granularity and interpretability, TopicGPT uses a prompt-based, LLM-driven framework generating topic hierarchies that are more coherent, clinically meaningful, and better aligned with human categorizations [<xref ref-type="bibr" rid="ref6">6</xref>-<xref ref-type="bibr" rid="ref8">8</xref>]. By incorporating specific lexicons as well as domain-adapted prompts, it has demonstrated superior performance in extracting nuanced, interpretable themes in specific domains. For example, Shokri et al [<xref ref-type="bibr" rid="ref6">6</xref>] used TopicGPT with modified prompts and an initial set of topics to identify common patterns in domestic violence narratives, resulting in 83 different topics, such as psychological aggression, financial abuse, and physical assault, from 1576 patient stories. Pham et al [<xref ref-type="bibr" rid="ref7">7</xref>] demonstrated that TopicGPT outperformed 3 popular topic models: LDA, SeededLDA, and BERTopic in generating topics from 2200 sampled Wikipedia articles and bill summaries, achieving the highest alignment with ground-truth labels across all metrics. Building on its strengths, TopicGPT offers a novel and efficient avenue to analyze large-scale patient narratives while maintaining contextual sensitivity. However, its applications in health care, particularly within the field of psycho-oncology, remain largely unexplored, representing a critical gap in the literature.</p><p>To address this gap, this study proposes an integrated, domain-adapted pipeline that combines TopicGPT with network analysis to examine psychosocial issues encountered by patients with cancer. Leveraging state-of-the-art LLMs, this study aims to use TopicGPT to generate coherent, clinically interpretable themes from patient-authored narratives and map them at the sentence level to identify major psychosocial challenges discussed in relation to cancer types with high global prevalence. Furthermore, the study will construct a network, in which the resulting topics serve as nodes, and their co-occurrences form the edges, enabling the modeling of topic relationships. The findings from this research have the potential to advance computational analysis of large-scale qualitative data in health care and provide data-driven insights through intuitive visualizations for clinicians, patients, and policymakers.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Study Design</title><p>This is a retrospective study using publicly available, user-generated narratives from OHCs to identify psychosocial themes in cancer experiences and model their interrelationships. Topic generation, assignment, and categorization were performed using a modified version of TopicGPT. To identify the best-performing LLM, we compared their performance by computing cosine similarity scores between LLM-predicted labels and human-annotated labels, followed by a manual evaluation. Topic co-occurrence network analysis was conducted subsequently to elucidate the influential topics and their interrelationships across patient narratives. <xref ref-type="fig" rid="figure1">Figure 1</xref> presents the entire methodology workflow.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>The methodology workflow. LLM: large language model.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v28i1e92539_fig01.png"/></fig></sec><sec id="s2-2"><title>Data Collection and Preprocessing</title><p>Data were collected from publicly available OHCs (eg, Reddit, Macmillan Cancer Support, Mijian, and Douban) that permit research use in accordance with ethical guidelines. The posts were crawled on September 26, 2025, following institutional review board approval. As this is a retrospective study, accessible posts published prior to the date of data collection were included. We focused on discussion spaces dedicated to breast cancer, cervical cancer, and thyroid cancer. Relevant posts were identified either through preexisting disease-specific subforums on each platform or through platform-specific keyword searches using combinations of terms such as &#x201C;breast,&#x201D; &#x201C;cervix,&#x201D; &#x201C;cervical,&#x201D; &#x201C;thyroid,&#x201D; &#x201C;cancer,&#x201D; &#x201C;tumor,&#x201D; and &#x201C;carcinoma&#x201D; as well as their Chinese equivalents where applicable. For each post, the username, posting date, title, main content, comments, and URLs were extracted using Python (version 3.12; Python Software Foundation). To ensure privacy, any personally identifiable information including names, contact information, addresses, and workplaces in the dataset were removed, and all usernames were replaced with randomly generated user IDs. The process was configured to handle bilingual datasets without loss of information.</p><p>Collected posts were manually screened by 6 independent research assistants who received standardized training based on a shared coding protocol. Relevant characteristics were systematically documented in a structured spreadsheet, including demographic information (eg, age and gender), disease trajectory (eg, diagnosis, treatment, remission, recurrence, and end-of-life care), treatment-related information (eg, surgery, chemotherapy, radiotherapy, and hormone therapy), where available, and whether psychosocial concerns were present (yes or no). Inclusion criteria were as follows: (1) posts describing psychosocial issues related to cancer diagnosis, treatment, remission, recurrence, or end-of-life care; (2) posts written in English or Chinese; and (3) posts authored by individuals diagnosed with cancer. To determine whether a post was patient-authored, screeners relied on explicit self-identification and first-person descriptions of personal cancer experiences (eg, &#x201C;I was diagnosed&#x201D; and &#x201C;my side effects&#x201D;). Exclusion criteria include (1) posts containing fewer than 10 words or those lacking sufficient content to analyze psychosocial issues; (2) posts authored by family members of patients with cancer or health care professionals; (3) advertisements, product promotions, reports of cell or animal experiments, clinical trial or survey recruitment, and purely informational posts; (4) help-seeking posts without articulating any psychosocial issues; (5) posts describing cancer experiences in nonhuman subjects (eg, animals); (6) posts not relevant to cancer; and (7) duplicates, identified as posts containing identical text from the same author on the same platform. These records were manually reviewed and removed to avoid redundant inclusion. Throughout the screening process, the authors (XF and VH) held biweekly meetings with the screeners to discuss uncertain cases and to check for potential screening errors.</p></sec><sec id="s2-3"><title>TopicGPT</title><p>Eligible patient-authored posts were converted into JSONL format, with emojis, URLs, commercial at symbols, and extra whitespace removed to standardize the documents. These cleaned documents were then passed to 3 different state-of-the-art LLMs (ie, DeepSeek-V3.2, GPT-4o, and Gemini-2.5-Flash) for topic modeling using <italic>topicgpt_python</italic> package. We used a slightly modified version of TopicGPT to excavate topics from the patient narratives, and models were run with the default generation settings provided by each application programming interface [<xref ref-type="bibr" rid="ref7">7</xref>] (<xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). Instruction prompts were carefully tailored to align with our research objectives at each step, and a seed file containing a predefined small set of initial topics was provided to guide the models and ensure the relevance of generated topics [<xref ref-type="bibr" rid="ref7">7</xref>]. To enhance interpretability and minimize overlaps among topics, the refinement phase was divided into 2 separate tasks for both top-level topics and subtopics, resulting in a six-step process:</p><list list-type="order"><list-item><p>Top-level topic generation: models were prompted to generate broad, generalizable topics that can accommodate further subtopics, each followed by a brief description. For example, &#x201C;[1] Psychological distress: Mentions a set of painful mental and physical symptoms that are associated with normal fluctuations of mood in most people,&#x201D; with definitions sourced from the American Psychological Association dictionary of psychology.</p></list-item><list-item><p>Top-level topic refinement: generated topics were refined by merging paraphrased or duplicate topics into a new or existing one and removing irrelevant topics.</p></list-item><list-item><p>Subtopic generation: if existed, given the refined level-1 list, more specific subtopics were generated under high-level topics with brief descriptions. This step aims to add actionable granularity, where analysis, interventions, and resource mapping happen at this level. For example: &#x201C;[1] Psychological distress [2] Anxiety (Document: 1, 3): Mentions an emotion characterized by apprehension and somatic symptoms of tension in which an individual anticipates impending danger, catastrophe, or misfortune.&#x201D; If a top-level topic was already specific enough or duplicated, no subtopics were added.</p></list-item><list-item><p>Subtopic refinement: subtopics were further refined in a similar manner, with new topics created only if no existing topics applicable to a post. It aims at cleaning long tails and collapsing near-duplicates since level-2 is where duplication explodes (&#x201C;fear of recurrence,&#x201D; &#x201C;cancer coming back,&#x201D; and &#x201C;recurrence worry&#x201D;). This refinement setting could improve efficiency and prevent cross-parent merges (ie, serious errors of merging topics from different levels).</p></list-item><list-item><p>Topic assignment: topics at each level were counted individually for identifying the most frequently discussed themes. Refined topics were assigned to the corresponding input text, supported by a quoted sentence as rationale. For example: &#x201C;[1] Fear of cancer recurrence: Mentions the fear or worry that cancer could return or progress in the same place or another part of the body. (&#x2018;... the thought of reoccurrence would eat me alive everyday and not let me live.&#x2019;&#x201D; No new topics were allowed in this step.</p></list-item><list-item><p>Topic correction: finally, models were reprompted to review and correct topic-quote pairs, ensuring that assignments were consistent with the established topic hierarchy.</p></list-item></list></sec><sec id="s2-4"><title>LLM Performance Comparison</title><p>To evaluate LLM performance in topic modeling, we compared the outputs of different LLMs with a reference set independently annotated by 2 researchers (XF and CKC) with 8-year expertise in health care and psychological counseling, who received standardized training and used a predefined codebook as a reference. The codebook was developed and refined through repeated discussion among the research team, while the coders were allowed to remain open to new concepts emerging from the data. Interrater agreement was calculated using macroaverage Cohen &#x03BA; [<xref ref-type="bibr" rid="ref9">9</xref>]. Semantic similarity between the predicted topic clusters and the human-annotated labels was assessed using the cosine similarity metric [<xref ref-type="bibr" rid="ref10">10</xref>]. To this end, 10% of the dataset was randomly selected through automated random number generation. For each document <italic>i</italic> in the selected dataset, we obtained 2 sets of topic labels: the LLM-predicted labels <inline-formula><mml:math id="ieqn1"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x00A0;</mml:mtext><mml:mo fence="false" stretchy="false">}</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> and human-annotated labels <inline-formula><mml:math id="ieqn2"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mtext>&#x00A0;</mml:mtext><mml:mo fence="false" stretchy="false">}</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>. To capture the semantic meaning of each label, we encoded each label into a dense vector representation using Sentence-Bidirectional Encoder Representations from Transformers (BERT) &#x201C;all-MiniLM-L6-v2&#x201D; [<xref ref-type="bibr" rid="ref11">11</xref>]. Specifically, each human label and each LLM label was transformed into embeddings <inline-formula><mml:math id="ieqn3"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>e</mml:mi><mml:mtext>&#x00A0;</mml:mtext><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="ieqn4"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mi>e</mml:mi><mml:mtext>&#x00A0;</mml:mtext><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula>, respectively. To represent the overall semantic content of the human and LLM label clusters for each document, we aggregated the embeddings within each set by computing the mean vector:</p><disp-formula id="E1"><label>(1)</label><mml:math id="eqn1"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>n</mml:mi></mml:mfrac><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:munderover><mml:mi>e</mml:mi><mml:mtext>&#x00A0;</mml:mtext><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><disp-formula id="E2"> <label>(2)</label><mml:math id="eqn2"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>m</mml:mi></mml:mfrac><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>m</mml:mi></mml:munderover><mml:mi>e</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>where <italic>n</italic> and <italic>m</italic> denote the number of human and LLM labels for document <italic>i</italic>, respectively. The semantic similarity between the human and LLM label clusters for each document was then quantified using cosine similarity, defined as:</p><disp-formula id="E3"> <label>(3)</label><mml:math id="eqn3"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:msub><mml:mtext>Cosine similarity</mml:mtext><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mo fence="false" stretchy="false">&#x2016;</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">&#x2016;</mml:mo><mml:mo fence="false" stretchy="false">&#x2016;</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">&#x2016;</mml:mo></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>where <inline-formula><mml:math id="ieqn5"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> represents the dot product of 2 mean embedding vectors; <inline-formula><mml:math id="ieqn6"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mo fence="false" stretchy="false">&#x2016;</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">&#x2016;</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="ieqn7"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mo fence="false" stretchy="false">&#x2016;</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">&#x2016;</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> denote their Euclidean norms. The potential similarity ranges from &#x2212;1 to 1, with values closer to 1 indicating that the vectors are more aligned in the same direction. To obtain an overall measure of semantic alignment, we calculated the average cosine similarity across all sampled documents (<italic>i</italic>=1, 2, ..., <italic>N</italic>). Both top-level topics and subtopics were evaluated to comprehensively assess the LLM&#x2019;s ability to generate nuanced and fine-grained topics in comparison to human annotators. All embeddings were generated using the sentence-transformers Python library with the &#x201C;all-MiniLM-L6-v2&#x201D; model.</p><p>To further elucidate the tendencies of distinct models in topic identification, we also conducted a manual analysis of the generated topics to provide additional insights into their clinical relevance, granularity, and interpretability. In this study, clinical relevance refers to how relevant and actionable the information is for clinical care. Granularity refers to the size and the level of detail captured by the topics. Interpretability refers to how well humans can make sense of the topics generated by the model. For each attribute, the models were independently ranked by 2 researchers (XF and HCK), and interrater agreement was assessed using the Spearman rank correlation coefficient.</p></sec><sec id="s2-5"><title>Baseline Comparisons With LDA and BERTopic</title><p>Two widely used topic modeling approaches were used as baselines: the probabilistic LDA [<xref ref-type="bibr" rid="ref12">12</xref>] and the transformer-based BERTopic [<xref ref-type="bibr" rid="ref13">13</xref>]. Given that the dataset contained bilingual posts, both models were applied separately to each language subset. To enable a fair comparison, we followed the approach of Pham et al [<xref ref-type="bibr" rid="ref7">7</xref>] by setting the number of topics <italic>k</italic> equal to the number of topics generated by the best-performing TopicGPT for each language. Raw text was preprocessed using the same pipeline for both models, which included lowercasing, tokenization, removal of a custom stop-word list, and lemmatization. A grid search was conducted over the Dirichlet hyperparameters &#x03B1; (document-topic prior) and &#x03B7; (topic-word prior). The candidate sets were &#x03B1;&#x2208;{0.10, 0.12, 0.14, 0.16, 0.18, &#x201C;auto&#x201D;} and &#x03B7;&#x2208;{0.10, 0.12, 0.14, 0.16, 0.18, &#x201C;auto&#x201D;}. For each combination, an LDA model was trained using 10 passes and 50 iterations. Model performance was evaluated using the <italic>c<sub>v</sub></italic> topic coherence score [<xref ref-type="bibr" rid="ref14">14</xref>]. The hyperparameter pair that yielded the highest coherence was selected as optimal. A final LDA model was then trained with the optimal hyperparameters using passes=20, iterations=100, and a random state of 42 for reproducibility. Interactive visualizations were generated with the pyLDAvis library to inspect topic distances and term relevance. For BERTopic, document embeddings were produced using either the English-only &#x201C;all-MiniLM-L6-v2&#x201D; or the multilingual &#x201C;paraphrase-multilingual-MiniLM-L12-v2&#x201D; [<xref ref-type="bibr" rid="ref11">11</xref>], which output 384-dimensional sentence vectors. Dimensionality reductions were performed with Uniform Manifold Approximation and Projection, and the reduced embeddings were then clustered using K-Means to language-specific <italic>k</italic>. A 2D Uniform Manifold Approximation and Projection scatter plot was generated to visualize the document embeddings, with each point colored by its assigned topic.</p><p>For both models, we computed the <italic>c<sub>v</sub></italic> coherence score with CoherenceModel in the Gensim library. For each topic, the top 15 words were extracted. The measure calculates the normalized pointwise mutual information (PMI) for all word pairs within the corpus, and the overall model coherence is then reported as the arithmetic mean of the coherence scores of all topics [<xref ref-type="bibr" rid="ref14">14</xref>]. Because TopicGPT outputs natural language topic labels rather than a ranked list of keywords derived from a learned vocabulary distribution, the coherence metric is not applicable to it. Instead, the topic diversity measure based on semantic embedding was adopted to enable fair comparison across all 3 methods. Each topic was represented as either a concatenation of its top 15 words (LDA and BERTopic) or as its natural language label (TopicGPT). Topic representations were encoded with &#x201C;all-MiniLM-L6-v2&#x201D; or &#x201C;paraphrase-multilingual-MiniLM-L12-v2&#x201D; [<xref ref-type="bibr" rid="ref11">11</xref>], and the diversity was computed as [<xref ref-type="bibr" rid="ref15">15</xref>]:</p><disp-formula id="E4"> <label>(4)</label><mml:math id="eqn4"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mtext>Topic diversity</mml:mtext><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mn>2</mml:mn><mml:mrow><mml:mi>k</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>k</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x003C;</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:munder><mml:mi>cos</mml:mi><mml:mo>&#x2061;</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>where <italic>k</italic> is the total number of topics, <inline-formula><mml:math id="ieqn8"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>v</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> denotes the embedding vector of the <italic>i</italic>th topic, and <inline-formula><mml:math id="ieqn9"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:mrow><mml:mi mathvariant="normal">c</mml:mi><mml:mi mathvariant="normal">o</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mstyle></mml:mrow></mml:mstyle></mml:math></inline-formula> is the cosine similarity between 2 topic vectors. A value close to 1 indicates high semantic distinctness, whereas a value near 0 suggests that most topic vectors are similar, implying that the model produces highly overlapping or duplicate themes. Finally, the topic quality score was computed by the topic coherence and topic diversity [<xref ref-type="bibr" rid="ref16">16</xref>].</p></sec><sec id="s2-6"><title>Topic Co-Occurrence Network Analysis</title><p>Following the finalization of topic assignment, topic co-occurrence network analysis was conducted to examine the structural relationships among topics emerging in our dataset. Since a single sentence can generate both top-level and more specific subtopics within the topic hierarchy, we included only the broader top-level topics when building the network to minimize the impact of overlapping quotes on topic interrelationships. In this network, nodes represent the distinct top-level topics identified through TopicGPT, while edges represent the topic of co-occurrence within the same documents. PMI was used to normalize the edge weights and quantify the statistical dependence between 2 topics by comparing their observed co-occurrence probability against the expected probability under the assumption of independence [<xref ref-type="bibr" rid="ref17">17</xref>]. This approach goes beyond simple co-occurrence counts by distinguishing meaningful thematic relationships from random, coincidental correlations that may result from high-frequency topics. The PMI is calculated as:</p><disp-formula id="E5"> <label>(5)</label><mml:math id="eqn5"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi mathvariant="normal">P</mml:mi><mml:mi mathvariant="normal">M</mml:mi><mml:mi mathvariant="normal">I</mml:mi></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>log</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo>&#x2061;</mml:mo><mml:mfrac><mml:mrow><mml:mi>p</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>y</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mstyle></mml:math></disp-formula><p>In this formula, <italic>p(x,y</italic>) is the probability that topics <italic>x</italic> and <italic>y</italic> co-occur, <italic>p(x</italic>) and <italic>p(y</italic>) refer to the probability of occurrence of topic <italic>x</italic> and <italic>y</italic>, respectively. Edges with positive PMI values (PMI&#x003E;0) were retained, corresponding to topic pairs that co-occur more frequently than expected by chance. By transforming the edge weights from raw frequency of co-occurrence to PMI scores, we constructed a network where connections represent semantically meaningful relationships [<xref ref-type="bibr" rid="ref6">6</xref>,<xref ref-type="bibr" rid="ref18">18</xref>]. The PMI values were calculated and visualized using Python (version 3.12).</p><p>Multiple centrality indices were calculated to evaluate the structure of psychosocial networks and identify the most influential topics derived from the narratives of patients with cancer. Specifically, degree centrality counted the number of direct connections each node has within the network, identifying the most frequently co-occurring issues [<xref ref-type="bibr" rid="ref19">19</xref>]. The weighted degree centrality, also node strength, was calculated as the sum of transformed edge weights to identify topics that most frequently, nonrandomly co-occur with other topics across the dataset [<xref ref-type="bibr" rid="ref20">20</xref>]. To evaluate the overall connectivity of the network, network density was reported, which is defined as the ratio of the number of observed edges to the maximum possible number of edges in a fully connected network [<xref ref-type="bibr" rid="ref21">21</xref>]. Closeness centrality was calculated as the reciprocal of the sum of the length of the shortest paths between the node and all other nodes. The closer a node is to all other nodes, the more central it is within the network [<xref ref-type="bibr" rid="ref22">22</xref>]. Betweenness centrality measured how frequently a node appears on the shortest path between other nodes in the network. A node with higher betweenness centrality would have more control over the network, representing a critical point of intersection or transition in patient experience [<xref ref-type="bibr" rid="ref23">23</xref>]. Eigenvector centrality was calculated to identify influential topics that are connected to other well-connected topics, where higher values indicate that the node is connected to many nodes that themselves have high scores [<xref ref-type="bibr" rid="ref24">24</xref>]. The network visualization and centrality calculation were achieved using Gephi software (version 0.10.1) [<xref ref-type="bibr" rid="ref25">25</xref>].</p></sec><sec id="s2-7"><title>Ethical Considerations</title><p>This study was granted ethics approval by the Hong Kong Polytechnic University Institutional Review Board (HSEARS20250904002). The study exclusively used publicly accessible data from OHCs that explicitly permit research use in accordance with their terms of service. Therefore, individual informed consent was not feasible and was waived. Any personally identifiable information, including usernames, locations, or references to third parties, was removed from the dataset. All study data were stored in password-protected files accessible only to the research team.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Overview</title><p>A total of 11,306 posts were collected from publicly accessible online platforms, including Reddit, Macmillan Cancer Support, Mijian, and Douban, spanning the period from December 6, 2006, to September 24, 2025. We focused our data collection on subforums related to breast cancer (n=4172), cervical cancer (n=3827), and thyroid cancer (n=3307), given their high global prevalence and the substantial volume of user discussions within OHCs. A rigorous screening process was conducted based on eligible criteria to ensure relevance to psychosocial stressors described by patients themselves, resulting in 3169 posts being retained for topic modeling.</p></sec><sec id="s3-2"><title>LLM Performance Comparison</title><sec id="s3-2-1"><title>Semantic Similarity</title><p>Three state-of-the-art LLMs were used to generate and classify topics and subtopics. <xref ref-type="table" rid="table1">Table 1</xref> summarizes the results obtained from DeepSeek-V3.2, GPT-4o, and Gemini-2.5-Flash. Specifically, DeepSeek-V3.2 demonstrated the highest capacity for identifying unique topics, with 42 top-level topics (6559 total occurrences) and 58 subtopics (7326 total occurrences). GPT-4o produced the lowest number and occurrences of top-level topics while yielding the highest number of overall subtopic occurrences. Macroaverage Cohen &#x03BA; was 0.462 (95% CI 0.440&#x2010;0.546). Most disagreements reflected differences in label use, coding granularity, or interpretation of nuanced patient narratives; these cases were resolved through discussion with a faculty member to achieve consensus. Semantic alignment between LLM-predicted labels and human-annotated labels was calculated across 3 models using cosine similarity over Sentence-BERT embeddings. Among them, DeepSeek-V3.2 achieved the highest alignment (0.6295), followed by Gemini-2.5-Flash (0.5342).</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>TopicGPT performance based on 3 state-of-the-art large language models.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Metrics</td><td align="left" valign="bottom">DeepSeek-V3.2</td><td align="left" valign="bottom">GPT-4o</td><td align="left" valign="bottom">Gemini-2.5-Flash</td></tr></thead><tbody><tr><td align="left" valign="top">Top-level topics (occurrences)</td><td align="left" valign="top">42 (6559)</td><td align="left" valign="top">12 (1205)</td><td align="left" valign="top">17 (4986)</td></tr><tr><td align="left" valign="top">Subtopics (occurrences)</td><td align="left" valign="top">58 (7326)</td><td align="left" valign="top">21 (7972)</td><td align="left" valign="top">28 (5347)</td></tr><tr><td align="left" valign="top">Average cosine similarity</td><td align="left" valign="top">0.6295</td><td align="left" valign="top">0.5247</td><td align="left" valign="top">0.5342</td></tr></tbody></table></table-wrap><p>To better understand the causes of misalignments, we traced a few samples with low similarity. First, misunderstandings mostly arise from overinterpretation or distortion of patient intent. For example, for &#x201C;I&#x2019;ve been told I will be having a total thyroidectomy with bilateral neck dissection and was just curious if anyone could tell me what kind of scarring would be left with&#x201D; (Post #1877), the models assigned the topics &#x201C;Fear of medical procedures,&#x201D; &#x201C;Recovery concerns,&#x201D; and &#x201C;Emotional and psychological impact.&#x201D; Second, the models occasionally skipped over the direct intent for less relevant cues. For example, for &#x201C;Anyone try out fake nipples? ... I do feel a little alien not having them <italic>...</italic> If you wore silicone (or other material) nipples where did you buy them? And what did they feel like going about daily life?&#x201D; (Post #2271), the models assigned labels such as &#x201C;Quality of life impact&#x201D; and &#x201C;Physical symptoms,&#x201D; but failed to capture the primary intent to seek advice and practical support. Another example is &#x201C;Why I&#x2019;m in my head, is my doctor said it was my choice to do it or not which I thought was weird <italic>...</italic>. When I asked what if I have cancer and wait, she said well it might grow and it&#x2019;s too big for RAI&#x201D; (Post #1318); the models assigned the labels &#x201C;Fear of cancer recurrence&#x201D; and &#x201C;Emotional and psychological impact,&#x201D; which failed to address the core issue of uncertainty or confusion regarding decision-making. Nevertheless, some misalignments are to be expected, given a single sentence can be interpreted in multiple ways. For instance, for &#x201C;Can anyone give me some idea how to get through chemo radiation. Are you given help with nausea etc.&#x201D; (Post #781), the human annotator labeled this as &#x201C;Information seeking,&#x201D; while the model assigned the label &#x201C;Treatment side effects,&#x201D; which is also semantically relevant.</p></sec><sec id="s3-2-2"><title>Granularity, Interpretability, and Clinical Relevance</title><p>Interrater agreement on the rankings was perfect for granularity and interpretability (Spearman &#x03C1;=1.0) and moderate for clinical relevance (Spearman &#x03C1;=0.5). DeepSeek-V3.2 was identified as contributing the most interpretable, fine-grained, and clinically relevant topics, while the other 2 models demonstrated distinct tendencies in interpreting patient experiences, often exhibiting limited scope and less actionable insights. <xref ref-type="table" rid="table2">Table 2</xref> shows examples of post excerpts alongside their corresponding topics, as generated by the models and human annotators. Particularly, Gemini-2.5-Flash excelled in providing detailed breakdowns of physical symptoms (eg, &#x201C;Hairloss,&#x201D; &#x201C;Vomiting,&#x201D; &#x201C;Nausea,&#x201D; &#x201C;Numbness,&#x201D; and &#x201C;Bleeding&#x201D;) and generated mutually exclusive subtopics more effectively than the other models. However, this often resulted in overly fragmented clusters, making it hard to derive holistic insights. Additionally, Gemini-2.5-Flash struggled to address sensitive and contextual observations, such as issues related to support-seeking behaviors, decision-making conflicts, and interactions between patients and the health care environment (Posts #2506, #2882, and #2470; <xref ref-type="table" rid="table2">Table 2</xref>). GPT-4o, while assigning the highest frequency of subtopics across documents, tended to produce topics that were overly concise or excessively broad. This lack of granularity limited the results in reflecting the specific issues experienced by patients. For instance, subtopics such as &#x201C;Emotional and psychological impact,&#x201D; &#x201C;Treatment and side effects,&#x201D; &#x201C;Diagnosis and staging,&#x201D; and &#x201C;Medical dismissal and validation&#x201D; were too generalized (Posts #749 and #2587; <xref ref-type="table" rid="table2">Table 2</xref>), leading to a loss of practical and interpretable insights. In contrast, DeepSeek-V3.2 consistently outperformed the others in generating the most informative, contextual, and actionable perspectives. For example, it identified topics such as &#x201C;Patient-provider communication challenges&#x201D; and &#x201C;Social communication and support&#x201D; under the broader category of &#x201C;Health care communication&#x201D; (Post #2506; <xref ref-type="table" rid="table2">Table 2</xref>), offering a clear roadmap for addressing communication gaps in both clinical and social settings. Similarly, in Post #749, it captured multiple layers of patient experiences within a single narrative, including &#x201C;Disclosure anxiety,&#x201D; &#x201C;Job retention challenges,&#x201D; and &#x201C;Diagnostic delays and misdiagnosis.&#x201D; This level of detail delivers a comprehensive understanding of patient journeys across medical, emotional, and social dimensions, which is critical for designing effective support systems for individuals undergoing treatment.</p><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Examples of topics generated by large language models and human annotators.</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Post excerpts</td><td align="left" valign="bottom">DeepSeek-V3.2</td><td align="left" valign="bottom">GPT-4o</td><td align="left" valign="bottom">Gemini-2.5-Flash</td><td align="left" valign="bottom">Human</td></tr></thead><tbody><tr><td align="left" valign="top">&#x201C;When I called for the results, I was reassured that I had fibroids and was asked if I wanted a gynea referral! <italic>...</italic> I lost of job as I wasn&#x2019;t able to do it with the pain <italic>...</italic> I was diagnosed with stage 3b cervical cancer <italic>...</italic> I called my surgery and a very kind doctor read the report that came with my initial scan results. &#x2018;Mass detected, possible fibroids&#x2019;. You can imagine my anger <italic>...</italic> I haven&#x2019;t told the children about the cancer <italic>...</italic> I can&#x2019;t tell their father. I&#x2019;m scared he&#x2019;ll try to take the children from me <italic>...</italic> I can&#x2019;t bear the thought of not seeing my children grow up .... I feel I&#x2019;m at breaking point&#x201D; [Post #749].</td><td align="left" valign="top">Patient-provider communication challenges; disclosure anxiety; job retention challenges; diagnostic delays and misdiagnosis; fear of cancer recurrence</td><td align="left" valign="top">Medical dismissal and validation</td><td align="left" valign="top">Emotional impact; strained relationships; reproductive concerns</td><td align="left" valign="top">Psychological distress; family dynamics</td></tr><tr><td align="left" valign="top">&#x201C;I can&#x2019;t go to work as the chemotherapy makes me unwell for a week or two, I&#x2019;ve heard the symptoms can get worse the longer the process! <italic>...</italic> Could I get refused because I&#x2019;m only sick for a couple of weeks but things may change example lethargic or other symptoms. I really can&#x2019;t understand how someone going through cancer treatment should be refused PIP but I&#x2019;ve heard so many do. I am on full pay from work until July and my worry is when my income goes to half pay I&#x2019;m going to struggle financially&#x201D; [Post #2470].</td><td align="left" valign="top">Financial strain; fatigue and weakness; employment concerns; treatment side effects</td><td align="left" valign="top">Treatment and side effects; emotional and psychological impact</td><td align="left" valign="top">Physical symptoms; fatigue</td><td align="left" valign="top">Anxiety; information seeking</td></tr><tr><td align="left" valign="top">&#x201C;I can&#x2019;t stand when people say &#x2018;you&#x2019;ve got this&#x2019; when I don&#x2019;t or my aut response is &#x2018;but I don&#x2019;t want cancer!&#x2019; Or when people make decisions/assume how I&#x2019;m feeling without asking me!&#x201D; [Post #2506].</td><td align="left" valign="top">Health care communication; patient-provider communication challenges; social communication and support</td><td align="left" valign="top">Communication challenges</td><td align="left" valign="top">&#x2014;<sup><xref ref-type="table-fn" rid="table2fn1">a</xref></sup></td><td align="left" valign="top">Frustration with unhelpful encouragement; lack of decision-making autonomy</td></tr><tr><td align="left" valign="top">&#x201C;I have found the change in routine and silence really hard. There&#x2019;re no appointments apart from my surgery in the diary&#x201D; [Post #2587].</td><td align="left" valign="top">Treatment isolation</td><td align="left" valign="top">Emotional and psychological impact</td><td align="left" valign="top">Psychological distress</td><td align="left" valign="top">Posttreatment adjustment issues</td></tr><tr><td align="left" valign="top">&#x201C;Should I have been warned about possible pain? The whole thing felt unprofessional <italic>...</italic> burst into tears from physical shock ... waking up in the middle of the night anxious about it all&#x201D; [Post #2882].</td><td align="left" valign="top">Patient-provider communication challenges; sleep disturbance; psychological distress</td><td align="left" valign="top">Medical dismissal and validation; anxiety</td><td align="left" valign="top">Psychological distress; anxiety; sleep issues</td><td align="left" valign="top">Unprofessional health care; insufficiently informed; psychological distress</td></tr></tbody></table><table-wrap-foot><fn id="table2fn1"><p><sup>a</sup>Not available.</p></fn></table-wrap-foot></table-wrap><p>In this study, TopicGPT demonstrated significant advantages over manual annotations in generating more comprehensive, consistent, and structured topics from patient narratives. Human annotations excelled in capturing underlying emotions and intentions, such as &#x201C;Lack of decision-making autonomy&#x201D; and &#x201C;Frustration with unhelpful encouragement&#x201D; (Post #2506; <xref ref-type="table" rid="table2">Table 2</xref>). However, human annotations occasionally missed critical information and often failed to provide consistent outputs. For example, in Posts #749 and #2470, human annotations missed critical aspects in concerns about employment, disclosure, and financial burden, which, however, were successfully identified by DeepSeek-V3.2. While human annotations sometimes provided unique and deep clinical insights, their inability to produce comprehensive and structured outputs limited their overall utility in this context. Based on such findings, the results from DeepSeek-V3.2 were chosen to construct the psychosocial network. Figure S1 in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref> presents the top 20 most frequent top-level topics in patient narratives generated by DeepSeek-V3.2. Prevalent topics include &#x201C;Fear of cancer recurrence,&#x201D; &#x201C;Psychological distress,&#x201D; &#x201C;Treatment decision concerns,&#x201D; &#x201C;Diagnostic concerns,&#x201D; and &#x201C;Treatment side effects.&#x201D; The specific frequencies of the top 20 topics are presented in Table S2 in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>. A subgroup analysis by language was performed for English and Chinese posts. In both groups, &#x201C;Fear of cancer recurrence&#x201D; and &#x201C;Psychological distress&#x201D; were among the most common topics. Other frequent topics included &#x201C;Treatment decision concerns,&#x201D; &#x201C;Diagnostic concerns,&#x201D; and &#x201C;Treatment side effects&#x201D; in English posts, and &#x201C;Quality of life impact,&#x201D; &#x201C;Social isolation,&#x201D; and &#x201C;Coping strategies&#x201D; in Chinese posts.</p></sec></sec><sec id="s3-3"><title>Baseline Comparisons With LDA and BERTopic</title><p><xref ref-type="table" rid="table3">Table 3</xref> summarizes the quantitative comparison between TopicGPT (DeepSeek-V3.2) and the 2 baseline models for the English and Chinese subsets. For the English corpus (k=42), BERTopic showed slightly higher topic coherence (0.594 vs 0.437) and overall topic quality (0.451 vs 0.351) than LDA. Although LDA obtained marginally higher topic diversity than TopicGPT (0.804 vs 0.788) on the English corpus, this difference is small and likely reflects differences in topic representation rather than a true loss of thematic breadth. For the Chinese corpus (k=21), both baseline models showed reduced topic diversity than in English. BERTopic again outperformed LDA in topic coherence (0.513 vs 0.403) and overall topic quality (0.272 vs 0.213). TopicGPT maintained consistently high diversity across languages, with the highest score of 0.759, indicating that its labels capture a broad and nonredundant set of themes that are comparable to or exceeding the baseline models. Interactive visualizations for 2 baseline models are shown in Figures S1-S4 in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>. Table S1 in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref> provides example topic assignments from the 3 models, illustrating that both baseline methods ultimately represent topics as ranked lists of salient keywords derived from term statistics within the corpus, whereas TopicGPT directly produces interpretable natural language labels for each topic.</p><table-wrap id="t3" position="float"><label>Table 3.</label><caption><p>Comparison of model performance.</p></caption><table id="table3" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Dataset and models</td><td align="left" valign="bottom">Mean pairwise cosine (SD)</td><td align="left" valign="bottom">Topic diversity</td><td align="left" valign="bottom">Topic coherence</td><td align="left" valign="bottom">Topic quality</td></tr></thead><tbody><tr><td align="left" valign="top" colspan="5">English (n=2936; k=42)</td></tr><tr><td align="left" valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>TopicGPT</td><td align="left" valign="top">0.212 (0.147)</td><td align="left" valign="top">0.788</td><td align="left" valign="top">N/A<sup><xref ref-type="table-fn" rid="table3fn1">a</xref></sup></td><td align="left" valign="top">N/A</td></tr><tr><td align="left" valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>LDA<sup><xref ref-type="table-fn" rid="table3fn2">b</xref></sup></td><td align="left" valign="top">0.196 (0.118)</td><td align="left" valign="top">0.804</td><td align="left" valign="top">0.437</td><td align="left" valign="top">0.351</td></tr><tr><td align="left" valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>BERTopic</td><td align="left" valign="top">0.241 (0.153)</td><td align="left" valign="top">0.759</td><td align="left" valign="top">0.594</td><td align="left" valign="top">0.451</td></tr><tr><td align="left" valign="top" colspan="5">Chinese (n=232; k=21)</td></tr><tr><td align="left" valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>TopicGPT</td><td align="left" valign="top">0.241 (0.140)</td><td align="left" valign="top">0.759</td><td align="left" valign="top">N/A</td><td align="left" valign="top">N/A</td></tr><tr><td align="left" valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>LDA</td><td align="left" valign="top">0.472 (0.174)</td><td align="left" valign="top">0.528</td><td align="left" valign="top">0.403</td><td align="left" valign="top">0.213</td></tr><tr><td align="left" valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>BERTopic</td><td align="left" valign="top">0.469 (0.172)</td><td align="left" valign="top">0.530</td><td align="left" valign="top">0.513</td><td align="left" valign="top">0.272</td></tr></tbody></table><table-wrap-foot><fn id="table3fn1"><p><sup>a</sup>N/A: not applicable.</p></fn><fn id="table3fn2"><p><sup>b</sup>LDA: latent Dirichlet allocation.</p></fn></table-wrap-foot></table-wrap></sec><sec id="s3-4"><title>Topic Co-Occurrence Network Analysis</title><p>The overall network structure laid out by the Fruchterman-Reingold algorithm is presented in <xref ref-type="fig" rid="figure2">Figure 2</xref>. The size of the node denotes the degree centrality, with degrees ranging from 1 to 30. The network density was 0.406 after filtering the node with a degree of 0, indicating a moderate level of connectivity where approximately 40.6% of all possible connections among nodes were present. Table S2 in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref> lists the top 20 influential topics based on multiple centrality indices. Across the various metrics, concerns related to medical procedures, side effects and complications, employment, disease progress, social support, and communication majorly constituted the influential group, followed by psychological distress, reproductive and sexual health, and decision conflicts.</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>The topic network structure (DeepSeek-V3.2).</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v28i1e92539_fig02.png"/></fig><p><xref ref-type="fig" rid="figure3">Figure 3</xref> presents the positive PMI heatmap, illustrating the relationships among the top 20 most frequent topics in patient-authored posts. Darker shades represent stronger-than-expected associations between topics. Specifically, &#x201C;Sexual health concerns&#x201D; frequently co-occurred with both &#x201C;Reproductive concerns&#x201D; (PMI=1.79) and &#x201C;Quality of life impact&#x201D; (PMI=1.21). Similarly, &#x201C;Family communication concerns&#x201D; often appeared alongside &#x201C;Employment concerns&#x201D; (PMI=1.61), &#x201C;Diagnostic delays and misdiagnosis&#x201D; (PMI=1.15), and &#x201C;Social support&#x201D; (PMI=1.14). &#x201C;Coping strategies&#x201D; were commonly discussed together with &#x201C;Quality of life impact&#x201D; (PMI=1.25) and &#x201C;Social support&#x201D; (PMI=1.10). &#x201C;Treatment side effects&#x201D; frequently co-occurred with &#x201C;Sleep disturbance&#x201D; (PMI=1.24) and &#x201C;Fear of treatment failure&#x201D; (PMI=1.31). In addition, strong connections were observed between &#x201C;Recovery concerns&#x201D; and &#x201C;Treatment complications&#x201D; (PMI=1.50). Interestingly, although some topics, such as &#x201C;Fear of cancer recurrence,&#x201D; &#x201C;Psychological distress,&#x201D; and &#x201C;Treatment decision concerns,&#x201D; exhibit a strong weighted degree, they demonstrate very low PMI values. The extensive connections observed among these topics are primarily due to their high frequency within the corpus, rather than genuine semantic relationships with other topics.</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>The PPMI heatmap of topic relationships (DeepSeek-V3.2). PPMI: positive pointwise mutual information.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="jmir_v28i1e92539_fig03.png"/></fig></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal Findings</title><p>This study leveraged a modified version of TopicGPT, an innovative LLM-based topic modeling framework, to derive topics from large-scale, unstructured qualitative health care data. By contextually understanding and linking each meaningful sentence within documents to a specific topic, TopicGPT allows researchers to trace the reasoning behind topic assignments, enhancing the interpretability and transparency of topic modeling. From a technical perspective, it overcomes the limited input window inherent to standard LLMs, enabling the processing of lengthy and sizable health care narratives without sacrificing contextual richness. More importantly, it offers substantial efficiency gains over manual qualitative coding, which is often labor-intensive, time-consuming, and subject to interannotator variability. By automating the extraction of sentence quotes and assigning a refined topic, TopicGPT not only accelerates the analytic process but also ensures greater consistency and scalability, providing an effective, reproducible framework for health care qualitative analysis.</p><p>To identify the most effective topic hierarchy, we compared the performance of 3 state-of-the-art LLMs, DeepSeek-V3.2, GPT-4o, and Gemini-2.5-Flash, by quantitatively measuring the similarity between model-predicted topic classes and human-annotated labels, as well as qualitatively analyzing their respective tendencies in topic identification. This comparative evaluation revealed marked differences in the models&#x2019; abilities to interpret the complexity of patient experiences and generate granular, clinically relevant topics. Notably, Gemini-2.5-Flash demonstrated proficiency in pinpointing specific physical symptoms, while GPT-4o excelled at extracting salient narrative segments. However, both models exhibited limitations in their coverage of the broader psychosocial context and often lacked the depth necessary for actionable clinical insights. A critical observation was that the topic hierarchies produced by these models were heavily influenced by the initial set of topic seeds. This sensitivity likely stems from our deliberate decision to supply only a minimal set of topic seeds, following the approach suggested by Pham et al [<xref ref-type="bibr" rid="ref7">7</xref>], to balance generalization and specificity without restricting the models to a particular domain. As a result, their outputs were narrower in scope and off track than anticipated. In contrast, DeepSeek-V3.2 consistently outperformed the other models within our evaluation framework, providing the most informative and contextually nuanced topic categorizations, which reflected a heightened sensitivity to the layered and interconnected nature of patients&#x2019; lived experience. This capability makes DeepSeek-V3.2 particularly well-suited for exploring the intricate relationships among the psychosocial challenges encountered by patients with cancer. Ultimately, our TopicGPT experiments carry significant implications for the application of LLMs in clinical narrative analysis. Current LLMs take substantial advantages over human annotations especially in terms of efficiency, consistency, and generation of structured insights, presenting considerable promise for automating the extraction of insights from patient narratives. Nevertheless, their effectiveness is contingent upon both model architecture and prompt engineering. The observed model-specific tendencies underscore the necessity of careful selection and configuration in accordance with the desired analytical depth and domain coverage. For example, summarizing highly specific details, such as symptoms, severity, and subtypes, from clinical documentation may require models optimized for granularity, whereas thematic analysis of unstructured patient narratives or stakeholder perspectives may benefit from models capable of producing more holistic yet actionable insights.</p><p>Moreover, we compared the outputs of the best-performing TopicGPT with those of LDA and BERTopic. Overall, TopicGPT demonstrates the ability to consistently produce interpretable and semantically distinct topics. The observed differences in topic diversity between TopicGPT and the baselines should be interpreted in light of how topics are represented and embedded for evaluation. Notably, the diversity metric is computed on embedding-based similarities between topic text representations. For LDA and BERTopic, each topic is expressed as a list of high-probability keywords, which we concatenate into a long text string before embedding, yielding representations that capture a broad mixture of lexical content. Additionally, LDA topics often blend multiple dimensions within a single keyword list (eg, &#x201C;topic_9&#x201D;: [&#x201C;people,&#x201D; &#x201C;cancer,&#x201D; &#x201C;day,&#x201D; &#x201C;time,&#x201D; &#x201C;friend,&#x201D; &#x201C;life,&#x201D; &#x201C;say,&#x201D; &#x201C;support,&#x201D; &#x201C;family,&#x201D; &#x201C;child,&#x201D; &#x201C;diagnosis,&#x201D; &#x201C;work,&#x201D; &#x201C;hard,&#x201D; &#x201C;today,&#x201D; and &#x201C;treatment&#x201D;]). This lexical heterogeneity further increases intertopic distances in the embedding space and can inflate the diversity. By contrast, TopicGPT represents each topic with a concise natural language label, which is highly compressed and thematically focused. As a result, TopicGPT may yield slightly lower diversity values, even though at the document level it can assign multiple complementary labels that more fully capture the multifaceted nature of individuals&#x2019; concerns.</p><p>To further explore how emerging psychosocial factors interrelate in patient narratives, we constructed a topic co-occurrence network based on outputs from the best-performing LLM (ie, DeepSeek-V3.2) to identify influential topics through multiple centrality measures, PMI values, and network visualization. Overall, our findings are broadly consistent with prior research in demonstrating that psychological distress, symptom burden, and informational needs remain central features of online cancer discourse [<xref ref-type="bibr" rid="ref26">26</xref>,<xref ref-type="bibr" rid="ref27">27</xref>]. In specific, Smith et al [<xref ref-type="bibr" rid="ref26">26</xref>] found that psychological and interpersonal concerns constituted the majority of psychosocial concerns expressed by survivors across 181 online posts, with fewer references to financial issues and contextual health care delivery domains such as communication, care coordination, and care experience. Andy and Andy [<xref ref-type="bibr" rid="ref27">27</xref>] applied LDA and Linguistic Inquiry and Word Count to 29,533 Reddit posts and identified major themes related to treatment costs, dietary changes, advice seeking, treatment and side effects, cancer-related tests, symptoms, and risk. However, these earlier approaches were limited in their ability to capture semantic nuance and within-document relationships, as topic interpretation depended heavily on word-frequency patterns and manual summarization. Our analysis provides a more fine-grained understanding of how these concerns are structured and interconnected in patient narratives, especially those that are often underrecognized in routine survivorship care. Specifically, findings from centrality analyses highlight the prominence of specific topics within the network. &#x201C;Fear of cancer recurrence&#x201D; and &#x201C;Psychological distress&#x201D; consistently rank highest across centrality metrics, underscoring their pivotal role as both frequent concerns and key bridges between weakly connected topics. This finding aligns with previous evidence that fear of cancer recurrence is highly prevalent among survivors of cancer, with reported rates as high as 73%, and is often accompanied by complex emotional experiences, including depression, sadness, grief, a sense of loss, and social isolation [<xref ref-type="bibr" rid="ref28">28</xref>]. However, these highly prevalent issues exhibit low PMI scores with most other nodes, suggesting that while they are widely referenced across stories, their pairwise co-occurrence with any single specific topic is not disproportionately strong. In other words, fear of cancer recurrence and generalized distress operate as pervasive background stressors that impact many aspects of survivorship but do not strongly bind to particular issues at the same document level.</p><p>In contrast, the strongest association was observed between &#x201C;Sexual health concerns&#x201D; and &#x201C;Reproductive concerns,&#x201D; closely followed by links to &#x201C;Quality of life impact,&#x201D; consistent with previous findings [<xref ref-type="bibr" rid="ref29">29</xref>], indicating that sexual and reproductive health stressors are multidimensional and interrelated rather than isolated. This finding is particularly relevant in the context of OHCs, which are commonly used by younger generations for health information seeking, emotional expression, and peer support. These platforms may provide a more comfortable space for discussing sensitive or hard-to-disclose concerns that are often difficult to raise in routine clinical encounters or family conversations. In line with previous research, 28% to 44% of survivors of cancer who are at the prime stage for having their own children reported moderate to severe reproductive concerns [<xref ref-type="bibr" rid="ref30">30</xref>]. The inherent gonadotoxic impact of cancer treatments can result in long-term reproductive impairment, such as permanent infertility, premature ovarian insufficiency, or testicular failure [<xref ref-type="bibr" rid="ref31">31</xref>,<xref ref-type="bibr" rid="ref32">32</xref>]. Evidence has shown that the proportion of infertility diagnoses was significantly higher in young survivors of cancer, with whom diagnosed as breast cancer, leukemia, lymphoma, thyroid cancer, and melanoma exhibiting 17%&#x2010;56% higher risk of subsequent infertility compared to individuals without cancer [<xref ref-type="bibr" rid="ref33">33</xref>]. Beyond their direct impacts on germline cells, cancer treatment may also indirectly compromise sexual health by impairing sexual function and libido. For instance, survivors of breast cancer who receive endocrine therapy often experience menopausal symptoms, such as hot flashes, night sweats, and atrophic vaginitis, which can lead to dyspareunia [<xref ref-type="bibr" rid="ref34">34</xref>]. Additionally, poor body image following surgery (eg, mastectomy and permanent ostomy) may further diminish sexual health, which is often underrecognized in survivorship care but is critically important to the overall quality of life [<xref ref-type="bibr" rid="ref34">34</xref>]. Moreover, &#x201C;Coping strategies,&#x201D; defined as cognitive and behavioral efforts to reduce or adapt to stressful conditions and associated emotional distress [<xref ref-type="bibr" rid="ref35">35</xref>], were identified as another significant connector to &#x201C;Quality of life.&#x201D; This connection is both logical and crucial for informing future interventions, as individuals who rely more on proactive, problem-focused coping approaches, rather than avoidance, tend to adapt more effectively to life stressors [<xref ref-type="bibr" rid="ref35">35</xref>]. For example, acceptance and commitment therapy, which emphasizes being &#x201C;unhooked&#x201D; from cognitive fusion and experiential avoidance while promoting committed, value-based actions, represents a promising solution to enhance psychological flexibility, emotional acceptance, and adaptive coping [<xref ref-type="bibr" rid="ref36">36</xref>].</p></sec><sec id="s4-2"><title>Strengths and Limitations</title><p>This study used TopicGPT, an LLM-based framework for topic modeling, to provide a structured and efficient approach for automatically extracting semantically meaningful segments and accelerating the thematic analysis of large-scale, mixed-language qualitative health care data. The observed topic frequencies and interpretable associations further demonstrate the success of topic modeling and the reliability of the established network. Notably, this study compared the TopicGPT performance among several state-of-the-art models, validating their effectiveness in topic modeling and offering valuable insights into model selection for a specific context. However, several limitations should be acknowledged. First, the results were generated using nonreasoning LLM models to optimize time and cost, which may have impacted the quality and depth of the extracted topics. Second, interrater agreement for the human annotations was only moderate, reflecting substantial subjectivity and semantic ambiguity in the annotation process. Accordingly, the identified best-performing model should be interpreted cautiously, as its performance may vary across different topics and cultural contexts. Third, the online platforms analyzed in this study may differ in their user composition, communication norms, and moderation policies, leading to heterogeneity in the concerns expressed and potentially limiting the comparability of topics across platforms. Additionally, our analysis was restricted to posts written in English and Chinese, which may overlook perspectives from other cultural contexts and further constrain the generalizability of our findings. Finally, although a modified refinement step was applied to minimize overlaps at the same hierarchical level, cross-level overlaps persisted. To better understand the underlying mechanisms, we traced the posts and found that the models occasionally assigned generalized topics as subtopics when issues were not explicitly stated but rather embedded within or secondary to the main problem. This categorization is understandable and reasonable for identifying key issues within each post, especially in cases where a single segment was assigned multiple topics. Overall, while TopicGPT demonstrates excellent consistency, interpretability, and efficiency, it should not operate in isolation; rather, human annotators remain essential for revealing inherent meaningfulness within broader sociocultural contexts beyond surface meanings of the data and for proposing solutions that directly address key pain points.</p></sec><sec id="s4-3"><title>Conclusions</title><p>Our findings demonstrate the potential of LLM-based topic modeling for context-sensitive analysis of patient-authored narratives. We compared the performance of 3 state-of-the-art LLMs using both quantitative metrics and qualitative manual evaluation. A topic co-occurrence network was subsequently constructed based on the best-performing model, DeepSeek-V3.2. Notably, this study revealed critical, interconnected concerns related to sexual and reproductive health, inadequate social support, and reduced quality of life among patients with cancer, offering a broader view of the concerns expressed by patients with cancer. Overall, the proposed domain-adaptable pipeline provides a scalable and interpretable solution for extracting high-fidelity topics and relationships from extensive qualitative data, with potential to inform future patient-centered research and guide subsequent clinical and psychosocial investigation.</p></sec></sec></body><back><ack><p>DeepSeek-V3.2, Gemini-2.5-Flash, and GPT-4o were used for large language model&#x2013;based topic modeling. The authors reviewed the content as needed and took full responsibility for the content of the published paper.</p></ack><notes><sec><title>Funding</title><p>The research was conducted in the JC STEM Lab of Digital Oncology Care Enhancement funded by the Hong Kong Jockey Club Charities Trust.</p></sec><sec><title>Data Availability</title><p>The datasets analyzed during this study are available from the corresponding author on reasonable request.</p></sec></notes><fn-group><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">BERT</term><def><p>Bidirectional Encoder Representations from Transformers</p></def></def-item><def-item><term id="abb2">LDA</term><def><p>latent Dirichlet allocation</p></def></def-item><def-item><term id="abb3">LLM</term><def><p>large language model</p></def></def-item><def-item><term id="abb4">OHC</term><def><p>online health community</p></def></def-item><def-item><term id="abb5">PMI</term><def><p>pointwise mutual information</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bray</surname><given-names>F</given-names> </name><name name-style="western"><surname>Laversanne</surname><given-names>M</given-names> </name><name name-style="western"><surname>Sung</surname><given-names>H</given-names> </name><etal/></person-group><article-title>Global cancer statistics 2022: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries</article-title><source>CA Cancer J Clin</source><year>2024</year><volume>74</volume><issue>3</issue><fpage>229</fpage><lpage>263</lpage><pub-id pub-id-type="doi">10.3322/caac.21834</pub-id><pub-id pub-id-type="medline">38572751</pub-id></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="web"><article-title>Cancer stat facts: cancer of any site</article-title><source>National Cancer Institute. SEER</source><year>2025</year><access-date>2026-06-26</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://seer.cancer.gov/statfacts/html/all.html">https://seer.cancer.gov/statfacts/html/all.html</ext-link></comment></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Lang-Rollin</surname><given-names>I</given-names> </name><name name-style="western"><surname>Berberich</surname><given-names>G</given-names> </name></person-group><article-title>Psycho-oncology</article-title><source>Dialogues Clin Neurosci</source><year>2018</year><month>03</month><volume>20</volume><issue>1</issue><fpage>13</fpage><lpage>22</lpage><pub-id pub-id-type="doi">10.31887/DCNS.2018.20.1/ilangrollin</pub-id><pub-id pub-id-type="medline">29946207</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Huang</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Zhan</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Zhan</surname><given-names>Y</given-names> </name></person-group><article-title>Psychological stress on cancer progression and immunosenescence</article-title><source>Semin Cancer Biol</source><year>2025</year><month>08</month><volume>113</volume><fpage>85</fpage><lpage>99</lpage><pub-id pub-id-type="doi">10.1016/j.semcancer.2025.05.007</pub-id><pub-id pub-id-type="medline">40348001</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bradford</surname><given-names>NK</given-names> </name><name name-style="western"><surname>McDonald</surname><given-names>FEJ</given-names> </name><name name-style="western"><surname>Bibby</surname><given-names>H</given-names> </name><name name-style="western"><surname>Kok</surname><given-names>C</given-names> </name><name name-style="western"><surname>Patterson</surname><given-names>P</given-names> </name></person-group><article-title>Psychological, functional and social outcomes in adolescent and young adult cancer survivors over time: a systematic review of longitudinal studies</article-title><source>Psychooncology</source><year>2022</year><month>09</month><volume>31</volume><issue>9</issue><fpage>1448</fpage><lpage>1458</lpage><pub-id pub-id-type="doi">10.1002/pon.5987</pub-id><pub-id pub-id-type="medline">35734846</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Shokri</surname><given-names>M</given-names> </name><name name-style="western"><surname>Klapper</surname><given-names>E</given-names> </name><name name-style="western"><surname>Shan</surname><given-names>J</given-names> </name><name name-style="western"><surname>Levitan</surname><given-names>SI</given-names> </name></person-group><article-title>Finding common patterns in domestic violence stories posted on Reddit</article-title><conf-name>The 7th Workshop on Narrative Understanding</conf-name><conf-date>May 4, 2025</conf-date><pub-id pub-id-type="doi">10.18653/v1/2025.wnu-1.6</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Pham</surname><given-names>C</given-names> </name><name name-style="western"><surname>Hoyle</surname><given-names>A</given-names> </name><name name-style="western"><surname>Sun</surname><given-names>S</given-names> </name><name name-style="western"><surname>Resnik</surname><given-names>P</given-names> </name><name name-style="western"><surname>Iyyer</surname><given-names>M</given-names> </name></person-group><article-title>TopicGPT: a prompt-based topic modeling framework</article-title><conf-name>2024 Conference of the North American Chapter of the Association for Computational Linguistics</conf-name><conf-date>Jun 16, 2024 to Jun 21, 2026</conf-date><pub-id pub-id-type="doi">10.18653/v1/2024.naacl-long.164</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Zhao</surname><given-names>C</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>Y</given-names> </name></person-group><article-title>LLM-powered topic modeling for discovering public mental health trends in social media</article-title><conf-name>IFIP International Conference on Artificial Intelligence Applications and Innovations</conf-name><conf-date>Jun 27-30, 2023</conf-date><pub-id pub-id-type="doi">10.1007/978-3-031-97313-0_10</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Cohen</surname><given-names>J</given-names> </name></person-group><article-title>A coefficient of agreement for nominal scales</article-title><source>Educ Psychol Meas</source><year>1960</year><month>04</month><volume>20</volume><issue>1</issue><fpage>37</fpage><lpage>46</lpage><pub-id pub-id-type="doi">10.1177/001316446002000104</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Han</surname><given-names>J</given-names> </name></person-group><source>Data Mining</source><year>2023</year><edition>4</edition><pub-id pub-id-type="doi">10.1016/B978-0-12-811760-6.00012-6</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Reimers</surname><given-names>N</given-names> </name><name name-style="western"><surname>Gurevych</surname><given-names>I</given-names> </name></person-group><article-title>Sentence-BERT: sentence embeddings using Siamese BERT-networks</article-title><year>2019</year><month>11</month><conf-name>Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)</conf-name><pub-id pub-id-type="doi">10.18653/v1/D19-1410</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Blei</surname><given-names>DM</given-names> </name><name name-style="western"><surname>Ng</surname><given-names>AY</given-names> </name><name name-style="western"><surname>Jordan</surname><given-names>MI</given-names> </name></person-group><article-title>Latent Dirichlet allocation</article-title><source>J Mach Learn Res</source><year>2003</year><access-date>2026-07-03</access-date><fpage>993</fpage><lpage>1022</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://www.jmlr.org/papers/volume3/blei03a/blei03a.pdf">https://www.jmlr.org/papers/volume3/blei03a/blei03a.pdf</ext-link></comment></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="other"><person-group person-group-type="author"><name name-style="western"><surname>Grootendorst</surname><given-names>M</given-names> </name></person-group><article-title>BERTopic: neural topic modeling with a class-based TF-IDF procedure</article-title><source>arXiv</source><comment>Preprint posted online on  Mar 11, 2022</comment><pub-id pub-id-type="doi">10.48550/arXiv.2203.05794</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>R&#x00F6;der</surname><given-names>M</given-names> </name><name name-style="western"><surname>Both</surname><given-names>A</given-names> </name><name name-style="western"><surname>Hinneburg</surname><given-names>A</given-names> </name></person-group><article-title>Exploring the space of topic coherence measures</article-title><conf-name>Proceedings of the Eighth ACM International Conference on Web Search and Data Mining</conf-name><conf-date>Feb 2-6, 2015</conf-date><pub-id pub-id-type="doi">10.1145/2684822.2685324</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Zerr</surname><given-names>S</given-names> </name><name name-style="western"><surname>Bischoff</surname><given-names>K</given-names> </name><etal/></person-group><article-title>Topic cropping: leveraging latent topics for the analysis of small corpora</article-title><conf-name>International Conference on Theory and Practice of Digital Libraries</conf-name><conf-date>Sep 22-26, 2013</conf-date><pub-id pub-id-type="doi">10.1007/978-3-642-40501-3_30</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Sawant</surname><given-names>S</given-names> </name><name name-style="western"><surname>Yu</surname><given-names>J</given-names> </name><name name-style="western"><surname>Pandya</surname><given-names>K</given-names> </name><name name-style="western"><surname>Ngan</surname><given-names>CK</given-names> </name><name name-style="western"><surname>Bardeli</surname><given-names>R</given-names> </name></person-group><article-title>An enhanced BERTopic framework and algorithm for improving topic coherence and diversity</article-title><conf-name>2022 IEEE 24th Int Conf on High Performance Computing &#x0026; Communications; 8th Int Conf on Data Science &#x0026; Systems; 20th Int Conf on Smart City; 8th Int Conf on Dependability in Sensor, Cloud &#x0026; Big Data Systems &#x0026; Application (HPCC/DSS/SmartCity/DependSys)</conf-name><conf-date>Dec 18-20, 2022</conf-date><pub-id pub-id-type="doi">10.1109/HPCC-DSS-SmartCity-DependSys57074.2022.00332</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Church</surname><given-names>KW</given-names> </name><name name-style="western"><surname>Hanks</surname><given-names>P</given-names> </name></person-group><article-title>Word association norms, mutual information, and lexicography</article-title><source>Comput Linguist</source><year>1990</year><access-date>2026-07-03</access-date><volume>16</volume><issue>1</issue><fpage>22</fpage><lpage>29</lpage><comment><ext-link ext-link-type="uri" xlink:href="https://aclanthology.org/J90-1003.pdf">https://aclanthology.org/J90-1003.pdf</ext-link></comment></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Fusaroli</surname><given-names>M</given-names> </name><name name-style="western"><surname>Polizzi</surname><given-names>S</given-names> </name><name name-style="western"><surname>Menestrina</surname><given-names>L</given-names> </name><etal/></person-group><article-title>Unveiling the burden of drug-induced impulsivity: a network analysis of the FDA adverse event reporting system</article-title><source>Drug Saf</source><year>2024</year><month>12</month><volume>47</volume><issue>12</issue><fpage>1275</fpage><lpage>1292</lpage><pub-id pub-id-type="doi">10.1007/s40264-024-01471-z</pub-id><pub-id pub-id-type="medline">39147961</pub-id></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Freeman</surname><given-names>LC</given-names> </name></person-group><article-title>Centrality in social networks conceptual clarification</article-title><source>Soc Networks</source><year>1978</year><month>01</month><volume>1</volume><issue>3</issue><fpage>215</fpage><lpage>239</lpage><pub-id pub-id-type="doi">10.1016/0378-8733(78)90021-7</pub-id></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Barrat</surname><given-names>A</given-names> </name><name name-style="western"><surname>Barth&#x00E9;lemy</surname><given-names>M</given-names> </name><name name-style="western"><surname>Pastor-Satorras</surname><given-names>R</given-names> </name><name name-style="western"><surname>Vespignani</surname><given-names>A</given-names> </name></person-group><article-title>The architecture of complex weighted networks</article-title><source>Proc Natl Acad Sci U S A</source><year>2004</year><month>03</month><day>16</day><volume>101</volume><issue>11</issue><fpage>3747</fpage><lpage>3752</lpage><pub-id pub-id-type="doi">10.1073/pnas.0400087101</pub-id><pub-id pub-id-type="medline">15007165</pub-id></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Newman</surname><given-names>MEJ</given-names> </name></person-group><article-title>The structure and function of complex networks</article-title><source>SIAM Rev</source><year>2003</year><month>01</month><day>1</day><volume>45</volume><issue>2</issue><fpage>167</fpage><lpage>256</lpage><pub-id pub-id-type="doi">10.1137/S003614450342480</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sabidussi</surname><given-names>G</given-names> </name></person-group><article-title>The centrality of a graph</article-title><source>Psychometrika</source><year>1966</year><month>12</month><volume>31</volume><issue>4</issue><fpage>581</fpage><lpage>603</lpage><pub-id pub-id-type="doi">10.1007/BF02289527</pub-id><pub-id pub-id-type="medline">5232444</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Opsahl</surname><given-names>T</given-names> </name><name name-style="western"><surname>Agneessens</surname><given-names>F</given-names> </name><name name-style="western"><surname>Skvoretz</surname><given-names>J</given-names> </name></person-group><article-title>Node centrality in weighted networks: generalizing degree and shortest paths</article-title><source>Soc Networks</source><year>2010</year><month>07</month><volume>32</volume><issue>3</issue><fpage>245</fpage><lpage>251</lpage><pub-id pub-id-type="doi">10.1016/j.socnet.2010.03.006</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Newman</surname><given-names>MEJ</given-names> </name></person-group><article-title>Mathematics of networks</article-title><source>The New Palgrave Dictionary of Economics</source><year>2018</year><publisher-name>Palgrave Macmillan</publisher-name><fpage>8525</fpage><lpage>8533</lpage><pub-id pub-id-type="doi">10.1057/978-1-349-95189-5_2565</pub-id></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Bastian</surname><given-names>M</given-names> </name><name name-style="western"><surname>Heymann</surname><given-names>S</given-names> </name><name name-style="western"><surname>Jacomy</surname><given-names>M</given-names> </name></person-group><article-title>Gephi: an open source software for exploring and manipulating networks</article-title><conf-name>Proceedings of the International AAAI Conference on Web and Social Media</conf-name><conf-date>May 17-20, 2009</conf-date><pub-id pub-id-type="doi">10.1609/icwsm.v3i1.13937</pub-id></nlm-citation></ref><ref id="ref26"><label>26</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Smith</surname><given-names>A</given-names> </name><name name-style="western"><surname>Fogarasi</surname><given-names>M</given-names> </name><name name-style="western"><surname>Lustberg</surname><given-names>MB</given-names> </name><name name-style="western"><surname>Nekhlyudov</surname><given-names>L</given-names> </name></person-group><article-title>Perspectives of adolescent and young adult cancer survivors: review of community-based discussion boards</article-title><source>J Cancer Surviv</source><year>2022</year><month>10</month><volume>16</volume><issue>5</issue><fpage>1079</fpage><lpage>1089</lpage><pub-id pub-id-type="doi">10.1007/s11764-021-01098-4</pub-id><pub-id pub-id-type="medline">34471949</pub-id></nlm-citation></ref><ref id="ref27"><label>27</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Andy</surname><given-names>A</given-names> </name><name name-style="western"><surname>Andy</surname><given-names>U</given-names> </name></person-group><article-title>Understanding communication in an online cancer forum: content analysis study</article-title><source>JMIR Cancer</source><year>2021</year><month>09</month><day>7</day><volume>7</volume><issue>3</issue><fpage>e29555</fpage><pub-id pub-id-type="doi">10.2196/29555</pub-id><pub-id pub-id-type="medline">34491209</pub-id></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Simard</surname><given-names>S</given-names> </name><name name-style="western"><surname>Thewes</surname><given-names>B</given-names> </name><name name-style="western"><surname>Humphris</surname><given-names>G</given-names> </name><etal/></person-group><article-title>Fear of cancer recurrence in adult cancer survivors: a systematic review of quantitative studies</article-title><source>J Cancer Surviv</source><year>2013</year><month>09</month><volume>7</volume><issue>3</issue><fpage>300</fpage><lpage>322</lpage><pub-id pub-id-type="doi">10.1007/s11764-013-0272-z</pub-id><pub-id pub-id-type="medline">23475398</pub-id></nlm-citation></ref><ref id="ref29"><label>29</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Vasconcelos</surname><given-names>P</given-names> </name><name name-style="western"><surname>Carrito</surname><given-names>ML</given-names> </name><name name-style="western"><surname>Quinta-Gomes</surname><given-names>AL</given-names> </name><etal/></person-group><article-title>Associations between sexual health and well-being: a systematic review</article-title><source>Bull World Health Organ</source><year>2024</year><month>12</month><day>1</day><volume>102</volume><issue>12</issue><fpage>873</fpage><lpage>887D</lpage><pub-id pub-id-type="doi">10.2471/BLT.24.291565</pub-id><pub-id pub-id-type="medline">39611198</pub-id></nlm-citation></ref><ref id="ref30"><label>30</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Xie</surname><given-names>J</given-names> </name><name name-style="western"><surname>Sun</surname><given-names>Q</given-names> </name><name name-style="western"><surname>Duan</surname><given-names>Y</given-names> </name><etal/></person-group><article-title>Reproductive concerns among adolescent and young adult cancer survivors: a scoping review of current research situations</article-title><source>Cancer Med</source><year>2022</year><month>09</month><volume>11</volume><issue>18</issue><fpage>3508</fpage><lpage>3517</lpage><pub-id pub-id-type="doi">10.1002/cam4.4708</pub-id><pub-id pub-id-type="medline">35332694</pub-id></nlm-citation></ref><ref id="ref31"><label>31</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Duffin</surname><given-names>K</given-names> </name><name name-style="western"><surname>Mitchell</surname><given-names>RT</given-names> </name><name name-style="western"><surname>Brougham</surname><given-names>MFH</given-names> </name><name name-style="western"><surname>Hamer</surname><given-names>G</given-names> </name><name name-style="western"><surname>van Pelt</surname><given-names>AMM</given-names> </name><name name-style="western"><surname>Mulder</surname><given-names>CL</given-names> </name></person-group><article-title>Impacts of cancer therapy on male fertility: past and present</article-title><source>Mol Aspects Med</source><year>2024</year><month>12</month><volume>100</volume><fpage>101308</fpage><pub-id pub-id-type="doi">10.1016/j.mam.2024.101308</pub-id><pub-id pub-id-type="medline">39265489</pub-id></nlm-citation></ref><ref id="ref32"><label>32</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Rodriguez-Wallberg</surname><given-names>KA</given-names> </name><name name-style="western"><surname>Jiang</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Lekberg</surname><given-names>T</given-names> </name><name name-style="western"><surname>Nilsson</surname><given-names>HP</given-names> </name></person-group><article-title>The late effects of cancer treatment on female fertility and the current status of fertility preservation&#x2014;a narrative review</article-title><source>Life (Basel)</source><year>2023</year><month>05</month><day>17</day><volume>13</volume><issue>5</issue><fpage>1195</fpage><pub-id pub-id-type="doi">10.3390/life13051195</pub-id><pub-id pub-id-type="medline">37240840</pub-id></nlm-citation></ref><ref id="ref33"><label>33</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Velez</surname><given-names>MP</given-names> </name><name name-style="western"><surname>Richardson</surname><given-names>H</given-names> </name><name name-style="western"><surname>Baxter</surname><given-names>NN</given-names> </name><etal/></person-group><article-title>Risk of infertility in female adolescents and young adults with cancer: a population-based cohort study</article-title><source>Hum Reprod</source><year>2021</year><month>06</month><day>18</day><volume>36</volume><issue>7</issue><fpage>1981</fpage><lpage>1988</lpage><pub-id pub-id-type="doi">10.1093/humrep/deab036</pub-id><pub-id pub-id-type="medline">33611573</pub-id></nlm-citation></ref><ref id="ref34"><label>34</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Wagle</surname><given-names>NS</given-names> </name><name name-style="western"><surname>Nogueira</surname><given-names>L</given-names> </name><name name-style="western"><surname>Devasia</surname><given-names>TP</given-names> </name><etal/></person-group><article-title>Cancer treatment and survivorship statistics, 2025</article-title><source>CA Cancer J Clin</source><year>2025</year><month>08</month><volume>75</volume><issue>4</issue><fpage>308</fpage><lpage>340</lpage><pub-id pub-id-type="doi">10.3322/caac.70011</pub-id></nlm-citation></ref><ref id="ref35"><label>35</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Holahan</surname><given-names>CJ</given-names> </name><name name-style="western"><surname>Moos</surname><given-names>RH</given-names> </name><name name-style="western"><surname>Groesz</surname><given-names>LM</given-names> </name></person-group><article-title>Community studies</article-title><source>Encyclopedia of Stress</source><year>2007</year><volume>1</volume><edition>2</edition><publisher-name>Academic Press</publisher-name><fpage>536</fpage><lpage>541</lpage><pub-id pub-id-type="doi">10.1016/B978-012373947-6/00089-1</pub-id></nlm-citation></ref><ref id="ref36"><label>36</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hayes</surname><given-names>SC</given-names> </name><name name-style="western"><surname>Luoma</surname><given-names>JB</given-names> </name><name name-style="western"><surname>Bond</surname><given-names>FW</given-names> </name><name name-style="western"><surname>Masuda</surname><given-names>A</given-names> </name><name name-style="western"><surname>Lillis</surname><given-names>J</given-names> </name></person-group><article-title>Acceptance and commitment therapy: model, processes and outcomes</article-title><source>Behav Res Ther</source><year>2006</year><month>01</month><volume>44</volume><issue>1</issue><fpage>1</fpage><lpage>25</lpage><pub-id pub-id-type="doi">10.1016/j.brat.2005.06.006</pub-id><pub-id pub-id-type="medline">16300724</pub-id></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>Prompts summary.</p><media xlink:href="jmir_v28i1e92539_app1.pdf" xlink:title="PDF File, 132 KB"/></supplementary-material><supplementary-material id="app2"><label>Multimedia Appendix 2</label><p>Results of topic assignment and network centrality indices.</p><media xlink:href="jmir_v28i1e92539_app2.docx" xlink:title="DOCX File, 91 KB"/></supplementary-material><supplementary-material id="app3"><label>Multimedia Appendix 3</label><p>Interactive visualizations of latent Dirichlet allocation and BERTopic.</p><media xlink:href="jmir_v28i1e92539_app3.docx" xlink:title="DOCX File, 710 KB"/></supplementary-material></app-group></back></article>