Related Experiment Video
Updated: Jan 11, 2026

Author Spotlight: Unveiling the Connection Between Sleep Disorders and Cognitive Symptoms in Depression
Published on: April 26, 2024
Assessing patient perceptions of off-label cannabidiol use for insomnia through sentiment analysis
Gabriel Rodrigues Coutinho Pereira1, Altobelli de Brito Mantuan2, Julio Cesar Dos Santos Oliveira1
1Faculty of Pharmacy, Federal University of Rio de Janeiro, 373 Carlos Chagas Filho Avenue, Rio de Janeiro, Rio de Janeiro, 21941-170, Brazil.
Background:
Recent global policy shifts have greatly expanded access to and the market for medicinal cannabis, broadening its availability for therapeutic use. These changes have led to a notable increase in off-label prescriptions of cannabidiol (CBD) based products, particularly for conditions such as epilepsy, anxiety, depression, insomnia, and chronic pain. Despite its growing popularity, clinical studies investigating the efficacy of CBD for insomnia remain limited, raising questions about its suitability for decision support. In this scenario, sentiment analysis provides an additional, low-cost, and measurable outcome of patients' perceptions, which has proven valuable in offering an additional layer of understanding regarding the perceived effectiveness of treatments. Therefore, the objective of this study was to assess patients' perception regarding off-label CBD use for insomnia through sentiment analysis.
Methods:
English-language tweets related to CBD use for insomnia were collected from June 25, 2018, to January 9, 2023. The data was cleaned, and a representative subset of comments was manually labeled by experts. Then, a ROBERTA-based model was trained to automatically classify the remaining tweets in the database as either signals or noise. Finally, topic modeling and sentiment analysis were performed on the database of signal tweets.
Results:
From the 74,562 unique comments retrieved, 25,005 were classified as relevant based on both manual labeling and predictions made by the validated model. Topic modeling revealed eleven major themes, including the perceived efficacy of CBD for anxiety, pain, and insomnia, as well as practical considerations regarding treatment routines and preparation preferences. Sentiment analysis revealed positive feedback regarding CBD's use for insomnia, indicating that most users perceive it as an effective treatment for this condition.
Conclusions:
This study offers valuable insights into patient perceptions of off-label CBD use for insomnia, suggesting that CBD may indeed be beneficial for this condition, which aligns with existing, albeit limited, experimental evidence. Consequently, further research is necessary to confirm its efficacy. In this scenario, the application of sentiment analysis emerges as an effective tool for assessing patient perceptions, providing a richer context that complements the still limited evidence from traditional clinical trials on CBD use for insomnia.
Trial Registration:
Not applicable.
More Related Videos
Related Concept Videos
Sedatives and Hypnotics Drugs: Miscellaneous Agents
Melatonin congeners like ramelteon (Rozerem) and tasimelteon (Hetlioz) selectively bind to melatonin receptors (MT1 and MT2) and thus mimic the actions of melatonin, a hormone that regulates sleep-wake cycles. Tasimelteon is primarily used for non-24-hour sleep-wake disorder, common in blind patients. They are also used to treat conditions like insomnia...
Management of Insomnia
Insomnia
Multiple factors contribute...
Sedatives and Hypnotics: Overview
Sedative-hypnotics are categorized into barbiturates, benzodiazepines (BZDs), and non-benzodiazepines or Z-drugs. These drugs work by suppressing central nervous system activity, and this suppression is dose-dependent. Older sedative medications, like barbiturates, follow a linear curve in...
Substance Use Disorders Affecting Sleep
Understanding the concepts of physical dependence,...
CNS Depressants: Barbiturates and Benzodiazepines

