Research Article

A Novel Taylor Expansion Enhanced CNN-based Encoder for Transformers

Zishuang Li1,*, Huaixi Fan2, Yuhao Qu3, Youdan Liang4
1. Xi'an Jiaotong Liverpool University
2. Nanjing University of Information Science and Technology
3. Ningbo Nottingham University
4. Shenzhen College of International Education

* Corresponding author: [email protected]

Abstract

This study addresses the challenge of effectively in- tegrating Convolutional Neural Networks (CNNs) and Trans- formers for complex vision tasks. While existing hybrids lever- age CNNs’ local feature extraction and Transformers’ global modeling capabilities, they typically employ simplistic feature transitions that fail to optimize the synergy between these archi- tectures. To bridge this gap, we propose the Taylor-Expansion- Enhanced CNN-based Encoder (TEECE) – a novel framework that embeds trainable Taylor series expansion modules directly within the CNN backbone. These periodically integrated lay- ers mathematically recompose features across network stages, enhancing representational capacity while preserving spatial coherence. Unlike auxiliary Taylor approximations, our approach fundamentally rearchitects feature propagation to create a unified local-to-global representation hierarchy. Experimental results on public dataset show promising enhance- ments in accuracy and generalisation, our model achieving the best accuracy of 96.5% in image classification tasks. Highlighting the effectiveness of our proposed method and its potential for broader application in complex data processing tasks. By establishing a new paradigm for mathematically grounded vision architectures, TEECE offers both performance break- throughs and a reusable foundation for complex data processin

Keywords: Taylor expansion; Convolutional neural networks; Transformer; Hybrid Model; Image Classification
Published: December 31, 2025
DOI: 10.54254/2755-2721/2026.TJ30979
Volume: ACE Vol.218
pp. 99-111
Download PDF

