×
1 Choose EITC/EITCA Certificates
2 Learn and take online exams
3 Get your IT skills certified

Confirm your IT skills and competencies under the European IT Certification framework from anywhere in the world fully online.

EITCA Academy

Digital skills attestation standard by the European IT Certification Institute aiming to support Digital Society development

LOG IN TO YOUR ACCOUNT

CREATE AN ACCOUNT FORGOT YOUR PASSWORD?

FORGOT YOUR PASSWORD?

AAH, WAIT, I REMEMBER NOW!

CREATE AN ACCOUNT

ALREADY HAVE AN ACCOUNT?
EUROPEAN INFORMATION TECHNOLOGIES CERTIFICATION ACADEMY - ATTESTING YOUR PROFESSIONAL DIGITAL SKILLS
  • SIGN UP
  • LOGIN
  • INFO

EITCA Academy

EITCA Academy

The European Information Technologies Certification Institute - EITCI ASBL

Certification Provider

EITCI Institute ASBL

Brussels, European Union

Governing European IT Certification (EITC) framework in support of the IT professionalism and Digital Society

  • CERTIFICATES
    • EITCA ACADEMIES
      • EITCA ACADEMIES CATALOGUE<
      • EITCA/CG COMPUTER GRAPHICS
      • EITCA/IS INFORMATION SECURITY
      • EITCA/BI BUSINESS INFORMATION
      • EITCA/KC KEY COMPETENCIES
      • EITCA/EG E-GOVERNMENT
      • EITCA/WD WEB DEVELOPMENT
      • EITCA/AI ARTIFICIAL INTELLIGENCE
    • EITC CERTIFICATES
      • EITC CERTIFICATES CATALOGUE<
      • COMPUTER GRAPHICS CERTIFICATES
      • WEB DESIGN CERTIFICATES
      • 3D DESIGN CERTIFICATES
      • OFFICE IT CERTIFICATES
      • BITCOIN BLOCKCHAIN CERTIFICATE
      • WORDPRESS CERTIFICATE
      • CLOUD PLATFORM CERTIFICATENEW
    • EITC CERTIFICATES
      • INTERNET CERTIFICATES
      • CRYPTOGRAPHY CERTIFICATES
      • BUSINESS IT CERTIFICATES
      • TELEWORK CERTIFICATES
      • PROGRAMMING CERTIFICATES
      • DIGITAL PORTRAIT CERTIFICATE
      • WEB DEVELOPMENT CERTIFICATES
      • DEEP LEARNING CERTIFICATESNEW
    • CERTIFICATES FOR
      • EU PUBLIC ADMINISTRATION
      • TEACHERS AND EDUCATORS
      • IT SECURITY PROFESSIONALS
      • GRAPHICS DESIGNERS & ARTISTS
      • BUSINESSMEN AND MANAGERS
      • BLOCKCHAIN DEVELOPERS
      • WEB DEVELOPERS
      • CLOUD AI EXPERTSNEW
  • FEATURED
  • SUBSIDY
  • HOW IT WORKS
  •   IT ID
  • ABOUT
  • CONTACT
  • MY ORDER
    Your current order is empty.
EITCIINSTITUTE
CERTIFIED

What is the equation for the max pooling?

by EITCA Academy / Thursday, 23 May 2024 / Published in Artificial Intelligence, EITC/AI/ADL Advanced Deep Learning, Advanced computer vision, Convolutional neural networks for image recognition

Max pooling is a pivotal operation in the architecture of Convolutional Neural Networks (CNNs), particularly in the domain of advanced computer vision and image recognition. It serves to reduce the spatial dimensions of the input volume, thereby decreasing computational load and promoting the extraction of dominant features. The operation is applied to each feature map independently, and the resulting pooled feature maps preserve the most salient information while discarding less critical details.

The mathematical formulation of max pooling can be encapsulated succinctly. Let us denote the input feature map as ( X ), which is a 2D array of size ( H times W ), where ( H ) and ( W ) represent the height and width of the feature map, respectively. Max pooling operates over a specified window size, typically denoted as ( k times k ), with a stride ( s ). The stride ( s ) determines the step size with which the pooling window moves across the input feature map.

The equation for max pooling can be expressed as follows:

[ Y_{i,j} = max_{m,n in W_{i,j}} X_{m,n} ]

where:
– ( Y ) is the output feature map after max pooling.
– ( Y_{i,j} ) is the element in the output feature map at position ((i, j)).
– ( W_{i,j} ) represents the set of indices ((m, n)) that fall within the pooling window positioned at the top-left corner ((i cdot s, j cdot s)) of the input feature map ( X ).

To elucidate this further, consider a concrete example. Suppose we have an input feature map ( X ) of size ( 4 times 4 ):

[ X = begin{pmatrix}
1 & 3 & 2 & 4 \
5 & 6 & 7 & 8 \
9 & 1 & 2 & 3 \
4 & 5 & 6 & 7
end{pmatrix} ]

Assume we apply max pooling with a window size ( k = 2 times 2 ) and a stride ( s = 2 ). The pooling operation would proceed as follows:

1. The first pooling window covers the top-left ( 2 times 2 ) submatrix of ( X ):
[ begin{pmatrix}
1 & 3 \
5 & 6
end{pmatrix} ] The maximum value in this window is ( 6 ).

2. The second pooling window covers the top-right ( 2 times 2 ) submatrix:
[ begin{pmatrix}
2 & 4 \
7 & 8
end{pmatrix} ] The maximum value in this window is ( 8 ).

