Abstract
Altered states of consciousness, such as psychotic or pharmacologically-induced hallucinations, provide a unique opportunity to examine the mechanisms underlying conscious perception. However, the phenomenological properties of these states are difficult to isolate experimentally from other, more general physiological and cognitive effects of psychoactive substances or psychopathological conditions. Thus, simulating phenomenological aspects of altered states in the absence of these other more general effects provides an important experimental tool for consciousness science and psychiatry. Here we describe such a tool, which we call the Hallucination Machine. It comprises a novel combination of two powerful technologies: deep convolutional neural networks (DCNNs) and panoramic videos of natural scenes, viewed immersively through a head-mounted display (panoramic VR). By doing this, we are able to simulate visual hallucinatory experiences in a biologically plausible and ecologically valid way. Two experiments illustrate potential applications of the Hallucination Machine. First, we show that the system induces visual phenomenology qualitatively similar to classical psychedelics. In a second experiment, we find that simulated hallucinations do not evoke the temporal distortion commonly associated with altered states. Overall, the Hallucination Machine offers a valuable new technique for simulating altered phenomenology without directly altering the underlying neurophysiology.
Introduction
There is a long history of studying altered states of consciousness (ASC) in order to better understand phenomenological properties of conscious perception1,2. Altered states are defined as a qualitative alteration in the overall pattern of mental functioning, such that the experiencer feels their consciousness is radically different from “normal”1–3, and are typically considered distinct from common global alterations of consciousness such as dreaming. ASC are not defined by any particular content of consciousness, but cover a wide range of qualitative properties including temporal distortion, disruptions of the self, ego-dissolution, visual distortions and hallucinations, among others4–7. Causes of ASC include psychedelic drugs (e.g., LSD, psilocybin) as well as pathological or psychiatric conditions such as epilepsy or psychosis8–10. In recent years, there has been a resurgence in research investigating altered states induced by psychedelic drugs. These studies attempt to understand the neural underpinnings that cause altered conscious experience11–13 as well as investigating the potential psychotherapeutic applications of these drugs4,12,14. However, psychedelic compounds have many systemic physiological effects, not all of which are likely relevant to the generation of altered perceptual phenomenology. It is difficult, using pharmacological manipulations alone, to distinguish the primary causes of altered phenomenology from the secondary effects of other more general aspects of neurophysiology and basic sensory processing. Understanding the specific nature of altered phenomenology in the psychedelic state therefore stands as an important experimental challenge.
Here, we address this challenge by combining virtual reality and machine learning to isolate and simulate one specific aspect of psychedelic phenomenology: visual hallucinations. In machine learning, deep neural networks (DNNs) developed for machine vision have now improved to a level comparable to that achieved by humans15,16. For example, deep convolutional neural networks (DCNNs) have been particularly successful in the difficult task of object recognition in photographs of natural scenes17,18.
Studies comparing the internal representational structure of trained DCNNs with primate and human brains performing similar object recognition tasks, have revealed surprising similarities in the representational spaces between these two distinct systems19–21. For example, the neural responses induced by a visual stimulus in the human inferior temporal (IT) cortex, widely implicated in object recognition, have been shown to be similar to the activity pattern of higher (deeper) layers of the DCNN22,23. Features selectively detected by lower layers of the same DCNN bear striking similarities to the low-level features processed by the early visual cortices such as V1 and V4. These findings demonstrate that even though DCNNs were not explicitly designed to model the visual system, after training for challenging object recognition tasks they show marked similarities to the functional and hierarchical structure of human visual cortices.
Trained DCNNs are highly complex, with many parameters and nodes, such that their analysis requires innovative visualisation methods. Recently, a novel visualisation algorithm called Deep Dream was developed for this purpose24,25. Deep Dream works by clamping the activity of nodes at a user-defined layer in the DCNN and then inverting the information flow, so that an input image is changed until the network settles into a stable state (some additional constraints are needed, e.g. ensuring that neighbouring pixels remain strongly correlated). Intuitively, this means changing the image rather than changing the network in order to match the features of the image with what is represented in the target layer – so that the resulting image is shaped by what the network ‘expects’ to see, at the level of detail determined by the clamped layer. More precisely, the algorithm modifies natural images to reflect the categorical features learnt by the network24,25, with the nature of the modification depending on which layer of the network is clamped (see Fig. 1). What is striking about this process is that the resulting images often have a marked ‘hallucinatory’ quality, bearing intuitive similarities to a wide range of psychedelic visual hallucinations reported in the literature14,26,27 (see Fig. 1).
We set out to simulate the visual hallucinatory aspects of the psychedelic state using Deep Dream to produce biologically realistic visual hallucinations. To enhance the immersive experiential qualities of these hallucinations, we utilised virtual reality (VR). While previous studies have used computer-generated imagery (CGI) in VR that demonstrate some qualitative similarity to visual hallucinations28,29, we aimed to generate highly naturalistic and dynamic simulated hallucinations. To do so, we presented 360-degree (panoramic) videos of pre-recorded natural scenes within a head-mounted display (HMD), which had been modified using the Deep Dream algorithm. The presentation of panoramic video using a HMD equipped with head-tracking (panoramic VR) allows the individual’s actions (specifically, head movements) to change the viewpoint in the video in a naturalistic manner. This congruency between visual and bodily motion allows participants to experience naturalistic simulated hallucinations in a fully immersive way, which would be impossible to achieve using a standard computer display or conventional CGI VR. We call this combination of techniques the Hallucination Machine.
To investigate the extent to which the Hallucination Machine is able to simulate natural visual hallucinations, we conducted two proof-of-concept experiments. The first experiment investigated the ecological validity of experiences produced by the Hallucination Machine. We compared the simulated experiences produced by the Hallucination Machine to unaltered control videos (see Fig. 1) and to those of pharmacological psychedelic states by having participants rate their subjective experience using an ASC questionnaire developed to assess psychedelic experiences30,31. In a second experiment, we investigated if the experience of the Hallucination Machine would also lead to a commonly reported aspect of altered states of consciousness - temporal distortion5,6
Results
We constructed the Hallucination Machine by applying a modified version of the Deep Dream algorithm25 to each frame of a pre-recorded panoramic video (Fig. 1, see also Supplemental Video S1) presented using a HMD. Participants could freely explore the virtual environment by moving their head, experiencing highly immersive dynamic hallucination-like visual scenes.
Experiment 1: Subjective experience during simulated hallucination
In Experiment 1, we compared subjective experiences evoked by the Hallucination Machine with those elicited by both control videos (within subjects) and by pharmacologically induced psychedelic states31 (across studies). Twelve participants took part in Experiment 1. The results are shown in Fig. 2. Visual inspection of the spider chart reveals that, across all dimensions of subjective experience probed by the questionnaire, the experiences elicited by the Hallucination Machine are qualitatively distinct from the control videos (Fig. 2a), but qualitatively similar to psilocybin experiences (Fig. 2b).
To quantify these observations, we first conducted Bayesian within-subject t-tests comparing responses to the ASC questionnaire following Hallucination Machine, and following control videos, on the null hypothesis of ‘no difference’. The analysis revealed evidence supporting the alternative hypothesis, suggesting that for the following dimensions there was a significant difference in subjective ratings between video type: ‘intensity’, ‘patterns’, ‘imagery’, ‘ego’, ‘arousal’, ‘strange’, ‘vivid’, ‘space’, ‘muddle’, ‘spirit’ (for statistics see Table 1). Bonferroni corrected, within-subject t-tests were consistent with the Bayesian results, with the exception of the ‘ego’, ‘muddle’, and ‘spirit’ dimensions as shown by the p-values in Table 1.
Table 1.
Questions | Hallucination Machine vs control videos | Hallucination Machine vs psilocybin | ||||||
---|---|---|---|---|---|---|---|---|
BF10 (Bayesian t-test) | t(11) | p-value (Bonferroni corrected) | Effect Size (Cohen’s d) | BF10 (Bayesian t-test) | t(25) | p-value (Bonferroni corrected) | Effect Size (Cohen’s d) | |
intensity | 28.09† | 4.185 | 0.034* | 1.208 | 3.404† | −2.55 | 0.306 | −1.004 |
patterns | 389022† | 13.7 | 0.017* | 3.955 | 2.545 | 2.364 | 0.442 | 0.916 |
imagery | 18187† | 9.803 | 0.017* | 2.83 | — | — | — | — |
mood | 0.866 | 1.685 | 2.04 | 0.486 | — | — | — | — |
ego | 3.162† | 2.669 | 0.374 | 0.77 | 0.69 | 1.335 | 3.298 | 0.517 |
arousal | 37.58† | 4.391 | 0.017* | 1.268 | — | — | — | — |
strange | 1721† | 7.44 | 0.017* | 2.148 | 2.993 | 2.467 | 0.357 | 0.955 |
vivid | 122.1† | 5.254 | 0.017* | 1.1517 | 0.437 | 0.723 | 8.109 | 0.28 |
time | 0.39 | 0.849 | 7.038 | 0.245 | 0.461 | −0.82 | 7.157 | −0.317 |
space | 1057† | 7.005 | 0.017* | 2.022 | 0.442 | 0.747 | 7.854 | 0.289 |
muddle | 6.613† | 3.183 | 0.153 | 0.919 | 0.385 | 0.428 | 11.424 | 0.166 |
merge | 0.494 | −1.146 | 4.692 | −0.331 | 0.378 | 0.364 | 12.223 | 0.141 |
control | 1.697 | 2.218 | 16.116 | 0.64 | 1.617 | 2.056 | 0.85 | 0.796 |
spirit | 3.375† | 2.715 | 0.34 | 0.784 | 1.83 | 2.144 | 0.714 | 0.83 |
peace | 1.547 | 2.149 | 0.935 | 0.62 | 0.429 | 0.688 | 8.466 | 0.267 |
float | 0.44 | 1.008 | 5.695 | 0.291 | 0.945 | −1.63 | 1.955 | −0.633 |
past | 0.488 | −1.133 | 4.794 | −0.327 | 0.363 | −0.17 | 14.705 | −0.067 |
Dagger symbols and bold text indicates Bayes Factor values which show evidence in favour of a difference between ASCQ responses (†BF10 > 3). Asterisks after p-value indicates the significant differences in standard t-test (*p < 0.05). See Fig. 2c for Abbreviations and questions used in ASCQ.
Independent Bayesian t-tests comparing responses to the ASC questionnaire following the Hallucination Machine, or following administration of psilocybin (data from a previous study31), also revealed evidence supporting the alternative hypothesis for the following dimension ‘intensity’, with weaker evidence for ‘pattern’ and ‘strange’, suggesting that there are some qualitative differences between Hallucination Machine and psilocybin experiences (see Table 1 for statistics). Crucially, for the remaining questions, Bayesian analyses were not sensitive to whether the null or alternative hypothesis was supported, but were trending in the direction of the null, i.e. no difference between subjective experiences between the Hallucination Machine and psilocybin: ‘vivid’ ‘time’, ‘space’, ‘muddle’, ‘peace’, and ‘past’. Standard paired t-test Bonferroni corrected for multiple comparisons between ASC responses following the Hallucination Machine and psilocybin did not reach significance for any of the question.
Together these analyses suggest that for many dimensions of subjective experience – as reflected in the ASC questionnaire - the Hallucination Machine induced significant changes as compared to viewing unaltered control videos, and that these changes were broadly similar to those caused by the administration of psilocybin.
Experiment 2: Temporal distortion during simulated hallucination
Experiment 1 showed that subjective experiences induced by the Hallucination Machine displayed many similarities to characteristics of the psychedelic state. Based on this finding we next used the Hallucination Machine to investigate another commonly reported aspect of ASC – temporal distortions5,6, by asking twenty-two participants to complete a temporal production task during presentation of Hallucination Machine, or during control videos.
One participant was excluded from the analysis due to producing intervals in the experimental session that were temporally inverted compared to the target durations. A two-way Bayesian repeated measures ANOVA consisting of factors target interval [1 s, 2 s, 4 s] and video type (control/Hallucination Machine) showed the strongest evidence for an effect of target interval only (BF10 = 1.178 × 1032, 1 s (M = 1.75 s SE = 0.09 s), 2 s (M = 2.41 s SE = 0.11 s) and 4 s (M = 4.38 s SE = 0.16 s)). A model including only video type showed evidence in favour of the null hypothesis (BF10 = 0.194), indicating that video type did not affect interval production (Fig. 3). An additional two-factorial repeated measures ANOVA revealed a significant main effect of target interval (F(20,2) = 267.362, p < 0.01, η2 = 0.930) without the interaction (F(20, 2) = 0.935, p < 0.401, η2 = 0.045). However, the main effect of video type did not reach significance (F(20,1) = 0.476, p = 0.498, η2 = 0.023).
Post-hoc standard and Bayesian t-tests were applied to the participant’s subjective ratings for the six questions about their experiences during each video (see Fig. 4). These revealed some differences in the Hallucination Machine compared to control video. Participants’ ratings of ‘presence’, “How much did you feel as if you were ‘really there’, BF10 = 26.960, t(20) = 3.705, p = 0.007, Cohen’s d = 0.808; and ‘attention’, “How focused were you on the time production task”, BF10 = 4.830, t(20) = 2.822, p = 0.077, Cohen’s d = 0.616 were reduced during the Hallucination Machine. Responses regarding Duration (BF10 = 0.278) and Speed (BF10 = 0.281) both revealed evidence for no difference between Hallucination Machine and control video. Other comparisons failed to reach an evidentiary threshold in both Bayesian and normal t-tests.
Discussion
We have described the implementation of the Hallucination Machine, which provides a novel method for investigating (visual) hallucinogenic phenomenology. It combines two technologies: Panoramic video of natural scenes presented using VR, allowing the video to be experienced in a fully immersive environment, and an application of deep convolutional neural networks (DCNNs), Deep Dream, which when suitably adapted can transform panoramic video to mimic hallucinatory phenomenology in a biologically plausible manner. The Hallucination Machine enables systematic and parameterizable manipulation of distinct aspects of altered states of consciousness (ASCs), specifically visual hallucinations, without involving the widespread systemic effects caused by pharmacological manipulations.
In two experiments we evaluated the effectiveness of this system. Experiment 1 compared subjective experiences evoked by the Hallucination Machine with those elicited by both (unaltered) control videos (within subjects) and by pharmacologically induced psychedelic states (across studies). Comparisons between control and Hallucination Machine with natural scenes revealed significant differences in perceptual and imagination dimensions (‘patterns’, ‘imagery’, ‘strange’, ‘vivid’, and ‘space’) as well as the overall intensity and emotional arousal of the experience. Notably, these specific dimensions were also reported as being increased after pharmacological administration of psilocybin31. Experiment 1 therefore showed that hallucination-like panoramic video presented within an immersive VR environment gave rise to subjective experiences that displayed marked similarities across multiple dimensions to actual psychedelic states31. Although we were not able to directly compare the Hallucination Machine experiences to pharmacologically induced psychedelic experiences in the same subjects, the pattern of findings in Experiment 1 support the conclusion that the Hallucination Machine successfully simulates many aspects of ASC induced by psychedelic drugs.
Experiment 2 tested whether participants’ perceptual and subjective ratings of the passage of time were influenced during simulated hallucinations, this was motivated by subjective reports of temporal distortion during ASC5,6. In contrast to these earlier findings, neither objective measures (using a temporal production task) nor subjective ratings (retrospective judgements of duration and speed, Q1 and Q2 in Fig. 4) showed significant differences between the simulated hallucination and control conditions. This suggests that experiencing hallucination-like phenomenology is not sufficient to induce temporal distortions, raising the possibility that temporal distortions reported in pharmacologically induced ASC may depend on more general systemic effects of psychedelic compounds.
A crucial feature of the Hallucination Machine is that the Deep Dream algorithm used to modify the input video is highly parameterizable. Even using a single DCNN trained for a specific categorical image classification task, it is possible with Deep Dream to control the level of abstraction, strength, and category type of the resulting hallucinatory patterns. In the current study, we chose a relatively higher layer and arbitrary category types (i.e. a category which appeared most similar to the input image was automatically chosen) in order to maximize the chances of creating dramatic, vivid, and complex simulated hallucinations. Future extensions could ‘close the loop’ by allowing participants (perhaps those with experience of psychedelic or psychopathological hallucinations) to adjust the Hallucination Machine parameters in order to more closely match their previous experiences. This approach would substantially extend phenomenological analysis based on verbal report, and may potentially allow individual ASCs to be related in a highly specific manner to altered neuronal computations in perceptual hierarchies.
Another key feature of the Hallucination Machine is the use of highly immersive panoramic video of natural scenes presented in virtual reality (VR). Conventional CGI-based VR applications have been developed for analysis or simulation of atypical conscious states including psychosis, sensory hypersensitivity, and visual hallucinations28,29,33–35. However, these previous applications all use of CGI imagery, which while sometimes impressively realistic, is always noticeably distinct from real-world visual input and is therefore suboptimal for investigations of altered visual phenomenology. Our setup, by contrast, utilises panoramic recording of real world environments thereby providing a more immersive naturalistic visual experience enabling a much closer approximation to altered states of visual phenomenology. In the present study, these advantages outweigh the drawbacks of current VR systems that utilise real world environments, notably the inability to freely move around or interact with the environment (except via head-movements).
Besides having potential for non-pharmacological simulation of hallucinogenic phenomenology, the Hallucination Machine may shed new light on the neural mechanisms underlying physiologically-induced hallucinogenic states. This potential rests on the close functional mappings between the architecture of DCNNs like those used here and the functional architecture of the primate visual system36, as well as the equivalences between the ‘top-down’ functional flow (back propagation in Deep Dream) of the Deep Dream algorithm and the role of top-down signalling in Bayesian or ‘predictive processing’ theories of perception37.
A defining feature of the Deep Dream algorithm is the use of backpropagation to alter the input image in order to minimize categorization errors. This process bears intuitive similarities to the influence of perceptual predictions within predictive processing accounts of perception. In predictive processing theories of visual perception, perceptual content is determined by the reciprocal exchange of (top-down) perceptual predictions and (bottom-up) perceptual predictions errors. The minimisation of perceptual prediction error, across multiple hierarchical layers, approximates a process of Bayesian inference such that perceptual content corresponds to the brain’s “best guess” of the causes of its sensory input. In this framework, hallucinations can be viewed as resulting from imbalances between top-down perceptual predictions (prior expectations or ‘beliefs’) and bottom-up sensory signals. Specifically, excessively strong relative weighting of perceptual priors (perhaps through a pathological reduction of sensory input, see (Abbott, Connor, Artes, & Abadi, 2007; Yacoub & Ferrucci, 2011)) may overwhelm sensory (prediction error) signals leading to hallucinatory perceptions38–43.
Close functional and more informal structural correspondences between DCNNs and the primate visual system have been previously noted20,36. Broadly, the responses of ‘shallow’ layers of a DCNN correspond to the activity of early stages of visual processing, while the responses of ‘deep’ layers of DCNN correspond to the activity of later stages of visual processing. These findings support the idea that feedforward processing through a DCNN recapitulates at least part of the processing relevant to the formation of visual percepts in human brains. Critically, although the DCNN architecture (at least as used in this study) is purely feedforward, the application of the Deep Dream algorithm approximates, at least informally, some aspects of the top-down signalling that is central to predictive processing accounts of perception. Specifically, instead of updating network weights via backpropagation to reduce classification error (as in DCNN training), Deep Dream alters the input image (again via backpropagation) while clamping the activity of a pre-selected DCNN layer. The network itself is not altered in this process. Therefore, the result of the Deep Dream process can be intuitively understood as the imposition of a strong perceptual prior on incoming sensory data, establishing a functional (though not computational) parallel with the predictive processing account of perceptual hallucinations given above.
What determines the nature of this heterogeneity and shapes its expression in specific instances of hallucination? The content of the visual hallucinations in humans range from coloured shapes or patterns (simple visual hallucinations)7,44, to more well-defined recognizable forms such as faces, objects, and scenes (complex visual hallucinations)45,46. As already mentioned, the output images of Deep Dream are dramatically altered depending on which layer of the network is clamped during the image-alteration process. Fixing higher layers tends to produce output similar to more complex hallucinations (Fig. 5c, Higher Layer, see also Supplemental Video S1), while fixing lower layers tends create output images better resembling simpler geometric hallucinations (Fig. 5b, Lower layer, see also Supplemental Video S2 and S3). These observations, together with the functional and structural correspondences between DCNNs and the primate visual hierarchy, is consistent with the idea that the content of visual hallucinations in humans may be shaped by the specificity with which a particular drug (or pathology) influences activity at different levels of processing within the visual hierarchy. Some example scenarios are schematically illustrated in Fig. 5. In comparison to normal (veridical) perception (Fig. 5a), simple kaleidoscopic phenomenology - which is somewhat characteristic of psychedelic states7,44 - could be explained by increased influence of lower layers of the visual system during the interpretation of visual input, in the absence of contributions from higher categorical layers (Fig. 5b). Conversely, complex visual hallucinations could be explained by the over emphasis of predictions from higher layers of the visual system, with a reduced influence from lower-level input (Fig. 5c).
Conclusion
We have described a method for simulating altered visual phenomenology similar to visual hallucinations reported in the psychedelic state. Our Hallucination Machine combines panoramic video and audio presented within a head-mounted display, with a modified version of ‘Deep Dream’ algorithm, which is used to visualize the activity and selectivity of layers within DCNNs trained for complex visual classification tasks. In two experiments we found that the subjective experiences induced by the Hallucination Machine differed significantly from control (non-‘hallucinogenic’) videos, while bearing phenomenological similarities to the psychedelic state (following administration of psilocybin). The immersive nature of our paradigm, the close correspondence in representational levels between layers of DCNNs and the primate visual hierarchy along with the informal similarities between DCNNs and biological visual systems, together suggest that the Hallucination Machine is capable of simulating biologically plausible and ecologically valid visual hallucinations. In addition, the method carries promise for isolating the network basis of specific altered visual phenomenological states, such as the differences between simple and complex visual hallucinations. Overall, the Hallucination Machine provides a powerful new tool to complement the resurgence of research into altered states of consciousness.
Methods
Hallucination Machine
In brief, the Hallucination Machine was created by applying the Deep Dream algorithm to each frame of a pre-recorded panoramic video presented using a HMD (Fig. 1). Participants could freely explore the virtual environment by moving their head, experiencing highly immersive dynamic hallucination-like visual scenes.
Panoramic video and presentation
The video footage was recorded on the University of Sussex campus using a panoramic video camera (Point Grey, Ladybug 3). The frame rate of the video was 16 fps at a resolution of 4096 × 2048. All video footage was presented using a head mounted display (Oculus Rift, Development Kit 2) using in-house software developed using Unity3D.
DCNN specification and application of Deep Dream
The DCNN – a deeply layered feedforward neural network – used in this study had been pre-trained on a thousand categories of natural photographs used in the Large Scale Visual Recognition Challenge 2010 (ILSVRC2010)17,32. During this training procedure, features in all layers are learned via backpropagation (with various modifications) to associate a set of training images to distinct categories. Consequently, the trained network implements a mapping from the pixels of the input image to the categories, represented as activation of specific units of the top layer of the network. Given this network, to create the panoramic video we applied the Deep Dream algorithm frame-by-frame to the raw video footage.
The Deep Dream algorithm also uses error backpropagation, but instead of updating the weights between nodes in the DCNN, it fixes the weights between nodes across the entire network and then iteratively updates the input image itself to minimize categorization errors via gradient descent. Over multiple iterations this process alters the input image, whatever it might be (e.g., a human face), so that it encompasses features that the layer of the DCNN has been trained to select (e.g., a dog). When applied while fixing a relatively low level of the network, the result is an image emphasizing local geometric features of the input. When applied while fixing relatively high levels of the network, the result is an image that imposes object-like features on the input, resembling a complex hallucination. Examples of the output of Deep Dream used in Experiments 1 and 2 are shown in Fig. 1.
Although the original Deep Dream program was intended to process a single static image (Mordvintsev, Tyka, et al., 2015), others have developed implementations of this algorithm that process image sequences in order to make videos by blending the hallucinatory content of the previous frame with the current frame (Roelof, 2015; Samim, 2015). The principle here is to take a user defined proportion from 0–1 (blending ratio) of the previous frame’s hallucinatory patterns (0 = no information, 1 = all information) and integrate it into the current frame. In this way, each frame inherits some of the hallucinatory content of the previous frame, as opposed to Deep Dream starting from scratch for each frame. This frame-to-frame inheritance enables the hallucinatory patterns to remain relatively constant as the video unfolds. We extended one such implementation47 to optimise the hallucinogenic properties of the video. In our extension, the optical flow of each frame is calculated by comparing the difference in the movement of all pixels between the current and previous frame. The hallucinatory patterns from areas where the optical flow was detected is merged to the current (not-yet-hallucinatory) frame based on the weighting provided by the blending ratio. The Deep Dream algorithm is then applied to this merged frame. We also optimised the blending ratio between each pair of frames, setting different blending ratios in areas of the image with high (foreground, moving areas, blending ratio of 0.9) or low (background static areas, blending ratio of 0.1) optical flow. This was done to avoid saturation of areas of the image with low optical flows by the higher blending ratios used for areas with high optical flow. The details of our implementation of Deep Dream are provided in the supplemental material. Our software for creating the Deep Dream video can be found on GitHub48. The Deep Dream video used throughout the reported experiments was generated by selecting a higher DCNN layer, which responds selectively to higher-level categorical features (layers = ‘inception_4d/pool’, octaves = 3, octave scale = 1.8, iterations = 32, jitter = 32, zoom = 1, step size = 1.5, blending ratio for optical flow = 0.9, blending ratio for background = 0.1).
Experiment 1: Subjective experience during simulated hallucination
Participants
Twelve participants completed Experiment 1 (mean age = 21.1, SD = 2.23; 7 female). Participants provided informed consent before taking part and received £10 or course credits as compensation for their time. All methods were carried out in accordance with approved guidelines provided by the University of Sussex, Research Ethics Committee.
Experimental Design
Both experiments were performed in a dedicated VR lab. Participants were fitted with a head-mounted display before starting the experiment and exposed, in a counter-balanced manner, to either the Hallucination Machine or the original unaltered (control) video footage. Each video presentation lasted 3 minutes and was repeated twice, with a 180-degree direction flip of the initial orientation between the two presentations (presenting the part of the scene that would have been directly behind their viewpoint in the first presentation) to help ensure that participants experienced the majority of the panoramically-recorded scene. Participants were encouraged to freely investigate the scene in a naturalistic manner. While sitting on a stool they could explore the video footage with 3-degrees of freedom rotational movement. While the video footage is spherical, there is a bind spot of approximately 33-degrees located at the bottom of the sphere due to the field of view of the camera. After each video, participants were asked to rate their experiences for each question via an ASC questionnaire which used a visual analog scale for each question (see Fig. 2c for questions used). We used a modified version of an ASC questionnaire, which was previously developed to assess the subjective effects of intravenous psilocybin in fifteen healthy human participants31. All data referring to Psilocybin was taken from this study31.
Analysis
Bayesian paired t-tests were used to compare ASC questionnaire subjective ratings between the control condition and the Hallucination Machine, while Bayesian independent t-tests were used to compare Hallucination Machine with subjective ratings following psilocybin administration (data taken from the original study31). We quantified how close to the null (no difference between results), or to the alternative hypothesis (difference in results), each result was using JASP49 with a default Cauchy prior of 0.707 half-width at half-maximum50. A BF10 > 3.0 is interpreted as evidence for accepting the alternative hypothesis (i.e. there is a difference), whereas BF10 < 1/3 is interpreted as evidence for accepting the null hypothesis (i.e. there is no difference)51. Standard paired t-test Bonferroni corrected for multiple comparisons were also conducted.
Experiment 2: Temporal distortion during simulated hallucination
Participants
A new group of Twenty-two participants that did not participate in Experiment 1 completed Experiment 2 (M age = 23.9, SD = 6.71, 13 female). Participants provided informed consent before taking part and received £10 or course credits as compensation for their time. All methods were carried out in accordance with approved guidelines provided by the University of Sussex, Research Ethics Committee.
Experimental Design
The experiment began with a practice session of a standard temporal production task. In each of 20 trials, participants heard one of three tones, each of a different pitch (low: 220 Hz, middle: 440 Hz, and high: 1760Hz, each lasting 250 milliseconds). On each trial the pitch was randomly selected. Participants were asked to produce specific time intervals for each tone (1 second for low, 2 seconds for middle and 4 seconds for the high pitch tone)52,53. Participants were instructed to respond immediately after the tone had ceased by holding the left mouse button down for the target time interval for each specific tone (Fig. 6). After producing the interval, they were shown both their produced interval, and the target interval, as two dots on a one-dimensional scale, as well as a numeric representation (e.g. produced interval “2.4 seconds”, target interval “2.0 seconds”). The average numbers of tones per practice session was 6.12 (SD = 1.96) Low, 6.54 (SD = 1.61) Middle, and 6.33 (SD = 2.18) High. Participants had to repeat the practice session if the Pearson’s correlation between the target and produced intervals was less than 0.5.
Once the practice was finished, participants began the experimental session. This consisted of 12 blocks. In each block a panoramic video was shown; either the control video (6 blocks) or the Hallucination Machine (6 blocks), and similar to Experiment 1, participants were instructed to explore the scene freely in a naturalistic manner. The order of the videos was counter-balanced across participants. Each block lasted 3 minutes, leading to a total exposure of 18 minutes for each video type. While participants explored the immersive video, low, middle or high pitch tones were presented in a random order (the average numbers of tones per block were 6.17 (SD = 2.02) Low, 6.16 (SD = 2.00) Middle, 6.21 (SD = 1.94) High for Hallucination Machine, and 6.62 (SD = 2.44) Low, 6.63 (SD = 2.42) Middle, and 6.61 (SD = 2.55) High for the control video). Immediately after hearing the tone, participants had to produce the interval relating to the tone (one second, two seconds, or four seconds) (Fig. 6). Following the participant’s response there was a random inter-trial interval of between 2 and 4 seconds (uniformly distributed). After each block, participants answered six questions about their experiences during the video (Fig. 4). The questions were presented inside the head mounted display and participants responded to the questions using a mouse to indicate a value on a visual analog scale.
Analysis
A Bayesian two-factorial repeated measures ANOVA consisting of the factors interval production [1 s, 2 s, 4 s] and video type (control/Hallucination Machine) was used to investigate the effect of video type on interval production. A standard two-factorial repeated measures ANOVA using the same factors as above was also conducted.
A two-factorial repeated measures ANOVA consisting of the factors interval production [1 s, 2 s, 4 s] and video type (control/Hallucination Machine) was used to investigate the effect of video type on interval production. Similar to Experiment 1, for cases in which standard statistics did not reveal a significant difference, we quantified how close to the null (no difference between results) or alternative hypothesis (difference in results) each result was by an additional two-way Bayesian ANOVA using the same factors as above. In a similar fashion, for cases in which standard t-tests did not reveal significant differences in subjective ratings between video type we used additional Bayesian t-tests.
Data Availability
Video materials used in the study are available in the supplemental material. The datasets generated in Experiment 1 and 2 are available from the corresponding author upon request.
Electronic supplementary material
Acknowledgements
K.S., D.J.S. and A.K.S. are grateful to the Dr. Mortimer and Theresa Sackler Foundation, which supports the Sackler Centre for Consciousness Science. W.R. is supported by EU FET Proactive grant TIMESTORM: Mind and Time: Investigation of the Temporal Traits of Human-Machine Convergence. We would also like to thank Ed Venables for his help with data collection and Benjamin Ador for assistance creating the radar plot.
Author Contributions
K.S., W.R., D.S., A.K.S., conceived and designed the study. K.S. created the materials and developed the Hallucination Machine system. K.S. W.R. and D.S. designed and carried out the analyses and statistical testing. K.S., D.S. and A.K.S. designed Experiment 1 and recorded the data. K.S., W.R. and A.K.S. designed Experiment 2 and recorded the data. K.S., W.R., D.S., A.K.S. wrote the manuscript together.
Competing Interests
The authors declare that they have no competing interests.
Footnotes
Electronic supplementary material
Supplementary information accompanies this paper at 10.1038/s41598-017-16316-2.
Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Oxman TE, Rosenberg SD, Schnurr PP, Tucker GJ, Gala G. The language of altered states. J. Nerv. Ment. Dis. 1988;176:401–8. doi: 10.1097/00005053-198807000-00002. [DOI] [PubMed] [Google Scholar]
- 2.Tart CT. Scientific Foundanons for The Study of Altered States of Consciousness. Sci. Found. study altered states Conscious. 1972;3:93–124. [Google Scholar]
- 3.Bayne, T. & Hohwy, J. Modes of Consciousness. Conscious. after Sev. Brain Damage Medical, Leg. Ethical, Philos. Perspect. 1–29 (2007).
- 4.Carhart-Harris RL, et al. Psilocybin with psychological support for treatment-resistant depression: an open-label feasibility study. The Lancet Psychiatry. 2016;3:619–627. doi: 10.1016/S2215-0366(16)30065-7. [DOI] [PubMed] [Google Scholar]
- 5.Aronson H, Silverstein AB, Klee GD. Influence of Lysergic Acid Diethylamide (LSD-25) on Subjective Time. Arch. Gen. Psychiatry. 1959;1:469. doi: 10.1001/archpsyc.1959.03590050037003. [DOI] [PubMed] [Google Scholar]
- 6.Boardman WK, Goldstone S, Lhamon WT. Effects of lysergic acid diethylamide (LSD) on the time sense of normals; a preliminary report. AMA. Arch. Neurol. Psychiatry. 1957;78:321–4. doi: 10.1001/archneurpsyc.1957.02330390103013. [DOI] [PubMed] [Google Scholar]
- 7.Cowan, J. D. In The Neuroscience of Visual Hallucinations (eds Collerton, D., Mosimann, U. P. & Perry, E.) 219–254 (John Wiley & Sons, Ltd, 2015).
- 8.Waters F, et al. Visual Hallucinations in the Psychosis Spectrum and Comparative Information From Neurodegenerative Disorders and Eye Disease. Schizophr. Bull. 2014;40:S233–S245. doi: 10.1093/schbul/sbu036. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Revonsuo A, Kallio S, Sikka P. What is an altered state of consciousness? Philos. Psychol. 2009;22:187–204. doi: 10.1080/09515080902802850. [DOI] [Google Scholar]
- 10.Cavanna AE, Bagshaw AP, McCorry D. The Neural Correlates of Altered Consciousness During Epileptic Seizures. Discov. Med. 2009;8:31–36. [PubMed] [Google Scholar]
- 11.Gallimore AR. Restructuring consciousness -the psychedelic state in light of integrated information theory. Front. Hum. Neurosci. 2015;9:346. doi: 10.3389/fnhum.2015.00346. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Carhart-Harris RL, et al. The entropic brain: a theory of conscious states informed by neuroimaging research with psychedelic drugs. Front. Hum. Neurosci. 2014;8:20. doi: 10.3389/fnhum.2014.00020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Carhart-Harris RL, et al. Neural correlates of the psychedelic state as determined by fMRI studies with psilocybin. Proc. Natl. Acad. Sci. USA. 2012;109:2138–43. doi: 10.1073/pnas.1119598109. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.McKenna DJ. Clinical investigations of the therapeutic potential of ayahuasca: rationale and regulatory challenges. Pharmacol. Ther. 2004;102:111–129. doi: 10.1016/j.pharmthera.2004.03.002. [DOI] [PubMed] [Google Scholar]
- 15.LeCun Y, Bengio Y, Hinton G. Deep learning. Nat. Rev. 2015;521:436–444. doi: 10.1038/nature14539. [DOI] [PubMed] [Google Scholar]
- 16.Schmidhuber J. Deep learning in neural networks: An overview. Neural Networks. 2015;61:85–117. doi: 10.1016/j.neunet.2014.09.003. [DOI] [PubMed] [Google Scholar]
- 17.Krizhevsky, A., Sulskever, I. & Hinton, G. E. ImageNet Classification with Deep ConvolutionalNeural Networks. Adv. Neural Inf. Process. Syst. 1–9 (2012).
- 18.Szegedy, C. et al. Going Deeper with Convolutions. in Computer Vision and Pattern Recognition (CVPR) (2015).
- 19.Kriegeskorte N. Deep Neural Networks: A New Framework for Modeling Biological Vision and Brain Information Processing. Annu. Rev. Vis. Sci. 2015;1:417–446. doi: 10.1146/annurev-vision-082114-035447. [DOI] [PubMed] [Google Scholar]
- 20.Yamins, D. L. K. & Dicarlo, J. J. Using goal-driven deep learning models to understand sensory cortex. Nat. Neurosci. 19 (2016). [DOI] [PubMed]
- 21.Horikawa T, Kamitani Y. Generic decoding of seen and imagined objects using hierarchical visual features. Nat. Commun. 2017;8:15037. doi: 10.1038/ncomms15037. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Cadieu, C. F. et al. Deep Neural Networks Rival the Representation of Primate IT Cortex for Core Visual Object Recognition. PLoS Comput. Biol. 10 (2014). [DOI] [PMC free article] [PubMed]
- 23.Khaligh-Razavi, S. M. & Kriegeskorte, N. Deep Supervised, but Not Unsupervised, Models May Explain IT Cortical Representation. PLoS Comput. Biol. 10 (2014). [DOI] [PMC free article] [PubMed]
- 24.Mordvintsev, A., Olah, C. & Tyka, M. Inceptionism: Going Deeper into Neural Networks. Google Research Blog Available at: http://googleresearch.blogspot.co.uk/2015/06/inceptionism-going-deeper-into-neural.html (2015).
- 25.Mordvintsev, A., Tyka, M. & Olah, C. Deepdream (google/deepdream). GitHub repository Available at: https://github.com/google/deepdream (2015).
- 26.Shanon, B. Ayahuasca Visualizations A Structural Typology. J. Conscious. Stud. 3–30 (2002).
- 27.Siegel, R. K. & Jarvik, M. E. In Hallucinations: behavior, experience and theory (eds Siegel, R. K. & West, L. J.) 81–161 (Wiley, 1975).
- 28.Banks J, et al. Constructing the hallucinations of psychosis in Virtual Reality. J. Netw. Comput. Appl. 2004;27:1–11. doi: 10.1016/S1084-8045(03)00031-6. [DOI] [Google Scholar]
- 29.Yellowlees PM, Cook JN. Education about hallucinations using an internet. Ovid Medlin. Psychiatry. 2006;30:534–539. doi: 10.1176/appi.ap.30.6.534. [DOI] [PubMed] [Google Scholar]
- 30.Dittrich A. The Standardized Psychometric Assessment of Altered States of Consciousness (ASCs) in Humans. Pharmacopsychiatry. 1998;31:80–84. doi: 10.1055/s-2007-979351. [DOI] [PubMed] [Google Scholar]
- 31.Muthukumaraswamy SD, et al. Broadband Cortical Desynchronization Underlies the Human Psychedelic State. J. Neurosci. 2013;33:15171–15183. doi: 10.1523/JNEUROSCI.2063-13.2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Russakovsky O, et al. ImageNet Large Scale Visual Recognition Challenge. Int. J. Comput. Vis. 2015;115:211–252. doi: 10.1007/s11263-015-0816-y. [DOI] [Google Scholar]
- 33.Banks, J. et al. A Virtual Environment to Simulate the Experience of Psychosis. In Proc. VIIth Digital Image Computing: Techniques and Applications (ed. Sun C., Talbot H., O. S. and A. T.) (2003).
- 34.Jingyuan, P. O., Zhao, J. & Tennyson, R. Technology Enhanced Learning for People with Disabilities: Approaches and Applications. (IGI Global, 2010).
- 35.Kay, T. Auti-Sim: A playable simulation of sensory hypersensitivity. YouTube Video Available at: https://www.youtube.com/watch?v=DwS-qm8hUxc (2013).
- 36.Kriegeskorte, N. Deep neural networks: a new framework for modelling biological vision and brain information processing. biorxiv, doi:10.1101/029876 (2015). [DOI] [PubMed]
- 37.Whittington, J. & Bogacz, R. Learning in cortical networks through error back-propagation. bioRxiv, 10.1101/035451, (Cold Spring Harbor Labs Journals, 2015).
- 38.Teufel C, et al. Shift toward prior knowledge confers a perceptual advantage in early psychosis and psychosis-prone healthy individuals. Proc. Natl. Acad. Sci. USA. 2015;112:13401–6. doi: 10.1073/pnas.1503916112. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Corlett PR, Frith CD, Fletcher PC. From drugs to deprivation: a Bayesian framework for understanding models of psychosis. Psychopharmacology (Berl). 2009;206:515–30. doi: 10.1007/s00213-009-1561-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.De Ridder D, Vanneste S, Freeman W. The Bayesian brain: Phantom percepts resolve sensory uncertainty. Neurosci. Biobehav. Rev. 2014;44:4–15. doi: 10.1016/j.neubiorev.2012.04.001. [DOI] [PubMed] [Google Scholar]
- 41.Friston KJ. Hallucinations and perceptual inference. Behav. Brain Sci. 2005;28:764–766. doi: 10.1017/S0140525X05290131. [DOI] [Google Scholar]
- 42.Reichert, D. P., Series, P. & Storkey, A. J. Hallucinations in Charles Bonnet Syndrome Induced by Homeostasis: a Deep Boltzmann Machine Model. Nips 2020–2028 (2010).
- 43.Reichert DP, Seriès P, Storkey AJ. Charles Bonnet syndrome: evidence for a generative model in the cortex? PLoS Comput. Biol. 2013;9:e1003134. doi: 10.1371/journal.pcbi.1003134. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Bressloff PC, Cowan JD, Golubitsky M, Thomas PJ, Wiener MC. Geometric visual hallucinations, Euclidean symmetry and the functional architecture of striate cortex. Philos. Trans. R. Soc. Lond. B. Biol. Sci. 2001;356:299–330. doi: 10.1098/rstb.2000.0769. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Collerton D, Perry E, McKeith I. Why people see things that are not there: a novel Perception and Attention Deficit model for recurrent complex visual hallucinations. Behav. Brain Sci. 2005;28:737-57–94. doi: 10.1017/S0140525X05000130. [DOI] [PubMed] [Google Scholar]
- 46.Manford M, Andermann F. Complex visual hallucinations. Clinical and neurobiological insights. Brain. 1998;121:1819–1840. doi: 10.1093/brain/121.10.1819. [DOI] [PubMed] [Google Scholar]
- 47.Samim. DeepDream Animator (samim23/DeepDreamAnim). GitHub repository Available at: https://github.com/samim23/DeepDreamAnim (2015).
- 48.Ksk-S. DeepDreamVideoOpticalFlow (ksk-S/DeepDreamVideoOpticalFlow). GitHub repository Available at: https://github.com/ksk-S/DeepDreamVideoOpticalFlow (2017).
- 49.JASP T. JASP (Version 0.8.0.0)[Computer software] (2016).
- 50.Rouder JN, Speckman PL, Sun D, Morey RD, Iverson G. Bayesian t tests for accepting and rejecting the null hypothesis. Psychon. Bull. Rev. 2009;16:225–237. doi: 10.3758/PBR.16.2.225. [DOI] [PubMed] [Google Scholar]
- 51.Wagenmakers E-J. A practical solution to the pervasive problems of p values. Psychon. Bull. Rev. 2007;14:779–804. doi: 10.3758/BF03194105. [DOI] [PubMed] [Google Scholar]
- 52.Field DT, Groeger JA. Temporal interval production and short-term memory. Percept. Psychophys. 2004;66:808–819. doi: 10.3758/BF03194975. [DOI] [PubMed] [Google Scholar]
- 53.Fortin C, Rousseau R, Bourque P, Kirouac E. Time estimation and concurrent nontemporal processing: Specific interference from short-term-memory demands. Percept. Psychophys. 1993;53:536–548. doi: 10.3758/BF03205202. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Video materials used in the study are available in the supplemental material. The datasets generated in Experiment 1 and 2 are available from the corresponding author upon request.