Manuscript Offprint

arXiv:2609.40258

Large Language Model-Guided Evolutionary Discovery of Native Neural Architectures for Spiking Sequence Modeling

Ruoyu Zhao, Jiaqi Wu, Chenyu Zhu, Zhichao Lu

Ruoyu Zhao ∗^{*}, Jiaqi Wu ∗^{*}, Chenyu Zhu and Zhichao Lu

Department of Computer Science, City University of Hong Kong

{ruoyuzhao8-c, jwu395-c, chenyuzhu9-c}@my.cityu.edu.hk, zhichao.lu@cityu.edu.hk

Spiking neural networks (SNNs) offer low-energy sequence modeling through sparse, event-driven computation. However, interactions among spike encoding, neuronal dynamics, and information propagation complicate architecture design. Existing SNN sequence models often adapt artificial neural network (ANN) architectures designed for real-valued activations, potentially underusing spike-based communication and temporal state updates, motivating automated discovery of native SNN architectures. Most evolutionary neural architecture search (ENAS) methods operate within predefined configuration spaces, limiting discovery to mechanisms expressible within those spaces. We introduce OpenArchEvo, which uses large language models (LLMs) to evolve executable architecture code in an open program space under spiking-projection constraints. In this space, code differences need not reflect architectural novelty, while direct performance evaluation requires costly training. We construct a three-view representation spanning code, design rationale, and a behavioral fingerprint to support novelty estimation and performance prediction. The search treats predicted performance and estimated novelty as two objectives, using surrogate predictions to select candidates for expensive training evaluations. With an estimated candidate-training cost of 132 V100 GPU-days, the search uncovers multiple native SNN architectures, exemplified by three designs featuring mechanisms such as spike-activity-dependent control of state updates and residual pathways. The discovered NeuroGate surpasses the ANN DeltaNet on WikiText-103, and the discovered architectures reduce estimated architecture-level arithmetic energy by up to 50.6× (LoopMem) relative to a common dense Transformer (ANN) baseline. All code and all discovered architectures will be made publicly available soon.

1. Introduction

Spiking neural networks (SNNs) communicate through sparse, event-driven spikes, offering a promising route to low-energy sequence modeling. Binary spike signals interact with continuous states that retain and integrate information over time. Architecture determines how spike activity updates these states and how stored information is propagated, shaping predictive performance and opportunities for sparse computation. Existing SNN sequence models include both adaptations of artificial neural network (ANN) architectures and mechanisms designed specifically for spiking computation (Shen et al., 2025; Zhong et al., 2026; Zhu et al., 2024). However, architectural choices effective in ANNs need not retain their advantages after adaptation to spiking computation. In our WikiText-2 comparison, ANN and SNN implementations of the 97 ASI-Arch paired architectures agree only partially in rank (Fig. 1(b)), motivating direct evaluation under spiking computation. The interactions among spike activity, state updates, and information pathways make useful combinations difficult to anticipate. This motivates an AutoML research question: how can search build on expert designs to discover native SNN architectures that match or exceed ANN performance while preserving substantial energy advantages?

Neural architecture search (NAS), particularly evolutionary NAS (ENAS), offers a route to this

Correspondence to: Zhichao Lu (zhichao.lu@cityu.edu.hk). *Equal contribution.

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

Large Language Model-Guided Evolutionary Discovery of Native Neural Architectures for Spiking Sequence Modeling

(a) Qualitative Map of LLM-based Algorithm Design

Figure

∝\propto Space Openness ×\times Object Complexity ×\times (Prior Knowledge) −1^{-1}

(b) ANN-SNN Ranking Plot

Figure

(c) NeuroGate Architecture

(c) - ②

LIF Neuron Spiking Channel Mixer Searched Block

NeuroGate Token Mixer

• 26.4 ppl on WikiText-103

• 31.7× Energy Reduction

Figure 1 | Motivation and result preview for native SNN architecture discovery. (a) A qualitative map of LLM-based algorithm design by candidate-characterization difficulty and evaluation cost. (b) Partial rank agreement is shown by separately trained ANN and SNN implementations of the 97 ASI-Arch paired architectures on WikiText-2 (Kendall τb=0.2997\tau_b = 0.2997; Appendix A.1). (c) NeuroGate achieves 26.4 WikiText-103 perplexity and a 31.7×31.7\times estimated architecture-level arithmetic-energy reduction relative to a common dense Transformer (ANN) baseline (Table 1), under spiking-projection constraints (Appendix A.2). Red arrows mark the added pathway through which spike activity modulates the recurrent update and output gating.

automated exploration (Li et al., 2024; Liu et al., 2023). Most ENAS methods vary operators, connections, and hyperparameters within predefined configuration spaces. These spaces permit new combinations of known components, but mechanisms outside their allowed operations and composition rules require redesigning the search representation. Large language models (LLMs) can generate and modify executable architecture code, enabling changes to internal computations and module interactions. Existing LLM-based NAS already supports architecture discovery through code evolution, including quality-diversity search and novelty checks (Chen et al., 2023; Liu et al., 2025; Nasir et al., 2024). Greater freedom to generate candidates, however, does not by itself yield effective architectural discovery. Figure 1(a) situates this problem within LLM-based algorithm design: code differences need not reflect meaningful architectural differences, while directly measuring task performance requires costly candidate training. The challenge is to characterize generated SNN architectures for novelty estimation and performance prediction, guiding training toward promising candidates while retaining distinct architectural alternatives.

To address this challenge, we introduce OpenArchEvo, an LLM-guided evolutionary method for native SNN architecture discovery. It searches over an open code implementation space for SNN blocks within a fixed outer model structure, subject to interface, causality, and spiking-projection constraints. We estimate each candidate's architectural novelty relative to other architectures considered during search through three complementary views: code describes computational structure, the design rationale states the intended design, and a behavioral fingerprint combines architecture statistics with network responses measured before weight training. The fingerprint also supports surrogate performance prediction; predicted performance and estimated novelty form two objectives for selecting candidates for training. One discovered architecture, NeuroGate, features spike-activity-dependent modulation of recurrent updates and output gating. On WikiText-103, the discovered SNNs outperform the listed SNN baselines, and NeuroGate (Fig. 1(c)) attains 26.4 WikiText-103 perplexity versus 27.5 for ANN DeltaNet (lower is better). The discovered architectures reduce estimated architecture-level

Large Language Model-Guided Evolutionary Discovery of Native Neural Architectures for Spiking Sequence Modeling

arithmetic energy by up to 50.6×50.6\times (LoopMem) relative to a common dense Transformer (ANN) baseline (Table 1).

Our main contributions are as follows:

• Native SNN architectures. We discover SNN architectures with evolved elements native to spiking computation, including spike-activity-dependent control in NeuroGate and HomeoResSSM and a state-norm feedback in LoopMem that benefits the spiking implementation, and examine these elements through SNN ablations and a non-spiking comparison.

• Three-view architecture representation. We construct a three-view representation using code, design rationale, and numerical behavioral fingerprints of architectural structure and behavior. We compare candidates using these views to estimate each candidate’s architectural novelty, while reusing the fingerprints for performance prediction.

• LLM-guided evolutionary discovery. We integrate this characterization into LLM-guided evolution over an open code implementation space, using surrogate-predicted performance and estimated novelty as two objectives to select architectures for training within a limited budget. Search diagnostics and ablations examine surrogate guidance and diversity maintenance.

References (38)