More than a decade after Google engineers first revealed the hypnotic, dreamlike images produced by a technique known as Deep Dream, a team of researchers from institutions across Iraq and the United Arab Emirates has found a way to make the algorithm’s hallucinations richer, more coherent and more faithful to the original picture. Their secret is not a brand-new network but a lesson machine learning has taught for years: sometimes a committee beats a single expert.
The study, published in Neural Computing and Applications, presents a bagging ensemble framework that combines the outputs of five pretrained convolutional neural network architectures: VGG 16, VGG 19, Xception, Inception v3 and Inception-ResNet-V2. Rather than asking one network to imagine the hidden patterns inside an image, the researchers let all five dream simultaneously and then aggregate their visions through iterative processes that enhance the features of the final image. The result, the team reports, is a Deep Dream output that maintains a high degree of similarity to the input while producing complex and aesthetically striking imagery.
Deep Dream works by exploiting the way convolutional neural networks perceive the world. These networks learn hierarchical features, with early layers detecting simple edges and textures and deeper layers responding to abstract concepts such as faces, eyes or animal shapes. When the technique amplifies the activations of chosen layers and feeds the result back through the network, the image spirals into the surreal patterns that made the method an internet sensation. The problem, however, is that a single architecture captures only one interpretation of the image’s features, and that narrow viewpoint can limit the quality and diversity of the generated dream.
The research team addressed this limitation by treating each pretrained network as a distinct dreamer. In each of the five CNN architectures, the model selects specific layers to activate, including some frozen layers, a choice that enhances the process of feature extraction. Because each network was trained on large image datasets and developed its own internal vocabulary of visual features, the ensemble effectively harvests a wider spectrum of patterns than any single model could reveal. The outputs are aggregated so that shared structures reinforce one another while idiosyncratic artifacts tend to fade, and a final scaling step refines the output image.
Bagging, short for bootstrap aggregating, is a classical ensemble strategy usually applied to prediction tasks, where multiple models trained on slightly different samples of data vote on an outcome. Applying it to image generation is less common, and it is here that the study makes its mark. Instead of sampling the data, the method samples the models themselves, drawing on architectures with different depths, block structures and activation behaviors. VGG 16 and VGG 19, with their stacks of small convolutional filters, emphasize texture-like patterns; the Inception family, with its multi-scale modules, blends information across several receptive field sizes; Xception’s depthwise separable convolutions decompose spatial and channel-wise filtering in yet another way. Each contributes a different stylistic signature to the composite dream.
To evaluate the approach objectively, the researchers tested their generated images using three metrics: loss, the Structural Similarity Index Measure (SSIM), and Normalized Cross-Correlation (NCC). SSIM quantifies how closely the structure of the generated image matches the original, capturing perceived changes in luminance, contrast and structure, while NCC measures the linear correlation between the two images. The generated images exhibited a loss value of 8.5589, with SSIM and NCC values of 0.2404 and 0.7622 respectively. The authors interpret these values as evidence that the ensemble method keeps the generated dreams anchored to the source image even as it introduces elaborate new patterns.
The numbers also hint at the fundamental tension at the heart of Deep Dream. An SSIM of 0.2404 indicates that the generated image departs substantially from its source in structural terms, which is precisely the point of the technique: the goal is transformation, not replication. The comparatively high NCC of 0.7622 shows that the two images remain strongly correlated in their overall signal, suggesting the algorithm amplifies what is already latent in the picture rather than inventing unrelated content. Striking that balance, the researchers argue, is where the bagging ensemble proves its robustness.
The work builds on the authors’ earlier explorations of hybrid artistic models that combined Deep Dream with multiple CNN architectures, extending the idea into the ensemble learning framework that has proven so effective elsewhere in machine learning. It also joins a growing body of research that treats generative visual systems not merely as technical curiosities but as instruments of creative practice, from simulated visual hallucination studies in virtual reality to biometric and diagnostic applications that borrow Deep Dream’s feature-amplification machinery.
For artists and designers, the findings suggest a practical path forward: rather than settling for the idiosyncrasies of one pretrained model, creators can blend the perceptual biases of several networks to steer the mood and texture of their generated work. Because all five architectures are publicly available and pretrained, the approach does not require expensive training runs, making ensemble dreaming accessible to studios and hobbyists alike. The integration of CNN variants in a bagging ensemble framework, the authors conclude, paves the way for further innovations at the intersection of artificial intelligence and artistic expression, confirming the role of ensemble learning in supporting and enhancing visual art.
Beyond the gallery, the technique’s underlying principle, aggregating diverse feature extractors to stabilize and enrich a generative process, could inform other domains where neural networks are asked to reinterpret images, including data augmentation, style transfer and synthetic data generation for training vision systems. As generative AI continues to reshape how images are made and consumed, studies like this one remind us that some of the most compelling machine creativity comes not from bigger models but from teaching machines, like human artists, to compare notes.
The choice of architectures in the study is not arbitrary. All five networks were originally designed for large-scale image classification challenges, and each has since become a standard backbone in computer vision research. VGG-style networks, introduced in the mid-2010s, remain popular despite their age because their uniform structure of small convolutional filters produces feature maps that are easy to interpret and manipulate. The Inception lineage introduced the idea of running convolutions at several filter sizes in parallel within a single module, while Inception-ResNet-V2 added residual connections that ease the training of very deep stacks. Xception pushed this logic further by replacing standard filters with depthwise separable convolutions, a design that later influenced efficient mobile architectures. Drawing dream content from networks with such different inductive biases means the ensemble samples a genuinely diverse space of learned visual features.
A further practical advantage lies in the use of frozen layers. Because the networks are kept in their pretrained state, no gradient-based retraining is required, and the computational burden is limited to the forward and backward passes needed to amplify activations. This makes the method reproducible on modest hardware, an important consideration for creative practitioners who may not have access to large computing clusters. It also means the stylistic character of each network reflects the statistics of the dataset it originally learned from, so the ensemble implicitly blends the visual priors of multiple training runs without any additional data collection.
The evaluation strategy also reflects broader debates in generative image assessment. Metrics such as the Inception Score and the Fréchet Inception Distance are widely used for generative adversarial networks, but they measure distribution-level quality and diversity rather than fidelity to a specific source image. For a technique like Deep Dream, where the output is meant to be a transformation of a particular input, pairwise measures such as SSIM and NCC are more informative. SSIM, originally developed as a perceptual similarity measure grounded in the human visual system, has itself been the subject of ongoing refinement, with data-driven variants proposed to correct its known biases. Reporting both a structural similarity score and a correlation coefficient alongside a loss value therefore gives a more rounded picture of how the ensemble balances novelty against coherence than any single number could.
The work also sits within a lineage of research that repurposes feature-amplification machinery for tasks far removed from art. Deep Dream-style inversion has been used for data-free knowledge transfer between networks, and related mechanisms have appeared in cancellable biometric schemes, authentication systems, and diagnostic imaging pipelines, where amplifying latent features can highlight patterns that are otherwise subtle. In agriculture, image-to-image translation built on deep dreaming has been explored for crop disease datasets, suggesting that the same core operation can serve both aesthetic and analytical ends. The present study’s contribution to this lineage is architectural: it demonstrates that the aggregation principle, so successful in classification and prediction, transfers cleanly to a generative setting where there is no single correct output to converge upon.
There remain open questions that future work could address. The study relies on a fixed selection of layers within each network, and earlier investigations by overlapping author groups have shown that changing the targeted layers in a single model substantially alters the character of the resulting dream. A systematic exploration of how layer choice interacts with ensemble aggregation, or of how the number of contributing architectures affects the trade-off between richness and fidelity, would deepen the understanding of why the committee approach works. Extending the evaluation beyond pairwise similarity metrics to include human aesthetic judgments or distributional measures could also clarify how the perceived artistic quality of the composite images relates to their measured statistical properties, a question that ultimately lies at the boundary between machine learning and the psychology of visual perception.
Subject of Research: Generating Deep Dream images using bagging ensemble learning across multiple pretrained convolutional neural network architectures
Article Title: Generating deep dream images via bagging ensemble learning across multiple pretrained architectures
Article References: Ali, L. R., Alkhazraji, W., Kadhim, Z. S., Jebur, S. A., Abbas, A. R., Jamil, A. S., Hussein, Z. K., Jaber, T. A., Hussein, H. A., Shaker, B. N., & Hussain, A. J. (2026). Generating deep dream images via bagging ensemble learning across multiple pretrained architectures. Neural Computing and Applications, 38(17), Article 730. https://doi.org/10.1007/s00521-026-12432-1
Image Credits: AI Generated
DOI: 10.1007/s00521-026-12432-1
Keywords: Deep Dream, ensemble learning, bagging, convolutional neural networks, VGG 16, VGG 19, Xception, Inception v3, Inception-ResNet-V2, SSIM, normalized cross-correlation, AI art
Cite Scienmag News
Cassandra Pierce. (September 12, 2026). Ensemble of Five Neural Networks Creates Richer Deep Dream Art. Scienmag. https://scienmag.com/ensemble-of-five-neural-networks-creates-richer-deep-dream-art/
Cassandra Pierce. "Ensemble of Five Neural Networks Creates Richer Deep Dream Art." Scienmag, 12 September 2026, https://scienmag.com/ensemble-of-five-neural-networks-creates-richer-deep-dream-art/. Accessed 12 September 2026.
Cassandra Pierce. "Ensemble of Five Neural Networks Creates Richer Deep Dream Art." Scienmag. September 12, 2026. https://scienmag.com/ensemble-of-five-neural-networks-creates-richer-deep-dream-art/

