muooon commited on
Commit
55b8d25
·
verified ·
1 Parent(s): 50bd8e4

Upload 2 files

Browse files
Files changed (2) hide show
  1. emo-v37-paper(ENG).txt +24 -0
  2. emo-v37-paper(JPN).txt +23 -1
emo-v37-paper(ENG).txt CHANGED
@@ -259,6 +259,8 @@ Supplementary Material (1): Analysis of emoPulse Dynamics in v3.7
259
 
260
  Effect C: Stability Maintenance via History (dNR_hist) Even if the instantaneous dNR_now_val is high, setting a growth limit of dNR_hist * 1.05 suppresses excessive acceleration. On the other hand, in unreliable areas, we continue cautious exploration by accumulating deceleration pressure at dNR_hist * 0.98.
261
 
 
 
262
  4. Conclusions on Numerical Stability
263
 
264
  This design, which pits the difference between the “time axis (history)” and the “instant axis (present)” against each other, is not merely a matter of decay. The system autonomously **continuously recalculates the ratio of “doubt (Noise)” to “certainty (Distance)”**, enabling dynamic control akin to “heartbeats responding to terrain complexity”—something impossible with manual schedulers.
@@ -350,6 +352,28 @@ The True Nature of Loss-Saturated Learning Progress
350
  In SDXL testing, training with e-pred + ZtSNR—which was achievable with the previous generation EmoNavi and its variants—can also be performed with this EmoSens and its variants. This addresses the challenges of noise resistance in FM (Flow-Matching) and sampler compatibility, while simultaneously resolving issues such as color gamut limitations, which are considered weaknesses of e-pred. Training for 300 epochs using 10 reference images completed without stagnation, and we successfully created a full-layer LoRA model showing no signs of overfitting.
351
 
352
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
353
  Future Challenges: Introduction of Adaptive Accuracy Assessment Using the 8th-Order Moment Approximation
354
 
355
  Looking ahead, we are considering the introduction of a “high-order accuracy assessment mechanism” utilizing dNR cubed (equivalent to the eighth-order moment) and other metrics.
 
259
 
260
  Effect C: Stability Maintenance via History (dNR_hist) Even if the instantaneous dNR_now_val is high, setting a growth limit of dNR_hist * 1.05 suppresses excessive acceleration. On the other hand, in unreliable areas, we continue cautious exploration by accumulating deceleration pressure at dNR_hist * 0.98.
261
 
262
+ ※ The asymmetry of Effect C functions through selection based on dNR_now_val >= self.dNR_hist and trust >= 0.5. This mathematically models the “thump” of love and the “thump” of danger, accelerating LR within the scalar range 0 to ±0.5 while excluding negative values from LR history growth. Values above ±0.5 are unquestionably treated as danger exceeding crisis, causing LR deceleration.
263
+
264
  4. Conclusions on Numerical Stability
265
 
266
  This design, which pits the difference between the “time axis (history)” and the “instant axis (present)” against each other, is not merely a matter of decay. The system autonomously **continuously recalculates the ratio of “doubt (Noise)” to “certainty (Distance)”**, enabling dynamic control akin to “heartbeats responding to terrain complexity”—something impossible with manual schedulers.
 
352
  In SDXL testing, training with e-pred + ZtSNR—which was achievable with the previous generation EmoNavi and its variants—can also be performed with this EmoSens and its variants. This addresses the challenges of noise resistance in FM (Flow-Matching) and sampler compatibility, while simultaneously resolving issues such as color gamut limitations, which are considered weaknesses of e-pred. Training for 300 epochs using 10 reference images completed without stagnation, and we successfully created a full-layer LoRA model showing no signs of overfitting.
353
 
354
 
