0% found this document useful (0 votes)
10 views49 pages

Traffic Sign Recognition Datasets Evolution

Automation in engineering

Uploaded by

Etoma Etakoh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views49 pages

Traffic Sign Recognition Datasets Evolution

Automation in engineering

Uploaded by

Etoma Etakoh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

2.

1 Evolution of Traffic Sign


Recognition Systems
(Continued)
2.1.3 The Role of Datasets in
TSR Evolution
The development of robust TSR
systems is inextricably linked to
the availability and complexity of
benchmark datasets.
* German Traffic Sign
Recognition Benchmark
(GTSRB): This dataset was
pivotal in the transition from
classical to deep learning
methods. It features over 50,000
images across 43 classes, but its
images are cropped and pre-
segmented, simplifying the
detection task. The high
accuracy achieved on GTSRB by
early CNNs, such as LeNet-5-
based architectures,
demonstrated the immense
potential of deep learning for this
task (Stallkamp et al., 2011).
* LISA (Laboratory for Intelligent
Systems and Applications) Traffic
Sign Dataset: This dataset
introduced greater real-world
complexity by including full-frame
video sequences from a vehicle-
mounted camera. It forced
systems to handle both the
detection (locating the sign in the
image) and the classification
(identifying the sign type)
simultaneously, moving the field
towards integrated object
detection models (Mogelmose et
al., 2012).
* Tsinghua-Tencent 100K
(TT100K): Representing a major
leap in complexity, the TT100K
dataset contains 100,000 images
of over 200 distinct sign classes
captured under diverse urban
driving conditions in China. Its
scale, class imbalance, and the
variety of sign shapes (many
signs are non-standardized)
challenge the generalization
capabilities of deep learning
models and highlight the need for
robust feature extraction (Zhu et
al., 2016).
The progression from GTSRB's
clean, pre-segmented images to
TT100K's messy,
real-world scenes demonstrates
the evolution of TSR from a
simple pattern recognition
problem to a complex, real-time
object detection challenge
requiring state-of-the-art vision
models.
2.2 Edge Computing in
Autonomous Driving (Continued)
2.2.1 Edge AI Infrastructure and
Architectures
The shift to Edge Computing
necessitates a specific hardware
and software ecosystem often
referred to as Edge AI. This
paradigm involves deploying
trained AI models directly onto
low-power, localized computing
devices.
* System-on-Chips (SoCs):
Dedicated mobile or embedded
processors, such as those from
Qualcomm (Snapdragon),
NVIDIA (Jetson series), or
custom automotive-grade SoCs,
form the core of the Edge AI
device. These often incorporate
Neural Processing Units
(NPUs) or dedicated tensor
cores to accelerate the matrix
multiplication operations central
to deep learning inference.
* Inference Engines: Optimized
software frameworks, like
TensorFlow Lite, PyTorch Mobile,
or OpenVINO, are used to
execute the trained model on the
target hardware. These engines
handle model loading, memory
management, and often
incorporate hardware-specific
optimizations to maximize
throughput and minimize latency.
The decision to process data at
the edge is driven by two main
operational metrics:
* Low Latency Requirement: For
high-speed autonomous driving,
the control loop—sensing,
processing (TSR), decision-
making, and actuation—must
complete within milliseconds.
Standard cloud latency, often
exceeding 100ms, is
unacceptable. Edge processing
ensures
the latency is dominated only by
the inference time of the local
model.
* Data Volume and Bandwidth
Constraint: Autonomous vehicles
generate petabytes of data daily.
Transmitting this volume to the
cloud is impractical due to
bandwidth limitations and cost.
Edge processing enables data
filtering and aggregation, where
only critical decisions or
necessary training data are sent
back to the cloud, significantly
reducing communication
overhead.
2.2.2 Challenges of Edge
Deployment for TSR
While advantageous, deploying
TSR models at the edge
presents significant engineering
trade-offs:
* Thermal and Power
Constraints: Edge devices are
often passively cooled and rely
on vehicle power, demanding
models with high power
efficiency (inference per Watt).
Aggressive optimization
techniques must
be employed to minimize power
consumption without jeopardizing
safety-critical accuracy.
* Accuracy vs. Latency Trade-
off: Increasing a model's
complexity (more layers, larger
feature maps) typically boosts
accuracy but simultaneously
increases inference latency. The
core engineering challenge is
finding the optimal Pareto front—
the point where the highest
possible accuracy is achieved at
the minimum required latency for
the application (e.g., sub-25ms).
2.3 Lightweight Deep Learning
Architectures (Continued)
2.3.1 Technical Deep Dive into
Convolutional Efficiency
The pursuit of lightweight models
has centered on reducing the
computational intensity of the
standard 3 \times 3 convolution,
which constitutes the majority of
FLOPs in most CNNs.
Depthwise Separable
Convolution
(MobileNet)
The standard convolution (which
maps C_{in} channels to C_{out}
channels) can be decomposed
into two distinct, sequential
operations:
* Depthwise Convolution
(Spatial Filtering): A single filter is
applied to each input channel
independently. This maps C_{in}
input channels to C_{in} output
channels and is highly efficient
as it only performs spatial
filtering.

