|
Algorithm 1 Stage I: Training Procedure for the Analog Affective Link |
|
Input: Frozen Modules: Emotion Encoder , Speaker Encoder ;
|
| Trainable Modules: JSCC Encoder , JSCC Decoder (collectively );
|
| Hyperparameters: Learning rate , batch size B, transmit power P.
|
|
Output: Optimized Parameters .
|
-
1:
Initialize trainable parameters randomly.
-
2:
repeat
-
3:
for each batch (batch size B) do
-
4:
Extract emotion vectors:
-
5:
Extract speaker vectors:
-
6:
Concatenate latent features:
-
7:
Map to channel symbols:
-
8:
Apply Power Normalization:
-
9:
-
10:
Sample channel state and noise
-
11:
Transmission:
-
12:
Neural Inversion:
-
13:
Compute Reconstruction Loss:
-
14:
-
15:
Update gradients:
-
16:
end for
-
17:
until convergence or max epochs reached
-
18:
return
|