{
  "source_file": "0930",
  "source_platform": "Hashnode",
  "author": "Fadhil Elrizanda",
  "title_listed": "MobileNet Explained: A Slim and Efficient CNN Model",
  "keywords": "",
  "domain": "图像处理",
  "content_type": "深度技术解析",
  "is_paid_flag": "否",
  "url": "https://elrizanda.hashnode.dev/mobilenet-explained-a-slim-and-efficient-cnn-model",
  "publish_date": "2024-12-24",
  "corpus_stage": "",
  "notes": "",
  "id": "9b6fd7fb1e9a",
  "collected_at": "2026-10-02T14:12:12",
  "title": "MobileNet Explained: A Slim and Efficient CNN Model",
  "body_markdown": "MobileNet Explained: A Slim and Efficient CNN Model\nUpdated\nDecember 24, 2024\n•\n3\nmin read\n•\nView as Markdown\nF\nFadhil Elrizanda\nOverview\nThe paper “MobileNet: Efficient Convolutional Neural Network for Mobile Vision Application” authored by Andrew G. Howard, Menglong Zhu, and others in 2017, introduces a new approach for convolutional neural network which is more efficient and less computational expensive named depthwise separable convolutions. With this convolutional layer, enable to deploy complex architecture of CNN on edge devices. This method significantly reduce the number of parameters without reducing accuracy significantly.\nPaper :\nhttps://arxiv.org/abs/1704.04861\nKey Contributions:\n1. Depthwise separable convolutions\nThe most key of the contribution is introducing depthwise separable convolutions to replace standard convolution layers. This factorize the operation into two steps: depthwise convolutions (applied per input channel) and pointwise convolutions (applied across channels), significantly reducing computational cost and model size.\n2. Model Shrinking with hyperparameters\nTwo hyperparameters, width multiplier (a) and resolution multiplier (p), enable flexible trade-off between accuracy and resource usage.\nWidth Multiplier → reduces the number of filters per layers\nResolution Multiplier → scales down the input image resolution\n3. Resource Efficiency\nMobileNet models use 8-9 times fewer computation than traditional archtecture while maintaining competitive accuracy on task lie imageNet classification\n4. Application\nMobileNet is demonstrated across task such as object detection, fine grained classification, face attribute detection, and large scale geolocation. The model achieves comparable performance to larger network like VGG16 with significant reduce number of parameters.\nComparation standard CNN and Depthwise separable convolutions\nIn the world of deep learning,\nconvolutions\nare at the heart of most computer vision models. Standard convolutions have been the go-to approach, but they are computationally expensive. To address this,\ndepthwise separable convolutions\nwere introduced, which dramatically reduce computational cost while maintaining comparable accuracy. This article explores the differences, computations, and advantages of both methods.\n1. Standard CNN\nInput tensor of shape DF​×DF​×M (Spatial Dimension DF, M input channels)\nFilters of size DK x DK x M x N, where DK is the kernel size, M is the number of input channels, and N is the number of filters (output channels).\nOutput tensor DF x DF x N\nComputation :\n$$\\text{Standard Convolution:} \\\\[8pt] G_{k,l,n} = \\sum_{i=1}^{D_K} \\sum_{j=1}^{D_K} \\sum_{m=1}^{M} K_{i,j,m,n} \\cdot F_{k+i-1,l+j-1,m} \\\\[20pt]$$\n$$\\text{Computational Cost:} \\\\ \\text{Cost} = D_K \\cdot D_K \\cdot M \\cdot N \\cdot D_F \\cdot D_F$$\n2. Depthwise Separable Convolutions\n$$\\text{Depthwise Separable Convolution:} \\\\$$\n$$\\text{(a) Depthwise Convolution:} \\\\ G_{k,l,m} = \\sum_{i=1}^{D_K} \\sum_{j=1}^{D_K} K_{i,j,m} \\cdot F_{k+i-1,l+j-1,m} $$\n$$\\text{Cost}_{\\text{depthwise}} = D_K \\cdot D_K \\cdot M \\cdot D_F \\cdot D_F$$\n$$\\text{(b) Pointwise Convolution:} \\\\ G_{k,l,n} = \\sum_{m=1}^{M} K_{m,n} \\cdot F_{k,l,m} \\\\ $$\n$$\\text{Cost}_{\\text{pointwise}} = M \\cdot N \\cdot D_F \\cdot D_F$$\n3. Comparations\n$$\\text{Total Cost for Depthwise Separable Convolution:} \\\\$$\n$$\\text{Cost}_{\\text{depthwise separable}} = D_K \\cdot D_K \\cdot M \\cdot D_F \\cdot D_F + M \\cdot N \\cdot D_F \\cdot D_F $$\n$$\\text{Reduction Factor:} \\ $$\nSummary\nMobileNets represent a paradigm shift in building efficient neural networks for mobile and embedded systems. By prioritizing computational efficiency while maintaining accuracy, MobileNets pave the way for real-time AI applications on devices with limited hardware resources.\n#\nmachine-learning\n#\nartificial-intelligence\n#\ncomputer-vision\n#\npython\n#\ncnn",
  "metadata": {
    "title": "MobileNet Explained: A Slim and Efficient CNN Model",
    "description": "Overview\nThe paper “MobileNet: Efficient Convolutional Neural Network for Mobile Vision Application” authored by Andrew G. Howard, Menglong Zhu, and others in 2017, introduces a new approach for convolutional neural network which is more efficient an...",
    "keywords": null,
    "author": null,
    "og:title": "MobileNet Explained: A Slim and Efficient CNN Model",
    "og:description": "Overview\nThe paper “MobileNet: Efficient Convolutional Neural Network for Mobile Vision Application” authored by Andrew G. Howard, Menglong Zhu, and others in 2017, introduces a new approach for convolutional neural network which is more efficient an...",
    "og:url": "https://elrizanda.hashnode.dev/mobilenet-explained-a-slim-and-efficient-cnn-model",
    "og:site_name": "elrizanda",
    "og:image": "https://cdn.hashnode.com/res/hashnode/image/upload/v1735031650084/1ffc7502-7e65-461f-ade0-e609d9888aed.png",
    "og:image:width": "1200",
    "og:image:height": "630",
    "og:type": "article",
    "twitter:card": "summary_large_image",
    "twitter:title": "MobileNet Explained: A Slim and Efficient CNN Model",
    "twitter:description": "Overview\nThe paper “MobileNet: Efficient Convolutional Neural Network for Mobile Vision Application” authored by Andrew G. Howard, Menglong Zhu, and others in 2017, introduces a new approach for convolutional neural network which is more efficient an...",
    "twitter:image": "https://cdn.hashnode.com/res/hashnode/image/upload/v1735031650084/1ffc7502-7e65-461f-ade0-e609d9888aed.png",
    "article:published_time": "2024-12-24T09:17:11.687Z",
    "article:modified_time": "2024-12-24T09:41:35.120Z",
    "article:author": "https://elrizanda.hashnode.dev/@fadhilelrizanda"
  },
  "paywall": {
    "listed_paid": false,
    "detected": false,
    "marker": "",
    "public_only": false,
    "policy": "付费/会员内容只保留页面公开可见部分，不绕过付费墙"
  },
  "crawl": {
    "success": true,
    "status_code": 200,
    "error": ""
  },
  "code_blocks": [],
  "images": [
    {
      "status": "ok",
      "url": "https://cdn.hashnode.com/res/hashnode/image/upload/v1735031650084/1ffc7502-7e65-461f-ade0-e609d9888aed.png",
      "bytes": 368010,
      "reused": true,
      "local_path": "attachments/9b6fd7fb1e9a/images/000.png",
      "src": "https://cdn.hashnode.com/res/hashnode/image/upload/v1735031650084/1ffc7502-7e65-461f-ade0-e609d9888aed.png",
      "alt": "MobileNet Explained: A Slim and Efficient CNN Model",
      "downloaded": true
    },
    {
      "status": "ok",
      "url": "https://cdn.hashnode.com/res/hashnode/image/upload/v1735031643359/3ad38b48-3886-450c-a61e-7c55443488f6.png",
      "bytes": 368010,
      "reused": true,
      "local_path": "attachments/9b6fd7fb1e9a/images/002.png",
      "src": "https://cdn.hashnode.com/res/hashnode/image/upload/v1735031643359/3ad38b48-3886-450c-a61e-7c55443488f6.png",
      "alt": "",
      "downloaded": true
    },
    {
      "status": "ok",
      "url": "https://cdn.hashnode.com/res/hashnode/image/upload/v1735033285207/f9ef5f70-e4f3-4f4e-86a6-a6a83e30cf72.png",
      "bytes": 4865,
      "reused": true,
      "local_path": "attachments/9b6fd7fb1e9a/images/003.png",
      "src": "https://cdn.hashnode.com/res/hashnode/image/upload/v1735033285207/f9ef5f70-e4f3-4f4e-86a6-a6a83e30cf72.png",
      "alt": "",
      "downloaded": true
    }
  ],
  "audio": [],
  "videos": [],
  "links": [
    {
      "href": "https://elrizanda.hashnode.dev/mobilenet-explained-a-slim-and-efficient-cnn-model.md",
      "label": "View as Markdown",
      "type": "a"
    },
    {
      "href": "https://hashnode.com/@fadhilelrizanda",
      "label": "F",
      "type": "a"
    },
    {
      "href": "https://www.linkedin.com/in/fadhil-elrizanda/",
      "label": "",
      "type": "a"
    },
    {
      "href": "https://arxiv.org/abs/1704.04861",
      "label": "https://arxiv.org/abs/1704.04861",
      "type": "a"
    },
    {
      "href": "https://elrizanda.hashnode.dev/tag/machine-learning",
      "label": "# machine-learning",
      "type": "a"
    },
    {
      "href": "https://elrizanda.hashnode.dev/tag/artificial-intelligence",
      "label": "# artificial-intelligence",
      "type": "a"
    },
    {
      "href": "https://elrizanda.hashnode.dev/tag/computer-vision",
      "label": "# computer-vision",
      "type": "a"
    },
    {
      "href": "https://elrizanda.hashnode.dev/tag/python",
      "label": "# python",
      "type": "a"
    },
    {
      "href": "https://elrizanda.hashnode.dev/tag/cnn",
      "label": "# cnn",
      "type": "a"
    }
  ],
  "retry_at": "2026-10-03T08:09:44",
  "repair_version": 2,
  "repaired_at": "2026-10-14T10:51:00Z",
  "source_url": "https://elrizanda.hashnode.dev/mobilenet-explained-a-slim-and-efficient-cnn-model",
  "papers": [
    {
      "status": "ok",
      "url": "https://arxiv.org/pdf/1704.04861",
      "bytes": 941241,
      "reused": false,
      "local_path": "papers/repair/1ad0e87aa84eb38999ad.pdf"
    }
  ],
  "actual_video_files": [],
  "body_chars": 3866,
  "expected_body_images": 3,
  "discovery_status": "ok",
  "delivery_status": "ok",
  "missing_reason": "",
  "raw_html": "attachments/9b6fd7fb1e9a/pages/source.html",
  "local_html": "attachments/9b6fd7fb1e9a/pages/article.html",
  "body_base_path": "attachments/9b6fd7fb1e9a/pages/",
  "body_markdown_path": "attachments/9b6fd7fb1e9a/pages/article.md"
}