Pattern Classifier
This model was trained to classify which patterns a subject model was trained on, based on neuron activation signatures.
Dataset
- Training Dataset: maximuspowers/muat-pca-15
- Input Mode: signature
- Number of Patterns: 14
Patterns
The model predicts which of the following 14 patterns the subject model was trained on:
palindromesorted_ascendingsorted_descendingalternatingcontains_abcstarts_withends_withno_repeatshas_majorityincreasing_pairsdecreasing_pairsvowel_consonantfirst_last_matchmountain_pattern
Model Architecture
- Signature Encoder: [512, 256, 256, 128]
- Activation: relu
- Dropout: 0.2
- Batch Normalization: True
Training Configuration
- Optimizer: adam
- Learning Rate: 0.001
- Batch Size: 16
- Loss Function: BCE with Logits (with pos_weight for training, unweighted for validation)
Test Set Performance
- F1 Macro: 0.0981
- F1 Micro: 0.1127
- Hamming Accuracy: 0.8154
- Exact Match Accuracy: 0.0234
- BCE Loss: 0.5402
Per-Pattern Accuracy (Test Set)
When a model was trained on a pattern, what % of the time does the classifier detect it:
| Pattern | Recall (Detection Rate) |
|---|---|
| palindrome | 26.9% |
| sorted_ascending | 18.0% |
| sorted_descending | 26.3% |
| alternating | 26.7% |
| contains_abc | 19.0% |
| starts_with | 16.1% |
| ends_with | 17.5% |
| no_repeats | 0.0% |
| has_majority | 11.5% |
| increasing_pairs | 11.9% |
| decreasing_pairs | 14.3% |
| vowel_consonant | 0.0% |
| first_last_match | 7.3% |
| mountain_pattern | 10.2% |
Usage
import torch
from huggingface_hub import hf_hub_download
# Download the model
checkpoint_path = hf_hub_download(repo_id='maximuspowers/muat-pca-15-classifier', filename='best_model.pt')
checkpoint = torch.load(checkpoint_path)
- Downloads last month
- 5
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
🙋
Ask for provider support