A ghost module is a convolutional building block that generates additional feature maps through efficient, linear transformations of a smaller set of intrinsic feature maps, rather than through costly, redundant standard convolutions. This approach, introduced to address feature map redundancy in trained models, significantly reduces the number of parameters and FLOPs (floating-point operations) required, making it ideal for building networks for microcontrollers and other resource-constrained devices.
Glossary
Ghost Module

What is a Ghost Module?
A ghost module is a lightweight convolutional block designed to generate more feature maps from cheap linear operations, reducing redundant computations for efficient embedded deployment.
The module first performs a standard convolution to produce a small number of intrinsic feature maps. It then applies a series of cheap, linear operations—such as depthwise convolutions—to each intrinsic map, creating a set of 'ghost' feature maps. These are concatenated with the intrinsic maps to produce the final output, mimicking the representational capacity of a full convolution but with far lower computational and memory cost, a key optimization for TinyML.
Key Features of Ghost Modules
Ghost modules are designed to generate more feature maps from cheap linear operations, reducing redundant computations inherent in standard convolutions. This makes them a cornerstone for building efficient networks for microcontrollers.
Intrinsic vs. Ghost Feature Maps
A Ghost module splits the convolution process into two efficient parts. First, a regular convolution generates a small set of intrinsic feature maps. Second, a series of cheap linear operations (like depthwise convolutions) applies transformations to each intrinsic map to generate additional ghost feature maps. The final output is the concatenation of both sets, creating more feature channels with far fewer parameters and FLOPs than a standard convolution.
Cheap Linear Transformation
The core efficiency mechanism is the use of linear operations to generate ghost features. Common transformations include:
- Depthwise Convolutions: Applying a single filter per channel.
- Fixed-size Kernels: Using small, efficient kernels (e.g., 3x3 or 5x5).
- Identity Mapping: Simply reusing the intrinsic feature map itself.
These operations are computationally trivial compared to the standard convolutions they replace, as they require no channel mixing and far fewer multiplications.
Parameter & FLOP Reduction
The primary benefit is a dramatic reduction in resource consumption. For a standard convolution producing n feature maps, a Ghost module might generate m intrinsic maps and use cheap operations to create s ghost maps per intrinsic map, such that n = m * s. The theoretical speedup ratio r_s for parameters and FLOPs is approximately (n * c * k * k) / (m * c * k * k + (s-1) * m * d * d), where c is input channels, k is kernel size, and d is the cheap kernel size. In practice, this achieves 2x to 4x reductions in parameters and FLOPs with minimal accuracy loss.
Architectural Integration (Ghost Bottleneck)
Ghost modules are stacked into Ghost Bottlenecks, which form the building blocks of GhostNet. A Ghost Bottleneck has two stacked Ghost modules, structured similarly to MobileNetV2's inverted residual block:
- Expansion Layer: First Ghost module expands the channel count.
- Depthwise Convolution: An optional depthwise convolution for spatial filtering.
- Projection Layer: Second Ghost module reduces channels back down.
Stride=2 bottlenecks include depthwise convolution for downsampling. This modular design allows GhostNet to be a drop-in replacement for networks like MobileNetV3.
Comparison to Depthwise Separable Convolution
Both techniques decompose standard convolutions for efficiency, but their approaches differ fundamentally.
| Aspect | Depthwise Separable Conv | Ghost Module |
|---|---|---|
| Decomposition | Spatial (depthwise) + Channel (pointwise) | Feature Map (intrinsic) + Transformation (ghost) |
| Core Idea | Separate filtering & combining. | Generate redundant features cheaply. |
| Primary Saving | Reduces computations from k*k factor. | Reduces redundancy in generated features. |
| Theoretical Basis | Factorization of kernel matrix. | Redundancy in feature maps. |
Ghost modules can be seen as a feature-level redundancy reduction, while depthwise separable convolution is a kernel-level factorization.
Application in GhostNet
GhostNet is the flagship architecture built entirely with Ghost Bottlenecks. On the ImageNet dataset, GhostNet achieves competitive accuracy with significant efficiency gains:
- GhostNet 1.0x: ~750M FLOPs, 5.2M parameters, 73.9% Top-1 accuracy.
- Outperforms MobileNetV3 at similar FLOP budgets.
- Demonstrates superior latency vs. accuracy trade-off on mobile CPUs (e.g., Huawei Kirin 990).
This proves the Ghost module's effectiveness as a foundational block for constructing state-of-the-art, hardware-efficient networks for embedded deployment.
Ghost Module vs. Standard Convolution
A direct comparison of the lightweight Ghost Module with a standard convolutional layer, highlighting the trade-offs in parameters, FLOPs, and hardware suitability for embedded deployment.
| Feature / Metric | Ghost Module | Standard Convolution | Primary Impact |
|---|---|---|---|
Core Operation | Generates intrinsic features via cheap convolution, then expands with linear transformations (e.g., depthwise convolution). | Applies a full set of learned filters directly to all input channels. | Computational paradigm |
Parameter Count | Dramatically lower. Redundant feature maps are generated linearly, not learned. | High. Every output feature map requires a full set of learned filter parameters. | Model size & memory footprint |
Computational Cost (FLOPs) | Significantly reduced, often by ~50% for comparable output channels. | High. Scales linearly with the number of input channels, output channels, and kernel size. | Inference latency & energy |
Representational Power | Approximates the full feature space of a standard convolution using a mixture of learned and generated features. | Maximally expressive, as all feature interactions are learned directly from data. | Model accuracy & capacity |
Hardware Suitability | Optimized for microcontrollers (MCUs) and edge devices with severe memory and power constraints. | Suitable for servers and high-power devices (GPUs/TPUs) with abundant resources. | Deployment target |
Typical Use Case | Building blocks in efficient networks like GhostNet for on-device computer vision. | Foundational layer in large-scale models (e.g., ResNet, VGG) for cloud inference. | Application domain |
Design Philosophy | Exploits feature redundancy; 'cheaply' generates ghost features from intrinsic ones. | Assumes all feature maps must be uniquely and expensively generated through learning. | Architectural efficiency |
Frequently Asked Questions
A ghost module is a lightweight convolutional block designed to generate more feature maps from cheap linear operations, reducing redundant computations for efficient embedded deployment. Below are key questions about its mechanism and applications.
A ghost module is a lightweight convolutional block that generates additional feature maps through efficient, linear transformations of a smaller set of intrinsic feature maps, reducing the computational redundancy found in standard convolutions. Instead of applying a full convolution to produce all output channels directly, the module first generates a base set of intrinsic maps using a regular but cheaper convolution (e.g., with fewer filters). It then applies simple, low-cost linear operations—like depthwise convolutions or fixed transformations—to each intrinsic map to 'ghost' or create multiple derived feature maps. These intrinsic and ghosted maps are concatenated to form the full output, mimicking the representational capacity of a standard convolution but with significantly fewer parameters and FLOPs. This design is particularly effective for building efficient networks like GhostNet for deployment on microcontrollers and mobile devices.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
These are the core neural network components and design patterns that, like the Ghost Module, are engineered to maximize efficiency for embedded and mobile deployment.
Depthwise Separable Convolution
A factorized convolution that decomposes a standard convolution into two efficient steps: a depthwise convolution (applies a single filter per input channel) followed by a pointwise convolution (a 1x1 convolution to combine channel outputs). This is the foundational operation in MobileNet architectures, drastically reducing parameters and FLOPs compared to standard 3x3 convolutions.
- Key Benefit: Reduces computational cost by a factor of nearly
kernel_size². - Use Case: The primary building block for most modern efficient CNNs targeting mobile phones and microcontrollers.
Inverted Residual Block
A mobile-optimized block, introduced in MobileNetV2, that uses a linear bottleneck and an inverted structure for efficiency. It first expands the channel count with a cheap 1x1 convolution, applies a depthwise convolution, then projects back to a lower channel count.
- Design Principle: Expands (→ depthwise → projects) instead of compresses (→ standard conv → expands).
- Linear Activation: Uses linear (ReLU6) activations in the bottleneck to prevent information loss in low-dimensional spaces.
- Purpose: Enables the use of residual connections in very narrow, efficient networks without degrading performance.
Squeeze-and-Excitation Block
An architectural unit that models channel-wise relationships to improve representational power. It performs a squeeze operation (global average pooling) to get channel-wise statistics, then an excitation operation (small MLP with a gating mechanism) to produce per-channel recalibration weights.
- Mechanism: Re-weights feature map channels based on their global importance.
- Overhead: Adds minimal parameters (e.g., two fully-connected layers) for significant accuracy gains.
- Context: While powerful, its non-linearities can be problematic for integer-only accelerators, leading to variants like in EfficientNet-Lite.
Fire Module
The core building block of SqueezeNet, designed for extreme parameter reduction. It consists of a squeeze layer (only 1x1 convolutions) that compresses input channels, feeding into an expand layer that uses a mix of 1x1 and 3x3 convolutions to increase channels again.
- Goal: Achieve AlexNet-level accuracy with 50x fewer parameters.
- Strategy: Reduces input channels to 3x3 convolutions, which are parameter-heavy, and emphasizes 1x1 convolutions.
- Legacy: A pioneering design demonstrating that careful architectural choices can drastically shrink model size without collapsing accuracy.
Bottleneck Layer
A structural component that uses 1x1 convolutions to first reduce (compress) and then expand the number of channels. This creates a computational 'bottleneck' within a block, limiting the cost of subsequent expensive operations (e.g., 3x3 convs).
- Origin: Popularized by ResNet for building very deep networks efficiently.
- Function: The initial 1x1 conv reduces dimensionality; the final 1x1 conv restores it.
- Contrast: In an inverted residual block, this order is reversed (expand → depthwise → project).
Pointwise Convolution
A 1x1 convolution that operates across all input channels to combine or project them into a new channel space. It is the workhorse for channel mixing and dimensionality adjustment in efficient architectures.
- Role in Depthwise Separable Convs: Follows the depthwise step to create linear combinations of channels.
- Computational Profile: Much cheaper than a KxK convolution but still accounts for most of the computation in a depthwise separable block.
- Ubiquity: Found in nearly all efficient CNN designs, including Ghost Modules, for efficient feature transformation.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us