Abstract
While sleeping, many vertebrate groups alternate between at least two sleep stages: rapid eye movement and slow wave sleep1–4, in part characterized by wake-like and synchronous brain activity, respectively. Here we delineate neural and behavioural correlates of two stages of sleep in octopuses, marine invertebrates that evolutionarily diverged from vertebrates roughly 550 million years ago (ref. 5) and have independently evolved large brains and behavioural sophistication. ‘Quiet’ sleep in octopuses is rhythmically interrupted by approximately 60-s bouts of pronounced body movements and rapid changes in skin patterning and texture6. We show that these bouts are homeostatically regulated, rapidly reversible and come with increased arousal threshold, representing a distinct ‘active’ sleep stage. Computational analysis of active sleep skin patterning reveals diverse dynamics through a set of patterns conserved across octopuses and strongly resembling those seen while awake. High-density electrophysiological recordings from the central brain reveal that the local field potential (LFP) activity during active sleep resembles that of waking. LFP activity differs across brain regions, with the strongest activity during active sleep seen in the superior frontal and vertical lobes, anatomically connected regions associated with learning and memory function7–10. During quiet sleep, these regions are relatively silent but generate LFP oscillations resembling mammalian sleep spindles11,12 in frequency and duration. The range of similarities with vertebrates indicates that aspects of two-stage sleep in octopuses may represent convergent features of complex cognition.
Subject terms: Circadian rhythms and sleep, Motor control
Octopuses possess a distinct active sleep stage, with behavioural and neural correlates resembling vertebrate REM sleep, which may represent convergent features of complex cognition.
Main
Vertebrate rapid eye movements (REMs) and slow wave sleep are characterized by a core set of behavioural and electrophysiological correlates, and proposed cognitive functions13–15 while showing a rich diversity of species-specific features15. If the functions ascribed to two-stage sleep are truly general, then one may expect to find neural and behavioural correlates of two-stage sleep widely among animals showing complex cognitive abilities. Octopuses are among the largest brained invertebrates and demonstrate a range of sophisticated behaviours16, making them ideal for testing the generality of two-stage sleep. Sleeping cephalopods17 have been observed to undergo rhythmic bouts of body twitches and rapid changes in skin patterning6,18, mediated by neural control of large populations of skin pigment cells (chromatophores)19 among other specialized cell types20. In octopus, this has been termed ‘active sleep’ (AS) and is accompanied by an increased arousal threshold, one of several criteria of sleep15,21. Expanding on this previous work, we tested whether octopuses possess two stages of sleep behaviour. We then examined neural activity and skin pattern dynamics during sleeping and waking, by developing new methods for behavioural recording and quantification, light-sheet imaging and LFP recordings using Neuropixels probes in these soft bodied animals.
Behavioural signatures of sleep
During daylight, nocturnal octopuses (Octopus laqueus22) closed their eyes, adopting a flat resting posture and a uniformly white skin pattern, previously described hallmarks of octopus quiet sleep (QS)6,17. Roughly every 60 min, this behaviour was interrupted by roughly 1-minute periods of rapid transitions through a series of skin patterns (Fig. 1a,b and Supplementary Videos 1 and 2), accompanied by pronounced eye and body movements (Fig. 1c,d) and increased breathing rate and arhythmicity (Fig. 1e,f and Extended Data Fig. 1a–c). We quantified patterning behaviour using a convolutional neural network to segment nine animals from 1,743 h of video, tracking changes in the mean brightness of octopus skin (Fig. 1a,b and Extended Data Fig. 2a–c). During the QS separating active bouts, animals generated brief (7.1 ± 0.3 s, n = 1,163 events, six animals) and subtle flashes of colouration with a rate that decreased over the time interval between active bouts (Fig. 1g and Extended Data Fig. 2d–f).
The interval between active bouts was dependent on water temperature, with 1-°C increases resulting in roughly 5-minute decreases between bouts (Fig. 1h, linear model, R2 = 0.55, F-statistic versus constant model 291, P value of 2.33 × 10−43). The rate of active bouts was strongly modulated over 24 h, peaking during the 12 h of subjective daytime. In a typical 24-h period at 22 °C animals underwent 10 ± 3.5 active bouts of 75 ± 28 s in duration and 12 ± 3 QS bouts of 50.5 ± 16.43 min in duration (n = 3 animals, mean ± s.d.). This modulation persisted through prolonged periods of constant light or darkness (Fig. 1i,j), suggesting internal control23 (Rayleigh test, lights on P = 1.5 × 10−12, n = 322 bouts, lights off P = 3.0 × 10−13, n = 318 bouts). Bout length remained unchanged throughout these manipulations (Extended Data Fig. 2g).
Do active bouts constitute a distinct sleep stage? We first tested arousal levels by delivering mechanical stimulation to animal tanks using a solenoid, and recording animal movement with optical flow (Methods). Animals showed different reactions to mechanical stimulation during QS, active bouts or while awake. Strong and medium (86 and 40 dbV) stimulation produced roughly 1 s of reactionary movements above baseline, regardless of behavioural state, and often resulted in the cessation of pattern dynamics. Weak stimulation (6 dbV) produced movement while awake, but not during QS or active bouts, consistent with results in other cephalopod species (Fig. 2a and Extended Data Fig. 1d). Therefore, active bouts are rapidly reversible states of decreased arousal. Preventing sleep for 2 days (Methods) resulted in a notable increase in the rate of active bouts in the two nights following deprivation (Fig. 2b). Active bouts are therefore homeostatically regulated, meeting another evolutionarily conserved criterion of sleeping behaviour24. This regulation was sensitive: specific interruption of an active bout led to the next active bout occurring roughly 22 min sooner than in uninterrupted sleep (Fig. 2c,d and Methods). We therefore refer to two stages of sleep behaviour in octopus: AS and QS.
Neural activity during AS
To examine neural activity during octopus sleep, we developed techniques for performing electrophysiological recordings from the central brain (supra-oesophageal mass) of head-fixed octopuses using multi-site Neuropixels probes (n = 9 animals per probe insertion). To localize recordings we used tissue clearing and light-sheet imaging, computationally registering all experiments into a three-dimensional (3D) reference brain atlas that we constructed (Fig. 3a, Extended Data Figs. 3 and 4, Supplementary Video 3 and Methods). In our brain atlas, we manually segmented the central brain (supra-oesophogeal mass) into nine large brain regions, following detailed anatomical reports25,26.
Octopuses fell asleep during neural recordings, showing periods of QS interrupted by rhythmic AS bouts with duration and interval similar to those of AS in freely behaving animals (Extended Data Fig. 5). LFP recordings from the superior frontal lobe (sFL) and vertical lobe (VL), brain regions associated with learning and memory function7–10, showed levels of LFP activity that differed according to brain state (Fig. 3b). In both areas, AS was accompanied by large increases in LFP activity over that of QS, with waking activity being of intermediate strength. LFP frequency content differed across regions. The sFL generated activity over a wide frequency band, including prominent 30-Hz oscillations (Fig. 3c and Extended Data Fig. 6b–d). By contrast, the VL reliably produced a series of large (up to approximately 700 μV), low-frequency waveforms (Fig. 3d).
To systematically compare neural activity between AS and waking, we examined LFP strength across brain regions in a low-frequency (0.1–10 Hz) and a high-frequency (20–150 Hz) band (Fig. 2e–j and Methods). In general, there was a strong correlation between a brain region’s activity while awake and during AS (Pearson’s R = 0.74 and 0.95 for low and high frequency, respectively). Brain regions differed in the relative strength of low- versus high-frequency activity (Fig. 3i,j). The subfrontal lobe (Subfr) and buccal lobe (Buc) showed stronger low-frequency activity during waking than during AS. Other brain regions, in particular the sFL, were more active during AS than waking (Extended Data Fig. 6e,f).
Neural activity during QS
During QS, the octopus brain was relatively silent, with LFP activity lower than that of AS across frequencies and recorded brain areas (Fig. 3i,j and Extended Data Fig. 7a,b). We found two prominent sources of activity. The first was tied to the brief flashes of skin colouration seen during QS (Fig. 1g and Extended Data Fig. 2d–f). These behavioural events were accompanied by LFP activity resembling that of waking across brain regions (Pearson’s R = 0.94, 0.99 activity strength correlation for low frequency, high frequency; Extended Data Fig. 7c–e).
We found a second source of activity in the sFL. Here, a nearly silent LFP was punctuated by 12–18-Hz oscillatory events lasting up to 1 s (Fig. 4a–c and Methods). These events were most often not associated with any discernible behavioural change, with only 11% appearing within 10 s of QS colour flashes (2,066 out of 18,058 detected events, n = 3 animals). A heavy-tailed inter-event interval distribution suggested a non-rhythmic generation mechanism (Extended Data Fig. 7f). Searching throughout all recorded brain regions by looking for peaks in the filtered LFP (4–40 Hz, Methods), we found similar events selectively in anterior areas of the VL and subvertical lobe (Subv) (Fig. 4d,e and Extended Data Fig. 7g,h). This hints at functional interactions across parts of the sFL–VL complex during QS, consistent with the direct anatomical connectivity between these regions8,10.
AS skin patterning
AS skin patterns operate under direct neural control, thus providing a unique window into the contents of neural activity in the offline brain. To analyse the rapid skin pattern changes observable during AS (Fig. 1a and Supplementary Video 1), we recorded 8K video of 98 AS bouts from three octopuses, filming a top-down view. To extract a robust and expressive quantitative description valid across animals, we used a neural network (Mask R-CNN27) to segment the octopus mantle in every frame and used a pretrained VGG-19 neural network to quantify skin patterns as 512-dimensional vectors28 (Methods). Parallel analysis showed the space of AS skin patterns estimated from our data to be roughly 60-dimensional (59.6 ± 0.3), with patterns of different octopuses largely overlapping (silhouette score 0.0497 ± 1.8 × 10−4, Extended Data Fig. 8a,c and Methods). Stochasticity in the location of new chromatophore insertion into the skin29,30 means that at microscopic scales no two octopuses, or even the same octopus on different days, show the same pattern. Here we focus on macroscopic pattern appearance.
We next analysed the trajectories of AS patterns traversing skin pattern space. Between starting and ending with a uniform white skin pattern, AS trajectories traced out diverse and complex paths (Fig. 5a). At a given elapsed time of AS, any two trajectories were on average roughly six times further away from each other (inter-trajectory distance) than they were to the next point in time along a single AS trajectory (intra-trajectory distance, Fig. 5b). Pairs of AS trajectories remained distant even after using dynamic time warping (Extended Data Fig. 8b). AS bouts therefore do not sequence through the same set of skin patterns at different speeds. However, similar patterns appeared at different times across AS bouts. The distribution of nearest patterns between pairs of trajectories, irrespective of time, overlapped with the distribution of intra-trajectory distances. This process is visualized in Fig. 5c: patterns extracted every 10 s from a single AS trajectory (Fig. 5a(i)) showed the characteristic diversity of AS dynamics (Extended Data Fig. 8d). The closest points to these patterns, taken from other AS trajectories of the same octopus as well as from other octopuses, were similar in appearance. In sum, AS trajectory dynamics were diverse, showing a set of patterns without stereotyped sequence, conserved across animals, which at times intersected each other.
While waking, O. laqueus can generate a range of skin patterns to camouflage in different natural environments (Extended Data Fig. 9), as well as for social and threat displays. In the laboratory, waking octopuses would occasionally adopt a flat posture in which different skin patterns were shown in full. Analysis of these patterns showed that they fell within the space of skin patterns observed during AS (Extended Data Fig. 8b,c). To look at matching in detail, we identified pairs of images from the same octopus during AS and waking. Non-linear warping from waking to AS patterns revealed a precise alignment in pattern structure between the two (Fig. 5d, Extended Data Fig. 10 and Supplementary Video 4). This suggests that AS dynamics include rapid transitions through skin patterns shown in awake, behaving animals.
Discussion
Octopuses possess at least two stages of sleep: ‘quiet’ (QS) and ‘active’ (AS). Rhythmic AS bouts are homeostatically regulated and robust to temperature and lighting manipulations, indicative of an actively maintained biological phenomenon of central importance31,32. QS shows 12–18-Hz oscillations in areas associated with learning and memory (the frontal-VL system)7–10,33, resembling mammalian sleep spindles in frequency and duration11,12. However, QS seems to differ from vertebrate slow wave sleep in showing no low-frequency oscillations entraining large areas of the brain12. The brief flashes of colouration seen during QS are accompanied by neural activity levels resembling waking, albeit at lower amplitude. Whether this constitutes brief periods of waking, micro-arousal states34, a kind of QS or a distinct sleep stage remains unclear. AS resembles vertebrate REM sleep in terms of wake-like neural activity accompanying eye and body twitches15,35. Coordinated postural changes (for example, arm reaching) are not seen during AS, potentially indicating some level of muscular inhibition. However, a lack of anatomical homology complicates comparison with the atonia of skeletal muscles found in vertebrate REM sleep35. Future work will investigate the depth of these similarities mechanistically.
Furthermore, during AS octopuses rapidly transition through sets of skin patterns that strongly resemble those seen while awake. This normally occurs in the safety of the octopus den, and therefore does not broadcast the animal’s position to predators. Why do octopuses perform this pronounced sleep behaviour? One possibility is that it represents periods of offline refinement of skin pattern control, analogous to processes thought to occur during vertebrate motor learning36,37. Another possibility is that it reflects the reactivation of neural activity underlying waking experience more broadly, reminiscent of vertebrate phenomena linked to memory consolidation such as rodent hippocampal replay38,39 and the structured activity in the head direction system during mammalian REM sleep40,41. Full investigation of the function of AS will require studying whether patterns can be manipulated, as well as a greater understanding of the ethological context in which waking skin patterns are expressed42–44.
Cephalopod skin patterns seem to be organized hierarchically, with putative higher-order motor control circuitry coordinating large groups of chromatophores to generate macroscopic pattern elements19,29,45–48. AS dynamics are consistent with the pseudo-random activation of this high-level control system. It may be possible to infer interactions between motor control elements by studying the statistics of pattern activation. In this way, AS dynamics may also be useful for understanding the logic of waking skin pattern control.
While initially observed in humans2, recent work has established two-stage sleep across many vertebrate species1–4. Our results complement several behavioural reports in cephalopods6,18 and arthropods49 of similar active and QS stages. Given the evolutionary distances, these phenomena probably evolved independently from each other, and may represent convergent solutions to shared problems facing complex agents50. If such solutions indeed exist, then the high-dimensional and interpretable readout of neural activity in octopus AS skin patterns may help to uncover general principles of two-stage sleep.
Methods
Experimental animals
All research and animal care procedures were carried out in accordance with institutional guidelines, approved by the OIST Animal Care and Use Committee under approval numbers 2019-244-6 and 2022-364. Adult octopuses (O. laqueus, mantle length roughly 3 cm) of both sexes were collected in Okinawan tidal pools and housed in 12 l tanks connected to a seawater system with open circulation to the ocean. Animals were provided with an enriched environment including sand, plants, rocks and coral rubble, as well as a shelter (terracotta pot).
O. laqueus were carefully selected for this study after assessing several other options due to (1) their compact brain and body size made them suitable for Neuropixels recording and light-sheet imaging, (2) their white resting skin pattern aided detection of AS bouts, (3) their nocturnal behaviour meant we could film sleep behaviour under white lighting and (4) they were locally available, a regulatory requirement for keeping in the OIST marine station. The brain of O. laqueus resembles coastal diurnal octopuses in possessing a seven-gyrus VL (Extended Data Fig. 3d). The VL occupies 9.05% of central brain volume, slightly higher than other coastal nocturnal species, such as the commonly studied O. vulgaris and O. bimaculoides51.
Behavioural filming
Experiments were conducted in closed seawater systems, circulating filtered natural seawater. Water was filtered mechanically and biologically, UV sterilized, oxygenated and exchanged with fresh seawater twice a week. Unless otherwise reported, temperature was cooled to 22 °C, with lighting alternating on a 12/12-h light/dark cycle with a 30-min taper in light intensity. Animals were fed live crabs three times a week during subjective night, while awake. Animals were given a 2-week acclimation period of living in experimental tanks. Experiments started after animals were seen to be resting normally during the daytime.
Low-resolution recordings (Fig. 1b,g–j and Extended Data Figs. 2 and 5b) were filmed using three custom filming chambers. Each chamber placed a single 4K camera (Basler ace acA4024-29uc, 4,024 × 3,036 pixels, 24 fps) viewing four transparent acrylic 100 × 150 × 100 mm tanks from the top, with 13.4 pixel per mm resolution using 12-mm lenses. Lighting was mounted on two sides of the group of four tanks, with white LED day lighting (Koval Smart Aquarium Light, 300 mm, 654 lx) and red LED night lighting (Leimac IDBA-HM300R, 300 × 40 mm Barlight, 129 lx). Other than during feeding, a 5-mm-thick glass cover was placed over the tanks to prevent animal escape. For recording animal movements (Fig. 1c–f and Extended Data Fig. 1), we placed animals in transparent acrylic 300 × 200 × 200 mm tanks fitted with shelters (three-dimensionally printed and terracotta pots), with shelter entrance facing the tank wall. Cameras (as above, 24 or 30 fps) were positioned facing the shelters of single animals. Lights (Leimac IDBA-HM300W, 300 × 40 mm, 3 klx) were placed on tank top and/or sides.
Recordings were made with PylonRecorder2 (v.0.6), using online hardware compression to h264 format and writing to solid-state drives. A single computer running Windows 10 was equipped with two graphics cards (Nvidia Quadro P1000 and Quadro P5000), which run up to seven cameras simultaneously.
High-resolution recordings (Figs. 1a and 5) were made by placing an 8K camera (Canon EOS R5, 8,192 × 5,464 pixels, 30 fps) fitted with a Canon Macro Lens EF 180 mm lens on a gimbal, and filming top-down on a single animal using a 45° mirror (96 pixels per mm). Three white bar lights (Leimac IDBA-HM300W, 300 × 40 mm, 3,933 lx) were used to light the tank. All recordings were made using the following camera settings: 1/200, F32, ISO 3,200. Because AS events are periodic, AS recording was started a few minutes before the expected AS time, and ended after AS pattern dynamics ceased. Some pairs of waking and sleeping patterns were shot at 4K resolution (Basler ace acA4112-30uc, 4,096 × 3,000 pixels, 30 fps, 32.3 pixels per mm, 1,000 lx), looking down on animals using a 50-mm lens. High-resolution recordings were shot at 24 °C (room temperature water).
To put lighting levels in context, daylight ranges from 10 to 25 klx when sunny, 1,000 lx when overcast. Nighttime light levels range from roughly 0.3 lx during a full moon to 0.002 lx when the moon is not visible. Animal sleep time, AS duration and interval seemed normal under various experimental lighting conditions (Extended Data Fig. 5). Darker skin patterns did not appear under 3 klx lighting while awake, but were observed under 1 klx lighting.
Behavioural experiments
For measuring arousal threshold, mechanical stimulation was delivered using a solenoid, fixed in a constant position on the tank wall and controlled by an Arduino (Arduino Mega 2560). Synchronization of camera and solenoid hit time was done using a red LED placed in view of the camera and out of view of the animal. Stimulus strength was calibrated using a hydrophone (DolphinEar DE200), placed in the position of the octopus. Three strengths of stimulus 6, 40 and 86 dbV were delivered to the octopus during active bouts, QS and wake in the terracotta pot. QS was defined as the interval between two active bouts, in which the octopus had the characteristic lack of movement, flat posture, smooth texture, closed eyes and white colour. All trials were conducted between 12:00 and 17:00.
For sleep homeostasis, octopuses were recorded continuously for 48 h before the start of sleep deprivation. The following day, animals were kept awake from 07:00 to 17:00 by gently brushing their skin with a paintbrush every 2–3 min. Movement, elevated posture and eye opening were considered indicators of wakefulness. Animals were left to behave freely after 17:00. Sleep deprivation was then repeated, using the above procedure, for a second day. Post-deprivation behaviour was subsequently recorded for 48 h without any disturbance. For the active bout interruption experiment, a random subset of active bouts were interrupted using a paintbrush. The amount of QS preceding the following AS bout was then compared in interrupted and uninterrupted ‘trials’.
For measuring circadian rhythm, octopuses were acclimated to a 12-h light/dark cycle for 2 weeks. After 48 h of continuous filming, they were subject to either 72 h of continuous daylight or 72 h of continuous darkness. Feeding was halted during this period to prevent cues from live crabs. Animals were then switched back to a 12-h light/dark cycle.
For measuring temperature dependence, the temperature of the water circulating in the behavioural filming system was cooled to 19, 22 and 24 °C using a cooler (Poafamx AL-300) attached to the water circulation system. Each temperature was maintained for 2 days. Higher temperatures were achieved by turning off the cooler. Tank water temperature was measured using a temperature sensor (Tinytag Aquatic 2 TG-4100).
Surgery for electrophysiology
Animals were anaesthetized (2% ethanol in filtered sea water) more than 3 days before the recordings, and the distal 2–4 cm of all arms were surgically shortened to prevent them from removing future head fixation. Wounds were sealed with tissue glue (Histoacryl, B.Braun). Following this procedure, animals recovered in an experimental tank equipped with a closed seawater circulation system (above), in which they could move and eat immediately on waking from anaesthesia. Octopus did not demonstrate signs of pain (that is, arm grooming behaviour52), therefore local analgesia was not applied, preventing administration related stress and sleep disruption. One day before recording, animals were anaesthetized as above and the top of the head was placed out of the water. The skin, soft tissue and muscle over the cartilaginous head capsule were removed with microscissors. A three-dimensionally printed plastic ring with a pole was glued to the head capsule over the central brain with tissue glue and dental light cure adhesive (3M, Transbond XT Light Cure Paste Adhesive). The inside of the ring was filled with silicone sealant (Kwik-Cast, WPI) to prevent the wound from touching sea water. Animals were left to recover overnight in the recording tank. On the day of recording, animals were anaesthetized as above. A small hole was cut into the head capsule to expose the central brain, and the sheath surrounding the brain was removed using fine forceps. The ring was covered again using silicone sealant. Fresh seawater was washed over the animal, before moving it to the experimental tank. It was then head-fixed using a metal rod. Animals recovered from anaesthesia within minutes of exposure to fresh seawater. The water level in the recording tank was reduced to have the top of the animal’s head above the water line during probe insertion. The animal’s body was supported with an aquarium wool filter mat. A Neuropixels v.1.0 probe shank was coated with CM-DiI (100 μg to 50 μl ethanol, Thermo Fisher Scientific, CellTracker CM-DiI Dye) for post hoc probe position localization. The probe was mounted on a motorized micromanipulator (New Scale Technologies, M3-LS). After removing the cured silicone sealant, the Neuropixels probe was lowered into the brain at the speed of 200 μm min−1. The depth of the recordings varied across experiments. We explored a range of depths, insertion sites and angles. After lowering, the inside of the head-fixation plastic ring was again filled with silicone sealant and water level was raised so that the animal’s head was submerged. The recording tank circulated aerated seawater at a rate of roughly 0.2 l min−1 at room temperature (24 °C).
Electrophysiological recording
Neuropixels recordings were performed using SpikeGLX software (v.3.0). with sampling rates at 2.5 kHz (for LFP signals) and 30 kHz (for extracellular spike signals). The mantle of the animal was simultaneously filmed using a 4K camera as in behavioural recordings (Behavioural filming above, shot at 1,034 lx). Video was synchronized to electrophysiological recording by sending a 25-Hz transistor-transistor-logic (TTL) signal from an Arduino to trigger camera frame exposure and to log TTL time using spikeGLX. Animals showed AS 12.7 ± 6.6 (s.d.) h after recordings began, demonstrating AS bouts similar in duration and interval to that of freely behaving animals (Extended Data Fig. 5).
Tissue clearing and light-sheet imaging
Following recordings, the Neuropixels probe was removed from the brain and the animal was euthanized by gradually increasing ethanol concentration from 2 to 5% in sea water. The head of the recorded animal was dissected, with tissues surrounding the head capsule removed as much as possible. The brain in the head capsule was fixed in 4% paraformaldehyde at 4 °C for 24–48 h. Dissected brain tissue was cleared using a second-generation CUBIC method53. First, the tissue was incubated in 50% CUBIC-L solution at 25 °C overnight, followed by 100% CUBIC-L incubation at 25 °C for 24 h. After PBS wash, the tissue was immersed in BOBO-1 nuclear staining dye (ThemoFisher B3582; 1/800 dilution) for 3 days. The tissue was washed with PBS, then placed in 50% CUBIC-R overnight followed by 100% CUBIC-R for 24 h (Extended Data Fig. 3a). The cleared sample was embedded in a transparent agarose gel for mounting on a microscope. To scan the brain, we custom-built a light-sheet microscope using the technique of axially swept light-sheet microscopy54. The microscope was equipped with a 10X detection objective lens (Olympus XLPLN10XSVMP) and a 10X illumination objective lens (KYOCERA SOC Corporation, CS03-10-30-152). Images were acquired with (x, y, z) = (0.65, 0.65, 2.5) μm resolution. BOBO-1 was imaged with a 488 nm excitation laser and 536/40 nm bandpass filter, whereas CM-DiI was imaged with a 532-nm excitation laser and 593/40-nm bandpass filter (Extended Data Fig. 3b,c).
Brain registration and atlas construction
To construct a reference brain atlas of O. laqueus, we cleared and stained an adult octopus brain following the procedure described above and scanned the brain with (x, y, z) = (0.65, 0.65, 2.5) μm resolution. We cropped the supra-oesophageal mass from the whole brain image and downsampled it to (x, y, z) = (10, 10, 10) μm. We used 3D Slicer55 to manually annotate this 3D image, referencing existing anatomical atlases25,26 (Extended Data Fig. 3d,e). 3D images of individual octopus brains were mapped to this reference atlas using the symmetric image normalization method (SyN) method implemented in the Advanced Normalization Tools (ANTs) library56. Before the registration, the BOBO-1 channel was downsampled to (x, y, z) = (10, 10, 10) μm. A binary mask was then created manually using 3D Slicer, masking tissues other than the supra-oesophageal mass. The brain was then mapped to the reference brain by a two-step transformation. First, an affine transformation was computed to roughly align the two brains, using mutual information as a metric function. Second, a non-linear warping was computed using the SyN algorithm with cross-correlation as a metric function. In ANTs command line, the following parameters were used: --transform Affine[0.1] --metric MI[${fix_img},${mov_img},1,128,Regular,0.5] --convergence [1000x1000x1000,1e-5,15] --shrink-factors 8x4x2 --smoothing-sigmas 3x2x1vox --transform SyN[0.1,4.0,0.2] --metric CC[${fix_img},${mov_img},1,6] --convergence [500x500x100x30,1e-6,10] --shrink-factors 8x4x2x1 --smoothing-sigmas 3x2x1x0vox. This generated an affine transformation matrix and a warp field given as a four-dimensional matrix (Extended Data Fig. 3g). We controlled the parameters in ANTs to prevent excessive warping, which was quantified by the values of Jacobian determinants (Extended Data Fig. 3g). The atlas and the registered brain were overlaid, showing visually precise alignments (Extended Data Fig. 3f). Alignment quality was quantified by computing the voxel-wise normalized cross-correlation56 value with window radius of 4 voxels (Extended Data Fig. 3h), which showed positive values in most of the areas and especially high positive values at the boundary between brain lobes. We also generated an average nuclear stained image from n = 9 independently aligned brains (Extended Data Fig. 3h). The lobe structure was maintained, further supporting the quality of our registration.
To analyse the location of a Neuropixels probe, the CM-DiI channel from a 3D brain image was first downsampled to (x, y, z) = (5, 5, 5) μm. The CM-DiI probe track was then manually labelled using 3D Slicer. This labelled track image was smoothed by first skeletonizing the binary object using the morphology.skeletonize_3d function implemented in the scikit-image library, and then fitting the resulting skeleton with a B-spline. The xyz coordinates of Neuropixels probe channels were then mapped to the reference space using the transformation computed above. Finally, each recording channel was assigned a unique region ID on the basis of the atlas region. Determining probe depth from CM-DiI images is sometimes a non-trivial problem due to the spread of the dye by diffusion. Following previous heuristic treatments57, after mapping we inspected the characteristic LFP patterns at the boundary of the anatomical regions. If necessary, we shifted the probe location along the depth axis to increase LFP-anatomy correspondence. The automatically determined locations were usually very accurate, and the maximum correction was ten channels (roughly 100 μm).
To divide brain regions into anterior and posterior halves (Fig. 4e inset), we took the most anterior point and posterior point of each brain region as its A–P minimum and maximum values and computed the midpoint between them as (min + max)/2. Channels were divided into anterior or posterior on the basis of whether they were anterior or posterior to the brain region midpoint.
Behavioural analysis
To measure octopus skin brightness in behavioural recordings (Fig. 1), we segmented octopuses from background with the FAIR Detectron2 platform58 (v.0.1.3), using a pretrained base model (COCO Instance Segmentation with Mask R-CNN, R50-FPN, 3× schedule), fine-tuned with octopus training datasets. Training set labelling was done using the Labelbox platform. To accelerate data processing, octopuses were segmented every 100 frames (4.16 s), with mean intensity calculated on every frame using the nearest preceding segmentation. Multi-day videos were processed in parallel by using FFMPEG to cut videos into 1-h clips, running each clip independently, then recombining.
Colour flashes during QS were detected using the mean skin brightness trace during QS. The trace was filtered 0.005–2 Hz using a three-pole Butterworth filter, and peaks were detected on the negative of the z-scored signal, with a minimum peak height of 2, minimum prominence of 0.5 and minimum separation in time of 10 s. Colour flash duration was calculated by taking a window of the mean skin brightness trace from 500 frames (21 s) before a colour flash peak to 1,000 frames (42 s) after a peak. This time series was z-scored, and threshold crossings (2z) on either side of the peak time were taken as the start and end time.
For sleep time, duration and interval, AS and QS times were identified manually using the mean skin brightness recording coupled with video confirmation. Wake times were similarly identified manually. AS inter-event intervals were calculated between bouts in which the animal did not wake up. AS duration was determined by considering a window 10 s before and 100 s after AS start times. These time series were z-scored, and low pass filtered at 0.1 Hz using a two-pole Butterworth filter. The length of the largest continuous stretch of data falling below a threshold was taken as the AS duration. We explored a range of thresholds (Extended Data Fig. 5d), deciding on 0.2 as a good subjective match to video data.
Histograms in Fig. 1i,j used 2-h binning, and a continuous rate estimate was calculated by smoothing a 0.1-h binning using a Gaussian kernel with s.d. 40 bins (4 h). Figure 2b was calculated similarly, using 1-h histogram binning. Figure 2d used 5-min binning, a probability density was estimated using a kernel density estimate (MATLAB ‘ksdensity’).
For movement analysis, in the arousal threshold experiments (Fig. 2a and Extended Data Fig. 1g–i), we extracted clips 1 s before stimulation time to 1 s after. Animals were segmented from background (as above) on the first frame of a clip. Within the segmentation mask, prominent features were detected using SIFT59 keypoint detection (contrast threshold of 0.05). Lukas–Kanade optical flow60 (window size of 512 pixels) was then used to track these points over frames. Movement magnitude was calculated as the mean optic flow magnitude between neighbouring frames. For calculating reactionary movements, a baseline mean magnitude for 25 frames (1 s) before stimulation time was subtracted from the mean magnitude for 25 frames (1 s) following stimulation.
For analysis of animal movements during QS and AS (Fig. 1c–f and Extended Data Fig. 1a–c), we extracted 2-min clips centred on AS start times. The eye, body and the anterior mantle (for measuring breathing) were manually segmented from the first frame of this clip. Movement magnitude was calculated as above, separately for each segmentation mask. To isolate eye and breathing movements from overall body movements, the average movement within the eye/anterior mantle mask was removed from each frame and we have reported residual movements. Breathing rate was extracted from anterior mantle residual movements, with inhalation detected through peak detection in the z-scored, smoothed (10 frames) trace, with a peak prominence of 0.05. Breathing rate was then linearly interpolated to video frame rate. Figure 1 reports average movement magnitude for the first 30 s of the clip (QS), and the third 30 s of the clip (AS). Calculation of breathing arythmicity for waking animals (Extended Data Fig. 1b) was calculated as QS/AS, on separate 30-s video clips.
Behavioural analysis was performed using OIST’s Saion HPC system, using up to 32 GPUs (Nvidia V100 and P100s). Core analysis was written in Python (v.3.6 and 3.7), with further analysis written using MATLAB 2019a.
Electrophysiological analysis
LFP data were preprocessed by resampling from 2.5 to 1 kHz, filtering 0.1–150 Hz and re-referencing by subtracting the median of ten channels located out of the brain from all channels. Spectrograms were calculated using a continuous wavelet transform with a Mortlet wavelet (MATLAB ‘cmor1.5-1’), scales logarithmically spaced between 1 and 100 Hz. Spectrograms were normalized in amplitude by dividing all values by the maximum value. Spectra were calculated on non-overlapping 1-s chunks of data using the Chronux toolbox (v.2.12, http://chronux.org/)61 with a time-bandwidth product of five and nine tapers. The results were then averaged over data chunks.
For calculating channel intensity during different behavioural states, a uniform procedure was conducted on different selections of data. For AS, QS and wakefulness, 60 s of LFP data were loaded, beginning at the transition of every detected AS or wake phase and taking the 60 s before AS times as QS. For QS colour flashes, 700-ms chunks of data were loaded, centred on colouration flash events (detected as above). After data loading, two filtered versions of the data were then generated, at 0.1–10 and 20–150 Hz for every recording channel. The envelope of these filtered signals was calculated using a 150-tap Hilbert filter. Signal strength for a channel was calculated as the mean of this envelope. We median filtered more than five channels to remove noisy channel readings. We then averaged this vector over all events.
For QS oscillation events, 1,200 s of LFP data were loaded preceding every AS bout and any wake events (manually detected, above) were removed. QS oscillation events were detected by filtering the data 4–40 Hz, then finding peaks in the z-scored signal with a minimum height of two, minimum prominence of two and a minimum separation of 1 s. Estimates of oscillation event rates were taken per data chunk and averaged. This was then smoothed with a five-channel median filter, as in activity strength measurements. To calculate LFP activity strength over brain regions, we averaged the channel intensity for all electrodes located within a brain region. We required data from a minimum of two probes to consider activity strength for a brain region. Correlations between different activity strength measurements were taken over all electrodes from these brain regions. Unless otherwise stated, filtering was performed using three-pole Butterworth filters.
Skin pattern analysis
To quantify AS skin patterns, we adapted techniques developed for describing cuttlefish camouflage28. High-resolution octopus videos were processed by first detecting the octopus mantle, using the Detectron2 platform58 as above. Mantles were aligned by choosing a single source image and mapping all images onto this source image by ellipse fitting and similarity transformation. Determination of anterior versus posterior direction was done manually for waking images and the first frame of AS video clips. Images were then cropped and downsampled to 1,004 × 675 pixels (20% image size after cropping to segmented mantle), with background pixels coloured uniform grey (as in Fig. 4c). Following standard preprocessing (zero-centring), 400 × 400 pixel crops of the dorsal mantle were evaluated by a VGG-19 (ref. 62) network pretrained on the ImageNet63 database, using the Keras64 platform (included in TensorFlow v.2.0). We used the max-pooled fifth layer activations (‘block5_pool’) as our skin pattern metric65. This resulted in 512-dimensional vectors describing skin patterns for every frame in a video clip.
The starting points of AS trajectory dynamics were aligned across video clips by calculating the first principal component of the 512-feature by frame matrix, and thresholding the absolute value of its approximate derivative (difference between neighbouring points in time, threshold 0.1). All further analysis was done on start-time aligned trajectories. To estimate the dimensionality of AS space, we ran Parallel Analysis66 several times on 10,000 randomly selected images from the total dataset. To estimate the overlap of different animals’ patterns within AS space, we similarly calculated the Silhouette score67 several times on 10,000 randomly selected images from the total dataset. Intra-trajectory distance was calculated as the mean Euclidean distance between neighbouring points in time along a trajectory. Inter-trajectory distance was calculated between two trajectories as the mean element-wise Euclidean distance, from trajectory start time to the end of the shorter trajectory. Distances between trajectories after dynamic time warping68 were divided by trajectory distance to compare with non-time warped inter-trajectory distances. Nearest inter-trajectory distances (between AS bouts and between waking images and AS bouts) were calculated by taking, for all pairs of trajectories, the minimum Euclidean distance between points.
For aligning select waking and AS skin patterns, similar patterns were extracted from videos manually. Precise alignment was achieved by manually selecting corresponding points and interpolating between these points using a moving least-squares algorithm69 to produce a mapping from the AS image to the waking image. Images were uniformly and linearly brightened for display. Green rectangles in AS images (Fig. 5d and Extended Data Fig. 10) are approximate crops (non-linear mapping). To show overlaid matches, images were grey scaled, inverted and thresholded (image specific threshold of 8-bit grayscale at 180–230) to show the dark pattern regions.
Statistics and reproducibility
Unless stated otherwise, data are mean ± s.e.m. For box plots, margins are 25th and 75th percentiles; middle line, median; whiskers, boundaries before outliers; outliers (+) are values beyond 1.5× interquartile range from the box margins. Experiments were repeated independently several times with similar results, with numbers of repetitions and sex (female or male) as follows: temperature modulation n = 9 animals, arousal threshold n = 5 animals, homeostasis n = 6 animals, active bout movement n = 3 animals, continuous light on/off n = 6 animals, electrophysiology n = 9 animals, skin pattern dynamics n = 3 animals and wake–sleep pattern matching n = 5 animals.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Online content
Any methods, additional references, Nature Portfolio reporting summaries, source data, extended data, supplementary information, acknowledgements, peer review information; details of author contributions and competing interests; and statements of data and code availability are available at 10.1038/s41586-023-06203-4.
Supplementary information
Acknowledgements
We are grateful to the OIST Cephalopod Research Support Team for animal care, for the help and support provided by the Scientific Computing and Data Analysis and Engineering sections, Research Support Division at OIST. We thank all Reiter laboratory members for assistance and discussion. We thank G. Laurent, K. Doya, H. Obenhaus, H. Norimoto and S. Shi for comments on the manuscript. This research was supported by the Okinawa Institute of Science and Technology, and Japan Society for the Promotion of Science (JSPS) Kakenhi grant nos. 60869155 and 20K15939. T.M. was financed by a Grant-in-Aid for JSPS Fellows (grant no. JSPS KAKENHI 21J01369). L.M. was financed by the Burroughs Wellcome Fund CASI award, the Swartz Foundation and the OIST theoretical visiting scholar programme.
Extended data figures and tables
Author contributions
The project was defined by A.P., K.S., T.L.I. and S.R. Mechanical design and assembly was done by K.M., M.H. and A.P. Animal care was the responsibility of T.L.I., K.A., A.P. and K.S. Behavioural experiments were carried out by A.P. and T.L.I. Electrophysiological experiments were carried out by K.S. and S.R. Anatomical experiments and analysis were carried out by T.M., P.G.A. and T.T.V.D. Behavioural and electrophysiological analysis were carried out by S.R., A.P. and L.M. S.R. wrote the manuscript with participation of all authors, and supervised the project.
Peer review
Peer review information
Nature thanks Daniel Bendor, Roger Hanlon, Daniel Osorio and Carolin Purmann for their contribution to the peer review of this work. Peer reviewer reports are available.
Data availability
Data are available from the corresponding author on request. A small dataset is provided with the analysis code for demonstration purposes.
Code availability
The code developed in this study is posted in a repository on GitHub: https://github.com/oist/pophale2023.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
These authors contributed equally: Aditi Pophale, Kazumichi Shimizu, Tomoyuki Mano
Extended data
is available for this paper at 10.1038/s41586-023-06203-4.
Supplementary information
The online version contains supplementary material available at 10.1038/s41586-023-06203-4.
References
- 1.Shein-Idelson M, Ondracek JM, Liaw H-P, Reiter S, Laurent G. Slow waves, sharp waves, ripples, and REM in sleeping dragons. Science. 2016;352:590–595. doi: 10.1126/science.aaf3621. [DOI] [PubMed] [Google Scholar]
- 2.Aserinsky E, Kleitman N. Regularly occurring periods of eye motility, and concomitant phenomena, during sleep. Science. 1953;118:273–274. doi: 10.1126/science.118.3062.273. [DOI] [PubMed] [Google Scholar]
- 3.Ookawa T, Gotoh J. Electroencephalographs study of chickens: periodic recurrence of low voltage and fast waves during behavioral sleep. Poult. Sci. 1964;43:1603–1604. doi: 10.3382/ps.0431603. [DOI] [Google Scholar]
- 4.Leung LC, et al. Neural signatures of sleep in zebrafish. Nature. 2019;571:198–204. doi: 10.1038/s41586-019-1336-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Wanninger, A. & Wollesen, T. The evolution of molluscs. Biol. Rev. Camb. Philos. Soc.10.1111/brv.12439 (2018). [DOI] [PMC free article] [PubMed]
- 6.Medeiros SL, et al. Cyclic alternation of quiet and active sleep states in the octopus. iScience. 2021;24:102223. doi: 10.1016/j.isci.2021.102223. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Boycott BB, Young JZ. A memory system in Octopus vulgaris Lamarck. Proc. R. Soc. Lond. B Biol. Sci. 1955;143:449–480. doi: 10.1098/rspb.1955.0024. [DOI] [PubMed] [Google Scholar]
- 8.Gray EG. The fine structure of the vertical lobe of octopus brain. Philos. Trans. R. Soc. Lond. B Biol. Sci. 1970;258:379–394. doi: 10.1098/rstb.1970.0040. [DOI] [PubMed] [Google Scholar]
- 9.Shomrat T, et al. Alternative sites of synaptic plasticity in two homologous ‘fan-out fan-in’ learning and memory networks. Curr. Biol. 2011;21:1773–1782. doi: 10.1016/j.cub.2011.09.011. [DOI] [PubMed] [Google Scholar]
- 10.Young, J. Z. The Anatomy of the Nervous System of Octopus vulgaris (Clarendon Press, 1971).
- 11.Fernandez LMJ, Lüthi A. Sleep spindles: mechanisms and functions. Physiol. Rev. 2020;100:805–868. doi: 10.1152/physrev.00042.2018. [DOI] [PubMed] [Google Scholar]
- 12.Steriade M. The corticothalamic system in sleep. Front. Biosci. 2003;8:d878–d899. doi: 10.2741/1043. [DOI] [PubMed] [Google Scholar]
- 13.Joiner WJ. Unraveling the evolutionary determinants of sleep. Curr. Biol. 2016;26:R1073–R1087. doi: 10.1016/j.cub.2016.08.068. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Rasch B, Born J. About sleep’s role in memory. Physiol. Rev. 2013;93:681–766. doi: 10.1152/physrev.00032.2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Blumberg MS, Lesku JA, Libourel P-A, Schmidt MH, Rattenborg NC. What is REM sleep? Curr. Biol. 2020;30:R38–R49. doi: 10.1016/j.cub.2019.11.045. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Hanlon, R. T. & Messenger, J. B. Cephalopod Behaviour (Cambridge Univ. Press, 2018).
- 17.Meisel DV, Byrne R, Mather JA, Kuba M. Behavioral sleep in Octopus vulgaris. Vie Milieu Paris. 2011;61:185–190. [Google Scholar]
- 18.Iglesias TL, Boal JG, Frank MG, Zeil J, Hanlon RT. Cyclic nature of the REM sleep-like state in the cuttlefish Sepia officinalis. J. Exp. Biol. 2019;222:jeb174862. doi: 10.1242/jeb.174862. [DOI] [PubMed] [Google Scholar]
- 19.Messenger JB. Cephalopod chromatophores: neurobiology and natural history. Biol. Rev. Camb. Philos. Soc. 2001;76:473–528. doi: 10.1017/S1464793101005772. [DOI] [PubMed] [Google Scholar]
- 20.Gonzalez-Bellido PT, Scaros AT, Hanlon RT, Wardill TJ. Neural control of dynamic 3-dimensional skin papillae for cuttlefish camouflage. iScience. 2018;1:24–34. doi: 10.1016/j.isci.2018.01.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Campbell SS, Tobler I. Animal sleep: a review of sleep duration across phylogeny. Neurosci. Biobehav. Rev. 1984;8:269–300. doi: 10.1016/0149-7634(84)90054-X. [DOI] [PubMed] [Google Scholar]
- 22.Kaneko N, Kubodera T. A new species of shallow water octopus, Octopus laqueus (cephalopoda: Octopodidae) from Okinawa, Japan. Bull. Natl Sci. Mus. Series A, Zoology. 2005;31:7–20. [Google Scholar]
- 23.Block GD, Wallace SF. Localization of a circadian pacemaker in the eye of a mollusc, bulla. Science. 1982;217:155–157. doi: 10.1126/science.217.4555.155. [DOI] [PubMed] [Google Scholar]
- 24.Siegel JM. Do all animals sleep? Trends Neurosci. 2008;31:208–213. doi: 10.1016/j.tins.2008.02.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Montague, T. G. et al. A brain atlas of the camouflaging dwarf cuttlefish, Sepia bandensis. Preprint at 10.1101/2022.01.23.477393 (2022).
- 26.Jung S-H, et al. A Brain Atlas of the long arm octopus, Octopus minor. Exp. Neurobiol. 2018;27:257–266. doi: 10.5607/en.2018.27.4.257. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.He, K., Gkioxari, G., Dollár, P. & Girshick, R. Mask R-CNN. Preprint at https://arxiv.org/abs/1703.06870 (2017). [DOI] [PubMed]
- 28.Woo, T. et al. The dynamics of pattern matching in camouflaging cuttlefish. Nature, 10.1038/s41586-023-06259-2 (2023). [DOI] [PMC free article] [PubMed]
- 29.Reiter S, et al. Elucidating the control and development of skin patterning in cuttlefish. Nature. 2018;562:361–366. doi: 10.1038/s41586-018-0591-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Yacob J, et al. Principles underlying chromatophore addition during maturation in the European cuttlefish, Sepia officinalis. J. Exp. Biol. 2011;214:3423–3432. doi: 10.1242/jeb.055251. [DOI] [PubMed] [Google Scholar]
- 31.O’Leary T, Marder E. Temperature-robust neural function from activity-dependent ion channel regulation. Curr. Biol. 2016;26:2935–2941. doi: 10.1016/j.cub.2016.08.061. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.O’Leary, T. in Biological Robustness: Emerging Perspectives from Within the Life Sciences (eds Bertolaso, M. et al.) 175–187 (Springer International, 2018).
- 33.Shigeno S, Andrews PLR, Ponte G, Fiorito G. Cephalopod brains: an overview of current knowledge to facilitate comparison with vertebrates. Front. Physiol. 2018;9:952. doi: 10.3389/fphys.2018.00952. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Kjaerby C, et al. Memory-enhancing properties of sleep depend on the oscillatory amplitude of norepinephrine. Nat. Neurosci. 2022;25:1059–1070. doi: 10.1038/s41593-022-01102-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Arrigoni E, Chen MC, Fuller PM. The anatomical, cellular and synaptic basis of motor atonia during rapid eye movement sleep. J. Physiol. 2016;594:5391–5414. doi: 10.1113/JP271324. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Walker MP, Brakefield T, Morgan A, Hobson JA, Stickgold R. Practice with sleep makes perfect: sleep-dependent motor skill learning. Neuron. 2002;35:205–211. doi: 10.1016/S0896-6273(02)00746-8. [DOI] [PubMed] [Google Scholar]
- 37.Dave AS, Margoliash D. Song replay during sleep and computational rules for sensorimotor vocal learning. Science. 2000;290:812–816. doi: 10.1126/science.290.5492.812. [DOI] [PubMed] [Google Scholar]
- 38.Wilson MA, McNaughton BL. Reactivation of hippocampal ensemble memories during sleep. Science. 1994;265:676–679. doi: 10.1126/science.8036517. [DOI] [PubMed] [Google Scholar]
- 39.Ji D, Wilson MA. Coordinated memory replay in the visual cortex and hippocampus during sleep. Nat. Neurosci. 2007;10:100–107. doi: 10.1038/nn1825. [DOI] [PubMed] [Google Scholar]
- 40.Senzai Y, Scanziani M. A cognitive process occurring during sleep is revealed by rapid eye movements. Science. 2022;377:999–1004. doi: 10.1126/science.abp8852. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Dement W, Kleitman N. The relation of eye movements during sleep to dream activity: an objective method for the study of dreaming. J. Exp. Psychol. 1957;53:339–346. doi: 10.1037/h0048189. [DOI] [PubMed] [Google Scholar]
- 42.Hanlon RT, Hixon RF. Body patterning and field observations of Octopus burryi Voss, 1950. Bull. Mar. Sci. 1980;30:749–755. [Google Scholar]
- 43.Hanlon RT, Forsythe JW, Joneschild DE. Crypsis, conspicuousness, mimicry and polyphenism as antipredator defences of foraging octopuses on Indo-Pacific coral reefs, with a method of quantifying crypsis from video tapes. Biol. J. Linn. Soc. Lond. 2008;66:1–22. doi: 10.1111/j.1095-8312.1999.tb01914.x. [DOI] [Google Scholar]
- 44.How MJ, Norman MD, Finn J, Chung W-S, Marshall NJ. Dynamic skin patterns in cephalopods. Front. Physiol. 2017;8:393. doi: 10.3389/fphys.2017.00393. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Boycott BB. The chromatophore system of cephalopods. Proc. Linnean Soc. Lond. 1953;164:235–240. doi: 10.1111/j.1095-8312.1953.tb00688.x. [DOI] [Google Scholar]
- 46.Hanlon RT, Messenger JB. Adaptive coloration in young cuttlefish (Sepia officinalis L.): the morphology and development of body patterns and their relation to behaviour. Philos. Trans. R. Soc. Lond. B Biol. Sci. 1988;320:437–487. doi: 10.1098/rstb.1988.0087. [DOI] [Google Scholar]
- 47.Osorio D, Ménager F, Tyler CW, Darmaillacq A-S. Multi-level control of adaptive camouflage by European cuttlefish. Curr. Biol. 2022;32:2556–2562.e2. doi: 10.1016/j.cub.2022.04.030. [DOI] [PubMed] [Google Scholar]
- 48.Packard A, Hochberg FG. Skin patterning in Octopus and other genera. Symp. Zool. Soc. Lond. 1977;38:191–231. [Google Scholar]
- 49.Rößler DC, et al. Regularly occurring bouts of retinal movements suggest an REM sleep-like state in jumping spiders. Proc. Natl Acad. Sci. USA. 2022;119:e2204754119. doi: 10.1073/pnas.2204754119. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Powell, R. Contingency and Convergence: Toward a Cosmic Biology of Body and Mind (MIT, 2020).
- 51.Chung W-S, Kurniawan ND, Marshall NJ. Comparative brain structure and visual processing in octopus from different habitats. Curr. Biol. 2022;32:97–110.e4. doi: 10.1016/j.cub.2021.10.070. [DOI] [PubMed] [Google Scholar]
- 52.Crook RJ. Behavioral and neurophysiological evidence suggests affective pain experience in octopus. iScience. 2021;24:102229. doi: 10.1016/j.isci.2021.102229. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Tainaka K, et al. Chemical landscape for tissue clearing based on hydrophilic reagents. Cell Rep. 2018;24:2196–2210.e9. doi: 10.1016/j.celrep.2018.07.056. [DOI] [PubMed] [Google Scholar]
- 54.Chakraborty T, et al. Light-sheet microscopy of cleared tissues with isotropic, subcellular resolution. Nat. Methods. 2019;16:1109–1113. doi: 10.1038/s41592-019-0615-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Fedorov A, et al. 3D Slicer as an image computing platform for the quantitative imaging network. Magn. Reson. Imaging. 2012;30:1323–1341. doi: 10.1016/j.mri.2012.05.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Avants BB, Epstein CL, Grossman M, Gee JC. Symmetric diffeomorphic image registration with cross-correlation: evaluating automated labeling of elderly and neurodegenerative brain. Med. Image Anal. 2008;12:26–41. doi: 10.1016/j.media.2007.06.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Siegle JH, et al. Survey of spiking in the mouse visual system reveals functional hierarchy. Nature. 2021;592:86–92. doi: 10.1038/s41586-020-03171-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Wu, Y., Kirillov, A., Massa, F., Lo, W.-Y. & Girshick, R. Detectron2. GitHub, https://github.com/facebookresearch/detectron2 (2019).
- 59.Lowe DG. Distinctive image features from scale-invariant keypoints. Int. J. Comput. Vis. 2004;60:91–110. doi: 10.1023/B:VISI.0000029664.99615.94. [DOI] [Google Scholar]
- 60.Lucas, B. D. & Kanade, T. An iterative image registration technique with an application to stereo vision. In Proc. 7th International Joint Conference on Artificial Intelligence Vol. 2, 674–679 (Morgan Kaufmann, 1981).
- 61.Mitra, P. & Bokil, H. Observed Brain Dynamics (Oxford Univ. Press, 2007).
- 62.Simonyan, K. & Zisserman, A. Very deep convolutional networks for large-scale image recognition. Preprint at https://arxiv.org/abs/1409.1556 (2014).
- 63.Deng, J. et al. ImageNet: A large-scale hierarchical image database. In Proc.2009 IEEE Conference on Computer Vision and Pattern Recognition 248–255 (2009).
- 64.Chollet, F. et al. Keras. GitHub, https://github.com/fchollet/keras (2015).
- 65.Cimpoi, M., Maji, S., Kokkinos, I. & Vedaldi, A. Deep filter banks for texture recognition, description, and segmentation. Preprint at https://arxiv.org/abs/1507.02620 (2015). [DOI] [PMC free article] [PubMed]
- 66.Horn JL. A Rationale and test for the number of factors in factor analysis. Psychometrika. 1965;30:179–185. doi: 10.1007/BF02289447. [DOI] [PubMed] [Google Scholar]
- 67.Rousseeuw PJ. Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. J. Comput. Appl. Math. 1987;20:53–65. doi: 10.1016/0377-0427(87)90125-7. [DOI] [Google Scholar]
- 68.Sakoe H, Chiba S. Dynamic programming algorithm optimization for spoken word recognition. IEEE Trans. Acoust. 1978;26:43–49. doi: 10.1109/TASSP.1978.1163055. [DOI] [Google Scholar]
- 69.Schaefer S, McPhail T, Warren J. Image deformation using moving least squares. ACM Trans. Graph. 2006;25:533–540. doi: 10.1145/1141911.1141920. [DOI] [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
Data are available from the corresponding author on request. A small dataset is provided with the analysis code for demonstration purposes.
The code developed in this study is posted in a repository on GitHub: https://github.com/oist/pophale2023.