아래 내용을 한글로 설명해주세요. 3.4 Switch Once we selectK1 andK2, we learn new search heuristics…
- User
아래 내용을 한글로 설명해주세요. 3.4 Switch Once we selectK1 andK2, we learn new search heuristics based on the distributions of K1 and K2. The idea is to produce search heuristics that are statistically similar to those inK1 but dissimilar to thoseinK2. To do so, we collect the following set: Offspring(h,K2). (2) (h,B)∈K1 That is, we consider each heuristich ∈ K1 in turn, and produce its offspringas follows: Offspring(h,K2)= {(h,h1),...,(h,hη3)}. η3 is a hyperparameter that determines the number of offspring of each parenth ∈ K1 (we setη3 = 10 in experiments). To generate his that are similar toh but dissimilar to those inK2, we randomly sampleeachheuristichi,whichisad-dimensionalvectorofweights, fromthesamplespaceS1 ×S2 ×···×Sd,whereSj isasetofreal numbersdefined as follows: Sj= Sample({hj}) \ \ Sample({h′j | (h′ ,_) ∈ K2}) (3) wherehj denotes the j-th component of vectorh and Sample(R) samples real numbers from the truncated normal distribution with mean μ(R), standard deviationσ(R), and the interval[−10,10]: Sample(R)= {r1,r2,...,rn | ri ∼ N(μ(R),σ(R),−10,10)}. where the number (n) of samples, unless too small, does not matter andμ(R)andσ(R)denotethemedianandstandarddeviationofthe setR of real numbers: μ(R)= r∈R r |R|, σ(R)= ⎧ ⎪ ⎪ ⎨ ⎪ ⎪ ⎩ (r−μ(R))2 r∈R |R| if (|R| >1) 1 otherwise andS \ \S′ computesthefollowing: S \ \S′ = {{⌊e⌋ | e ∈ S}}{{⌊e⌋ | e ∈ S′}}.
- Assistant
3.4 스위치 (Switch)
K1과 K2를 선택한 후, 우리는 K1과 K2의 분포를 기반으로 새로운 탐색 휴리스틱(search heuristics)을 학습합니다. 여기서 목표는 K1에 있는 휴리스틱과 통계적으로 유사하지만 K2에 있는 휴리스틱과는 유사하지 않은 탐색 휴리스틱을 생성하는 것입니다. 이를 위해 다음과 같은 집합을 수집합니다:
Offspring(h, K2)
여기서 (h, B) ∈ K1인 모든 휴리스틱 h에 대해, 각 휴리스틱 h의 자식(offspring)을 다음과 같이 생성합니다:
Offspring(h, K2) = { (h, h₁), ..., (h, hη₃) }
η₃는 각 부모 h ∈ K1의 자식 수를 결정하는 하이퍼파라미터입니다(실험에서는 η₃ = 10으로 설정). h와 유사하지만 K2에 있는 휴리스틱과는 유사하지 않은 h'를 생성하기 위해, 각 휴리스틱 h는 d차원 가중치 벡터로 표현됩니다. 이 벡터의 각 차원 j에 대해 다음과 같이 샘플링합니다:
h'j는 다음 공간 S₁ × S₂ × ... × S_d에서 무작위로 샘플링됩니다. 여기서 S_j는 다음과 같이 정의된 실수 집합입니다:
S_j = Sample({h_j}) \ Sample({h'_j | (h', _) ∈ K2})
여기서 h_j는 벡터 h의 j번째 요소를 나타내며, **Sample(R)**는 다음과 같은 잘린 정규 분포에서 실수를 샘플링합니다:
Sample(R) = { r₁, r₂, ..., rₙ | rᵢ ∼ N(μ(R), σ(R), -10, 10) }
- n은 샘플의 개수로, 너무 작지 않다면 중요하지 않습니다.
- μ(R)와 σ(R)는 실수 집합 R의 중앙값과 표준편차를 의미합니다:
- μ(R) = (Σ r ∈ R r) / |R|