Extraction of linearized models from pre-trained networks via knowledge distillation
Organizations: Graduate School of Science and Engineering, Saitama University, Sakura, Saitama, 338–8570 Japan
Abstract
Recent developments in hardware, such as photonic integrated circuits and optical devices, are driving demand for research on constructing machine learning architectures tailored for linear operations. Hence, it is valuable to explore methods for constructing learning machines with only linear operations after simple nonlinear preprocessing. In this study, we propose a framework to extract a linearized model from a pre-trained neural network for classification tasks by integrating Koopman operator theory with knowledge distillation. Numerical demonstrations on the MNIST and the Fashion-MNIST datasets reveal that the proposed model consistently outperforms the conventional least-squares-based Koopman approximation in both classification accuracy and numerical stability.
Figures & tables
| Number of epochs | 10 |
|---|---|
| Batch size | 32 |
| Optimization algorithm | AdaDelta |
| Hyperparameter for AdaDelta | 0.9 |
| Hyperparameter for AdaDelta weight_decay | 0.0001 |
| Initial learning rate | 1.0 |
| Decay of learning rate | 0.75 per epoch |
| Number of epochs | 10 |
|---|---|
| Batch size | 32 |
| Optimization algorithm | AdaDelta |
| Hyperparameter for AdaDelta | 0.9 |
| Hyperparameter for AdaDelta weight_decay | 0.0001 |
| Initial learning rate | 1.0 |
| Decay of learning rate | 0.75 per epoch |
| Model | Dictionary (# of dictionary functions) | Test accuracy (%) |
|---|---|---|
| Naive method | Monomials up to 2nd degree (231) | 93.96 (0.42) |
| Naive method (PCA) | Monomials up to 2nd degree (231) | 93.25 (0.30) |
| Proposed model | Monomials up to 2nd degree (231) | 95.98 (0.07) |
| Naive method | Monomials up to 3rd degree (1771) | 95.89 (0.19) |
| Naive method (PCA) | Monomials up to 3rd degree (1771) | 95.86 (0.17) |
| Proposed model | Monomials up to 3rd degree (1771) | 96.77 (0.16) |
Koopman Operator Learning
Koopman operator learning builds finite-dimensional linear models of nonlinear dynamics by finding useful observable representations from data.
See all 79 papers