Paleoinspired Vision: From Exploring Colour Vision Evolution to Inspiring Camera Design

Yijie Lu, Zhimin Zong, Junjie Zhang, Shenghan Su, Lin Gu, Ziteng Cui, Zeyun Zhao, Yan Pu, Jing Lu, Daisuke Kojima, Ruogu FangNeurIPS 2026

TL;DR

What if you could fast-forward 500 million years of eye evolution in seconds on a GPU? Researchers built a biologically grounded neural network layer that simulates how retinal proteins adapt to ecological pressures—like spotting fruit in foliage or seeing in the deep sea. Beyond validating long-standing evolutionary mysteries, this exact same framework acts as an automated blueprint for designing custom, task-specific camera filters for cancer detection and Mars rovers.

What Problem Does This Paper Address?

Around 518 million years ago, early vertebrates saw the world in four colors (tetrachromacy). When early mammals went nocturnal to avoid dinosaurs, they lost two color channels, becoming dichromats. Later, after the dinosaurs vanished, diurnal primates duplicated a gene to regain a third color channel (trichromacy).

Figure 1: Our framework reconstructs the 518-million-year evolutionary trajectory of color vision across the vertebrate-to-primate lineage and evaluates corresponding explanatory hypotheses. This includes the transition from ancestral tetrachromacy through mammalian gene loss (dichromatic regression) to primate gene duplication (trichromatic progression). Furthermore, the framework quantifies the dim-light advantage hypothesis, deep-sea opsin blueshifts, and predictive visual adaptations and sensor designs for novel environments, such as the Martian landscape.

Evolutionary biologists have long linked these visual shifts to survival pressures, but you can't easily run a controlled, 100-million-year lab experiment to prove it. Meanwhile, in the engineering world, almost all modern RGB cameras blindly copy human trichromatic vision. While great for vacation photos, human-mimicking sensors aren't optimal for specialized machine vision tasks like spotting tumors or navigating alien terrain. The authors tackle both problems at once: creating a quantitative sandbox to test evolutionary hypotheses, and repurposing nature’s optimization rules to design minimalist, task-specific optical filters.

Methods

The authors bridge biology and computer vision using a pipeline called Evolutionary Conservation Optimization:

  • The Opsin Layer (Novel): In biological eyes, light-sensitive proteins called opsins filter incoming wavelengths of light. Because integrating a light spectrum over an opsin's sensitivity curve is mathematically equivalent to a dot product, the authors model retinal transduction as a specialized $1 \times 1$ convolutional layer applied to hyperspectral images (images with hundreds of wavelength channels rather than just R, G, and B).
  • Conservative Regularization (Novel): Left unconstrained, gradient descent produces jagged, physically impossible spectral curves. In nature, opsin sensitivity curves look like smooth Gaussian bell curves, and amino acid mutations shift their peak wavelength ($\lambda_{\text{max}}$) incrementally. The authors constrain their $1 \times 1$ kernels to be Gaussian functions where only the peak wavelength $\lambda_{\text{max}}$ is learnable, capping shifts at a biologically realistic $0.5\text{ nm}$ per epoch.
  • Vision Backbone (Standard): The filtered C-channel output from the opsin layer is fed into a standard Mix Transformer (MiT) encoder and an all-MLP segmentation decoder. Semantic segmentation (identifying objects pixel-by-pixel) serves as the proxy for Darwinian fitness—like finding food or avoiding obstacles.
Figure 2: Computational framework for Evolutionary Conservation Optimization. The pipeline translates ecological pressures into semantic segmentation tasks, utilizing an opsin layer to bridge low-level spectral perception with high-level decision-making. By incorporating conservative regular- ization—parameterizing kernels as Gaussian functions with constrained λmax shifts, the framework simulates the evolution and derive task-adaptive spectral response functions for specialized camera designs in Martian and medical applications.

To design physical cameras, they initialize the opsin layer with standard Sony RGB filter peaks ($600, 540, 460\text{ nm}$) and let the network gently nudge those peaks to maximize segmentation accuracy for a specific medical or planetary task.

Datasets

No new datasets were introduced, though existing ones were creatively modified (e.g., adding low-light noise or depth-based water attenuation equations) to mimic ancient or extreme habitats:

  • Evolutionary Simulations: LIB-HSI (used for nocturnal mammal, diurnal primate, and simulated underwater deep-sea tasks) and MinneApple (used to test fruit recognition and camouflage-breaking in foliage).
  • Camera Design: MHSI Choledoch (bile duct cancer), MODID (oral cancer), and Mars-Seg (Martian rock and shadow segmentation).