References

  1. L. Zou, Q. Liu, and J. Dai, “Augmenting interaction effects in convolutional networks with taylor polynomial gated units,” Neural Networks, vol. 185, p. 107262, 5 2025, doi: 10.1016/j.neunet.2025.107262.
  2. H. Liu, Y. Ji, and X. Wang, “Image analysis by analogy with Taylor expansion,” in SCCG ’04: Proceedings of the 20th Spring Conference on Computer Graphicspp, 2004, pp. 209-211, doi: 10.1145/1037210.1037243
  3. A. S. Gaikwad and M. El-Sharkawy, “Pruning convolution neural network (squeezenet) using taylor expansion-based criterion,” in 2018 IEEE International Symposium on Signal Processing and Information Technology (ISSPIT), Louisville, KY, USA, 2018, pp. 1-5, doi: 10.1109/isspit.2018.8705095.
  4. Y. Zhu and Y. Chen, “Adaptive Growth: Real-time CNN Layer Expansion,” arXiv (Cornell University), 9 2023, doi: 10.48550/arxiv.2309.03049.
  5. C. Yu, T. Chen, and Z. Gan, “Taylor-Series-Expansion-Based Vision Transformer Models,” IEEE Transactions on Pattern Analysis and Machine Intelligence. pp. 1–18, 6 2025, doi: 10.1109/tpami.2025.3578827.
  6. J. Sa, J. Ryu, and H. Kim, “ECTFormer: An efficient Conv-Transformer model design for image recognition,” Pattern Recognition, vol. 159, p. 111092, 5 2025, doi: 10.1016/j.patcog.2024.111092.
  7. F. Yuan, Z. Zhang, and Z. Fang, “An effective CNN and Transformer complementary network for medical image segmentation,” Pattern Recognition, vol. 136, p. 109228, 4 2023, doi: 10.1016/j.patcog.2022.109228.
  8. J. Yuan, F. Zhou, Z. Guo, X. Li, and H. Yu, “HCformer: Hybrid CNN-Transformer for LDCT Image Denoising,” Journal of Digital Imaging, vol. 36, no. 5, pp. 2290–2305, 6 2023, doi: 10.1007/s10278-023-00842-9.
  9. S. Liang, Z. Hua, and J. Li, “Hybrid transformer-CNN networks using superpixel segmentation for remote sensing building change detection,” International Journal of Remote Sensing, vol. 44, no. 8, pp. 2754–2780, 5 2023, doi: 10.1080/01431161.2023.2208711
  10. Z. Li, G. Chen, and T. Zhang, “A CNN-Transformer Hybrid Approach for Crop Classification Using Multitemporal Multisensor Images,” IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, vol. 13, pp. 847–858, 2 2020, doi: 10.1109/jstars.2020.2971763.
  11. T. Zhang, P. Lin, H. Liu, P. Wang, Y. Wang, K. Xu, “A Coupled Transformer-CNN Network: Advancing Sea Surface Temperature Forecast Accuracy,” IEEE Transactions on Geoscience and Remote Sensing, vol. 63, Art no. 4207414, 5 2025, doi: 10.1109/tgrs.2025.3574990.
  12. Q. Hou, Z. Gao, M. Lu, and Y. Yu, “A Hybrid Transformer-CNN Model for Interpolating Meteorological Data on the Tibetan Plateau,” Atmosphere, vol. 16, no. 4, p. 431, 4 2025, doi: 10.3390/atmos16040431.
  13. Y. Qiu, K. Zhang, C. Wang, W. Luo, H. Li, and Z. Jin, “MB-TaylorFormer: Multi-branch Efficient Transformer Expanded by Taylor Formula for Image Dehazing,” in 2023 IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France, 2023, pp. 12802-12813, doi: 10.1109/iccv51070.2023.01176.
  14. Y. Guo, J. Zheng, Y. Ding, Y. Hu, Y. Cao, and Z. Wang, “A Transformer Network Based on Taylor Expansion for Generating Phase Contrast Images of Adherent Cells,” in 2024 IEEE International Conference on Real-time Computing and Robotics (RCAR), Alesund, Norway, 2024, pp. 482–487, doi: 10.1109/rcar61438.2024.10670877.
  15. J. Liu, Y. Yang, B. Xu, H. Yu, Y. Zhang, Q. Li, Z.Huang, “RSTC: Residual Swin Transformer Cascade to approximate Taylor expansion for image denoising,” Computer Vision and Image Understanding, vol. 248, no. C, Art. no. 104132, 11 2024, doi: 10.1016/j.cviu.2024.104132.
  16. A. Khan, Z. Rauf, A. Sohail, A. R. Khan, H. Asif, A. Asif and U. Farooq “A survey of the vision transformers and their CNN-transformer based variants,” Artificial Intelligence Review, 10 2023, doi: 10.1007/s10462-023-10595-0.
  17. E. Arkin, N. Yadikar, Y. Muhtar, and K. Ubul, “A Survey of Object Detection Based on CNN and Transformer,”IEEE, 7 2021, doi: 10.1109/prml52754.2021.9520732.
  18. X. Yue, F. Ge, F. Zhou, N. Wu, and Y. Zhang, “A Hybrid CNN Compression Approach for Hardware Acceleration,” pp. 1546–1550, 11 2022, doi: 10.1109/icct56141.2022.10072642.
  19. L. Chen, J. Li, Y. Li, and Q. Zhao, “Even-Order Taylor Approximation-Based Feature Refinement and Dynamic Aggregation Model for Video Object Detection,” Electronics, vol. 12, no. 20, p. 4305, 10 2023, doi: 10.3390/electronics12204305.
  20. Z. Huang, W. Hu, Z. Zhu, Q. Li, and H. Fang, “TMSF: Taylor Expansion Approximation Network with Multi-Stage Feature Representation for Optical Flow Estimation,” Digital Signal Processing, p. 105157, 3 2025, doi: 10.1016/j.dsp.2025.105157.
  21. S. Wang, Y. Xing, S. Shi, and Z. Guo, “A Taylor expansion-based texture and edge-preserving interpolation approach for arbitrary-scale image super-resolution,” Pattern Recognition, vol. 169, p. 111965, 6 2025, doi: 10.1016/j.patcog.2025.111965.