Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/69265508-3618-8006-8039-974c385cf126
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== 3. ๊ตฌ์กฐํ๋ ํ๊ตญ์ด ์์ฝ ==== ===== ์ฐ๊ตฌ ๋ฐฐ๊ฒฝ๊ณผ ๋ฌธ์ ์ ์ ===== * ๋ถ์ผ: ๋๊ท๋ชจ ์ ๊ฒฝ๋ง ํ์ต, ์งํ ์ ๋ต(Evolution Strategies, ES), ๊ฐํํ์ต, LLM ํ์ธํ๋, ์์ ์ ์(integer-only) ๋ชจ๋ธ ํ์ต. * ํต์ฌ ๋ฌธ์ : - ES๋ ๋น๋ฏธ๋ถ ๊ฐ๋ฅ ๋ชจ๋ธยท๋ชฉ์ ํจ์๋ ์ต์ ํํ ์ ์๊ณ , ๋ณ๋ ฌํ์ ๋งค์ฐ ์ ๋ง๋ ์ฅ์ ์ด ์์ด ๋ํ ๋ชจ๋ธ ํ๋ จ์ ์ ๋งํ ๋์์ผ๋ก ์์ฃผ ์ธ๊ธ๋ฉ๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ํ์ง๋ง ํ๋ ๋ฅ๋ฌ๋์์ ํ๋ผ๋ฏธํฐ๋ ๋๋ถ๋ถ ๊ฑฐ๋ํ ํ๋ ฌ์ด๊ณ , naive ES๋ ๊ฐ ๊ฐ์ฒด๋ง๋ค ์ ์ฒด ํ๋ผ๋ฏธํฐ ํ๋ ฌ์ ๋ณต์ ํ๊ณ ๊ฐ์ฐ์์ ๋ ธ์ด์ฆ๋ฅผ ๋ํด์ผ ํ๋ฏ๋ก, ๋ฉ๋ชจ๋ฆฌ์ ์ฐ์ฐ๋์ด ํ๋ผ๋ฏธํฐ ์ ร population size์ ๋น๋กํด์ ํฐ์ ธ ๋ฒ๋ฆฝ๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ํนํ ์์ญ์ต(parm ~ billions) ํ๋ผ๋ฏธํฐ ๋ชจ๋ธ๊ณผ ํฐ population์ ํจ๊ป ์ฐ๊ณ ์ถ์ผ๋ฉด, matrix perturbation๊ณผ batched matmul ๋น์ฉ์ด ์ง๋ฐฐ์ ์ด ๋์ด ES๊ฐ ์ฌ์ค์ ๋ถ๊ฐ๋ฅํด์ง๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> => ๋ฐ๋ผ์, ์ ์๋ค์ด ๋ณด๋ ํต์ฌ ์ง๋ฌธ์: : โES์ ์ฅ์ (๋น๋ฏธ๋ถ ๊ฐ๋ฅ, ๋ณ๋ ฌํ ์นํ)์ ์ ์งํ๋ฉด์, ์ด๋ํ ๋ชจ๋ธ ๋ฐ ํฐ population์์๋ ์ค์ ๋ก ๋์๊ฐ ์ ์์ ๋งํผ ๋ฉ๋ชจ๋ฆฌยท์ฐ์ฐ ํจ์จ์ ์ด๋ป๊ฒ ํ๋ณดํ ๊น?โ ===== ๊ธฐ์กด ์ ๊ทผ๋ฒ๊ณผ ๊ทธ ํ๊ณ ===== * ๊ธฐ์กด ES (OpenES ๋ฑ) - ๊ฐ ํ๋ผ๋ฏธํฐ ํ๋ ฌ WWW์ ๋ํด, ๊ฐ์ฐ์์ ๋ ธ์ด์ฆ ํ๋ ฌ EโRmรnE \in \mathbb{R}^{m\times n}EโRmรn ๋ฅผ ์ํ๋ง ํ W+ฯEW + \sigma EW+ฯE๋ก ์ ๋ฐ์ดํธ. - population ํฌ๊ธฐ๊ฐ N์ด๋ฉด, N๊ฐ์ ํ๋ญํฌ ํ๋ ฌ์ ๋ฐ๋ก ์ ์ฅํ๊ณ , ๊ฐ์์ ๋ํด matmul์ ์ํํด์ผ ํฉ๋๋ค. ์ด๋ per-layer ๋ฉ๋ชจ๋ฆฌ ์ค๋ฒํค๋๋ mnmnmn, ์ฐ์ฐ๋์ O(mnN).arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ๊ฒฐ๊ณผ์ ์ผ๋ก ์ด๋ํ ๋ชจ๋ธ์์๋ ๋ฉ๋ชจ๋ฆฌ ๋ณต์ ์ ํ ์ ์ด๋ ๋น์ฉ์ด ๋ณ๋ชฉ์ด ๋ฉ๋๋ค. * ๊ธฐ์กด LLM ํ์ธํ๋ / LoRA - gradient ๊ธฐ๋ฐ ํ์ต์์๋ LoRA๊ฐ ์ ๋ญํฌ ํ๋ ฌ A,BA,BA,B ๋ฅผ ํ์ตํด์ W+ABโคW + AB^\topW+ABโค ํํ๋ก ํ๋ผ๋ฏธํฐ๋ฅผ ํจ์จ์ ์ผ๋ก ๋ฐ๊พธ๋ ๊ธฐ๋ฒ์ผ๋ก ๋๋ฆฌ ์ฌ์ฉ๋ฉ๋๋ค. ์ด๋ ํ์ต ํ๋ผ๋ฏธํฐ ์๋ฅผ mnmnmn์์ r(m+n)r(m+n)r(m+n)์ผ๋ก ์ค์ฌ ์ค๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ๊ทธ๋ฌ๋ ES ์ชฝ์์๋ LoRA ์คํ์ผ์ ์ ๋ญํฌ ๋ ธ์ด์ฆ๋ฅผ ์ฒด๊ณ์ ์ผ๋ก ์ฐ๋ฉด์, ์ด๋ก ๊น์ง ๊ฐ์ถฐ ์ค ๋ฐฉ๋ฒ์ ์์์ต๋๋ค. ์ฆ, ๊ธฐ์กด์๋ * ES๋ ํํ๋ ฅยท๊ฒฌ๊ณ ์ฑ์ ์ข์๋ฐ ๋๋ฌด ๋น์ธ๊ณ , * LoRA๋ ํจ์จ์ ์ด์ง๋ง gradient๊ฐ ์์ด์ผ ์ฌ์ฉ ๊ฐ๋ฅํ์ต๋๋ค. ===== ์ ์ํ๋ ๋ฐฉ๋ฒ/๋ชจ๋ธ/์ด๋ก ์ ํต์ฌ ์์ด๋์ด ===== ====== 3.1 EGGROLL: ์ ๋ญํฌ ES ์๊ณ ๋ฆฌ์ฆ ====== ๋ ผ๋ฌธ์ ์ฃผ์ธ๊ณต์ EGGROLL(Evolution Guided General Optimization via Low-rank Learning) ์ ๋๋ค. ์์ง๋ฅผ ํ์ด์ ์ฐ๋ฉด: # ํ๋ญํฌ ๋ ธ์ด์ฆ ๋์ ์ ๋ญํฌ ๋ ธ์ด์ฆ ์ฌ์ฉ - ๊ธฐ์กด ES: EโผN(0,I)E \sim \mathcal{N}(0, I)EโผN(0,I), Wโฒ=W+ฯEW' = W + \sigma EWโฒ=W+ฯE. - EGGROLL: - AโRmรr,BโRnรrA \in \mathbb{R}^{m\times r}, B \in \mathbb{R}^{n\times r}AโRmรr,BโRnรr ๋ฅผ i.i.d. ๋์นญ ๋ถํฌ์์ ์ํ๋งํ๊ณ , - E=1rABโคE = \sqrt{\frac{1}{r}}AB^\topE=r1โโABโค ๋ฅผ perturbation์ผ๋ก ์ฌ์ฉ.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ์ด๋ ๊ฒ ํ๋ฉด ๋ ์ด์ด๋น ๋ ธ์ด์ฆ ์ ์ฅ๋์ด mnโr(m+n)mn \rightarrow r(m+n)mnโr(m+n) ๋ก ์ค๊ณ , - ์ถ๊ฐ ์ฐ์ฐ๋๋ O(mnN) โ O((m+n)rN) ๋ก ์ค์ด๋ญ๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> # ์ ๋ฐ์ดํธ๋ ์ฌ์ ํ ํ๋ญํฌ - population์ ๋ํด ์ฌ๋ฌ ๊ฐ์ ์ ๋ญํฌ ์ ๋ฐ์ดํธ EiE_iEiโ ๋ฅผ ํ๊ท ํ๋ฉด, - ์ต์ข ์ ๋ฐ์ดํธ ๋ญํฌ๋ rank(โiEi)โคminโก(Nr,m,n)\text{rank}(\sum_i E_i) \le \min(Nr, m, n)rank(โiโEiโ)โคmin(Nr,m,n) ์ด ๋ฉ๋๋ค. - ์คํ์์๋ Nr๊ฐ m,n๋ณด๋ค ํฌ๋๋ก ์ก์์ ์ฌ์ค์ ํ๋ญํฌ ์ ๋ฐ์ดํธ๊ฐ ๋๊ฒ ํฉ๋๋ค. ์ฆ, ๊ณ์ฐ์ ์ ๋ญํฌ์ฒ๋ผ, ์ ๋ฐ์ดํธ๋ ํ๋ญํฌ์ฒ๋ผ.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> # ํ๋์จ์ด ์นํ ๊ตฌํ - LoRA์ ์ ์ฌํ๊ฒ, ๊ฐ ๊ฐ์ฒด์ ์ ๋ญํฌ A,BA,BA,B ๋ฅผ โ์ด๋ํฐโ๋ก ๋ณด๊ณ , - ๊ธฐ์ ๋ชจ๋ธ์ forward activation์ ๊ณต์ ํ๋ฉด์, ํน์ํ batched matmul ์ปค๋๋ก ๋ชจ๋ ๊ฐ์ฒด์ ABโคAB^\topABโค๋ฅผ ํ ๋ฒ์ ์ ์ฉํฉ๋๋ค. - ๋ํ counter-based RNG(์: JAX PRNG)๋ฅผ ์ฌ์ฉํด ํ์ํ ๋๋ง๋ค ๋ ธ์ด์ฆ๋ฅผ ์ฌ์์ฑํ๋ฏ๋ก, ๋ ธ์ด์ฆ ์์ฒด๋ฅผ ๋ฉ๋ชจ๋ฆฌ์ ์ค๋ ๋ค๊ณ ์์ ํ์๊ฐ ์์ต๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> # ์๊ณ ๋ฆฌ์ฆ ๋ ๋ฒจ์์์ ES ๊ตฌ์กฐ๋ ๊ทธ๋๋ก - Salimans et al. ์์ ๋ณ๋ ฌ ES ์๊ณ ๋ฆฌ์ฆ์ ๊ณ์นํ๋, - โ๋ ธ์ด์ฆ ์์ฑ + ํ๊ฐ + ๊ฐ์ค ํ๊ท โ ํ์ดํ๋ผ์ธ์ด ๋ชจ๋ ์ ๋ญํฌ ๋ฒ์ ์ผ๋ก ๋ฐ๋๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> ====== 3.2 ์ด๋ก : O(1/r) ์๋ ดํ๋ ์ ๋ญํฌ ES ์ ๋ฐ์ดํธ ====== ์ ์๋ค์ โ์ด ์ ๋ญํฌ ์ ๋ฐ์ดํธ๊ฐ ์๋ ํ๋ญํฌ ES ์ ๋ฐ์ดํธ๋ฅผ ์ผ๋ง๋ ์ ๊ทผ์ฌํ๋๊ฐ?โ ๋ฅผ ์์์ผ๋ก ๋ถ์ํฉ๋๋ค. ํต์ฌ์: * ์ฐ์ ES๋ฅผ ํ๋ ฌ ๊ฐ์ฐ์์ ๋ถํฌ ์์ ์ ์ฑ ์ผ๋ก ๋ค์ ์ฐ๊ณ , ๊ทธ gradient๋ฅผ score function(โ log p) ํํ๋ก ํํํฉ๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ์ ๋ญํฌ ์ผ์ด์ค์์๋ ์ง์ ์ ์ธ density p(E)p(E)p(E)๋ฅผ ์ฐ๊ธฐ ์ด๋ ต๊ธฐ ๋๋ฌธ์, - Z=1rABโค+ฯตZ = \sqrt{\frac{1}{r}}AB^\top + \epsilonZ=r1โโABโค+ฯต (์ฌ๊ธฐ์ ฮต๋ ์์ ๊ฐ์ฐ์์ ์ก์) ํํ๋ก ์์ ํ ์ ์๋ ๋ถํฌ p(Z)p(Z)p(Z)๋ฅผ ๋ง๋ค๊ณ , - ์ด ๋ถํฌ์ score function์ ์ด์ฉํด gradient๋ฅผ ์์ฑํฉ๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ์ด๋ก ์ ๋ฉ์ธ ๊ฒฐ๊ณผ(Theorem 2): - ์ ๋นํ ์กฐ๊ฑด(ํผํธ๋์ค f๊ฐ bounded, ๋ ธ์ด์ฆ ๋ถํฌ๊ฐ ๋์นญ ๋ฑ) ํ์์, - ์ ๋ญํฌ ๊ทผ์ฌ gradient g^rLR \hat{g}^{LR}_rg^โrLRโ์ ์ง์ง ํ๋ญํฌ ES gradient gTrueg_\text{True}gTrueโ ์ ๊ฑฐ๋ฆฌ(ํ๋ก๋ฒ ๋์ฐ์ค ๋ ธ๋ฆ)๊ฐ โฅg^rLRโgTrueโฅF=Oโโฃ(1r)\| \hat{g}^{LR}_r - g_\text{True} \|_F = O\!\left(\frac{1}{r}\right)โฅg^โrLRโโgTrueโโฅFโ=O(r1โ) ๋ก ์ค์ด๋ ๋ค๊ณ ์ฆ๋ช ํฉ๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ์ด O(1/r)๋ ์ผ๋ฐ์ ์ธ โํ๋ผ๋ฏธํฐ ์ r์ด ์ฆ๊ฐํ ๋ ์ค์ฌ๊ทนํ์ ๋ฆฌ(CL T)๊ฐ ์ฃผ๋ O(1/โr)๋ณด๋ค ๋น ๋ฅธโ ์๋ ด๋ฅ ๋ก, - ๊ทธ ์ด์ ๋ ๋์นญ ๋ถํฌ๋ฅผ ์ด ๋์ ํ์์ฐจ ๋์ (generalized cumulant)์ด 0์ด ๋์ด, 4์ฐจ๋ถํฐ ์ง๋ฐฐ๋๊ธฐ ๋๋ฌธ์ด๋ผ๊ณ ์ค๋ช ํฉ๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ๋ํ, ์ค์ marginal ๋ถํฌ p(zij)p(z_{ij})p(zijโ)์ ๋ํด score ร density๋ฅผ ๊ทธ๋ฆผ 3์ ์๊ฐํํด ๋ณด๋ฉด, - r=1์์๋ ๊ทธ๋ญ์ ๋ญ ๊ด์ฐฎ์ ๊ทผ์ฌ์ด๊ณ , rโฅ10 ์ ๋๋ฉด ๊ฑฐ์ limit ๊ฐ์ฐ์์๊ณผ ๊ตฌ๋ถ์ด ์ ๋๋ ๊ฒ์ ๋ณด์ฌ ์ค๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> ์ด๋ก ์ ์ผ๋ก '''โ๋ญํฌ๊ฐ ์์๋ ์๊ฐ๋ณด๋ค ํจ์ฌ ๊ด์ฐฎ๋คโ'''๋ ๊ทผ๊ฑฐ๋ฅผ ์ค ์ ์ ๋๋ค. ===== ์คํ ์ค์ (๋ฐ์ดํฐ์ , ๋น๊ต ๋์, ํ๊ฐ ์งํ ๋ฑ)๊ณผ ์ฃผ์ ๊ฒฐ๊ณผ ===== ๋ ผ๋ฌธ์ ์ธ ์ถ์ ์คํ์ ํฉ๋๋ค. ====== 3.3.1 ์์ ์ ์ RNN ์ธ์ด๋ชจ๋ธ ํ๋ฆฌํธ๋ ์ด๋ (6.1 ์น์ ) ====== ๋ชฉํ: โEGGROLL์ด gradient ์์ด๋ ์์ ์ ์(int8-only) ๋น์ ํ RNN ์ธ์ด๋ชจ๋ธ์ ์์ ์ ์ผ๋ก ํ๋ฆฌํธ๋ ์ด๋ ํ ์ ์๋๊ฐ?โarXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ๋ชจ๋ธ ์ํคํ ์ฒ: EGG (Evolved Generative GRU) - 6์ธต RNN, hidden dimension 256, ๋ฌธ์ ๋จ์(char-level) ์ธ์ด๋ชจ๋ธ.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ์ ์ฝ ์กฐ๊ฑด: 1. Pure Integer Training: - ๋ชจ๋ weight๋ int8, accumulation์ int32; ํ์ต ์ ์ฒด์์ float๋ก ์บ์คํ ์ ํ ๋ฒ๋ ํ์ง ์์.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> 2. Nonlinear RNN: - Transformer/SSM ๋์ GRU ๊ณ์ด(minGRU ๋ณํ)์ ์ฌ์ฉ. - EGGROLL์ BPTT๊ฐ ํ์ ์์ผ๋ฏ๋ก ๋ฌดํ ๊ธธ์ด ์ํ์ค๋ ์ด๋ก ์ ๊ฐ๋ฅ.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> 3. ๋ช ์์ activation ์ ๊ฑฐ: - ReLU๋ tanh๋ฅผ ๋ชจ๋ ์ ๊ฑฐํ๊ณ , int8์ ํฌํ(saturation) ์ฐ์ฐ์์ ๋์ค๋ ๋น์ ํ์ฑ๋ง ์ฌ์ฉ.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - LayerNorm๋ sqrt๋ฅผ ํผํ๊ธฐ ์ํด L2 ๋์ L1 ๊ธฐ๋ฐ ๋ณํ์ ์ฐ๊ณ , self-attention์ custom GRU๋ก ๋์ฒด.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ๋ฐ์ดํฐ & ํ์ต ์ค์ - ๋ฐ์ดํฐ์ : minipile (The Pile์ ์ํ ๋ฒ์ ) ๋ฌธ์ ๋จ์ ์์ธก.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - Truncated ES: population member๋ง๋ค 100 ํ ํฐ๋ง๋ค ์ ๋ฐ์ดํธ, hidden state๋ ๋ฌธ์ ๊ฒฝ๊ณ์์๋ง ๋ฆฌ์ .arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - Population size๋ฅผ 64์์ 262,144(2ยนโธ) ๊น์ง ์ค์ผ์ผ๋ง.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ํ๊ฐ ์งํ - Test loss (bits per byte). * ์ฃผ์ ๊ฒฐ๊ณผ - ๊ทธ๋ฆผ 2(b): population size๊ฐ ์ปค์ง์๋ก loss ๊ณก์ ์ด ๋งค๋๋ฝ๊ณ , ์ต์ข ํ ์คํธ loss๊ฐ ๊ฐ์ ๋ฉ๋๋ค. - ์ต์ ์ ํ ์คํธ loss๋ ์ฝ 3.41 bits/byte.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ๊ฐ์ฅ ํฐ population 262,144๋ Salimans et al.(2017)์ ๊ฐ์ฅ ํฐ ES ์คํ๋ณด๋ค ๋ ์๋ฆฟ์(ร100) ์ ๋ ๋ ํฐ population์ด์ง๋ง, ๋จ์ผ GPU๋ก ํ์ต ๊ฐ๋ฅํ๋ค๊ณ ๊ฐ์กฐํฉ๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - population์ 8๋ฐฐ ๋๋ฆด ๋๋ง๋ค loss๊ฐ ์ฝ 0.4 ์ ๋์ฉ ๊พธ์คํ ๋จ์ด์ง๋ ํจํด์ ๊ด์ฐฐ(๋ฌผ๋ก ์ด ํจํด์ ๊ฒฐ๊ตญ ํ๊ณ์ ๋๋ฌ).arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ์ ์-only, ๋น์ ํ RNN, activation ์ ๊ฑฐ ์กฐ๊ฑด์์๋ ํ๋ จ์ด ๋งค์ฐ ์์ ์ ์ด๊ณ , nan์ด๋ ํฐ ์คํ์ดํฌ ์์ด ์ ์๋ ดํฉ๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> ====== 3.3.2 ๊ฐํํ์ต ์คํ (6.2 ์น์ ) ====== ๋ชฉํ: โEGGROLL์ด tabula-rasa RL์์ ๊ธฐ์กด OpenES, PPO์ ๋น๊ตํด ์ฑ๋ฅ/์๋ ๋ฉด์์ ์ด๋ค์ง?โarXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ํ๊ฒฝ & ๋คํธ์ํฌ - ํ๊ฒฝ ์ค์ํธ: Navix, Craftax, Brax, Kinetix, Jumanji ๋ฑ ๋ค์ํ RL ๋ฒค์น๋งํฌ์์ ์ด 16๊ฐ ํ๊ฒฝ ์ ์ .arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ์ ์ฑ ๋คํธ์ํฌ: 3์ธต, ๊ฐ 256 ์ ๋์ MLP.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - PPO๋ ๊ธฐ์กด ๊ตฌํ์ ์ฌ์ฉ; EGGROLL๊ณผ OpenES๋ ๋์ผํ ํ์ดํ๋ผ์ธ์์ ๊ตฌํ. * ๋น๊ต ๋์ ์๊ณ ๋ฆฌ์ฆ - EGGROLL (์ ๋ญํฌ ES) - OpenES (ํ๋ญํฌ ES) - PPO (gradient ๊ธฐ๋ฐ ์ ์ฑ ๊ฒฝ์ฌ) * ํ์ดํผํ๋ผ๋ฏธํฐ ์ต์ ํ - ๊ฐ ํ๊ฒฝ-์๊ณ ๋ฆฌ์ฆ ์๋ง๋ค, ์ฃผ์ ํ์ดํผํ๋ผ๋ฏธํฐ ๋ฒ์๋ฅผ ์ ํ๊ณ 20ํ ๋๋ค ์์น. - ๊ฐ trial์์ ์ต์ข ํ๊ท return์ด ๊ฐ์ฅ ๋์ ์ค์ ์ ๊ณ ๋ฅธ ๋ค, - ๊ทธ ์ค์ ์ผ๋ก 10๊ฐ์ seed๋ฅผ ๋๋ ค ํ๊ท ๊ณผ standard error๋ฅผ ๋ณด๊ณ .arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ํ๊ฐ ์งํ - PPO ์ฑ๋ฅ์ผ๋ก normalized return (PPO=1 ๊ธฐ์ค ์๋ ์ฑ๋ฅ).arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ํ์ต wall-clock ์๊ฐ๊ณผ throughput(์ด๋น ๊ฒฝํ ์). * ์ฃผ์ ์ฑ๋ฅ ๊ฒฐ๊ณผ - 16๊ฐ ํ๊ฒฝ ๊ธฐ์ค์ผ๋ก EGGROLL vs OpenES ๋น๊ต: - 7๊ฐ ํ๊ฒฝ์ ๋น์ท(competitive), - 2๊ฐ ํ๊ฒฝ์์๋ EGGROLL๊ฐ ์ด์ธ, - 7๊ฐ ํ๊ฒฝ์์๋ EGGRoll๊ฐ ์ฐ์ธ.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - PPO์์ ๋น๊ต์์๋ ํ๊ฒฝ์ ๋ฐ๋ผ ์ฐ์ด์ด ๊ฐ๋ฆฌ์ง๋ง, EGGROLL์ PPO์ ๋น์ทํ ์ฑ๋ฅ ์์ค์ ์ ์งํ๋ฉด์๋ ES ๊ณ์ด ์ค์์๋ ์๋์ ์ธ ์๋๋ฅผ ๋ณด์ฌ ์ค๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ์๋(throughput) ๊ฒฐ๊ณผ - ๊ทธ๋ฆผ 2(a): experience throughput์ ์์ inference ์ต๋ ๋ฐฐ์น throughput=100์ผ๋ก ์ ๊ทํํ์ ๋, - EGGROLL โ 91, - PPO โ 34, - OpenES โ 0.41.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ์ธ๋ถ Appendix ์คํ์์๋ ํ๊ฒฝ์ ๋ฐ๋ผ OpenES ๋๋น 2๋ฐฐ~40๋ฐฐ ์ด์ ๋น ๋ฅธ ์ผ์ด์ค๋ ๋ณด๊ณ ๋ฉ๋๋ค (์: Jumanji Snake์์ ์ฝ 40ร).arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> ์ฆ, '''โํ๋ญํฌ ES๋ณด๋ค ํจ์ฌ ๋น ๋ฅด๊ณ , ์ฑ๋ฅ๋ ๋น์ทํ๊ฑฐ๋ ์คํ๋ ค ์ข์ ๊ฒฝ์ฐ๊ฐ ๋ง๋คโ'''๋ ๋ฉ์์ง์ ๋๋ค. ====== 3.3.3 LLM Reasoning ํ์ธํ๋ (6.3 ์น์ ) ====== ๋ชฉํ: โGRPO ๊ฐ์ gradient ๊ธฐ๋ฐ RLHF-ish ๋ฐฉ๋ฒ๊ณผ ๋น๊ตํ์ ๋, EGGROLL์ด LLM reasoning task์์ ๊ฒฝ์๋ ฅ์ด ์๋๊ฐ?โarXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ๋ชจ๋ธ & ํ์คํฌ - ๋ชจ๋ธ: RWKV-7 ๊ณ์ด recurrent LLM (1.5B, 7B ๋ฑ). - RNN ๊ตฌ์กฐ๋ผ์ KV cache๊ฐ ๊ณ ์ ํฌ๊ธฐ๋ผ, population ๋ณ๋ ฌํ์ ํนํ ์ ๋ง์ต๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - ํ์คํฌ: - Countdown (์์กฐํฉ ๊ฒ์) - GSM8K (์ํ ๋ฌธ์ reasoning) * ๋น๊ต ๋์ - EGGROLL vs GRPO (Group Relative Policy Optimization, RLHF ๊ณ์ด ๋ฐฉ๋ฒ). * ๋ณ๋ ฌํ ์ค์ - Countdown (RWKV-7 1.5B, ๋จ์ผ GPU): - EGGROLL: GPU๋น 1024 ๊ฐ์ฒด ๋ณ๋ ฌ ์์ฑ - GRPO: GPU๋น 32 rollouts - GSM8K (RWKV-7 7B, 8 GPUs): - EGGROLL: ์ ์ฒด 8096 ๋ณ๋ ฌ generation (GPU๋น 1024) - GRPO: ์ ์ฒด 256 (GPU๋น 32).arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ์ค์ฝ์ด๋ง ๋ฐฉ์ - ํ๋์ batch์ ์ฌ๋ฌ noise ๋ฐฉํฅ EiE_iEiโ์ ์ฌ๋ฌ ์ง๋ฌธ q_j๊ฐ ์์ฌ ์๋ ์ํฉ์์, - ์ง๋ฌธ๋ณ๋ก accuracy๋ฅผ ๋ชจ์ z-score๋ฅผ ๊ณ์ฐํ๊ณ , ์ด๊ฑธ ํ๊ท ํด์ ๊ฐ noise ๋ฐฉํฅ์ ์ ์๋ฅผ ์ฐ์ถํ๋ ๋ฐฉ์.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> * ๊ฒฐ๊ณผ - Countdown: - ๋์ผ ํ๋์จ์ดยท๋ฒฝ์๊ณ ์๊ฐ ๊ธฐ์ค, EGGROLL์ด ์ฝ 35% validation accuracy, GRPO๋ ์ฝ 23% ์ ๋์์ ์๋ ด.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> - GSM8K: - ๊ทธ๋ฆผ 5(b)์์ EGGROLL์ด GRPO ๋๋น ๋ ๋์ validation score์ ๋๋ฌํ๋ฉฐ, ์๋๋ ๊ฒฝ์๋ ฅ ์์.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> ์ด ์คํ์ '''โES ๊ธฐ๋ฐ ๋ฐฉ๋ฒ์ด LLM reasoning์๋ ํตํ๋คโ'''๋ ๊ฒ์, GRPO๋ผ๋ ๊ฐํ baseline๊ณผ ๋น๊ตํด ๋ณด์ฌ ์ค๋๋ค. ===== ๋ ผ๋ฌธ์ ์ฃผ์ ๊ธฐ์ฌ์ ์ ๋ฆฌ ===== ๋ ผ๋ฌธ์์ ์ฃผ์ฅํ๊ฑฐ๋, ํ ์คํธ์ ๋ช ํํด ๋ณด์ด๋ ๊ธฐ์ฌ๋ฅผ ์ ๋ฆฌํ๋ฉด: # ์ด๋ํ ๋ชจ๋ธยท๋ํ population์ฉ ์ ๋ญํฌ ES ์๊ณ ๋ฆฌ์ฆ EGGROLL ์ ์ - LoRA ์คํ์ผ ์ ๋ญํฌ ํ๋ ฌ A,BA,BA,B๋ฅผ ๋ ธ์ด์ฆ๋ก ์ฌ์ฉํด, ๋ฉ๋ชจ๋ฆฌยท์ฐ์ฐ ์ค๋ฒํค๋๋ฅผ mnโr(m+n)mn โ r(m+n)mnโr(m+n) ๋ฐ O(mnN โ (m+n)rN) ์ผ๋ก ์ค์ด๋ฉด์, ์ต์ข ์ ๋ฐ์ดํธ๋ ํ๋ญํฌ์ ๊ฐ๊น๊ฒ ์ ์ง.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> # ์ ๋ญํฌ ES ์ ๋ฐ์ดํธ์ ์ ํํ ์ด๋ก ๋ถ์ - matrix Gaussian ES ๊ณต์ํ์ ํจ๊ป, ์ ๋ญํฌ ๊ทผ์ฌ gradient๊ฐ ํ๋ญํฌ gradient์ O(1/r) ๋ก ์๋ ดํ๋ค๋ ๊ฒฐ๊ณผ๋ฅผ ์ ์(Edgeworth expansion ์ฌ์ฉ).arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> # ์ค์ง์ ์ผ๋ก ์ถ๋ก ์๋์ ๊ทผ์ ํ๋ ES ํ์ต ์์คํ ๊ตฌํ - LoRA-style batched matmul, counter-based RNG ๋ฑ์ ํ์ฉํด, billion-parameter ๋ชจ๋ธ์์ ์ถ๋ก throughput์ ~91%์ ํด๋นํ๋ ํ์ต ์๋๋ฅผ ๋ฌ์ฑ.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> # ์๋ก์ด ์์ ์ ์ ์ธ์ด๋ชจ๋ธ EGG์ ๊ทธ ๋๊ท๋ชจ ES ํ๋ฆฌํธ๋ ์ด๋ ์์ฐ - activation์ ์ ๋ถ ์ ๊ฑฐํ๊ณ , int8 saturation๋ง์ผ๋ก ๋น์ ํ์ฑ์ ๊ตฌํํ GRU ๊ณ์ด RNN์, population 262k๊น์ง ์ค์ผ์ผ๋งํ์ฌ ๋จ์ผ GPU์์ ์์ ์ ์ผ๋ก ํ์ต.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> # RL ๋ฐ LLM reasoning์์์ ํญ๋์ ์ค์ฆ ํ๊ฐ - ๋ค์ํ RL ์ค์ํธ 16๊ฐ ํ๊ฒฝ์์ OpenES์ ๋น๊ตํด ๋น์ทํ๊ฑฐ๋ ์ฐ์ํ ์ฑ๋ฅ์ ๋ณด์ด๋ฉฐ, LLM reasoning(GSM8K, Countdown)์์๋ GRPO ๋๋น ๋ ๋์ validation ์ฑ๋ฅ์ ๋ณด์ฌ, ES๊ฐ ์ค์ ์ต์ LLM ํ์ธํ๋ ์ํฌ๋ก๋์์๋ ๊ฒฝ์๋ ฅ์ด ์์์ ์ ์ฆ.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> ===== ํ๊ณ์ ๋ฐ ํฅํ ์ฐ๊ตฌ ๋ฐฉํฅ ===== ๋ ผ๋ฌธ๊ณผ ๊ฒฐ๋ก ์์ ์ง์ ์ธ๊ธํ๊ฑฐ๋ ์์ํ๋ ํ๊ณ/๋ฏธ์ ๋ถ๋ถ์: # ์ด๋ก ์ด r=1 ์ฑ๋ฅ์ ์์ ํ ์ค๋ช ํ์ง๋ ๋ชปํจ - ์ด๋ก ์ r โ โ ์ผ ๋์ ์๋ ด๋ฅ (O(1/r))์ ๋ค๋ฃจ๊ณ ์์ผ๋, ์คํ์์๋ r=1์์๋ ๋งค์ฐ ์ ๋์ํฉ๋๋ค. - ๊ฒฐ๋ก ์์ โr=1์์์ ์ฑ๊ณต์ ์ค๋ช ํ๋ ๋ ๊น์ ์ด๋ก ๋ถ์์ด ํ์ํ๋คโ๊ณ ๋ช ์ํฉ๋๋ค.arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> # ES ๊ธฐ๋ฐ ์ต์ ํ์ ์ํ ํจ์จ์ฑ ๋ฌธ์ - ๋ ผ๋ฌธ์ throughput์ wall-clock์ ๊ฐ์กฐํ์ง๋ง, gradient-based ๋ฐฉ๋ฒ ๋๋น ํ๊ฒฝ ์ํธ์์ฉ ์(๋๋ ๋ฐ์ดํฐ ์ฌ์ฉ๋)๊ฐ ์ผ๋ง๋ ํจ์จ์ ์ธ์ง๋ ์๋์ ์ผ๋ก ๋ ๋ ผ์๋ฉ๋๋ค. (Appendix์์ ์ผ๋ถ ๋ฐ์ดํฐ ํจ์จ์ฑ ablation์ด ์๊ธด ํ์ง๋ง, SOTA gradient ๋ฐฉ๋ฒ๊ณผ ์ฅ๊ธฐ์ ๋น๊ต๋ ์ ํ์ .) # ์คํ ๋๋ฉ์ธ์ ํญ๊ณผ ๋ฒ์ฉ ์ต์ ํ๋ก์์ ๊ฒ์ฆ - RL/LLM/์ธ์ด๋ชจ๋ธ์ด๋ผ๋ ์ธ ์์ญ์์๋ ์ค๋๋ ฅ ์๋ ๊ฒฐ๊ณผ๋ฅผ ๋ณด์ฌ์ฃผ์ง๋ง, - โ์ผ๋ฐ์ ์ธ blackbox ์ต์ ํโ์ ๋งค์ฐ ๋ค์ํ ๋๋ฉ์ธ(e.g., ๊ตฌ์กฐ ์ต์ ํ, ๊ทธ๋ํ, symbolic program ๋ฑ)์ ๋ํ ๊ฒ์ฆ์ ํฅํ ๊ณผ์ ๋ก ๋จ์ต๋๋ค. (๋ ผ๋ฌธ๋ future work์์ neurosymbolic ์์คํ , end-to-end ๊ตฌ์ฑ ๋ฑ ๋ ๋ณต์กํ ์์คํ ์ ์ ์).arXiv<ref>{{cite web|title=arXiv|url=https://arxiv.org/pdf/2511.16652|publisher=arxiv.org|access-date=2025-11-26}}</ref> # ์ค์ ๋๊ท๋ชจ ํด๋ฌ์คํฐยท์๋น์ค ํ๊ฒฝ์์์ ํตํฉ - ๋ ผ๋ฌธ์ GH200/H100, A100 ๋ฑ ํ๋์จ์ด์์์ throughput์ ๋ณด์ฌ์ฃผ์ง๋ง, - ์ค์ ํ๋ก๋์ ํธ๋ ์ด๋ ์คํ(์: ๊ฑฐ๋ ๋ชจ๋์ ๋ชจ๋ธ, mixture-of-experts, ๊ฑฐ๋ํ ๋ฐ์ดํฐ ํ์ดํ๋ผ์ธ ๋ฑ)์ EGGROLL์ ํตํฉํ๋ ์ธ๋ถ์ ์ธ ์ด์(์๋ฌ ๋ณต์, elastic training, fair scheduling ๋ฑ)๋ ๋ค๋ฃจ์ง ์์ต๋๋ค. ๋ ผ๋ฌธ์ด ๋ช ์์ ์ผ๋ก ์ฐ์ง๋ ์์์ง๋ง, ํฉ๋ฆฌ์ ์ธ ์ถ๊ฐ ํด์์ผ๋ก๋: * RLHF ํ์ดํ๋ผ์ธ ์ ์ฒด๋ฅผ ES ๊ธฐ๋ฐ์ผ๋ก ๋์ฒดํ ์ ์๋๊ฐ? - ์ด ๋ ผ๋ฌธ์ reasoning ํ์คํฌ์ ํ์ ํด GRPO์ ๋น๊ตํ์ง๋ง, ์ค์ RLHF๋ preference modeling, reward modeling, DPO/SFT ๋ฑ ๋ณต์กํ ๋จ๊ณ๊ฐ ์์ต๋๋ค. ์ด๋ค์ ์ ๋ถ ES ๊ธฐ๋ฐ์ผ๋ก ๋ฐ๊พธ๋ ค๋ฉด ์ถ๊ฐ ์ค๊ณ๊ฐ ํ์ํฉ๋๋ค. * ์ ๋ญํฌ ๊ตฌ์กฐ์ ํ๊ณ - ํ์ฌ ์ค์ ์์๋ populationรrank๊ฐ ์ถฉ๋ถํ ์ปค์ ์ ๋ฐ์ดํธ๊ฐ ์ฌ์ค์ ํ๋ญํฌ๊ฐ ๋์ง๋ง, ๋ ๊ทน๋จ์ ์ธ ์ ๋ญํฌ(์์ population, ์์ r) ํ๊ฒฝ์์ ํ์ต ์์ ์ฑยทํํ๋ ฅ์ด ์ด๋๊น์ง ์ ์ง๋๋์ง๋ ๋ณ๋์ ๋ถ์์ด ์์ ์ ์์ต๋๋ค.
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)