Free SKILL.md scraped from GitHub. Clone the repo or copy the file directly into your Claude Code skills directory.
npx versuz@latest install hiyenwong-ai-collection-collection-skills-echo-networks-computational-neuroevolutiongit clone https://github.com/hiyenwong/ai_collection.gitcp ai_collection/SKILL.MD ~/.claude/skills/hiyenwong-ai-collection-collection-skills-echo-networks-computational-neuroevolution/SKILL.md---
name: echo-networks-computational-neuroevolution
version: v1.0.0
last_updated: 2026-04-12
description: Echo Networks for computational neuroevolution - minimal recurrent networks with matrix-based genome representation for evolutionary algorithms. Enables systematic mutation and recombination operators through matrix computations and factorizations.
---
# Echo Networks for Computational Neuroevolution
## Overview
Echo Networks are a novel type of recurrent neural network designed specifically for evolutionary algorithms in computational neuroevolution. They consist solely of a connection matrix where source neurons are represented as rows, destination neurons as columns, and weights as matrix entries. This design eliminates traditional layers and enables bidirectional connections while maintaining all connections as technically recurrent.
## Key Features
### Minimal Architecture
- **Connection matrix only**: No separate weight matrices or layers
- **Arbitrary I/O assignment**: Input and output can be assigned to any neurons
- **Optional output functions**: Additional functions (e.g., sigmoid) only for output neurons
- **Extreme edge compatibility**: Designed for minimal networks of few dozen neurons
### Genome Representation Advantages
- **Single matrix genome**: Entire network encoded as one matrix
- **Systematic mutations**: Matrix computations enable structured mutations
- **Factorization-based recombination**: Matrix factorizations as crossover operators
- **Improved evolvability**: Better systematicity compared to direct weight encoding
### Recurrent Structure
- **No layers**: Flat architecture without hierarchical layers
- **Bidirectional connections**: Technical implementation allows bidirectional flow
- **All connections recurrent**: Every connection is treated as recurrent
- **Flexible topology**: Arbitrary connectivity patterns supported
## Activation Keywords
- echo networks
- computational neuroevolution
- matrix-based neural evolution
- recurrent network evolution
- minimal neural networks
- evolutionary matrix networks
- 回声网络
- 计算神经进化
- 矩阵神经网络进化
## Implementation Details
### Network Architecture
```python
class EchoNetwork:
def __init__(self, num_neurons):
self.num_neurons = num_neurons
# Connection matrix: rows=source, columns=destination
self.connection_matrix = np.random.randn(num_neurons, num_neurons)
self.input_neurons = [] # Indices of input neurons
self.output_neurons = [] # Indices of output neurons
self.output_functions = {} # Optional functions for output neurons
def forward(self, inputs, state=None):
if state is None:
state = np.zeros(self.num_neurons)
# Assign inputs to designated neurons
for i, input_neuron in enumerate(self.input_neurons):
state[input_neuron] = inputs[i]
# Apply recurrent dynamics
next_state = np.dot(state, self.connection_matrix)
# Apply output functions if specified
outputs = []
for output_neuron in self.output_neurons:
output_val = next_state[output_neuron]
if output_neuron in self.output_functions:
output_val = self.output_functions[output_neuron](output_val)
outputs.append(output_val)
return np.array(outputs), next_state
```
### Evolutionary Operators
#### Mutation via Matrix Operations
```python
def matrix_mutation(connection_matrix, mutation_rate=0.1):
"""Apply structured mutation using matrix operations"""
# Add random noise
noise = np.random.randn(*connection_matrix.shape) * mutation_rate
mutated_matrix = connection_matrix + noise
# Apply matrix-specific mutations (e.g., rank perturbation)
rank_perturbation = np.outer(
np.random.randn(connection_matrix.shape[0]),
np.random.randn(connection_matrix.shape[1])
) * mutation_rate * 0.5
return mutated_matrix + rank_perturbation
```
#### Recombination via Matrix Factorization
```python
def matrix_recombination(parent1_matrix, parent2_matrix, alpha=0.5):
"""Recombine using matrix factorization techniques"""
# SVD-based recombination
U1, S1, V1 = np.linalg.svd(parent1_matrix)
U2, S2, V2 = np.linalg.svd(parent2_matrix)
# Interpolate singular values and combine components
S_combined = alpha * S1 + (1-alpha) * S2
U_combined = alpha * U1 + (1-alpha) * U2
V_combined = alpha * V1 + (1-alpha) * V2
# Reconstruct matrix
child_matrix = U_combined @ np.diag(S_combined) @ V_combined
return child_matrix
```
## Applications
### Signal Processing
- **ECG classification**: Successfully evaluated on electrocardiography signals
- **Event detection**: Minimal networks for discrete time signal processing
- **Time series classification**: General temporal pattern recognition
### Extreme Edge Computing
- **Resource-constrained devices**: Few dozen neurons for minimal footprint
- **Low-power applications**: Efficient computation for battery-powered devices
- **Real-time processing**: Fast inference with minimal computational overhead
### Evolutionary Algorithm Research
- **Genome representation studies**: Novel approaches to neural network encoding
- **Mutation operator design**: Systematic mutation strategies for neural networks
- **Crossover mechanism development**: Advanced recombination techniques
## Evaluation Results
### ECG Classification Performance
- **Dataset**: Standard electrocardiography signal dataset
- **Network size**: 24-48 neurons (minimal configuration)
- **Accuracy**: Competitive with larger traditional networks
- **Efficiency**: Significantly reduced computational requirements
### Evolvability Metrics
- **Convergence speed**: Faster evolution compared to NEAT-like approaches
- **Solution diversity**: Higher diversity in evolved solutions
- **Scalability**: Maintains performance as problem complexity increases
- **Robustness**: Consistent performance across different random seeds
## Integration with Knowledge Graph
```bash
# Add to knowledge graph
./scripts/kg_tool/target/release/kg_tool add kg.db \
--type paper \
--name "Introducing Echo Networks for Computational Neuroevolution" \
--properties '{"arxiv_id": "2604.08204", "category": "computational_neuroevolution"}'
```
## Related Research
### Key Papers
1. **Kroos & Küch (2026)**: "Introducing Echo Networks for Computational Neuroevolution" (arXiv:2604.08204)
2. **Stanley & Miikkulainen (2002)**: "Evolving Neural Networks through Augmenting Topologies" (NEAT)
3. **Floreano et al. (2008)**: "Neuroevolution: from architectures to learning"
### Related Skills
- **neuroevolution-algorithms**: General neuroevolution techniques
- **spiking-neural-network-analysis**: SNN analysis and evolution
- **matrix-computation-optimization**: Advanced matrix operations
- **evolutionary-algorithm-design**: EA design principles
## Future Directions
### Research Opportunities
- **Hybrid architectures**: Combining Echo Networks with other neural models
- **Advanced factorization methods**: Exploring different matrix decomposition techniques
- **Multi-objective evolution**: Extending to multi-objective optimization scenarios
- **Theoretical analysis**: Formal analysis of convergence and expressivity
### Practical Applications
- **Embedded AI systems**: Deployment on microcontrollers and IoT devices
- **Biomedical signal processing**: Expanded applications in healthcare
- **Robotics control**: Real-time control systems for autonomous agents
- **Financial time series**: Market prediction and anomaly detection
## References
- Kroos, C., & Küch, F. (2026). Introducing Echo Networks for Computational Neuroevolution. arXiv:2604.08204.
- Accepted for AMLDS 2026 (International Conference on Advanced Machine Learning and Data Science)
- DOI: 10.1145/3795095.3805158
## Description
This skill provides specialized capabilities for its domain.
## Tools Used
- read: Read files
- write: Write files
- exec: Execute commands
## Instructions for Agents
When this skill is activated:
1. Identify the user's specific need
2. Apply the specialized knowledge
3. Provide clear guidance
## Examples
```
User: How do I use this skill?
Agent: I'll help you with this skill...
```