Key Insights and Ideas

  • Gradient descent as virtual natural selection: By restricting a neural network layer to obey biochemical rules, backpropagation cleanly mirrors million-year mutational trajectories—reconstructing how nocturnal mammal opsins shifted and how duplicated primate genes diverged to spot red fruit against green leaves.
  • Why color blindness survived: If trichromacy is so great, why does color deficiency persist in primates? Simulating low-light conditions revealed that "color-weak" configurations actually outperform normal trichromacy at spotting fruit in the dark, lending quantitative weight to the dim-light advantage hypothesis.
  • Physics drives deep-sea vision: Simulating water light-attenuation caused a single rod opsin to progressively "blue-shift" as depth increased from $0\text{ m}$ to $70\text{ m}$, matching real-world observations of squirrelfish. Furthermore, hypothetical Martian life evolved vision remarkably close to human deuteranopia (red-green color blindness).
  • Hardware tweaks beat giant models: In hyperspectral medical and planetary imaging, a decade of complex AI architecture upgrades has yielded only ~1% annual accuracy gains. Simply shifting the camera's physical color filters by a few nanometers yields an immediate >2% leap—and because the shifts are small and smooth, the filters are easy to manufacture.

Key Results

  • Mammalian Regression: Under simulated dim light, the 2-opsin (dichromatic) model outperformed the 4-opsin (tetrachromatic) model ($30.49\%$ vs. $26.33\%$ mIoU). Within 500 epochs, its peaks shifted ($620 \rightarrow 548.35\text{ nm}$ and $375 \rightarrow 433.25\text{ nm}$) right into the biological target zones of living mammals.
  • Primate Trichromacy & Color Blindness: Adding a third opsin dropped the fruit "camouflage score" (lower means easier to spot) from $0.334$ to $0.208$ in bright light. However, in heavy darkness, red-weak and green-weak vision beat normal trichromacy ($0.324$ vs. $0.355$).
  • Squirrelfish Blue-Shift: Simulated rod opsin $\lambda_{\text{max}}$ steadily dropped from $496.19\text{ nm}$ at the surface ($0\text{ m}$) to $481.10\text{ nm}$ at $70\text{ m}$ depth, mirroring real squirrelfish biology ($481\text{–}502\text{ nm}$).
  • Task-Specific Cameras: Using a compact $15.10\text{M}$ parameter model, optimizing the three filter peaks beat heavy $200\text{M}+$ parameter hyperspectral baselines—pushing mIoU from $54.35\%$ to $56.36\%$ on bile duct cancer (MHSI), $56.42\%$ to $58.67\%$ on oral cancer (MODID), and $39.22\%$ to $41.23\%$ on Mars terrain (Mars-Seg).

Limitations and Future Work

When testing why certain deep-sea fish evolve multiple rod opsins in bioluminescent waters, the model produced a minor $5\text{ nm}$ divergence across 5 wavelengths—much smaller than the spectral separation seen in nature. The authors note that capturing these complex adaptations will require future work incorporating more precise, anatomically detailed retinal models. Additionally, the simulated absence of tetrachromacy re-emerging in primates suggests neutral biological processes like genetic drift are at play, which pure task-driven optimization doesn't capture.

Summary updated

Abstract

The evolution of colour vision is captivating, as it reveals the adaptive strategies of extinct species while simulta- neously inspiring innovations in modern imaging technol- ogy. In this study, we present a simplified model of vi- sual transduction in the retina, introducing a novel opsin layer. We quantify evolutionary pressures by measuring ma- chine vision recognition accuracy on colour images shaped by specific opsins. Building on this, we develop an evolu- tionary conservation optimisation algorithm to reconstruct the spectral sensitivity of opsins, enabling mutation-driven adaptations to to more effectively spot fruits or predators. This model condenses millions of years of evolution within seconds on GPU, providing an experimental framework to test long-standing hypotheses in evolutionary biology , such as vision of early mammals, primate trichromacy from gene duplication, retention of colour blindness, blue-shift of fish rod and multiple rod opsins with bioluminescence. More- over, the model enables speculative explorations of hypo- thetical species, such as organisms with eyes adapted to the conditions on Mars. Our findings suggest a minimalist yet effective approach to task-specific camera filter design, op- timising the spectral response function to meet application- driven demands. The code will be made publicly available upon acceptance.
BibTeX
@inproceedings{lu2026paleoinspired,
  author = {Yijie Lu and Zhimin Zong and Junjie Zhang and Shenghan Su and Lin Gu and Ziteng Cui and Zeyun Zhao and Yan Pu and Jing Lu and Daisuke Kojima and Ruogu Fang},
  title = {{Paleoinspired Vision: From Exploring Colour Vision Evolution to Inspiring Camera Design}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=cB3qLL381r},
}
Figure