355
+ Predictions about Glocking
356
+
357
+ This study focused on the behavior of continuous loss value reduction with minimal stagnation and conducted various tests to verify its underlying factors.
358
+ Specifically, as an extreme learning condition, we evaluated “how far safe and stable learning progress is possible using only a single image.”
359
+ As a result, we observed no typical failures such as overfitting, collapse into a copying state, or interference with unrelated prompts, confirming extremely stable learning results.
360
+
361
+ Based on these results, we predict that grokking is a “stagnation phenomenon” arising from the combined effects of the following two factors.
362
+
363
+ - The accumulation of noise learned during the training process increases inaccuracies requiring correction in the latter stages of training, causing the model's visibility to deteriorate rapidly (whiteout/blackout phenomenon)
364
+ - In the latter stages of training—the phase most in need of correction—the scheduler and gradient statistics suppress learning rate (LR), causing LR to drop drastically.
365
+
366
+ These two factors occurring simultaneously cause the model to lose its fundamental direction and fall into a prolonged stagnation period. In other words, grokking is considered an avoidable phenomenon.
367
+
368
+ Emo-style (EmoSens generation) The reason why glocking can be avoided is clear.
369
+
370
+ This method enables the following updates, thereby maintaining a clear field of view and preserving the driving force for continued learning.
371
+ - Maintaining update accuracy and preventing noise accumulation
372
+ - Autonomously securing the necessary learning rate even in the latter stages of training
373
+
374
+ Even if visibility deteriorates, the entire emotional mechanism functions like a high-precision GPS, ensuring emoPulse's accurate heartbeat keeps moving forward. This allows one to naturally approach flat minimums or global optima without experiencing grokking.
375
+
376
+
377
  Future Challenges: Introduction of Adaptive Accuracy Assessment Using the 8th-Order Moment Approximation
378
 
379
  Looking ahead, we are considering the introduction of a “high-order accuracy assessment mechanism” utilizing dNR cubed (equivalent to the eighth-order moment) and other metrics.
emo-v37-paper(JPN).txt CHANGED
@@ -6,6 +6,7 @@
6
  要旨 (Abstract)
7
  ディープラーニングの最適化において学習率の調整と汎化性能の確保は中心的な課題である。 既存手法は精緻な勾配推定に依存し、極低精度環境下でのノイズに対して脆弱であった。 本稿では、損失関数 (Loss) の時系列的な多角解析を主軸に置いた自律的アルゴリズム emoPulse (v3.7) を提案する。 本手法は、3段階の指数移動平均 (Multi-EMA) から損失地形の「うねり」を捉え、感情スカラーおよび信頼度指標 (Trust) を介し、S/N比に基づく最適な学習率を自律的に生成する。
8
  さらに、本系に属する3種の異なる更新特性を持つ最適化器 ( Sens / Airy / Cats ) の学習結果を合成することで、局所解を「立方測位」的に統合し、人工的にフラットミニマを創出する手法を提示する。 これによりハイパーパラメータの設定に依存しない頑健な収束を実現し、計算資源の限られた途上国の研究環境や、多様な文化遺産の継承を目指す多言語学習において民主的な基盤を提供する。
 
9
 
10
 
11
  1. 緒言
@@ -214,6 +215,7 @@
214
  効果A:急変時の即時制動 突発的な損失変化により scalar と trust が乖離すると、noise_base (分母) が支配的となる。 これにより、時間的な履歴がまだ安定していても、瞬間的な判断として学習率を即座に絞り込み、発散を未然に防ぐ。
215
  効果B:安定期の自己加速 学習が順調 (scalar と trust が安定) し、かつ履歴としての確信度 (d_base) が積み上がると、dNR 係数は「2乗」の項を伴って出力が最大化される。 dNR_now_val = ( d_base / noise_base )^2 これにより、安定圏では「歩幅」を自然に広げ、収束を加速させる。
216
  効果C:履歴による安定維持 (dNR_hist) 瞬間的な dNR_now_val が高くても、dNR_hist * 1.05 という成長制限を設けることで、過度な加速を抑制する。 一方で、信頼できない領域では dNR_hist * 0.98 の減速圧力を溜めることで、慎重な探索を継続する。
 
217
 
218
  4. 数値的安定性の結論
