Haxxsh commited on
Commit
0893472
·
verified ·
1 Parent(s): 0059db3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +63 -36
README.md CHANGED
@@ -1,4 +1,30 @@
1
- # AffectDynamics(Team AGI) — Longitudinal Affect Prediction Model
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  AffectDynamics is a temporal affect modeling system developed for **SemEval-2026 Task 2: Predicting Variation in Emotional Valence and Arousal over Time from Ecological Essays**.
4
 
@@ -22,17 +48,18 @@ The system consists of four main components:
22
  - Produces contextual embeddings for each text input.
23
 
24
  Different pooling strategies are used depending on text type:
25
- - Essays → CLS / pooler representation
26
- - Feeling word lists mean pooled token embeddings
 
27
 
28
  ### 2. Temporal Encoder
29
  - **Unidirectional GRU**
30
- - Models longitudinal emotional dynamics across user timelines.
31
- - Ensures **causal temporal modeling** (no future information leakage).
32
 
33
  ### 3. User Conditioning
34
  - **Gated user embedding**
35
- - Incorporates user-level statistics such as:
36
  - number of samples
37
  - timeline length
38
  - emotional entropy
@@ -40,7 +67,6 @@ Different pooling strategies are used depending on text type:
40
  This allows interpolation between **user-specific** and **global representations**.
41
 
42
  ### 4. Prediction Heads
43
- The model supports three prediction tasks:
44
 
45
  | Task | Description |
46
  |-----|-------------|
@@ -56,10 +82,10 @@ The model was trained using the official **SemEval-2026 Task 2 dataset**.
56
 
57
  ### Dataset statistics
58
 
59
- - **Total texts:** 5,285
60
- - **Training texts:** 2,764
61
- - **Users:** 182 total (137 in training)
62
- - **Time span:** 2021–2024
63
 
64
  Each entry contains:
65
 
@@ -72,7 +98,7 @@ Each entry contains:
72
  | valence | Emotional valence (-2 to 2) |
73
  | arousal | Emotional arousal (0 to 2) |
74
 
75
- The texts were written by **U.S. service-industry workers** describing how they felt at the moment.
76
 
77
  ---
78
 
@@ -82,10 +108,10 @@ The texts were written by **U.S. service-industry workers** describing how they
82
 
83
  - Optimizer: **AdamW**
84
  - Scheduler: **OneCycleLR**
85
- - Batch size: 4
86
- - Training epochs: 10
87
 
88
- ### Learning rates
89
 
90
  | Component | Learning Rate |
91
  |----------|---------------|
@@ -98,14 +124,14 @@ The texts were written by **U.S. service-industry workers** describing how they
98
  | Task | Loss |
99
  |----|----|
100
  | Subtask 1 | Ordinal regression with label smoothing |
101
- | Subtask 2A | Smooth L1 loss for delta prediction |
102
  | Subtask 2B | Mean squared error |
103
 
104
  ---
105
 
106
  # Evaluation Results
107
 
108
- Official evaluation results from SemEval-2026 Task 2:
109
 
110
  | Task | Metric | Valence | Arousal |
111
  |----|----|----|----|
@@ -119,30 +145,28 @@ The model demonstrates strong performance on **absolute affect prediction**, but
119
 
120
  # Intended Use
121
 
122
- This model is intended for **research purposes** including:
123
 
124
- - longitudinal affect modeling
125
- - emotion prediction from text
126
- - temporal NLP modeling
127
- - ecological momentary assessment analysis
128
 
129
  ---
130
 
131
  # Limitations
132
 
133
- Several limitations should be considered:
134
-
135
  1. **Stability bias**
136
- - Temporal modeling tends to smooth predictions, reducing sensitivity to abrupt emotional changes.
137
 
138
  2. **Dataset domain**
139
- - Data comes from a specific population (U.S. service-industry workers), which may limit generalization.
140
 
141
- 3. **Small number of users**
142
- - Training data includes only 137 users.
143
 
144
  4. **Change prediction difficulty**
145
- - Predicting emotional deltas is significantly harder than predicting absolute states.
146
 
147
  ---
148
 
@@ -152,23 +176,26 @@ Emotion prediction models must be used responsibly.
152
 
153
  Potential concerns include:
154
 
155
- - **Privacy risks** when modeling personal emotional data
156
- - **Misuse for emotional manipulation**
157
- - **Bias from dataset demographics**
158
 
159
- This model should **not be used for clinical or psychological diagnosis**.
160
 
161
  ---
162
 
163
  # Reproducibility
164
 
165
- Code and training pipeline are available at:
166
 
167
- **GitHub Repository**
168
  https://github.com/ezylopx5/AffectDynamics-SemEval2026Task2
