Abstract
Self-injurious behavior is often practiced in secrecy or involves body parts that are easy to hide, making early detection difficult and hampering intervention and treatment. However, cutting, one of the most common intentional forms of nonsuicidal self-injury (NSSI), is relatively often shared publicly via new digital media technologies. We explored NSSI on Instagram through a pioneering combination of two computational methods: First, we developed an automatic image-recognition algorithm that uncovered NSSI (or the absence of NSSI) in digital pictures, and second, we employed web-scraping techniques to obtain all pictures posted on Instagram in a given time frame under four NSSI-related hashtags in English and German. The image-recognition algorithm was then used to explore the relative prevalence of NSSI in these N = 13,132 pictures posted within 48 hr on Instagram under #cutting (n = 4,219), #suicide (n = 7,910), #selbstmord (n = 173), and #ritzen (n = 830) in June 2018. This article not only aims to raise awareness of NSSI on Instagram but also introduces the first automatic image-recognition algorithm that addresses cutting on social media and presents that algorithm’s first empirical test run on a large sample of pictures scraped from Instagram. The ultimate goal of this research is to protect vulnerable populations from contact with NSSI-related pictures posted on social media.
Keywords
Nonsuicidal self-injury (NSSI) is an umbrella term for a specific form of intentional self-harm without suicidal intent, and unlike tattoos or body piercings, for example, this form of body modification is not socially accepted (De Riggi, Moumne, Heath, & Lewis, 2016). Particularly prevalent among developing youths, the most common forms of NSSI are scratching, bruising, headbanging, burning, and cutting (Nock & Favazza, 2009). Less than a quarter of those who engage in NSSI seek or receive health care before or afterward (Dyson et al., 2016). Importantly, NSSI is linked to individual stress (Hamza, Stewart, & Willoughby, 2012), victimization (O’Connor, Rasmussen, & Hawton, 2009), and exposure to pro-self-harm online content (Minkkinen, Oksanen, Kaakinen, Keipi, & Räsänen, 2017), and both nonsuicidal and suicidal self-harm share a range of risk factors, thus placing NSSI and suicide conceptually on the same continuum (see Mars et al., 2014).
Instagram is the world’s second most used social networking site and is particularly popular among young users, with 71% of the site’s user base being emerging adults between 18 and 24 years of age (Smith & Anderson, 2018). The platform is primarily visual and driven by the photos that are uploaded onto it. As do Twitter users (Wang, Wei, Liu, Zhou, & Zhang, 2011), Instagram users label uploaded content with key words that are prefixed by the hash sign (e.g., #holidays, #metoo). These key words or hashtags are organically transformed into hyperlinks that redirect the user to all other content on the platform that has been uploaded under that specific hashtag. In that sense, hashtags serve as semantic annotations that allow users to “self-curate”-specific thematic content on Instagram or on other social media platforms (Meraz, 2017).
Since the end of 2017, users can not only search for pictures related to a specific hashtag but can also follow one or more hashtags (Instagram, 2017), which then causes posts under these hashtags to be more likely to show up prominently in the users’ Instagram feeds. Some hashtags typically co-occur such as #depression and #cutting, with 27% of the pictures tagged with #depression also being tagged with #cutting (Brown et al., 2018). Importantly, Instagram acknowledges potentially problematic hashtags such as #cutting and shows a content warning message (see Figure 1) that requires users to confirm their consent by clicking before they can access this content. Hashtags can also be shut down completely.

Content warning when accessing #cutting on Instagram.
Systematic reviews (Dyson et al., 2016; Lewis & Seko, 2016) have identified the benefits (social support, coping, emotional self-disclosure, and inhibition of NSSI) and risks (reinforcement, triggers, and stigmatization of NSSI) of engaging with NSSI content online with considerable individual differences (Baker & Lewis, 2013). Nock and Prinstein (2004) have suggested that positive social reinforcement may be one reason why exposure to #cutting pictures on Instagram might be dangerous, particularly when such reinforcement manifests as the visible comments or “likes” of others on the social media platform (Brown et al., 2018). However, according to the theory of planned behavior (Ajzen, 1991; Ajzen & Fishbein, 1973), perceived social norms may also be relevant to action. For example, the mere number of pictures subsumed under #cutting depicting people cutting their wrists might shift descriptive norms about the pervasiveness of wrist-cutting as a form of NSSI and thereby trigger future behavioral intentions. In fact, victimization often brings people to NSSI content online (Minkkinen et al., 2017), which further intensifies the relevance of normalization or reinforcing mechanisms on social media. Radovic and Hasking (2013) showed evidence for a modeling and normalization explanation for films. Importantly, NSSI-discouraging messages are often absent on social media such as Instagram (Miguel et al., 2017), thereby intensifying the possible effects. In effect, comments and likes can be regarded as additional social cues and might therefore operate in a reinforcing manner, as noted by Brown et al. (2018). Moreover, research on traditional fictional (Stack, 2009) and nonfictional media (Niederkrotenthaler et al., 2012) has shown that exposure to mediated exemplars can increase suicidal thoughts and behaviors—a phenomenon called the Werther effect (Phillips, 1974). Although evidence for Werther effects in the social media domain is still very limited, it is likely that content posted on social media operates similarly to other content and has the power to trigger imitational behaviors (see Fahey, Matsubayashi, & Ueda, 2018).
Existing knowledge about the number of pictures related to cutting and NSSI on Instagram is similarly still very limited. Most insights can be drawn from only two recent studies (Brown et al., 2018; Moreno, Ton, Selkie, & Evans, 2016) showing that around two thirds of NSSI pictures posted under #cutting depict healed superficial wounds or scars, while one third depicts fresh wounds. Common English-language hashtags for cutting-related NSSI are #selfharmmm (with one or more extra Ms if reported and shut down), #cat, #selfinjuryyy, or #blithe (Moreno et al., 2016). Currently, the most sophisticated insights about NSSI on Instagram stem from a recent study that explored 30 different cutting-related hashtags in German within a 72-hr time frame (Brown et al., 2018). The study found that slightly more than 5% of all pictures uploaded on Instagram under these hashtags (n = 293) contained pictures with wounds or scars (Brown et al., 2018). Over the course of 4 weeks, the upload rate of publicly available cutting-related pictures was 8.8% (n = 2,826). Within these 4 weeks, 93.1% of the pictures depicted some form of cut (39.6% depicted superficial wounds or scratches, 47.8% showed deeper cuts with blood, and 12.6% were deep, gaping cuts with large amounts of blood). Bruises, bites, burning, and skin picking were less commonly posted. Additionally, 59.6% of the pictures focused on cuts on the upper extremities (e.g., arms, wrists) and the objects that caused the injury (e.g., razorblades, nails, and knives) were seldom depicted (5.8%). In 34 pictures, the cuts into the skin even showed a readable text such as “HATE MYSELF” or “DREAM” (Brown et al., 2018). Temporal patterns were not recognizable for the photographs in Germany, even though slightly more pictures were uploaded on Sundays (Brown et al., 2018). Over the course of the day, more NSSI pictures were posted in the early morning and later in the evening. NSSI postings on Instagram might therefore be related to the stress experienced in the evenings and early mornings before having to go to school (Brown et al., 2018).
What should be clear at this point in our argument is that previous research has already acknowledged the importance of NSSI-related posts on Instagram. One remaining issue, however, is the sheer amount of content posted on the platform under NSSI-related hashtags and how to measure it. In fact, previous scholarly work has used human coders to categorize Instagram posts. Unfortunately, a huge amount of work is required to code the entirety of the material manually. In addition, when humans code Instagram posts, there is a time lag between identifying, downloading, and coding NSSI content. Therefore, given the conceptual (Mars et al., 2014) and empirical (Brown et al., 2018) overlaps between NSSI and suicide, as well as the link between exposure to online NSSI and increased self-harm and suicidality (Mitchell, Wells, Priebe, & Ybarra, 2014), an automated form of recognition that identifies NSSI-related posts in real time would substantially contribute to NSSI- and suicide-prevention research and practice.
The present article introduces the first automatic image-recognition algorithm that automatically addresses cutting on social media. To overcome the existing limitations, we combine the two computational methods known as web scraping and computer vision: Web-scraping techniques were used to automatically download content posted on Instagram under different problematic hashtags and in different languages, and an image-recognition algorithm was developed to automatically detect NSSI (vs. the absence of NSSI) in Instagram pictures.
As the first study of its kind, this research used an automatic image-recognition algorithm to explore the prevalence of NSSI (vs. the absence of NSSI) in all pictures posted under the multilanguage hashtags #cutting, #suicide, #ritzen (= cutting), and #selbstmord (= suicide) on Instagram within a 48-hr time frame in June 2018. In the following sections, we will introduce and describe in more detail both methodological elements of this study. The ultimate goal of this research is the protection of vulnerable populations from contact with NSSI-related pictures posted on social media.
Method
Development of an Automatic Image-Recognition Algorithm
As a first step, we built a database for algorithm training that included a selection of NSSI-related pictures from Instagram. We downloaded two batches of publicly available square-shaped pictures uploaded to the social media platform Instagram. The pictures were downloaded together with a time stamp and the defining hashtags. In accordance with the platform’s terms and conditions, no other information about the uploading users, other users’ likes, comments on, or shares of the pictures, or the geolocation was downloaded or stored. We used a total of 600 cutting-related images uploaded to the platform between October 2017 and January 2018 that used the hashtags #suizid, #selbstmord, and #ritzen (German for “cutting”). The download was managed using the software program 4K Stogram. Since the software downloaded all pictures uploaded to Instagram under a specific hashtag, we manually identified pictures that depicted fresh wounds or red scars from cutting body parts.
The training of the machine-learning algorithm also required “negatives”—pictures that did not depict cutting-related content. To include such content, we used a random sample of same-sized images depicting a variety of different content representing negative (i.e., “noncutting”) content. Pictures were taken from the ImageNet Large-Scale Visual Recognition Challenge 2012 (ILSVRC ’12; Russakovsky et al., 2015). To automatically distinguish depictions of cutting from other images, we trained an automatic image-recognition model. This model was based on a convolutional neural network classifier—more specifically, the AlexNet architecture proposed by Krizhevsky, Sutskever, and Hinton (2012). This architecture achieved state-of-the-art performance for the large-scale 1,000-class classification task from ILSVRC ‘12. This type of model can learn abstract concepts such as “cutting” from simpler ones such as lines, colors, or shapes. That is, when an image is pushed into the model, a conclusion concerning a specific task can be reached as a function of the results of intermediate concepts at different internal levels of the model.
The training routine consists of several training cycles that follow the protocol proposed by Krizhevsky et al. (2012) in which two balanced sets of “training” and “testing” images are defined. These sets are composed of image-label pairs (in this study, N = 600) in which the annotated label indicates whether every image depicts a concept of interest. In our setting, these labels were “NSSI” and “no NSSI.”
During this part of the training stage, the model observes the full set of images. After the model has observed every image, the performance of the model is computed using an objective function, which considers the output of the model as well as the set of annotated labels for a given image. Then, the parameters of the model are updated based on the model’s correct and incorrect predictions. This sequence of steps, usually referred to as a training epoch, is repeated with the goal of gradually improving the performance of the model. In addition, it is common practice to compute, in parallel, the performance on an excluded set of validation images. The latter serves as an indication of the model’s performance on unseen pictures. Following the training protocol by Krizhevsky et al. (2012), we sampled “no NSSI” images from the training and validation sets from ILSVRC ‘12 for our training and testing sets, respectively. Finally, we adopted the classification performance as the core performance metric and applied it to a 48-hr sample of Instagram postings that were automatically scraped in June 2018. We will describe this second computational method in what follows.
Web Scraping of 48 Hr of Instagram Postings Related to NSSI
We used four hashtags as the starting point for the web-scraping procedure. Following Brown et al. (2018), we chose the four NSSI-relevant hashtags #suicide and #cutting, and the German equivalents thereof, which were #selbstmord and #ritzen, respectively. Including German hashtags is arguably more location-specific and they will be less used by international Instagram users, and the inclusion of hashtags related to both cutting and suicidality has been recommended by Brown et al. (2018), since #cutting is often used together with #suicide. On June 25, 2018, we automatically downloaded a complete snapshot of the pictures uploaded to Instagram under these four hashtags over the previous 48 hr using Python (Version 3.5.2 for Linux) and the Selenium (Selenium Project, 2018; see also Richardson, Berant, & Kuhn, 2018; Grossman, 2017) and BeautifulSoup libraries (see Mitchell, 2018).
Web scraping was performed automatically and in reversed chronological order until either a 48-hr limit or a 10,000 most recent posts’ limit was reached for each of the four Instagram hashtag feeds (i.e., all posts that were posted on Instagram using one of the four hashtags). For each post, the image file and its time stamp were retained and stored as available through Instagram’s public API at that time. In total, N = 13,132 images that were posted with the NSSI-related hashtags (specifically, #suicide: n = 7,910, #cutting: n = 4,219, #selbstmord: n = 173, and #ritzen: n = 830) were stored. This research protocol was in line with the ethical guidelines as defined by the Association of Internet Research Ethics Working Committee (Markham & Buchanan, 2012).
Results
Accuracy of the Algorithm
During the first training cycle (see top panel in Figure 2), three classes of pictures were predicted. The first two classes were “NSSI-cutting” and “NSSI-no cutting”: both were NSSI-related classes, but only “NSSI-cutting” contained images depicting cutting scenes. The third class, “no NSSI,” was randomly taken from the validation data of the ILSVRC ‘12 data set, and this class depicted non-NSSI content. The first training cycle was based on a set of N = 1,384 images. The second training cycle (bottom panel in Figure 2) only predicted two classes: “NSSI cutting” versus “no NSSI.” Like the first training cycle, “no NSSI” images contained content randomly sampled from the ILSVRC ‘12 data set.

Training/testing results from the first and second cycles of the development of an image-recognition algorithm that automatically detects nonsuicidal self-injury on publicly available Instagram postings for #cutting. On the right, the error rate for the algorithm training (blue line) and the validation (orange line) is shown. On the left, the energy function represents a loss function of the different parameters used in the machine-learning process when developing our algorithm and therefore is indicative of the total error in the NSSI image-recognition task (For interpretation of the references to colours in this figure legend, refer to the online version of this article).
A balanced total set of N = 1,200 images was used in the second training cycle. As depicted in Figure 2, as the training progressed, the recognition algorithm reached an error rate of ∼19% (first training cycle; orange line) and ∼13% (second training cycle; orange line), which equals an ∼81% and ∼87% classification accuracy on the validation data set for the first and second training cycles, respectively. The first training/second training cycles yielded false-positive/false-negative rates of .24/.08 and .23/.07, respectively. Interestingly, after 100 training epochs, the achieved accuracy after the first training cycle nearly converged to a constant. Importantly, the higher performance in the second training cycle was expected, given the lower number of classes that were predicted.
Application in a Large-Scale Real-World Setting
As a second step, we applied the image-recognition algorithm to our real-world setting, represented by the scraped 48-hr sample of NSSI-related pictures posted on Instagram (see Table 1). We conducted this additional analysis to test the feasibility of the algorithm in a large-scale real-world setting.
Language-Related Risk of Exposure to NSSI Pictures on Instagram.
Note. Language RR refers to the language-related risk ratio and describes the relative risk of being willingly or unwillingly exposed to NSSI-related images on Instagram depending on the language that is used to search the platform. PRE refers to the percent relative effect of the language that is used to search the platform (interpretation: if #ritzen is searched for on Instagram instead of #cutting, there is a 38.83% higher chance of being willingly or unwillingly exposed to NSSI-related images). The Instagram hashtags #cutting (German: #ritzen) and #suicide (German: #selbstmord) were scraped and automatically analyzed using computational methods. All available pictures posted on Instagram during a 48-hr time window in June 2018 built the basis for these analyses (N = 13,132). NSSI = nonsuicidal self-injury.
This analysis indicates that users who searched for or followed #ritzen (i.e., in German) had a 1.4 times higher risk of encountering pictures that contained graphic depictions of cutting compared to users who searched for or followed the English hashtag #cutting. This finding corresponds to a percent relative effect of +39%. In contrast, virtually the same language risk ratio (1.0) could be observed for the alternative NSSI-related hashtags in both languages (#suicide or #selbstmord). In these cases, there was no language-induced percent relative effect (–0.03%).
Discussion
We used recent advantages in machine learning to examine the prevalence of pictures that explicitly depict people cutting their wrists as a form of NSSI posted under four different NSSI-related hashtag feeds. It has been argued (Brown et al., 2018) that such pictures may contribute to imitational self-harming behaviors in vulnerable user groups. Thus, a low-cost real-time assessment of NSSI-related posts can contribute to suicide-prevention research and practice by, for example, triggering the display of a help box. The primary contribution of this article is the development and application of an image-recognition algorithm that automatically differentiates cutting as a form of NSSI in pictures posted on the platform. This algorithm can automatically identify cutting-related posts with an accuracy of 87%. All training files and the necessary information to employ, replicate, and further develop the algorithm are available upon request from the authors. In comparison, existing scholarly work that used computational methods to automatically recognize cyberbullying in Instagram posts and that relied on feature combinations (i.e., images and captions) yielded an overall accuracy ranging from 54.56% to 68.55% (Zhong et al., 2016). The presented algorithm therefore sets a first benchmark for automatically detecting NSSI on Instagram. Moreover, the second training cycle in particular could be improved by further training on larger data sets. Such training could help to increase the generalizability of predictions.
In addition, we used web-scraping techniques to access all available Instagram posts under the hashtags #cutting (German: #ritzen) and #suicide (German: #selbstmord) over the course of 48 hr in June 2018. We used this data set to test the feasibility of the developed algorithm. For the first time, this study offers an estimate of the risk ratio and percent relative effect of encountering NSSI on Instagram as they depend on the language under which the four potentially dangerous hashtags can be searched for or followed. Our findings suggest that the relative risk of finding cutting as a form of NSSI on Instagram is 39% higher if the German hashtag (#ritzen) is used compared to the English hashtag (#cutting). Moreover, NSSI appears to be more often categorized as #suicide than #cutting when the English hashtag is used, while the opposite pattern is true for German-language hashtags (i.e., #ritzen [= cutting] > #selbstmord [= suicide]). Importantly, people choose hashtags themselves, and apparently, for NSSI-related pictures, hashtags along the lines of more (#suicide) or less intentional self-harm (#cutting) are chosen by Instagram users. #suicide (or #selbstmord) could be seen as reflecting a possibly higher conscious suicidal intent, whereas #cutting (or #ritzen) might be more reflective of the nonsuicidal aspects of NSSI. Given the importance of language for NSSI-related stigma, on the one hand, and facilitating NSSI disclosure and help-seeking, on the other hand (see Hasking & Boyes, 2018), the context in which NSSI posts are likely to appear is relevant. The meaning of language for individual suicidality (Arendt, Scherr, Niederkrotenthaler, & Till, 2018) and in algorithm-shaped online environments (Scherr, Haim, & Arendt, 2019) has only recently begun to attract more scholarly attention. The present findings can thus be regarded as a continuation of this line of research, particularly shedding light on the role of language on users’ self-categorized NSSI-related behaviors that are publicly shared online. Moreover, therapists could profit from this research by better understanding why some patients use specific language to publicly self-categorize. Knowledge about this appears to still be limited among professionals dealing with NSSI (Hasking & Boyes, 2018). Our approach might spark a healthy discussion in this regard.
The findings may be as they are because the platform’s implemented English-language internal warning mechanisms, algorithmic monitoring, and content warnings are more developed than they are for the German-speaking market. Similar findings have recently been reported for the implementation of a suicide-prevention help box on Google that differed significantly across and within countries, depending on the language used to operate the platform services (Scherr et al., 2019). However, the findings related to NSSI on Instagram refer to publicly accessible profile posts. For instance, Arendt (2019) only looked at the German #selbstmord (suicide) hashtag and found through extensive manual coding that within 6 days, almost half of all posts under this hashtag included words or visuals related to suicide. These numbers are largely comparable to the findings of the present study that were based on automated, computational techniques. Importantly, given the growing amount of Finstas (fake Instagram accounts, under which users post less “filtered” content that they are too afraid to post on their “real” accounts, usually shared with fewer people than the real Instagram accounts are), the number of potentially dangerous, NSSI-related pictures might be higher. Often, users also take advantage of the platform by using it to communicate with peers about sensitive topics related to NSSI, which may prevent immediate help. Thus, the automated recognition of potentially harmful pictures on Instagram goes beyond the content warning, which is a platform reaction to certain hashtag requests: Helpful NSSI-protective information (such as contact with a crisis intervention center) can be shown for individual posts.
Importantly, an image-recognition algorithm seems useful for different groups of Instagram users; namely, those who purposefully search for NSSI images and those who encounter them accidentally while searching or browsing for other content. Potentially beneficial for both groups, the algorithm could be implemented in existing display algorithms and permanently filter content that is knowingly linked with specific harmful hashtags, but it could also be used to optimize the display of the content warning message including links to helplines in an ad hoc manner. Importantly, implications for both scenarios differ. For example, when Instagram users purposefully follow specific content on Instagram by following a specific hashtag, it would be particularly interesting to further investigate the notion of potential echo chambers and the related effects of reinforcing spirals (Slater, 2007, 2015). Such an investigation would be especially relevant for the possible discovery of like-minded NSSI communities on Instagram. For example, 10- to 17-year-olds who visited websites that encourage self-harm were 11 times more likely to think about hurting themselves after controlling for other NSSI risk factors, showing that such content alone is an important risk factor that operates in conjunction with individual predispositions (Mitchell et al., 2014). Relatedly, an increasing body of research on the functioning of hashtags on Twitter shows that hashtags are powerful in facilitating the expression of nonmainstream political or social sentiments (see Bruns & Burgess, 2015) and bridging individuals with shared interests (Bruns, Moon, Paul, & Münch, 2016, p. 21). Meraz (2017) argues that hashtags facilitate homophilic tendencies and thereby reduce informational diversity and adversarial viewpoints in what then becomes a necessarily consonant virtual environment, while Ging and Garvey (2017) show that Instagram’s cross-tagging facility actually opened a pro-ana community to other related hashtags, which might lead to “hashtag dilution” rather than to echo chamber effects. Against the backdrop of the present study, this theorizing would be particularly worrisome if Instagram hashtag filtering unites individuals with a shared interest in NSSI. The potentially reinforcing effects within virtual NSSI communities should not be underestimated given the behavioral consequences of the Werther effect (Niederkrotenthaler et al., 2012; Phillips, 1974; Stack, 2009), but they could just as easily be employed to provide help (see, e.g., Scherr & Reinemann, 2016). Despite being predominantly “weak-tie” support, offers to direct messaging and chats are common on Instagram and might as well be used to reinforce positive attitudinal or behavioral changes to ultimately encourage help seeking, thus being supportive overall of coping with NSSI (see also Jacob, Evans, & Scourfield, 2017). Moreover, it seems worthwhile to further explore to what extent image sharing can be regarded as an expression of gendered distress on Instagram, given the overlap of NSSI-related posts with posts related to eating disorders (Ging & Garvey, 2017) or so-called pain memes (Dobson, 2015).
An automated image-recognition algorithm could not only be used to systematically explore existing hashtags but also to assess trending ones for their potential harmfulness. An ad hoc implementation could, for example, be additionally used within web browsers or picture-based smartphone applications not only to protect vulnerable populations from purposeful exposure to potentially harmful content but also to prevent nonvulnerable users from accidentally accessing unwanted and potentially harmful NSSI content.
The practical implications of the findings presented here are manifold: We make the algorithm available to the interested readers of this article, and we cordially invite other researchers and developers devoted to NSSI and suicide prevention to use, implement, and further develop it. If integrated into Instagram, the algorithm could be used to improve the existing policy for content warnings, which is primarily tied to problematic hashtag requests. Our study thereby advances the area of content protection through awareness messages and moves that content protection from a hashtag-focused function (now) to actual posted-content-focused functioning. This progress is not only relevant to the protection of users from exposure to NSSI-related content but also enhances the overall user experience on the platform. For example, we mentioned #cat in the introduction. There is anecdotal evidence that users post cutting-related content under the hashtag #cat because cats can cause cut-like wounds. Entering this “borrowed” hashtag may lead to children who want to see cute cats being confronted with disturbing cutting pictures. This possibility cannot be adequately addressed with hashtag-focused content warnings. Only a content warning following our posted-content-focused approach can help prevent this situation.
The implementation of our image-recognition algorithm into the display rules of existing content warnings for potentially harmful content would allow the individual filtering of content on Instagram before it is displayed to users (depending on their age, preferences, or past problematic use patterns). Hence, this algorithm could contribute to a more supportive online environment on a very popular picture-based social networking platform.
Limitations
The application presented in this study focused on images of cutting on Instagram. The algorithm needs to be trained further using a larger and representative data sample that covers all possible specific patterns on pictures that reflect, for example, different common schemes in NSSI postings. For instance, Brown et al. (2018) reported that users posted NSSI pictures that showed whole words cut into those users’ extremities, and Arendt (2019) discussed preliminary observations of fast cutting techniques in audiovisual material. In general, the algorithm presented here can handle complex elements and video material in addition to images. However, this process requires further training and the conversion of video material into stills that are then algorithmically analyzed. Furthermore, algorithm training using specific subsets of NSSI content on Instagram is needed, as are alternative decoding and conversion programming techniques. However, the present study’s first benchmark for automatically identifying NSSI on Instagram could and should be further improved. Readers should also bear in mind that the current data collection procedure was conducted in reverse chronological order over the 48-hr data collection period. Thus, the built-in Instagram algorithm for detecting and autodeleting harmful content may have already eliminated some of the NSSI content. Moreover, it is possible that the NSSI-related content was spiking at the time of the data collection. Instagram hashtags tend to have a specific life cycle (see Ging & Garvey, 2017) where they become more (“going viral”) and then less popular (“becoming mainstream”), with new hashtags being used or adapted, which cannot be ruled out here. Nevertheless, there still seems to be enough room for improvement, given the current sample’s prevalence of NSSI in Instagram images.
Conclusion
Research has only begun to look closely at potentially dangerous NSSI-related Instagram hashtags that were heavily restricted via content accessibility and manual coding of the predominantly visual material. By combining web-scraping techniques to make large amounts of Instagram content automatically available and analyzing those contents using a newly developed automatic image-recognition algorithm, we aimed to give new impetus to this emerging line of research (e.g., Arendt, 2019; Brown et al., 2018). Further, developing the introduced algorithm is strongly suggested and supported through the authors making all the materials from this study available online.
Footnotes
Authors’ Note
We would like to thank Jian Yang for having inspired us to conduct this research. All data related to this study are available upon request from the authors. In this study, the software 4K Stogram (https://www.4kdownload.com/products/product-stogram), Selenium (Selenium Project, 2018; https://www.seleniumhq.org/), and BeautifulSoup (Richardson, 2018; https://www.4kdownload.com/products/product-stogram) were used to obtain images from Instagram. The image-recognition algorithm was developed using the Maconvnet framework (Vedaldi & Lenc, 2015;
). The AlexNet architecture was used as the neural network classifier for the image-recognition algorithm.
Declaration of Conflicting Interests
The author(s) declare no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