219
  この「時間軸」(履歴)と「瞬間軸」(現在)の差分を戦わせる設計は、単なる減衰ではない。 システムが自律的に**「疑念」(Noise)と「確信」(Distance)の比率を常に再計算し続ける**ことで、手動のスケジューラでは不可能な「地形の複雑さに応じた心拍の鼓動」のような動的制御を実現している。
@@ -302,11 +304,31 @@ loss飽和しない学習進行の正体
302
  noise_base = abs(sigma_t - trust_t) + ε_s
303
  d_base = abs(N_t - d_t) + ε_t
304
 
305
- この ε_s、 ε_t、 こそが停滞しない右下がりの挙動を生み出しフラットミニマを探索する原動力を生み出す、これは loss値 の差分がなくなれば収束するともいえる。 この設計により simplenet(FashionMNIST) による 10000step 計測で loss:0.30 以下へ到達することが再現性を伴い確認できる。
306
 
307
  SDXL でのテストでは、前世代 EmoNavi とそのバリエーションでも実現可能な e-pred + ZtSNR での学習を、この EmoSens とバリエーションでも実施できる。 これは FM(Flow-Matching) におけるノイズへの耐性と、sampler 対応についての課題を解決し、同時に e-pred の弱点とされる色域等への課題も解決している。 教師画像10枚程での300epoch学習も停滞なく完了し過学習傾向もない全層LoRAの作成にも成功している。
308
 
309
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  今後の課題:8次モーメント近似による適応的正確性判定の導入
311
 
312
  今後の展望として、dNRの3乗(8次モーメント相当)等を用いた「高次正確性判定機構」の導入を検討している。 これは8次情報を直接 emoPulse の出力とするのではなく、現在の学習進行の「純度」を評価するメタ指標として活用する試みである。 これにより極小データセットにおける過学習の予兆をさらに早期に検知し、自律的制御の精度を極限まで高めることが可能になると予想する。
 
6
  要旨 (Abstract)
7
  ディープラーニングの最適化において学習率の調整と汎化性能の確保は中心的な課題である。 既存手法は精緻な勾配推定に依存し、極低精度環境下でのノイズに対して脆弱であった。 本稿では、損失関数 (Loss) の時系列的な多角解析を主軸に置いた自律的アルゴリズム emoPulse (v3.7) を提案する。 本手法は、3段階の指数移動平均 (Multi-EMA) から損失地形の「うねり」を捉え、感情スカラーおよび信頼度指標 (Trust) を介し、S/N比に基づく最適な学習率を自律的に生成する。
8
  さらに、本系に属する3種の異なる更新特性を持つ最適化器 ( Sens / Airy / Cats ) の学習結果を合成することで、局所解を「立方測位」的に統合し、人工的にフラットミニマを創出する手法を提示する。 これによりハイパーパラメータの設定に依存しない頑健な収束を実現し、計算資源の限られた途上国の研究環境や、多様な文化遺産の継承を目指す多言語学習において民主的な基盤を提供する。
9
+ 最後にグロッキングへの考察と予想を付録する。
10
 
11
 
12
  1. 緒言
 
215
  効果A:急変時の即時制動 突発的な損失変化により scalar と trust が乖離すると、noise_base (分母) が支配的となる。 これにより、時間的な履歴がまだ安定していても、瞬間的な判断として学習率を即座に絞り込み、発散を未然に防ぐ。
216
  効果B:安定期の自己加速 学習が順調 (scalar と trust が安定) し、かつ履歴としての確信度 (d_base) が積み上がると、dNR 係数は「2乗」の項を伴って出力が最大化される。 dNR_now_val = ( d_base / noise_base )^2 これにより、安定圏では「歩幅」を自然に広げ、収束を加速させる。
217
  効果C:履歴による安定維持 (dNR_hist) 瞬間的な dNR_now_val が高くても、dNR_hist * 1.05 という成長制限を設けることで、過度な加速を抑制する。 一方で、信頼できない領域では dNR_hist * 0.98 の減速圧力を溜めることで、慎重な探索を継続する。