169
 
 
 
 
 
170
  ---
171
 
172
  # Citation
173
 
174
- If you use this model, please cite the system description paper:
 
1
+ ---
2
+ language:
3
+ - en
4
+
5
+ license: apache-2.0
6
+
7
+ tags:
8
+ - semeval
9
+ - semeval-2026
10
+ - emotion
11
+ - affect-prediction
12
+ - temporal-nlp
13
+ - transformers
14
+ - roberta
15
+
16
+ datasets:
17
+ - semeval
18
+
19
+ pipeline_tag: text-classification
20
+
21
+ library_name: transformers
22
+
23
+ metrics:
24
+ - pearson-correlation
25
+ ---
26
+
27
+ # AffectDynamics (Team AGI) — Longitudinal Affect Prediction Model
28
 
29
  AffectDynamics is a temporal affect modeling system developed for **SemEval-2026 Task 2: Predicting Variation in Emotional Valence and Arousal over Time from Ecological Essays**.
30
 
 
48
  - Produces contextual embeddings for each text input.
49
 
50
  Different pooling strategies are used depending on text type:
51
+
52
+ - EssaysCLS / pooler representation
53
+ - Feeling word lists → mean pooled token embeddings
54
 
55
  ### 2. Temporal Encoder
56
  - **Unidirectional GRU**
57
+ - Models longitudinal emotional dynamics across user timelines
58
+ - Ensures **causal temporal modeling** (no future information leakage)
59
 
60
  ### 3. User Conditioning
61
  - **Gated user embedding**
62
+ - Uses user statistics such as:
63
  - number of samples
64
  - timeline length
65
  - emotional entropy
 
67
  This allows interpolation between **user-specific** and **global representations**.
68
 
69
  ### 4. Prediction Heads
 
70
 
71
  | Task | Description |
72
  |-----|-------------|
 
82
 
83
  ### Dataset statistics
84
 
85
+ - Total texts: **5,285**
86
+ - Training texts: **2,764**
87
+ - Users: **182 total (137 training users)**
88
+ - Time span: **2021–2024**
89
 
90
  Each entry contains:
91
 
 
98
  | valence | Emotional valence (-2 to 2) |
99
  | arousal | Emotional arousal (0 to 2) |
100
 
101
+ The texts were written by **U.S. service-industry workers** describing their emotional state.
102
 
103
  ---
104
 
 
108
 
109
  - Optimizer: **AdamW**
110
  - Scheduler: **OneCycleLR**
111
+ - Batch size: **4**
112
+ - Training epochs: **10**
113
 
114
+ ### Learning Rates
115
 
116
  | Component | Learning Rate |
117
  |----------|---------------|
 
124
  | Task | Loss |
125
  |----|----|
126
  | Subtask 1 | Ordinal regression with label smoothing |
127
+ | Subtask 2A | Smooth L1 loss |
128
  | Subtask 2B | Mean squared error |
129
 
130
  ---
131
 
132
  # Evaluation Results
133
 
134
+ Official evaluation results from **SemEval-2026 Task 2**:
135
 
136
  | Task | Metric | Valence | Arousal |
137
  |----|----|----|----|
 
145
 
146
  # Intended Use
147
 
148
+ This model is intended for **research purposes**, including:
149
 
150
+ - longitudinal affect modeling
151
+ - emotion prediction from text
152
+ - temporal NLP modeling
153
+ - ecological momentary assessment analysis
154
 
155
  ---
156
 
157
  # Limitations
158
 
 
 
159
  1. **Stability bias**
160
+ - Temporal modeling smooths predictions and reduces sensitivity to abrupt changes.
161
 
162
  2. **Dataset domain**
163
+ - Data originates from a specific population (U.S. service-industry workers).
164
 
165
+ 3. **Limited users**
166
+ - Only **137 users** in training data.
167
 
168
  4. **Change prediction difficulty**
169
+ - Predicting emotional deltas is harder than predicting absolute states.
170
 
171
  ---
172
 
 
176
 
177
  Potential concerns include:
178
 
179
+ - privacy risks from modeling personal emotional data
180
+ - misuse for manipulation or surveillance
181
+ - dataset demographic bias
182
 
183
+ This model **should not be used for clinical or psychological diagnosis**.
184
 
185
  ---
186
 
187
  # Reproducibility
188
 
189
+ Code and training pipeline:
190
 
 
191
  https://github.com/ezylopx5/AffectDynamics-SemEval2026Task2
192
 
193
+ Model weights:
194
+
195
+ https://huggingface.co/Haxxsh/AffectDynamics-SemEval2026Task2
196
+
197
  ---
198
 
199
  # Citation
200
 
201
+ If you use this model, please cite: