[논문 리뷰] Learning Activation Functions: A new paradigm for understanding Neural Networks
본 논문은 학습 중에 다항식 기저로 학습되는 Self-Learnable Activation Functions(SLAF)을 도입하여 일반 활성화 함수를 근사하고 이론적 보장과 실험적 평가를 제공한다.
The scope of research in the domain of activation functions remains limited and centered around improving the ease of optimization or generalization quality of neural networks (NNs). However, to develop a deeper understanding of deep learning, it becomes important to look at the non linear component of NNs more carefully. In this paper, we aim to provide a generic form of activation function along with appropriate mathematical grounding so as to allow for insights into the working of NNs in future. We propose "Self-Learnable Activation Functions" (SLAF), which are learned during training and are capable of approximating most of the existing activation functions. SLAF is given as a weighted sum of pre-defined basis elements which can serve for a good approximation of the optimal activation function. The coefficients for these basis elements allow a search in the entire space of continuous functions (consisting of all the conventional activations). We propose various training routines which can be used to achieve performance with SLAF equipped neural networks (SLNNs). We prove that SLNNs can approximate any neural network with lipschitz continuous activations, to any arbitrary error highlighting their capacity and possible equivalence with standard NNs. Also, SLNNs can be completely represented as a collections of finite degree polynomial upto the very last layer obviating several hyper parameters like width and depth. Since the optimization of SLNNs is still a challenge, we show that using SLAF along with standard activations (like ReLU) can provide performance improvements with only a small increase in number of parameters.
연구 동기 및 목표
- 대부분의 기존 활성화를 근사할 수 있는 일반적이고 학습 가능한 활성화 함수 프레임워크(SLAF)를 제안한다.
- 신경망 동작에 대한 해석적 통찰을 가능하게 하기 위해 SLAF를 다항식 근사에 기반한다.
- SGD 및 표준 최적화 알고리즘과 호환되는 SLNF이 장착된 네트워크(SLNN)의 학습 루틴을 개발한다.
- SLNN의 표현 능력과 매개변수 경계에 대한 이론적 결과를 제공한다.
- 회귀, 분류 및 다항식 학습 과제에서 SLNN의 실험적 성능을 입증한다.
제안 방법
- 최적 활성화를 근사하기 위해 SLAF를 미리 정의된 기저 요소들(Taylor, Chebyshev, EMFN)의 가중합으로 공식화한다.
- 경사 크기를 관리하고 SGD 기반 학습을 가능하게 하기 위해 기저 함수를 정규화한다.
- SLAF를 갖는 SLNN이 임의의 정확도로 임의의 Lipschitz 연속 활성화 네트워크를 근사할 수 있음을 증명한다(정리 1 / 부록 A.4).
- SLNN의 출력은 차수 k까지의 다변수 다항식으로 표현될 수 있음을 보인다(정리 2).
- 차수 기반 다항식 표현을 탐구하고 다항식 특성 공간의 매개변수 수에 대한 경계를 도출한다( k = 각 층 차수의 곱).
- 회귀, 분류 및 합성 희소 다항식 과제에서 SLNN을 평가하고 표준 신경망 및 다항식 기준선과 비교한다.
실험 결과
연구 질문
- RQ1다항식 기저를 기반으로 한 학습 가능한 활성화 함수가 다양한 과제에서 기존 활성화 함수를 근사할 수 있는가?
- RQ2신경망에서 SLAF를 사용하는 것이 최적화, 표현력, 일반화에 미치는 영향은 무엇인가?
- RQ3SLAF 기저의 차수가 성능, 학습 안정성 및 매개변수 효율성에 어떤 영향을 미치는가?
- RQ4SLNN이 벤치마크 데이터셋에서 표준 NN 성능을 재현하면서 다항식 표현을 통한 해석적 통찰을 제공할 수 있는가?
주요 결과
- SLAF는 ReLU, Sigmoid, tanh와 같은 기존 활성화를 다항식 기저 내에서 근사할 수 있다.
- SLNN은 층별 SLAF 차수의 곱에 해당하는 차수를 갖는 다항식 표현을 허용한다(정리 2).
- 실험 결과 적절한 SLAF 차수에서 MNIST, CIFAR-10, Fashion-MNIST에서 표준 NN과 비슷한 성능을 보이는 SLNN 실험 결과.
- 회귀(Boston Housing)에서 SLNN은 ReLU 활성화를 사용한 기준선에 비해 경쟁력 있는 RMSE를 달성하고 특정 다항식 및 선형 기준선보다 성능이 우수하다.
- 모든 활성화를 SLAF로 설정하면 모델의 성능이 향상될 수 있지만, 비 단조적이고 무한한 활성화로 인해 최적화는 도전적일 수 있다.
- 활성화 계수에 대한 정규화는 과적합을 억제하고 SGD 기반 최적화를 돕는다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.