218
+ ※ 効果Cの非対称性は、 dNR_now_val >= self.dNR_hist and trust >= 0.5 による選別により機能する。 恋する「ドキン」と危機への「ドキン」を数学的に模したもので、 scalar値 でいうところの 0~±0.5 でLRを加速させつつ、負の方向の場合はLR履歴の成長に含めないようにしている。 ±0.5以上は問答無用で危機以上の危険としLRを減速している。
219
 
220
  4. 数値的安定性の結論
221
  この「時間軸」(履歴)と「瞬間軸」(現在)の差分を戦わせる設計は、単なる減衰ではない。 システムが自律的に**「疑念」(Noise)と「確信」(Distance)の比率を常に再計算し続ける**ことで、手動のスケジューラでは不可能な「地形の複雑さに応じた心拍の鼓動」のような動的制御を実現している。
 
304
  noise_base = abs(sigma_t - trust_t) + ε_s
305
  d_base = abs(N_t - d_t) + ε_t
306
 
307
+ この ε_s、 ε_t、 こそが停滞しない右下がりの挙動を生み出しフラットミニマを探索する原動力を生み出す、これは loss値 の差分がなくなれば収束するともいえる。 この設計により simplenet(FashionMNIST) BitNet b1.58 を模した極低精度における学習テストにより 10000step 計測で loss:0.30 以下へ到達することが再現性を伴い確認できる。
308
 
309
  SDXL でのテストでは、前世代 EmoNavi とそのバリエーションでも実現可能な e-pred + ZtSNR での学習を、この EmoSens とバリエーションでも実施できる。 これは FM(Flow-Matching) におけるノイズへの耐性と、sampler 対応についての課題を解決し、同時に e-pred の弱点とされる色域等への課題も解決している。 教師画像10枚程での300epoch学習も停滞なく完了し過学習傾向もない全層LoRAの作成にも成功している。
310
 
311
 
312
+ グロッキングについての予想
313
+
314
+ 本研究では、停滞の少ない連続的な loss値 低下という挙動に着目し、その要因を検証するために各種テストを実施した。 特に、極端な学習条件として「画像1枚のみでどこまで安全かつ安定した学習進行が可能か」を評価し��。 その結果、過学習の発生、コピー状態への崩壊、無関係プロンプトへの干渉といった典型的な破綻がいずれも観測されず、極めて安定した学習結果を確認した。
315
+
316
+ これらの結果から、グロッキングとは以下の2要因が複合して生じる“停滞現象”であると予想する。
317
+
318
+ - 学習過程で蓄積されたノイズ学習の積算により、学習後半で修正すべき不正確さが増大し、モデルの視界が急激に悪化すること(ホワイトアウト/ブラックアウト現象)
319
+ - 学習後半という最も修正が必要な局面において、スケジューラや勾配統計が LR を抑制し、LR が極端に低下してしまうこと
320
+
321
+ この2点が同時に発生することで、モデルは本質的な方向性を見失い、長期の停滞期に陥ると考えられる。 つまりグロッキングは回避可能な現象であると考える。
322
+
323
+ emo系(EmoSens世代) グロッキングを回避できる理由は明確である。
324
+
325
+ 本手法は、以下の更新を可能としているため、視界を常にクリアに保ち、学習を継続するための駆動力を失わない。
326
+ - 更新の正確性を維持しノイズを蓄積しないこと
327
+ - 学習後半でも必要な LR を自律的に確保できること
328
+
329
+ もし仮に視界不良に陥った場合も、感情機構全体が高精度GPSのような効果を発揮し、emoPulseの正確な心拍が歩みを止めないため、グロッキングを経ずに フラットミニマや大域的最適解へ自然に近づくことが可能となる。
330
+
331
+
332
  今後の課題:8次モーメント近似による適応的正確性判定の導入
333
 
334
  今後の展望として、dNRの3乗(8次モーメント相当)等を用いた「高次正確性判定機構」の導入を検討している。 これは8次情報を直接 emoPulse の出力とするのではなく、現在の学習進行の「純度」を評価するメタ指標として活用する試みである。 これにより極小データセットにおける過学習の予兆をさらに早期に検知し、自律的制御の精度を極限まで高めることが可能になると予想する。