Code Monkey home page Code Monkey logo

Comments (2)

xxxnell avatar xxxnell commented on June 16, 2024 2

Thank you for your support and insightful question!

In our observation, the attributes of Conv depend primarily on the architecture or the group size (e.g., depthwise-separable Conv) rather than the kernel size. For example, some Conv blocks at the end of stages of ConvNeXt behave like a low-pass filter in terms of Fourier analysis:

image

This figure provides ∆ log amplitude of ConvNeXt at high-frequency. ConvNext layers at the end of stages reduce high-frequency information, but ResNet layers do not. We leave a detailed investigation for future work.

∆ log amplitude of ResNet-50 at high-frequency image

Cf. MSAs generally behave like low-pass filters and reduce feature map variance. Convs, on the contrary, behave like high-pass filters and increase the feature map variance. In terms of feature map variance, all ConvNeXt blocks diversify feature maps (i.e., they always increase the variance).

from how-do-vits-work.

ccx1997 avatar ccx1997 commented on June 16, 2024

[1] A ConvNet for the 2020s.
[2] Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNs.

from how-do-vits-work.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.