3. The third pooling window covers the bottom-left ( 2 times 2 ) submatrix:
[ begin{pmatrix}
9 & 1 \
4 & 5
end{pmatrix} ] The maximum value in this window is ( 9 ).

4. The fourth pooling window covers the bottom-right ( 2 times 2 ) submatrix:
[ begin{pmatrix}
2 & 3 \
6 & 7
end{pmatrix} ] The maximum value in this window is ( 7 ).

The resulting output feature map ( Y ) after max pooling is:
[ Y = begin{pmatrix}
6 & 8 \
9 & 7
end{pmatrix} ]

This example illustrates how max pooling reduces the spatial dimensions of the feature map from ( 4 times 4 ) to ( 2 times 2 ) while retaining the most significant values from each pooling window.

Max pooling is beneficial for several reasons:

1. Dimensionality Reduction: By reducing the spatial dimensions of the feature maps, max pooling decreases the number of parameters and computational complexity in subsequent layers.

2. Translation Invariance: Max pooling provides a degree of translation invariance, as the exact location of features within the pooling window is less important than their presence.

3. Noise Reduction: By focusing on the maximum values, max pooling can help filter out noise and retain the most prominent features.

However, it is important to note that max pooling also has some limitations. For instance, it can lead to the loss of spatial information and may not be suitable for tasks requiring precise localization of features. In such cases, alternative pooling strategies, such as average pooling or global pooling, might be considered.

Max pooling is a fundamental operation in CNNs that effectively reduces the spatial dimensions of feature maps while preserving the most salient features. Its mathematical formulation is straightforward, involving the selection of the maximum value within a specified window. Through an illustrative example, we have demonstrated how max pooling operates and highlighted its advantages and limitations.

Other recent questions and answers regarding Convolutional neural networks for image recognition:

  • What is the formula for an activation function such as Rectified Linear Unit to introduce non-linearity into the model?
  • What is the mathematical formula for the loss function in convolution neural networks?
  • What is the mathematical formula of the convolution operation on a 2D image?
  • How do residual connections in ResNet architectures facilitate the training of very deep neural networks, and what impact did this have on the performance of image recognition models?
  • What were the major innovations introduced by AlexNet in 2012 that significantly advanced the field of convolutional neural networks and image recognition?
  • How do pooling layers, such as max pooling, help in reducing the spatial dimensions of feature maps and controlling overfitting in convolutional neural networks?
  • What are the key differences between traditional fully connected layers and locally connected layers in the context of image recognition, and why are locally connected layers more efficient for this task?
  • How does the concept of weight sharing in convolutional neural networks (ConvNets) contribute to translation invariance and reduce the number of parameters in image recognition tasks?
  • What were Convolutional Neural Networks first designed for?

More questions and answers:

  • Field: Artificial Intelligence
  • Programme: EITC/AI/ADL Advanced Deep Learning (go to the certification programme)
  • Lesson: Advanced computer vision (go to related lesson)
  • Topic: Convolutional neural networks for image recognition (go to related topic)
Tagged under: Artificial Intelligence, CNN, Deep Learning, Feature Extraction, Image Recognition, Max Pooling
Home » Artificial Intelligence » EITC/AI/ADL Advanced Deep Learning » Advanced computer vision » Convolutional neural networks for image recognition » » What is the equation for the max pooling?

Certification Center

USER MENU

  • My Account

CERTIFICATE CATEGORY

  • EITC Certification (105)
  • EITCA Certification (9)

What are you looking for?

  • Introduction
  • How it works?
  • EITCA Academies
  • EITCI DSJC Subsidy
  • Full EITC catalogue
  • Your order
  • Featured
  •   IT ID
  • EITCA reviews (Medium publ.)
  • About
  • Contact

EITCA Academy is a part of the European IT Certification framework

The European IT Certification framework has been established in 2008 as a Europe based and vendor independent standard in widely accessible online certification of digital skills and competencies in many areas of professional digital specializations. The EITC framework is governed by the European IT Certification Institute (EITCI), a non-profit certification authority supporting information society growth and bridging the digital skills gap in the EU.
Eligibility for EITCA Academy 90% EITCI DSJC Subsidy support
90% of EITCA Academy fees subsidized in enrolment

    EITCA Academy Secretary Office

    European IT Certification Institute ASBL
    Brussels, Belgium, European Union

    EITC / EITCA Certification Framework Operator
    Governing European IT Certification Standard
    Access contact form or call +32 25887351

    Follow EITCI on X
    Visit EITCA Academy on Facebook
    Engage with EITCA Academy on LinkedIn
    Check out EITCI and EITCA videos on YouTube

    Funded by the European Union

    Funded by the European Regional Development Fund (ERDF) and the European Social Fund (ESF) in series of projects since 2007, currently governed by the European IT Certification Institute (EITCI) since 2008

    Information Security Policy | DSRRM and GDPR Policy | Data Protection Policy | Record of Processing Activities | HSE Policy | Anti-Corruption Policy | Modern Slavery Policy

    Automatically translate to your language

    Terms and Conditions | Privacy Policy
    EITCA Academy
    • EITCA Academy on social media
    EITCA Academy


    © 2008-2026  European IT Certification Institute
    Brussels, Belgium, European Union

    TOP
    CHAT WITH SUPPORT
    Do you have any questions?
    We will reply here and by email. Your conversation is tracked with a support token.