Abstract
In the high-stakes domain of autonomous driving, object detectors must achieve a delicate balance between high precision and real-time performance on constrained edge hardware. Lightweight models frequently struggle with "feature consistency," failing to maintain an object's identity across varying scales and lighting conditions. We present Butter, a novel lightweight object detection framework that addresses these challenges through frequency-domain filtering and progressive hierarchical fusion. By treating neural network features as signals, Butter maintains semantic and spatial consistency while keeping the parameter count under 10 million. Our evaluations on the KITTI, BDD100K, and Cityscapes benchmarks demonstrate that Butter achieves state-of-the-art accuracy with significantly reduced computational overhead.
Introduction
Modern object detectors, such as YOLO or DETR, rely on hierarchical features to identify objects at multiple resolutions. However, a persistent "semantic gap" often exists between these layers: low-level layers capture fine-grained textures and edges but lack global context, whereas high-level layers provide semantic understanding at the expense of spatial precision. In dynamic driving environments, this inconsistency can lead to localization errors or missed detections of small, distant objects.
Existing methods to bridge this gap often introduce significant noise or high computational costs. The Butter framework introduces a specialized "neck" architecture designed to be both semantically rich and spatially sharp without inflating the model size, ensuring robust performance for real-time edge deployment.
Methods
The Butter framework is characterized by three primary architectural innovations designed to enhance feature consistency and fusion efficiency.
Overall Architecture
The system follows a backbone-neck-head structure, optimized for autonomous driving tasks. The neck incorporates frequency-aware enhancement and progressive fusion strategies to resolve semantic gaps.
Frequency-Adaptive Feature Consistency Enhancement (FAFCE)
FAFCE treats feature maps as signals in the frequency domain. It utilizes low-frequency damping to suppress noise that causes semantic inconsistency and high-frequency amplification to sharpen object boundaries. Additionally, a "Displacement Calculator" uses local cosine similarity to spatially re-align features, ensuring that high-level semantic concepts are precisely anchored to low-level spatial edges.
Progressive Hierarchical Feature Fusion Network (PHFFNet)
Instead of fusing all feature layers simultaneously, PHFFNet integrates them step-by-step (e.g., fusing level 2 with 3, then the result with level 4). This progressive approach more effectively narrows the semantic gap than traditional methods. Within these fusion blocks, Context-Aware Spatial Fusion (CASF) assigns dynamic, pixel-wise weights to different feature levels, allowing the model to prioritize the most reliable information when features conflict.
Lightweight Backbone
Butter utilizes a modified, lightweight version of HGNetV2. To minimize the parameter footprint while maintaining representational power, the architecture is optimized with Depthwise Convolutions (DWConv) and Convolutional Block Attention Modules (CBAM).
Results
Butter was evaluated on three gold-standard autonomous driving datasets: KITTI, BDD100K, and Cityscapes. The results highlight the framework's ability to "punch above its weight" in terms of efficiency and accuracy.
Efficiency and Accuracy Benchmarks
On the Cityscapes dataset, Butter achieved a 40% reduction in parameter count compared to Hyper-YOLO-S while improving mAP@50 by 1.6 points. On the KITTI benchmark, Butter reached 94.4 mAP@50, outperforming the previous state-of-the-art (TOD-YOLOv7) by 1.2 points despite having only approximately one-third of the computational complexity (GFlops).
Small Object Detection
Ablation studies confirmed the impact of the FAFCE module on fine-grained detection. Specifically, the inclusion of frequency-based boundary refinement improved the detection of small objects (less than 32x32 pixels) by 2.1 points in AP, demonstrating its effectiveness in preserving critical spatial details.
Conclusion
Butter provides a robust and efficient solution for real-time object detection in autonomous driving. By leveraging frequency-domain analysis and progressive fusion, it successfully bridges the semantic gap inherent in hierarchical feature extraction. Future work will focus on extending the framework to support spatiotemporal fusion for video sequences and incorporating domain-adaptive modules to enhance robustness in extreme weather and unfamiliar geographic regions.
Code Availability: https://github.com/Aveiro-Lin/Butter
Summary updated