PAL: Intelligence Augmentation using Egocentric Visual Context Detection

Mina Khan, Pattie MaesarXiv 2021

Introduction

Context-aware AI systems—those capable of understanding a user's location and activity—hold immense potential for memory aids, assistive technologies, and behavioral interventions. However, two significant barriers prevent widespread adoption: the privacy risks associated with streaming first-person (egocentric) video to the cloud, and the difficulty of personalizing models to recognize a user's specific environment (e.g., their kitchen vs. a generic kitchen) without massive datasets.

PAL (Personal Assistant for Life) addresses these hurdles by implementing a wearable system that performs all learning and inference locally. By combining on-device deep learning with "low-shot" techniques, PAL can learn to recognize new personal contexts using as few as 10 images, ensuring that sensitive data never leaves the user's person.

Figure 1: The PAL system loop, illustrating the cycle of multimodal context sensing, on-device deep learning, and audio output across various daily scenarios.

System Architecture and Methods

The PAL hardware consists of an unobtrusive ear-hook wearable equipped with a camera, heart-rate sensor, and open-ear audio output, connected to an on-body compute unit housing a deep learning accelerator.

Figure 2: Hardware components of the PAL system, including the ear-hook sensors and the on-body deep learning accelerator.

On-Device Inference and Privacy

To maintain strict privacy for both the user and bystanders, PAL utilizes MobileNet SSD v2 for local object and face detection. By processing frames on the edge, raw images of private spaces or individuals are never transmitted to external servers, serving as a built-in privacy shield.

Low-Shot Personalization via Weight Imprinting

The core innovation for personalization is weight imprinting. Rather than retraining a large model, PAL extracts embeddings from a pre-trained MobileNet v1 model and "imprints" new classes—such as a specific room or a family member's face—using approximately 10 training images. This allows the system to be highly customized with minimal user effort.

Active Learning and Clustering

To further reduce the labeling burden, PAL employs DBSCAN clustering to automatically group visually similar environments. Users interact with a labeling interface to confirm or name these clusters (e.g., "Office" or "Kitchen"), turning the personalization process into a collaborative human-in-the-loop experience.

Experimental Evaluation

The researchers pre-trained base models using standard datasets including COCO (object detection), Open Images v4 (face detection), and ImageNet (embeddings). The system was then evaluated using an "in-the-wild" dataset of ~1,000 images collected by four participants over two days.

Key Results

Despite the power constraints of a wearable device, PAL demonstrated high accuracy across several tasks:

  • Object Detection: 98.8% accuracy.
  • Custom Context Recognition: 87.2% accuracy for specific activities (e.g., brushing teeth).
  • Custom Face Recognition: 86.9% accuracy using only 1–2 training images.
  • Context Clustering: 82% accuracy in automatically grouping 19 distinct environments.

While inference currently takes approximately 3 seconds per model, this frequency is sufficient for tracking daily habits and providing periodic context-aware assistance.

Discussion and Future Work

PAL demonstrates that the "Edge is the Privacy Shield," bypassing the ethical concerns of cloud-based egocentric vision. However, limitations remain regarding inference speed (currently 15 seconds for a full suite of five models) and battery life (approximately 5 hours).

Future iterations will focus on optimizing the deep learning pipeline for faster performance and exploring triggered sensing to extend battery life for all-day use. Additionally, the team plans to integrate richer audio-visual context detection to deepen the system's understanding of complex human environments.

Summary updated

BibTeX
@misc{khan2021pal,
  author = {Mina Khan and Pattie Maes},
  title = {{PAL: Intelligence Augmentation using Egocentric Visual Context Detection}},
  year = {2021},
  eprint = {2105.10735},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.10735},
}
Figure