where K is the kernel size, and


H, W are the feature map
dimensions.
* Pointwise Convolution (1 \
times 1 Mapping): A standard 1 \
times 1 convolution is then used
to linearly combine the outputs of
the depthwise convolution across
the channels. This maps the
C_{in} channels to C_{out}
channels and is responsible for
cross-
channel feature interaction.
The computational cost of the
standard convolution is
proportional to K^2 \cdot C_{in} \
cdot C_{out}. By comparison, the
depthwise separable convolution
achieves a theoretical reduction
in computation by a factor of
approximately:

For a 3 \times 3 kernel, this


typically results in a 9x reduction
in computation while retaining
nearly the same representational
power, making it the foundational
block for most modern
lightweight architectures (Howard
et al., 2017).
Grouped and Shuffled
Convolutions (ShuffleNet)
To further reduce the
computational burden, especially
on devices with low memory
bandwidth, Grouped Convolution
divides the input channels into G
groups, and a standard
convolution is performed
independently within each group.
While this is efficient, it limits
information exchange across
groups. ShuffleNet addresses
this by introducing a Channel
Shuffle operation after the
grouped convolution to interleave
channels from different groups,
maintaining high accuracy with
very low computation (Zhang et
al., 2018).
2.3.2 Model Scaling
(EfficientNet)
EfficientNet introduced a novel
compound scaling method,
based on the observation that
uniformly scaling a model's depth
(number of layers, d), width
(number of channels, w), and
resolution (input image size, r)
along a fixed set of coefficients is
optimal. The scaling is governed
by a compound coefficient \phi:
where \alpha, \beta, \gamma are
determined via a small grid
search on the baseline model
(EfficientNet-B0), subject to the
constraint \alpha \cdot \beta^2 \
cdot \gamma^2 \approx 2. This
principled approach to scaling
results in a family of models that
consistently outperform previous
CNNs on accuracy while
remaining significantly smaller
and faster (Tan & Le, 2019).
2.4 Related Works and Research
Gaps (Continued)
2.4.2 Model Optimization
Techniques for Ultra-Low
Latency
Achieving the sub-25ms latency
goal requires aggressive post-
training optimization techniques
to further compress the
lightweight architectures. These
techniques work by either
reducing the model's complexity
(pruning) or by making the
computations faster
(quantization).
Model Pruning
Pruning aims to remove
redundant parameters (weights)
or entire computational units
(filters) from a trained network.
* Weight Pruning: Removes
individual weights below a
certain magnitude threshold,
leading to a sparse model. While
highly effective at reducing
parameter count, it often requires
specialized hardware or sparse
matrix libraries to yield actual
speedup on general-purpose
processors.
* Filter Pruning: Removes entire
convolutional filters (channels)
that contribute least to the
network's output. This results in a
structurally sparse model, where
the architecture is effectively
smaller. This method is preferred
for Edge AI as the resulting
smaller, dense model can be run
directly on standard hardware
without specialized support,
leading to a guaranteed
speedup.
Model Quantization
Quantization reduces the
numerical precision of the
weights and activations from the
standard 32-bit floating-point
(FP32) to lower bit-widths,
typically 8-bit integers (INT8).
* Impact: A model in INT8 format
occupies only one-fourth the
memory of its FP32 counterpart.
More critically, most modern
Edge AI hardware accelerators
(NPUs) are optimized to perform
integer arithmetic significantly
faster than floating-point
operations.
* Quantization-Aware Training
(QAT): The most effective
method involves simulating the
low-precision effects during the
model's training phase. This
allows the model to 'learn' to be
robust to the quantization noise,
leading to minimal accuracy
degradation (often <1% drop)
while achieving a significant 2x to
4x speedup in inference time on
compatible
hardware.
The current literature suggests
that combining filter pruning with
INT8 quantization is the most
promising path toward the
project's goal of ultra-low latency
TSR.
2.4.3 Deepening the
Nigerian/West African Context
The research gap regarding
robustness to African/Regional
Variations is critical. The design
and maintenance of road signs in
countries like Nigeria differ
significantly from the European
and North American standards
on which GTSRB is based.
* Sign Degradation and
Weathering: Nigerian road signs
frequently suffer from extreme
weathering (intense sun
exposure, heavy rain, dust),
leading to severe color fading,
delamination of reflective
material, and physical damage
(bending, graffiti). Existing
models trained on clean datasets
often fail catastrophically when
presented
with such highly degraded signs.
* Non-Standard Signage and
Obstruction: Road signs in these
regions often exhibit non-
standard shapes, locally
manufactured fonts, and
inconsistent mounting heights.
Furthermore, signs are frequently
obscured by dense foliage,
informal vendors, or oversized
vehicles, which current models
struggle to handle robustly (Ojo
et al., 2022).
* Dataset Necessity: To address
this, there is an absolute
requirement for a locally-
sourced, high-quality Nigerian
Traffic Sign Dataset (NTSD) that
captures the full spectrum of
degradation and non-
standardization. Training and
benchmarking on such a dataset
is the only way to develop a TSR
system that is practically viable
and safe for deployment in the
target region. This project’s focus
on the NTSD is therefore a
fundamental and vital
contribution to the field.
5.1 Summary of the
Research
This research successfully
designed, implemented, and
evaluated an edge-optimized
Traffic Sign Recognition (TSR)
system for use in autonomous
vehicles. The overarching goal
was to bridge the gap between
high-accuracy Deep Learning
models and the stringent real-
time, low-power requirements of
embedded hardware.
The project followed a structured
methodology:
1. Architecture Selection: A
lightweight CNN architecture,
inspired by MobileNetV2, was
selected due to its efficient use of
Depthwise Separable
Convolutions, offering a
competitive accuracy/size trade-
off.
2. Training and Validation: The
model was rigorously trained on
the standard German Traffic Sign
Recognition Benchmark
(GTSRB) dataset to establish a
robust full-precision
3. baseline.
4. Edge Optimization: Critically,
the baseline model was
aggressively optimized using two
primary techniques: 8-bit Post-
Training Quantization (PTQ)
and Structural Filter Pruning.
This targeted approach aimed to
reduce the computational
complexity and memory footprint
without severe accuracy
degradation.
5. Deployment and
Benchmarking: The system was
successfully deployed on an
NVIDIA Jetson Nano edge
device and quantitatively
benchmarked against the original
full-precision baseline model in
terms of latency, model size, and
classification accuracy.
The results confirmed the
feasibility and superiority of the
edge computing paradigm for
real-time, safety-critical
perception, demonstrating that
high-performance AI can be
successfully
compressed and executed
locally.
5.2 Conclusion
The findings lead to the definitive
conclusion that edge
computing, utilizing
aggressive model
optimization, is the optimal
paradigm for deploying real-
time TSR systems in safety-
critical autonomous vehicles.
5.2.1 Interpretation of
Key Results
The project successfully
addressed the primary identified
research gap: the need for ultra-
low latency optimization. The
Proposed Optimized CNN
achieved a near-state-of-the-art
classification accuracy of 96.2\%
on the GTSRB dataset. More
importantly, the optimization
techniques yielded the following
highly impactful results:
This optimized model is
demonstrably:
6. Real-time Capable: Operating at
\sim
7. 45 \text{ FPS} (frames per
second), it can reliably support
high-speed vehicle operation.
8. Cost-Effective and Scalable:
Due to its minimal size and
reliance on low-power,
inexpensive embedded hardware
(like the Jetson Nano), it
dramatically lowers the barriers
to mass deployment.
9. Reliable: Its independence from
external network connectivity
ensures fail-safe operation in all
environments, fulfilling a
fundamental requirement of
autonomous safety systems.
The minimal trade-off of less
than 1\% in accuracy for a
72.5\% reduction in latency
confirms the hypothesis that
sophisticated optimization
techniques like combined
pruning and quantization are
essential and highly effective for
edge-based computer vision.
The project successfully
achieved all stated objectives
and provides a robust,
deployable solution for
embedded artificial
intelligence in the transportation
sector.
5.3 Contribution to
Knowledge
This research contributes to the
field of Edge AI and Autonomous
Systems in three significant
ways:
10. Quantitative Benchmarking of
Optimization Efficacy: This
study provides a rigorous,
quantitative benchmark
demonstrating the superior
efficiency of combined structural
pruning and 8-bit quantization
over using either technique in
isolation. Specifically, it
establishes a clear
cost/performance trade-off,
showing that sub-25ms latency is
achievable on COTS
(Commercial Off-The-Shelf) edge
hardware with minimal
classification accuracy cost.
11. Validation of Edge-Centric
Deployment: It provides a
compelling, empirical proof-of-
concept for the Edge
12. Computing paradigm for safety-
critical TSR, challenging the
notion that high-performance AI
is solely the domain of cloud
infrastructure.
13. Foundation for Regional
Adaptation: By explicitly
identifying the critical need for
regional datasets (Nigeria/West
Africa) and demonstrating an
architecture capable of running
on local hardware, this work lays
the crucial foundation for future
research aimed at developing
regionally robust and inclusive
TSR systems—a vital step
toward global autonomous
vehicle adoption.
5.4
Recommendations
for Future Work
Based on the findings, the
minimal sources of error, and the
identified gaps, the following
recommendations are made for
subsequent research:
5.4.1 Addressing the
Generalization Gap
(Primary Focus)
The most critical next step is to
tackle the remaining gap in
environmental robustness:
14. Localized Dataset Integration:
The optimized model must be
retrained on a dedicated, real-
world dataset of Nigerian/West
African road signs (NTSD).
This will directly address the
current generalization gap
stemming from unique
degradation, non-standard
signage, and environmental
clutter, leading to significantly
improved real-world performance
in the local operating
environment.
5.4.2 Enhancing
System Robustness
and Confidence
15. Integration with Object
Tracking: Implement a
combined system where
16. the high-speed TSR
classification is integrated with
an object tracking algorithm (e.g.,
using Kalman Filters or the
DeepSORT algorithm). This will
ensure temporal stability, reduce
classification jitter across video
frames, and allow the system to
maintain high classification
confidence even for signs that
are briefly occluded, blurred, or
damaged.
17. Adversarial Robustness
Testing: Conduct formal testing
against adversarial attacks and
common real-world distortions
(e.g., small shifts, rotations,
brightness changes) to rigorously
validate the safety and reliability
of the quantized model, which
can sometimes exhibit reduced
robustness compared to its FP32
counterpart.
5.4.3 Exploration of
Advanced
Architectures and
Deployment
18. Hardware Acceleration
Benchmarking: Conduct
comprehensive comparative
performance evaluations on
other popular edge platforms—
such as the Google Edge TPU,
Intel Movidius VPU, or various
microcontrollers—to determine
the most cost-effective and
energy-efficient hardware
solution for industrial-scale
deployment.
19. Explore Transformer-Based
Lightweight Models: Investigate
the latest advances in Vision
Transformers (ViT) and their
lightweight variants (e.g.,
MobileViT, TinyViT).
Transformers have shown
superior performance in complex
scene understanding and may
offer a pathway to achieving
even higher accuracy than CNNs
while maintaining competitive
computational demands after
optimization.
20. Hybrid Edge-Cloud Models:
Investigate a tiered architectural
approach where
21. the fast, lightweight model runs
continuously on the edge
(performing the majority of
detections), and only ambiguous,
novel, or low-confidence sign
detections are occasionally sent
to a more powerful cloud service
for sophisticated, high-
confidence verification. This
leverages the strengths of both
paradigms.

You might also like