Theory Driven Analysis of Natural Language Processing Measures of Thought Disorder using Generative Language Modeling. Fradkin, I., Nour, M. M., & Dolan, J. Biological Psychiatry: Cognitive Neuroscience and Neuroimaging, May, 2023.
Paper doi abstract bibtex Background Natural language processing (NLP) holds promise to transform psychiatric research and practice. A pertinent example is the success of NLP in automatic detection of speech disorganization in formal thought disorder (FTD). However, we lack an understanding of what precisely common NLP metrics measure and how they relate to theoretical accounts of FTD. We propose tackling these questions by using deep generative language models to simulate FTD-like narratives by perturbing computational parameters instantiating theory-based mechanisms of FTD. Methods We simulated FTD-like narratives using GPT-2 by either increasing word selection stochasticity or limiting the model’s memory span. We then examined the sensitivity of common NLP measures of derailment (semantic distance between consecutive words or sentences) and ‘tangentiality’ (how quickly meaning drifts away from the topic) in detecting, and dissociating, the two underlying impairments. Results Both parameters led to narratives characterized by greater semantic distance between consecutive sentences. Conversely, semantic distance between words was increased by increasing stochasticity, but decreased by limiting memory span. An NLP measure of tangentiality was uniquely predicted by limited memory span. The effects of limited memory span were non-monotonic, in that ‘forgetting’ the global context resulted in sentences that were semantically closer to their local, intermediate, context. Finally, different methods for encoding the meaning of sentences varied dramatically in performance. Conclusions This work validates a simulation-based approach as a valuable tool for hypothesis generation and mechanistic analysis of NLP markers in psychiatry. To facilitate dissemination of this approach, we accompany the paper with a hands-on Python tutorial.
@article{fradkin_theory_2023,
title = {Theory {Driven} {Analysis} of {Natural} {Language} {Processing} {Measures} of {Thought} {Disorder} using {Generative} {Language} {Modeling}.},
issn = {2451-9022},
url = {https://www.sciencedirect.com/science/article/pii/S2451902223001258},
doi = {10.1016/j.bpsc.2023.05.005},
abstract = {Background
Natural language processing (NLP) holds promise to transform psychiatric research and practice. A pertinent example is the success of NLP in automatic detection of speech disorganization in formal thought disorder (FTD). However, we lack an understanding of what precisely common NLP metrics measure and how they relate to theoretical accounts of FTD. We propose tackling these questions by using deep generative language models to simulate FTD-like narratives by perturbing computational parameters instantiating theory-based mechanisms of FTD.
Methods
We simulated FTD-like narratives using GPT-2 by either increasing word selection stochasticity or limiting the model’s memory span. We then examined the sensitivity of common NLP measures of derailment (semantic distance between consecutive words or sentences) and ‘tangentiality’ (how quickly meaning drifts away from the topic) in detecting, and dissociating, the two underlying impairments.
Results
Both parameters led to narratives characterized by greater semantic distance between consecutive sentences. Conversely, semantic distance between words was increased by increasing stochasticity, but decreased by limiting memory span. An NLP measure of tangentiality was uniquely predicted by limited memory span. The effects of limited memory span were non-monotonic, in that ‘forgetting’ the global context resulted in sentences that were semantically closer to their local, intermediate, context. Finally, different methods for encoding the meaning of sentences varied dramatically in performance.
Conclusions
This work validates a simulation-based approach as a valuable tool for hypothesis generation and mechanistic analysis of NLP markers in psychiatry. To facilitate dissemination of this approach, we accompany the paper with a hands-on Python tutorial.},
language = {en},
urldate = {2023-06-01},
journal = {Biological Psychiatry: Cognitive Neuroscience and Neuroimaging},
author = {Fradkin, Isaac and Nour, Matthew M. and Dolan, J., Raymond},
month = may,
year = {2023},
keywords = {Computational Psychiatry, GPT-2, Natural language processing, Psychosis, Schizophrenia, Thought disorder},
}
Downloads: 0
{"_id":"nn3NiKouuoeyiqTzy","bibbaseid":"fradkin-nour-dolan-theorydrivenanalysisofnaturallanguageprocessingmeasuresofthoughtdisorderusinggenerativelanguagemodeling-2023","author_short":["Fradkin, I.","Nour, M. M.","Dolan, J."],"bibdata":{"bibtype":"article","type":"article","title":"Theory Driven Analysis of Natural Language Processing Measures of Thought Disorder using Generative Language Modeling.","issn":"2451-9022","url":"https://www.sciencedirect.com/science/article/pii/S2451902223001258","doi":"10.1016/j.bpsc.2023.05.005","abstract":"Background Natural language processing (NLP) holds promise to transform psychiatric research and practice. A pertinent example is the success of NLP in automatic detection of speech disorganization in formal thought disorder (FTD). However, we lack an understanding of what precisely common NLP metrics measure and how they relate to theoretical accounts of FTD. We propose tackling these questions by using deep generative language models to simulate FTD-like narratives by perturbing computational parameters instantiating theory-based mechanisms of FTD. Methods We simulated FTD-like narratives using GPT-2 by either increasing word selection stochasticity or limiting the model’s memory span. We then examined the sensitivity of common NLP measures of derailment (semantic distance between consecutive words or sentences) and ‘tangentiality’ (how quickly meaning drifts away from the topic) in detecting, and dissociating, the two underlying impairments. Results Both parameters led to narratives characterized by greater semantic distance between consecutive sentences. Conversely, semantic distance between words was increased by increasing stochasticity, but decreased by limiting memory span. An NLP measure of tangentiality was uniquely predicted by limited memory span. The effects of limited memory span were non-monotonic, in that ‘forgetting’ the global context resulted in sentences that were semantically closer to their local, intermediate, context. Finally, different methods for encoding the meaning of sentences varied dramatically in performance. Conclusions This work validates a simulation-based approach as a valuable tool for hypothesis generation and mechanistic analysis of NLP markers in psychiatry. To facilitate dissemination of this approach, we accompany the paper with a hands-on Python tutorial.","language":"en","urldate":"2023-06-01","journal":"Biological Psychiatry: Cognitive Neuroscience and Neuroimaging","author":[{"propositions":[],"lastnames":["Fradkin"],"firstnames":["Isaac"],"suffixes":[]},{"propositions":[],"lastnames":["Nour"],"firstnames":["Matthew","M."],"suffixes":[]},{"propositions":[],"lastnames":["Dolan"],"firstnames":["J."],"suffixes":["Raymond"]}],"month":"May","year":"2023","keywords":"Computational Psychiatry, GPT-2, Natural language processing, Psychosis, Schizophrenia, Thought disorder","bibtex":"@article{fradkin_theory_2023,\n\ttitle = {Theory {Driven} {Analysis} of {Natural} {Language} {Processing} {Measures} of {Thought} {Disorder} using {Generative} {Language} {Modeling}.},\n\tissn = {2451-9022},\n\turl = {https://www.sciencedirect.com/science/article/pii/S2451902223001258},\n\tdoi = {10.1016/j.bpsc.2023.05.005},\n\tabstract = {Background\nNatural language processing (NLP) holds promise to transform psychiatric research and practice. A pertinent example is the success of NLP in automatic detection of speech disorganization in formal thought disorder (FTD). However, we lack an understanding of what precisely common NLP metrics measure and how they relate to theoretical accounts of FTD. We propose tackling these questions by using deep generative language models to simulate FTD-like narratives by perturbing computational parameters instantiating theory-based mechanisms of FTD.\nMethods\nWe simulated FTD-like narratives using GPT-2 by either increasing word selection stochasticity or limiting the model’s memory span. We then examined the sensitivity of common NLP measures of derailment (semantic distance between consecutive words or sentences) and ‘tangentiality’ (how quickly meaning drifts away from the topic) in detecting, and dissociating, the two underlying impairments.\nResults\nBoth parameters led to narratives characterized by greater semantic distance between consecutive sentences. Conversely, semantic distance between words was increased by increasing stochasticity, but decreased by limiting memory span. An NLP measure of tangentiality was uniquely predicted by limited memory span. The effects of limited memory span were non-monotonic, in that ‘forgetting’ the global context resulted in sentences that were semantically closer to their local, intermediate, context. Finally, different methods for encoding the meaning of sentences varied dramatically in performance.\nConclusions\nThis work validates a simulation-based approach as a valuable tool for hypothesis generation and mechanistic analysis of NLP markers in psychiatry. To facilitate dissemination of this approach, we accompany the paper with a hands-on Python tutorial.},\n\tlanguage = {en},\n\turldate = {2023-06-01},\n\tjournal = {Biological Psychiatry: Cognitive Neuroscience and Neuroimaging},\n\tauthor = {Fradkin, Isaac and Nour, Matthew M. and Dolan, J., Raymond},\n\tmonth = may,\n\tyear = {2023},\n\tkeywords = {Computational Psychiatry, GPT-2, Natural language processing, Psychosis, Schizophrenia, Thought disorder},\n}\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Fradkin, I.","Nour, M. M.","Dolan, J."],"key":"fradkin_theory_2023","id":"fradkin_theory_2023","bibbaseid":"fradkin-nour-dolan-theorydrivenanalysisofnaturallanguageprocessingmeasuresofthoughtdisorderusinggenerativelanguagemodeling-2023","role":"author","urls":{"Paper":"https://www.sciencedirect.com/science/article/pii/S2451902223001258"},"keyword":["Computational Psychiatry","GPT-2","Natural language processing","Psychosis","Schizophrenia","Thought disorder"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"article","biburl":"https://bibbase.org/zotero/warren.pettine","dataSources":["zYjFbyFmZWKpRCD4j"],"keywords":["computational psychiatry","gpt-2","natural language processing","psychosis","schizophrenia","thought disorder"],"search_terms":["theory","driven","analysis","natural","language","processing","measures","thought","disorder","using","generative","language","modeling","fradkin","nour","dolan"],"title":"Theory Driven Analysis of Natural Language Processing Measures of Thought Disorder using Generative Language Modeling.","year":2023}