equivariant-architecture-designer_skill

This skill designs neural network architectures that respect validated symmetry groups, delivering efficient, robust models with improved generalization.

30

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill lyndonkl/claude --skill equivariant-architecture-designer

  • SKILL.md9.4 KB

Overview

This skill helps you design neural network architectures that respect a validated symmetry group and the task requirements. It recommends appropriate architecture families, layer choices, topology patterns, and implementation libraries. The goal is practical, implementable designs that preserve equivariance or produce invariant outputs as needed.

How this skill works

Given a validated group specification and task/domain details, the skill maps the symmetry to a recommended architecture family (G-CNN, steerable CNN, e3nn, GNN, DeepSets, etc.). It then prescribes layer-level patterns (convolutions, tensor products, gated nonlinearities, normalization, pooling) and a topology pattern (encoder, encoder-pooling, message-passing) plus library choices and a code skeleton. Finally it produces an architecture specification you can implement and verify for equivariance.

When to use it

  • You have a validated symmetry group and need an architecture that enforces it.
  • You are building models for images, point clouds, graphs, molecules, or sets with known symmetries.
  • You need guidance choosing equivariant layers, nonlinearities, and normalization strategies.
  • You want library recommendations (e3nn, escnn, pytorch_geometric, NequIP) matched to your group.
  • You need a layer-by-layer architecture spec or a code skeleton to implement and test equivariance.

Best practices

  • Confirm group, domain, task, and whether output must be invariant or equivariant before design.
  • Match group to architecture family (e.g., escnn for 2D rotations, e3nn for E(3) point clouds).
  • Use equivariant-preserving nonlinearities (gated, norm-based, or tensor-product) instead of plain ReLU.
  • Prefer layer-norm or equivariant batch norm; avoid standard batch norm across orientations.
  • Pool with a symmetry-appropriate operator (mean/sum for continuous/groups, max for discrete) to get invariants.
  • Document layer irreps, parameter counts, and verification tests in the architecture spec.

Example use cases

  • Designing a rotation-equivariant CNN for image classification using escnn (C_n or O(2)).
  • Building an E(3)-equivariant GNN for molecular energy and force prediction using e3nn or NequIP.
  • Creating a steerable encoder-decoder for equivariant segmentation on 2D data.
  • Specifying a message-passing equivariant network for point clouds with equivariant aggregation.
  • Producing an architecture spec for a permutation-invariant set regression using DeepSets.

FAQ

Use steerable convolutions for continuous groups (SO(2), O(2), SO(3)) when you need expressive irreps; use discrete group convolutions (G-CNN) for finite rotation/reflection symmetries where efficiency matters.

What nonlinearities preserve equivariance?

Use gated nonlinearities, norm-based activations applied to magnitudes, or tensor-product based nonlinearities (Clebsch–Gordan) provided by libraries like e3nn; avoid plain elementwise ReLU on vector/tensor components.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
equivariant-architecture-designer skill by lyndonkl/claude | VeilStrat