-
cyclic ordinal regression ํ์ต๋ฒAI\ML\DL/๋ ผ๋ฌธ ๋ฆฌ๋ทฐ 2023. 7. 28. 21:29๋ฐ์ํ
Ordinal Regression is a learning task for predicting a label (or rank) or the object, where the set of labels has a linear order, e.g., the set of integers.
'์ํ ํ๊ท'๋ ๋ ์ด๋ธ์ ์ธํธ๊ฐ ์ ํ์ ์์๋ฅผ ๊ฐ์ง๋ (์๋ฅผ๋ค๋ฉด ์ ์์ ์งํฉ) ๊ฐ์ฒด์ ๋ ์ด๋ธ ๋๋ ๋ญํฌ๋ฅผ ์์ธกํ๋ ํ์ต ๋ฐฉ๋ฒ์ด๋ค.
Ordinal Regression๋ ๋ค์๊ณผ ๊ฐ์ ๋ฐฉ๋ฒ์ผ๋ก ์ฐ๊ตฌ๋์ด ์๋ค.
- SVM
- Gaussian processes
- Perceptron learning
Frank ์ Hall ์ ordinal binary decomposition ๋ฅผ ์ ์ํ๋ค.
: ์ด์ง ๋ถ๋ฅ๊ธฐ๋ฅผ ๊ตฌ์ฑํ์ฌ ๊ฐ์ฒด์ ๋ญํฌ๊ฐ k๋ณด๋ค ํฐ์ง ์๋์ง ๊ฒฐ์
decision tree๋ฅผ ์ฌ์ฉํ์ฌ ์ด์ง ์ถ๋ ฅ์ ๋ญํฌ๋ฅผ ์ถ์ ํ๋ ๋ฐ ์ฌ์ฉํ๋ค.
๋ณธ ๋ ผ๋ฌธ์์๋ ๋ฐฉํฅ์ 8๊ฐ์ง ํด๋์ค๋ก ๋ถ๋ฅํ๋ task๋ฅผ ์ํด Cyclic ordinal regression์ ์ฌ์ฉํ๋ค.
8๊ฐ์ง ๋ฐฉํฅ ํด๋์ค (K classes, K=8, K๋ ์ธ์ ๋ ์ง์)
: N (c0), NE(c1), E(c2), SE(c3), S(c4), SW(c5), W(c6), NW(c7)
์ธ์ ํ ๋ฐฉํฅ์ผ๋ก์ ์ค์ฐจ๊ฐ ์์ ๋ฐ๋ ๋ฐฉํฅ์ผ๋ก์ ์ค์ฐจ๋ณด๋ค ํจ์ฌ ์ ๊ธฐ ๋๋ฌธ์ loss function ์ ์ด๋ฌํ cyclicํ ์์๋ฅผ ๊ณ ๋ คํด ์ฃผ์ด์ผ ํ๋ค. (= COR Scheme)
Binary Classifier
$$ f_{0}(x)=\begin{cases}
1 & \text{ if } y_x \in {c_{1}, c_{2}, c_{3}, c_{4}} \\
0 & \text{ otherwise }
\end{cases}$$$$ f_{1}(x)=\begin{cases}
1 & \text{ if } y_x \in {c_{2}, c_{3}, c_{4}, c_{5}} \\
0 & \text{ otherwise }
\end{cases}$$$$ f_{2}(x)=\begin{cases}
1 & \text{ if } y_x \in {c_{3}, c_{4}, c_{5}, c_{6}} \\
0 & \text{ otherwise }
\end{cases}$$$$ f_{3}(x)=\begin{cases}
1 & \text{ if } y_x \in {c_{4}, c_{5}, c_{6}, c_{7}} \\
0 & \text{ otherwise }
\end{cases}$$๋ ์ด๋ธ์ cycle ์ด ๋์นญ์ ์ด๊ณ ์ฃผ๊ธฐ์ ์ด๊ธฐ ๋๋ฌธ์ ๋ ๋ถ๋ถ์ผ๋ก ๋๋๊ธฐ ์ํด (์ด์ง ๋ถ๋ฅ) ๋ถ๋ฅ๊ธฐ์ ๊ฐ์๋ K/2 ๊ฐ ๋งํผ ํ์ํ๋ค.
์ฆ, ๋ถ๋ฅ๊ธฐ๋ $f_{0}, f_{1}, f_{2},\cdots f_{\frac{2}{K}-1}$ ์ ๊ฐ์ด ์กด์ฌํ ๊ฒ์ด๋ค.
๋ถ๋ฅ๊ธฐ๋ฅผ ํ์ตํ ๋ example $x$์ ground truth label ์ด ์ฃผ์ด์ง๋ฉด $f_{n}$ ์ด ๋ถ์ฌ๋๋ค.
$$k^{*}=\underset{k\in C}{\textrm{argmax}}\sum_{n=1}^{K/2}f_{k-n}(x)$$
์ฆ ์๊ทธ๋ง๋ถ๋ถ์ ์ต๋ํ์ํค๋ k๊ฐ ๊ณง ์ ๋ต๊ณผ ๊ฐ๊น์ด ํด๋์ค๋ฅผ ๋ปํ๋ค. (maximum likelihood ์์ด๋์ด์ ์ ์ฌ)
training ๋์ ๋ฌ๋ฆฌ test ๋๋ f๊ฐ 0๊ณผ 1์ฌ์ด์ softmax probability(confidence value)๋ฅผ ์์ฐํ๋๋ก ํ๊ณ ์ด ๊ฐ์ ํตํด ๊ฐ์ฅ ์ ํฉํ k๊ฐ ์ ์ ๋๋ค.
์๋ฅผ๋ค์ด, ์ด ๋ฐฉํฅ์ ๊ฐ์๊ฐ 8๊ฐ์ธ ์ํฉ์์ $k^{*}$ ๋
$$\begin{eqnarray} \sum_{n=1}^{K/2}f_{k-n}(x)&= f_{0}+f_{1}+f_{-1}+f_{-2}\\ &= f_{0}+f_{1}+1-f_{3}+1-f_{2}\\ &=1+1+1+1=4 \end{eqnarray}$$
์ฆ, ์์์ ์ต๋๋ก ๋ง๋๋ ค๋ฉด $f_{0}, f_{1}$ ์ ๊ฐ์ด 1์ด ๋์ด์ผ ํ๋ฏ๋ก ์ด๋ฅผ ๋์์ ๋ง์กฑํ๋ k=2 ๋ง์ด ๋ง๋ class๊ฐ ๋๋ ๊ฒ์ด๋ค.
'AI\ML\DL > ๋ ผ๋ฌธ ๋ฆฌ๋ทฐ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Inception Net (2014.09) (0) 2023.09.17 VGG Net (2014.09) (0) 2023.09.16 SSD: Single-Shot Multibox Detector (0) 2023.08.24 Super resolution (SR) technique (1) 2023.06.17