Fix model-index dataset field and character encoding
Browse files
README.md
CHANGED
|
@@ -1,227 +1,230 @@
|
|
| 1 |
-
---
|
| 2 |
-
language: en
|
| 3 |
-
license: mit
|
| 4 |
-
library_name: pytorch
|
| 5 |
-
pipeline_tag: other
|
| 6 |
-
tags:
|
| 7 |
-
- serdes
|
| 8 |
-
- lstm
|
| 9 |
-
- adaptive-control
|
| 10 |
-
- signal-processing
|
| 11 |
-
- communications
|
| 12 |
-
- equalization
|
| 13 |
-
- hardware-optimization
|
| 14 |
-
- real-time-systems
|
| 15 |
-
|
| 16 |
-
datasets:
|
| 17 |
-
- synthetic
|
| 18 |
-
|
| 19 |
-
metrics:
|
| 20 |
-
- mse
|
| 21 |
-
- r2
|
| 22 |
-
- mae
|
| 23 |
-
|
| 24 |
-
model-index:
|
| 25 |
-
- name: adaptive-serdes-lstm-controller
|
| 26 |
-
results:
|
| 27 |
-
- task:
|
| 28 |
-
type: regression
|
| 29 |
-
name: SerDes Parameter Optimization
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
- type:
|
| 35 |
-
value: 0.
|
| 36 |
-
name:
|
| 37 |
-
- type:
|
| 38 |
-
value: 0.
|
| 39 |
-
name: Mean
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
- **
|
| 58 |
-
- **
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
- **
|
| 66 |
-
- **
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
0.
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
#
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
- **
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
- **
|
| 133 |
-
- **
|
| 134 |
-
- **
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
- **
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
|
| 153 |
-
|
|
| 154 |
-
|
|
| 155 |
-
|
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
- **
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
- **
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
(
|
| 181 |
-
(
|
| 182 |
-
(
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
(
|
| 187 |
-
(
|
| 188 |
-
(
|
| 189 |
-
(
|
| 190 |
-
(
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
)
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
**
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
- **
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: mit
|
| 4 |
+
library_name: pytorch
|
| 5 |
+
pipeline_tag: other
|
| 6 |
+
tags:
|
| 7 |
+
- serdes
|
| 8 |
+
- lstm
|
| 9 |
+
- adaptive-control
|
| 10 |
+
- signal-processing
|
| 11 |
+
- communications
|
| 12 |
+
- equalization
|
| 13 |
+
- hardware-optimization
|
| 14 |
+
- real-time-systems
|
| 15 |
+
|
| 16 |
+
datasets:
|
| 17 |
+
- synthetic
|
| 18 |
+
|
| 19 |
+
metrics:
|
| 20 |
+
- mse
|
| 21 |
+
- r2
|
| 22 |
+
- mae
|
| 23 |
+
|
| 24 |
+
model-index:
|
| 25 |
+
- name: adaptive-serdes-lstm-controller
|
| 26 |
+
results:
|
| 27 |
+
- task:
|
| 28 |
+
type: regression
|
| 29 |
+
name: SerDes Parameter Optimization
|
| 30 |
+
dataset:
|
| 31 |
+
type: synthetic
|
| 32 |
+
name: SerDes Channel Characterization
|
| 33 |
+
metrics:
|
| 34 |
+
- type: r2_score
|
| 35 |
+
value: 0.92
|
| 36 |
+
name: R-squared Score
|
| 37 |
+
- type: mean_absolute_error
|
| 38 |
+
value: 0.05
|
| 39 |
+
name: Mean Absolute Error
|
| 40 |
+
- type: mse
|
| 41 |
+
value: 0.003
|
| 42 |
+
name: Mean Squared Error
|
| 43 |
+
|
| 44 |
+
widget:
|
| 45 |
+
- text: "Channel characterization: 25.78125 Gb/s data rate with -18.22 dB insertion loss"
|
| 46 |
+
example_title: "High-Speed Channel Adaptation"
|
| 47 |
+
---
|
| 48 |
+
|
| 49 |
+
# Adaptive SerDes LSTM Controller
|
| 50 |
+
|
| 51 |
+
## Model Description
|
| 52 |
+
|
| 53 |
+
This model implements an **Adaptive SerDes (Serializer-Deserializer) Controller** using LSTM neural networks for real-time optimization of high-speed digital communication systems. The model dynamically tunes 31 SerDes parameters to maintain optimal signal integrity across varying channel conditions.
|
| 54 |
+
|
| 55 |
+
### Key Features
|
| 56 |
+
|
| 57 |
+
- **Real-time Adaptation**: LSTM-based controller that adapts to changing channel conditions
|
| 58 |
+
- **Multi-Parameter Optimization**: Controls 31 SerDes parameters including FFE/DFE taps, TX swing, RX CTLE settings
|
| 59 |
+
- **Channel-Aware**: Integrates real S4P channel characterization data
|
| 60 |
+
- **High-Speed Support**: Validated up to 112 Gb/s data rates
|
| 61 |
+
- **Eye Diagram Optimization**: Maximizes eye height and width for optimal signal quality
|
| 62 |
+
|
| 63 |
+
### Architecture
|
| 64 |
+
|
| 65 |
+
- **Input**: 12 channel characteristics (insertion loss, group delay, return loss, etc.)
|
| 66 |
+
- **LSTM Layers**: 3 layers with 256 hidden units each
|
| 67 |
+
- **Output**: 31 SerDes control parameters
|
| 68 |
+
- **Total Parameters**: 1,762,079
|
| 69 |
+
- **Training Data**: 100,000+ channel scenarios with optimal parameter sets
|
| 70 |
+
|
| 71 |
+
## Intended Use
|
| 72 |
+
|
| 73 |
+
### Primary Use Cases
|
| 74 |
+
|
| 75 |
+
1. **Adaptive SerDes Systems**: Real-time parameter optimization in high-speed transceivers
|
| 76 |
+
2. **Channel Equalization**: Automatic tuning of FFE/DFE equalizers
|
| 77 |
+
3. **Signal Integrity Optimization**: Maintaining eye diagram quality across PVT variations
|
| 78 |
+
4. **Research & Development**: Baseline for adaptive communication system research
|
| 79 |
+
|
| 80 |
+
### Direct Use
|
| 81 |
+
|
| 82 |
+
```python
|
| 83 |
+
import torch
|
| 84 |
+
import numpy as np
|
| 85 |
+
|
| 86 |
+
# Load the model
|
| 87 |
+
model = torch.load('adaptive_serdes_lstm_controller.pth')
|
| 88 |
+
model.eval()
|
| 89 |
+
|
| 90 |
+
# Example channel characteristics
|
| 91 |
+
channel_data = torch.tensor([[
|
| 92 |
+
-18.22, # insertion_loss_db
|
| 93 |
+
-16.38, # return_loss_db
|
| 94 |
+
45.2, # group_delay_ps
|
| 95 |
+
25.78125,# data_rate_gbps
|
| 96 |
+
5.156, # nyquist_freq_ghz
|
| 97 |
+
0.85, # eye_height_v
|
| 98 |
+
0.65, # eye_width_ui
|
| 99 |
+
12.5, # snr_db
|
| 100 |
+
1e-12, # ber_estimate
|
| 101 |
+
0.15, # jitter_rms_ui
|
| 102 |
+
2.1, # amplitude_v
|
| 103 |
+
0.92 # quality_factor
|
| 104 |
+
]], dtype=torch.float32)
|
| 105 |
+
|
| 106 |
+
# Predict optimal SerDes parameters
|
| 107 |
+
with torch.no_grad():
|
| 108 |
+
serdes_params = model(channel_data)
|
| 109 |
+
|
| 110 |
+
print(f"Optimized parameters: {serdes_params.shape}")
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
## Training Data
|
| 114 |
+
|
| 115 |
+
The model was trained on a comprehensive dataset of:
|
| 116 |
+
|
| 117 |
+
- **100,000+ channel scenarios** with varying characteristics
|
| 118 |
+
- **Real S4P channel measurements** from industry-standard test cases
|
| 119 |
+
- **Optimal parameter sets** derived from signal integrity analysis
|
| 120 |
+
- **Multiple data rates**: 10.3125, 25.78125, 56.0, 112.0 Gb/s
|
| 121 |
+
|
| 122 |
+
### Data Sources
|
| 123 |
+
|
| 124 |
+
- Industry-standard S4P channel characterization files
|
| 125 |
+
- Synthetic channel models covering extreme conditions
|
| 126 |
+
- Real-world backplane and cable channel measurements
|
| 127 |
+
|
| 128 |
+
## Training Procedure
|
| 129 |
+
|
| 130 |
+
### Training Hyperparameters
|
| 131 |
+
|
| 132 |
+
- **Optimizer**: Adam with weight decay (1e-5)
|
| 133 |
+
- **Learning Rate**: 0.001 with ReduceLROnPlateau scheduler
|
| 134 |
+
- **Batch Size**: 64
|
| 135 |
+
- **Epochs**: 500
|
| 136 |
+
- **Loss Function**: Mean Squared Error
|
| 137 |
+
- **Regularization**: Dropout (0.2), L2 regularization
|
| 138 |
+
|
| 139 |
+
### Training Results
|
| 140 |
+
|
| 141 |
+
- **Final Training Loss**: 0.0028
|
| 142 |
+
- **Validation Loss**: 0.0031
|
| 143 |
+
- **R-squared Score**: 0.92
|
| 144 |
+
- **Mean Absolute Error**: 0.05
|
| 145 |
+
|
| 146 |
+
## Evaluation
|
| 147 |
+
|
| 148 |
+
### Metrics
|
| 149 |
+
|
| 150 |
+
The model achieves excellent performance across multiple metrics:
|
| 151 |
+
|
| 152 |
+
| Metric | Value | Description |
|
| 153 |
+
| ---------------------- | ----- | ---------------------------- |
|
| 154 |
+
| R-squared Score | 0.92 | Coefficient of determination |
|
| 155 |
+
| MAE | 0.05 | Mean Absolute Error |
|
| 156 |
+
| MSE | 0.003 | Mean Squared Error |
|
| 157 |
+
| Eye Height Improvement | +356% | Average eye height gain |
|
| 158 |
+
| SNR Improvement | +27% | Signal-to-noise ratio gain |
|
| 159 |
+
|
| 160 |
+
### Testing Data
|
| 161 |
+
|
| 162 |
+
- **Real S4P Files**: Validated on 10 industry-standard channel files
|
| 163 |
+
- **Data Rate Range**: 10.3125 - 112.0 Gb/s
|
| 164 |
+
- **Channel Types**: Backplane, cable, and connector channels
|
| 165 |
+
- **Loss Range**: -5 to -25 dB insertion loss
|
| 166 |
+
|
| 167 |
+
## Environmental Impact
|
| 168 |
+
|
| 169 |
+
- **Training Time**: ~2 hours on NVIDIA RTX GPU
|
| 170 |
+
- **Inference Time**: <1ms per prediction
|
| 171 |
+
- **Model Size**: 6.7 MB
|
| 172 |
+
- **Carbon Footprint**: Minimal due to efficient LSTM architecture
|
| 173 |
+
|
| 174 |
+
## Technical Specifications
|
| 175 |
+
|
| 176 |
+
### Model Architecture Details
|
| 177 |
+
|
| 178 |
+
```python
|
| 179 |
+
AdaptiveSerDesLSTM(
|
| 180 |
+
(input_norm): BatchNorm1d(12)
|
| 181 |
+
(lstm1): LSTM(12, 256, batch_first=True, dropout=0.2)
|
| 182 |
+
(lstm2): LSTM(256, 256, batch_first=True, dropout=0.2)
|
| 183 |
+
(lstm3): LSTM(256, 256, batch_first=True, dropout=0.2)
|
| 184 |
+
(dropout): Dropout(p=0.2)
|
| 185 |
+
(fc_layers): Sequential(
|
| 186 |
+
(0): Linear(256, 128)
|
| 187 |
+
(1): ReLU()
|
| 188 |
+
(2): Dropout(p=0.2)
|
| 189 |
+
(3): Linear(128, 64)
|
| 190 |
+
(4): ReLU()
|
| 191 |
+
(5): Dropout(p=0.2)
|
| 192 |
+
(6): Linear(64, 31)
|
| 193 |
+
(7): Tanh()
|
| 194 |
+
)
|
| 195 |
+
(output_norm): BatchNorm1d(31)
|
| 196 |
+
)
|
| 197 |
+
```
|
| 198 |
+
|
| 199 |
+
### Output Parameters (31 total)
|
| 200 |
+
|
| 201 |
+
**FFE Taps (7)**: Pre-cursor and post-cursor feed-forward equalizer taps
|
| 202 |
+
**DFE Taps (8)**: Decision feedback equalizer taps
|
| 203 |
+
**TX Parameters (8)**: Swing voltage, pre-emphasis, slew rate controls
|
| 204 |
+
**RX Parameters (8)**: CTLE settings, VGA gain, offset compensation
|
| 205 |
+
|
| 206 |
+
## Limitations
|
| 207 |
+
|
| 208 |
+
- **Channel Scope**: Optimized for electrical channels up to 112 Gb/s
|
| 209 |
+
- **Temperature Range**: Validated for -40°C to +85°C industrial range
|
| 210 |
+
- **Real-time Constraints**: Requires <1ms adaptation time for practical deployment
|
| 211 |
+
- **Hardware Dependencies**: Assumes standard SerDes architecture with programmable parameters
|
| 212 |
+
|
| 213 |
+
## Bias and Fairness
|
| 214 |
+
|
| 215 |
+
The model is trained on diverse channel conditions but may have biases toward:
|
| 216 |
+
|
| 217 |
+
- Common industrial channel types (backplane, cable)
|
| 218 |
+
- Standard data rates (10.3, 25.8, 56, 112 Gb/s)
|
| 219 |
+
- Specific connector and material types in training data
|
| 220 |
+
|
| 221 |
+
|
| 222 |
+
```
|
| 223 |
+
|
| 224 |
+
## Model Card Authors
|
| 225 |
+
|
| 226 |
+
Fidel Makatia Omusilibwa
|
| 227 |
+
|
| 228 |
+
## Model Card Contact
|
| 229 |
+
|
| 230 |
+
For questions about this model, please open an issue in the model repository or contact the author.
|