TL;DR
This paper tackles the scalability challenge of edge computing for wearable cognitive assistance (WCA) applications, which are hampered by the limited elasticity of cloudlets. The authors propose "offload shaping" strategies—split computing, gating, and decluttering—to reduce network and cloudlet load without sacrificing accuracy or performance, demonstrating significant bandwidth savings across various wearable devices.
What Problem Does This Paper Address?
Edge computing aims to bring computation closer to users, enabling low-latency applications like Wearable Cognitive Assistance (WCA). WCA applications, often involving complex computer vision tasks, typically offload heavy processing from underpowered wearable devices to nearby "cloudlets." However, cloudlets have significantly less capacity than large data centers, making them prone to being overwhelmed by even modest spikes in demand. This limited elasticity hinders the scalability of WCA. Furthermore, WCA applications demand low end-to-end latency, making it infeasible to simply offload to the distant cloud. The core problem is how to make WCA applications scalable and performant on resource-constrained edge infrastructure, particularly when dealing with high-bandwidth data like video streams from wearables.
Methods
The paper explores "offload shaping," a technique to optimize the offloading process. They investigate three main strategies:
- Split Computing: This involves partitioning a deep neural network (DNN) pipeline. A lightweight "head" runs on the wearable device (e.g., an object detector to find relevant regions), and the heavier "tail" runs on the cloudlet (e.g., an image classifier to determine the task step). This reduces the amount of data transmitted.
- Gating: This strategy leverages user input to control when processing occurs. Instead of continuously processing video frames, the system waits for the user to indicate task completion (via button press, gesture, or voice command). Processing then resumes to verify the step. This significantly reduces processing and network load during idle periods.
- Decluttering: This technique aims to reduce the size of images sent to the cloudlet. It involves using an object detector on the wearable to identify and "black out" irrelevant objects in the scene before compressing and sending the image. This reduces bandwidth requirements, especially in cluttered environments.
The authors also evaluate a "thin client" approach, where all processing is offloaded to the cloudlet, serving as a baseline for maximum accuracy and minimum latency.
Datasets
The paper does not explicitly mention publicly available datasets for training. Instead, the authors created custom datasets for four specific WCA applications: Stirling (assemble a heat engine), Meccano (build a model bike), Toyplane (build a model helicopter), and Sanitizer (assemble a smartphone sanitizer). These datasets consist of images capturing each step of the assembly tasks, with labels indicating the step and bounding boxes around the relevant objects. For evaluating decluttering, they collected new test sets with cluttered backgrounds.
Key Insights and Ideas
- Standalone DNNs are Insufficient: The study demonstrates that single DNN models, whether image classifiers or object detectors, do not achieve sufficient accuracy for WCA tasks on their own. A two-stage pipeline (object detector + image classifier) is necessary for robust performance.
- Offload Shaping is Crucial for Scalability: The core finding is that offload shaping strategies (split computing, gating, and decluttering) are effective in significantly reducing network bandwidth and cloudlet load without unduly compromising accuracy or performance.
- Trade-offs Exist, but are Manageable: While thin client offloading offers the highest accuracy and lowest latency, it consumes the most bandwidth and cloudlet resources. Split computing provides a good balance, offering substantial bandwidth savings. Gating offers significant bandwidth savings by intelligently pausing processing, and decluttering is effective in reducing bandwidth when visual clutter is present.
- Wearable Hardware is Maturing: The research highlights that modern wearable devices are increasingly capable of running parts of complex DNN pipelines, making split computing a viable strategy.
- Gating's Impact on User Experience: While gating offers bandwidth benefits, the study shows that some gating methods (like gesture or speech) can increase task completion time, suggesting a trade-off between efficiency and user interaction.
Key Results
- Bandwidth Savings: All offload shaping strategies achieved significant bandwidth savings.
- Split computing reduced bandwidth by over 50% compared to sending full images.
- Decluttering saved over 10% of bandwidth for all applications, reaching almost 20% for the Sanitizer dataset.
- Gating strategies (button, thumbs up, speech) significantly reduced bandwidth usage, with savings around 70-80%.
- Accuracy:
- Thin client approach generally yielded the highest accuracy.
- Split computing offered accuracy comparable to or better than standalone DNNs, and in some cases, close to thin client accuracy.
- Decluttering actually improved accuracy for three out of four applications, likely due to cleaner training data.
- Latency:
- Thin clients had the lowest inference times.
- Split computing latency was between fully local and thin client approaches.
- Gating did not significantly increase task completion time for the button method, but gesture and speech gating increased it by over 40%.
- Power Consumption:
- Fully local computation on wearables consumed more power than thin clients.
- Gating strategies did not significantly increase power consumption and, in some cases (button gating), even reduced it compared to the baseline.
- Decluttering did not cause a significant change in power consumption.
Limitations and Future Work
- Limited User Study for Gating: The study acknowledges that the number of users for the gating experiments was extremely limited (three users). A larger study is needed to evaluate gating's effectiveness and user tolerance for different interaction methods.
- Speech Recognition Engine: The speech recognition engine used (PocketSphinx) is noted as not being state-of-the-art, and a more advanced engine might overcome issues with recognition accuracy.
- Future Hardware Improvements: The authors anticipate that future wearable hardware will improve, leading to more powerful DNNs and potentially higher accuracy within tight latency bounds. This will necessitate ongoing re-evaluation of optimal partitioning strategies.
- Quantitative Comparisons: The paper emphasizes the continued value of quantitative comparisons between fully local, split, and thin client approaches as hardware and DNN capabilities evolve.
Summary updated