Skip to main content
QUICK REVIEW

[Paper Review] FMHash: Deep Hashing of In-Air-Handwriting for User Identification

Duo Lu, Dijiang Huang|arXiv (Cornell University)|Jun 10, 2018
Hand Gesture Recognition SystemsComputer Science26 references3 citations
TL;DR

FMHash is a deep learning framework that generates compact, fuzzy binary hash codes from in-air-handwriting gestures to enable fast, accurate user identification in VR/AR and wearable systems. By using a CNN-based network with a novel pq-regularizer, it achieves ≥99.5% precision and ≥92.6% recall on a 200-account dataset, enabling efficient hash table-based search despite gesture variability.

ABSTRACT

Many mobile systems and wearable devices, such as Virtual Reality (VR) or Augmented Reality (AR) headsets, lack a keyboard or touchscreen to type an ID and password for signing into a virtual website. However, they are usually equipped with gesture capture interfaces to allow the user to interact with the system directly with hand gestures. Although gesture-based authentication has been well-studied, less attention is paid to the gesture-based user identification problem, which is essentially an input method of account ID and an efficient searching and indexing method of a database of gesture signals. In this paper, we propose FMHash (i.e., Finger Motion Hash), a user identification framework that can generate a compact binary hash code from a piece of in-air-handwriting of an ID string. This hash code enables indexing and fast search of a large account database using the in-air-handwriting by a hash table. To demonstrate the effectiveness of the framework, we implemented a prototype and achieved >99.5% precision and >92.6% recall with exact hash code match on a dataset of 200 accounts collected by us. The ability of hashing in-air-handwriting pattern to binary code can be used to achieve convenient sign-in and sign-up with in-air-handwriting gesture ID on future mobile and wearable systems connected to the Internet.

Motivation & Objective

  • To address the challenge of user identification in gesture-based interfaces where traditional typing is impractical.
  • To enable efficient, scalable user identification in VR/AR and wearable devices using in-air-handwriting gestures.
  • To generate robust, compact binary hash codes that tolerate natural gesture variability (fuzziness) across repeated writings by the same user.
  • To design a deep learning framework that supports fast retraining for new accounts and maintains high accuracy.
  • To ensure strong separation between hash codes of different users to minimize false positives in database search.

Proposed method

  • FMHash uses a camera-based gesture interface to capture 3D hand motion signals during in-air handwriting of an ID string.
  • A deep convolutional neural network (FMHashNet) processes normalized temporal signals to generate a 16-bit binary hash code.
  • A novel pq-regularizer is introduced to enforce a minimum Hamming distance of at least 3 bits between hash codes of different users in 99% of cases.
  • The framework employs a progressive training procedure to stabilize learning and maintain fast convergence (~10 minutes per full training).
  • A hash table is built using the generated binary codes to enable O(1) average-case lookup for user identification.
  • The method avoids RNNs for efficiency and training stability, opting for a pure CNN architecture to process sequential gesture data.

Experimental results

Research questions

  • RQ1Can in-air-handwriting gestures be reliably converted into compact, fuzzy binary hash codes that tolerate natural motion variation?
  • RQ2Can a deep learning model generate hash codes that maintain high separation (Hamming distance ≥3) between users while preserving intra-user consistency?
  • RQ3How effective is the proposed pq-regularizer in improving hash code separation and identification accuracy compared to standard regularization or activation methods?
  • RQ4Can the system support fast retraining for new accounts or updates without significant performance degradation?
  • RQ5What is the distribution of hash code distances in Hamming space, and does it support sparse, efficient indexing in large-scale databases?

Key findings

  • FMHash achieved ≥99.5% precision and ≥92.6% recall using exact hash code matching on a 200-account dataset, demonstrating high reliability in user identification.
  • The pq-regularizer ensured that hash codes of different accounts were separated by at least 3 bits in 99% of cases, significantly improving identification robustness.
  • The distribution of hash code bits showed near-uniform distribution (equal 0s and 1s) and low correlation between bits, indicating balanced and independent information encoding.
  • The average Hamming distance between any two user hash codes was 7–8 bits, with a minimum of 3–4 bits and maximum of 13–14 bits, confirming sparse and well-separated placement in Hamming space.
  • Compared to DSH-like regularization and tanh relaxation, FMHash’s pq-regularizer outperformed both in maintaining inter-class separation and reducing false positives under bit tolerance.
  • The CNN-based FMHashNet achieved fast training (~10 minutes per full training) and supported efficient retraining for new account registration, outperforming RNN-based alternatives in speed and stability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.