Invariant Feature
An invariant feature does not change when the input is transformed by a symmetry group.
For a transformation and feature map :
The feature can be used when the task should ignore that transformation.
Examples
- Pairwise distance:
- Angle between two vectors:
- Norm of a vector:
- Graph-level readout after permutation-invariant pooling:
Uses
- Scalar property prediction.
- Binding affinity or energy prediction.
- Classification and ranking.
- Graph-level molecular readout.
- Distance/contact features for 3D structures.
Feature Map
| Feature | Invariant To | Not Necessarily Preserved |
|---|---|---|
| distance | translation and rotation | direction, chirality, absolute frame |
| angle | translation and rotation | handedness unless signed orientation is included |
| dihedral magnitude | translation and rotation | sign can matter for stereochemistry |
| vector norm | rotation | vector direction |
| sorted neighbor distances | permutation within neighbors | identity of each neighbor |
| graph pooled state | node permutation | local attribution and rare-site signal |
Invariance Claim Boundary
Invariant features are appropriate only when the target is also invariant:
for the transformation group . For scalar molecular properties this is usually true for rotations and translations. For coordinate updates, forces, velocities, and pose refinement, invariant features alone are insufficient unless they are combined with equivariant directions.
Molecular Modeling Risks
| Risk | Example |
|---|---|
| chirality loss | using only pairwise distances can fail to distinguish mirror-image configurations |
| pose leakage | invariant distances computed from a known bound pose may be unavailable at inference |
| size leakage | sum features can encode molecule or protein size when size is a dataset artifact |
| context leakage | pocket features can be ligand-defined rather than deployment-defined |
| over-invariance | augmentation or feature design removes signal required by the label |
Checks
- Which group should the feature be invariant to: translation, rotation, reflection, permutation, or sequence shift?
- Is the target also invariant to that group?
- Does the feature discard information needed for the task, such as chirality or orientation?
- Is the invariant feature computed from public/generic inputs rather than deployment-unavailable context?
- Is the invariant feature used as input, target, metric, or readout?
- Does the feature preserve atom/residue identity and mapping when required?