-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
386 lines (345 loc) · 15.4 KB
/
index.html
File metadata and controls
386 lines (345 loc) · 15.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Proposal: Smart Rehearsal in Continual Learning</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 40px 20px;
background-color: #f4f7f6;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
background: white;
border-radius: 15px;
padding: 40px;
box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.header {
text-align: center;
margin-bottom: 50px;
padding-bottom: 20px;
border-bottom: 2px solid #e0e0e0;
}
.header h1 {
color: #2c3e50;
font-size: 2.8em;
margin-bottom: 10px;
}
.header p {
color: #7f8c8d;
font-size: 1.2em;
margin-bottom: 15px;
}
.header .meta-info {
font-size: 0.9em;
color: #555;
}
.flowchart {
display: flex;
flex-direction: column;
gap: 40px;
}
.phase {
text-align: center;
}
.phase-title {
background: linear-gradient(135deg, #4a69bd, #6a89cc);
color: white;
padding: 12px 30px;
border-radius: 50px;
font-weight: bold;
font-size: 1.4em;
margin-bottom: 25px;
display: inline-block;
box-shadow: 0 5px 15px rgba(74, 105, 189, 0.2);
}
.options {
display: flex;
justify-content: center;
gap: 25px;
flex-wrap: wrap;
}
.option-box {
background: #f8f9fa;
border: 2px solid #e9ecef;
border-radius: 12px;
padding: 20px;
width: 250px;
text-align: left;
transition: all 0.3s ease;
}
.option-box:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}
.option-title {
font-weight: bold;
color: #2c3e50;
margin-bottom: 10px;
font-size: 1.1em;
display: flex;
align-items: center;
}
.option-title span {
margin-right: 8px;
font-size: 1.5em;
}
.option-desc {
font-size: 0.95em;
color: #6c757d;
line-height: 1.5;
}
.justification {
background: #f8f9fa;
border-left: 4px solid #b2bec3;
padding: 15px;
margin-top: 20px;
border-radius: 8px;
text-align: left;
font-size: 0.9em;
}
.justification strong {
color: #2d3436;
}
.arrow {
font-size: 2.5em;
color: #4a69bd;
margin: 20px 0;
}
.final-solution {
background: #e8f5e9;
border: 2px solid #4caf50;
color: #1b5e20;
padding: 30px;
border-radius: 15px;
text-align: center;
margin-top: 30px;
}
.final-solution h2 {
margin-bottom: 15px;
font-size: 2em;
color: #2e7d32;
}
.final-solution .hypothesis {
font-size: 1.1em;
line-height: 1.6;
margin-bottom: 25px;
background: rgba(255,255,255,0.6);
padding: 15px;
border-radius: 10px;
}
.hypothesis strong {
display: block;
margin-bottom: 5px;
font-size: 1.1em;
}
.components {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
flex-wrap: wrap;
}
.component {
background: #4caf50;
color: white;
padding: 20px;
border-radius: 10px;
text-align: center;
flex: 1;
min-width: 200px;
}
.reasoning {
max-width: 800px;
margin: 0 auto;
background: #fff3e0;
border-left: 4px solid #ff9800;
padding: 25px;
border-radius: 8px;
text-align: left;
}
.reasoning h3 {
color: #e65100;
margin-bottom: 10px;
}
.roadmap, #references {
background: #f8f9fa;
border: 1px solid #e0e0e0;
border-radius: 12px;
padding: 30px;
margin-top: 50px;
}
.roadmap h3, #references h3 {
color: #333;
text-align: center;
font-size: 1.8em;
margin-bottom: 30px;
}
.roadmap-steps {
list-style: none;
padding: 0;
}
.roadmap-steps li {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
}
.step-number {
background: #4a69bd;
color: white;
min-width: 30px;
height: 30px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: bold;
margin-right: 15px;
margin-top: 5px;
}
.step-content strong {
display: block;
font-size: 1.1em;
margin-bottom: 5px;
}
#references ul {
list-style: none;
padding: 0;
}
#references li {
margin-bottom: 15px;
padding-left: 20px;
text-indent: -20px;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>🧠 Project Progress & Research Journey</h1>
<p>From a Broad Survey of Continual Learning to a Novel Project Hypothesis</p>
<div class="meta-info">
<strong>Student:</strong> Abhinav <br>
<strong>Github:</strong> https://github.com/letsbegincode/Incremental-Learning/ <br>
<strong>Date:</strong> September 11, 2025
</div>
</div>
<div class="flowchart">
<div class="phase">
<div class="phase-title">📚 Phase 1: Understanding the Landscape</div>
<div class="options">
<div class="option-box">
<div class="option-title"><span>❗</span>The Core Problem</div>
<div class="option-desc">The primary challenge in this field is <strong>Catastrophic Forgetting</strong>, where deep neural networks forget previously learned knowledge upon learning new tasks.</div>
</div>
<div class="option-box">
<div class="option-title"><span>🎯</span>The Goal</div>
<div class="option-desc">The objective is to achieve <strong>Continual Learning</strong>: enabling models to learn sequentially from a stream of data, accumulating knowledge over time.</div>
</div>
</div>
<div class="justification">
<strong>Key Insight:</strong> A foundational understanding was built upon comprehensive survey papers that map out the key challenges and the primary families of solutions.
</div>
</div>
<div class="arrow">⬇️</div>
<div class="phase">
<div class="phase-title">🧭 Phase 2: Evaluating Foundational Strategies</div>
<div class="options">
<div class="option-box">
<div class="option-title"><span>⚖️</span>Regularization</div>
<div class="option-desc">Methods like EWC protect important weights from previous tasks.</div>
<div class="justification"><strong>Verdict: Promising but Limited.</strong> Research (e.g., van de Ven & Tolias, 2019) shows these methods often struggle in challenging Class-Incremental scenarios where task boundaries are blurry.</div>
</div>
<div class="option-box">
<div class="option-title"><span>📚</span>Rehearsal</div>
<div class="option-desc">Storing and replaying a small subset of past data (exemplars).</div>
<div class="justification"><strong>Verdict: Most Effective Baseline.</strong> This approach has consistently shown strong performance and robustness, making it a powerful and practical foundation to build upon.</div>
</div>
<div class="option-box">
<div class="option-title"><span>🏗️</span>Architectural</div>
<div class="option-desc">Dynamically expanding the network for new tasks.</div>
<div class="justification"><strong>Verdict: Impractical for Project Scope.</strong> While effective, these methods often introduce significant complexity and memory overhead, making them less suitable for this project.</div>
</div>
</div>
</div>
<div class="arrow">⬇️</div>
<div class="phase">
<div class="phase-title">🔍 Phase 3: Identifying a Gap in the Strongest Approach</div>
<div class="reasoning">
<h3>🤔 Critical Observation on Rehearsal Methods (like iCaRL)</h3>
<p>After selecting Rehearsal as the most promising strategy and studying its state-of-the-art implementation in papers like <strong>iCaRL</strong> (Rebuffi et al., 2017), a key limitation was identified:</p>
<p><strong>The Inefficiency of Constant Rehearsal:</strong> Existing methods employ a *static* rehearsal strategy. They constantly replay exemplars with a fixed intensity, regardless of whether the model is actually forgetting. This is computationally wasteful, analogous to studying flashcards for a subject you already know perfectly.</p>
</div>
</div>
<div class="arrow">⬇️</div>
<div class="phase">
<div class="phase-title">💡 Phase 4: Formulating a Novel Hypothesis</div>
<div class="reasoning">
<h3>⚡ The "Aha!" Moment: Connecting Two Fields</h3>
<p>The identified gap (inefficient rehearsal) led to a crucial question: "How can a system know *when* it's starting to forget?"</p>
<p>The answer lies in a different but related field: **Stream Mining**. This field has developed robust algorithms for **Concept Drift Detection**—methods designed to detect when the statistical properties of a data stream change. By re-framing "forgetting" as a drop in performance on past tasks, we can see it as a form of concept drift.</p>
</div>
</div>
<div class="arrow">⬇️</div>
<div class="final-solution">
<h2>🎉 Proposed Innovation: "Smart Rehearsal"</h2>
<div class="hypothesis">
<strong>Project Hypothesis:</strong>
By integrating a formal concept drift detector (ADWIN) to monitor model performance on past tasks, we can create an adaptive "Smart Rehearsal" system. This system will trigger intensive rehearsal only when forgetting is detected, achieving comparable accuracy to standard rehearsal methods but with significantly lower computational cost.
</div>
<div class="components">
<div class="component">
<h4>iCaRL Rehearsal Core</h4>
<p>Provides the strong, proven baseline for storing and replaying exemplars.</p>
</div>
<div class="component">
<h4>Concept Drift Detector</h4>
<p>Acts as an efficient, real-time "forgetting alarm" by monitoring performance.</p>
</div>
<div class="component">
<h4>Adaptive Trigger</h4>
<p>Connects the two components to initiate "rehearsal bursts" only when necessary.</p>
</div>
</div>
</div>
<div class="roadmap">
<h3>🗺️ Project Timeline & Deliverables</h3>
<ol class="roadmap-steps">
<li>
<div class="step-number">1</div>
<div class="step-content"><strong>Foundation & Baseline (Sept - Oct 2025):</strong> Master foundational papers and implement a standard iCaRL model as a performance baseline.</div>
</li>
<li>
<div class="step-number">2</div>
<div class="step-content"><strong>Hybrid Model Development (Nov 2025):</strong> Integrate the ADWIN drift detector from the `river` library into the iCaRL framework to create the "Smart Rehearsal" system.</div>
</li>
<li>
<div class="step-number">3</div>
<div class="step-content"><strong>Experimentation & Analysis (Dec 2025):</strong> Conduct comparative experiments on standard benchmarks (e.g., Split CIFAR-10) to measure both accuracy and computational efficiency.</div>
</li>
<li>
<div class="step-number">4</div>
<div class="step-content"><strong>Final Report & Presentation (Jan 2026):</strong> Document the methodology, analyze results, and present the findings, highlighting the efficiency gains of the proposed model.</div>
</li>
</ol>
</div>
<section id="references">
<h3>📚 Key References</h3>
<ul>
<li>[1] Rebuffi, S. A., Kolesnikov, A., Sperl, G., & Lampert, C. H. (2017). iCaRL: Incremental Classifier and Representation Learning. In <em>Proceedings of the IEEE conference on computer vision and pattern recognition (CVPR)</em>.</li>
<li>[2] van de Ven, G. M., & Tolias, A. S. (2019). Three scenarios for continual learning. <em>arXiv preprint arXiv:1904.07734</em>.</li>
<li>[3] Bifet, A., & Gavaldà, R. (2007). Learning from time-changing data with adaptive windowing. In <em>Proceedings of the 2007 SIAM international conference on data mining</em>. (This is the original paper for ADWIN).</li>
<li>[4] Montiel, J., Read, J., Bifet, A., & Abdessalem, T. (2021). River: machine learning for streaming data in Python. <em>Journal of Machine Learning Research</em>.</li>
</ul>
</section>
</div>
</div>
</body>
</html>