WorksComputer Science
mmPencil: Toward Writing-Style-Independent In-Air Handwriting Recognition via mmWave Radar and Large Vision-Language Model
Abstract
In-air handwriting recognition based on radio frequency (RF) signals offers a promising solution for human-computer interaction, yet existing methods are often limited by predefined writing planes, constrained writing styles, and small recognition vocabularies. To address these limitations, we propose m^2VLMs, a modality mapping architecture that bridges millimeter-wave (mmWave) radar sensing and large vision-language models (VLMs), and develop mmPencil, a 3D in-air handwriting word recognition system. mmPencil reconstructs 3D handwriting trajectories from mmWave signals using a multi-stage spatial trajectory reconstruction algorithm and maps them into visual representations through a spatial-to-visual mapping algorithm, enabling VLMs to recognize handwriting while reducing sensitivity to writing styles and environmental factors. We collect and release a 3D mmWave handwriting dataset containing 7,664 samples of 200 words from 12 users across 22 writing scenarios. Extensive experiments demonstrate that mmPencil achieves robust word recognition under variations in writing position, range, angle, speed, size, direction, and user movement. It achieves 97.60% accuracy on 200 word classes for seen users and 92.50% zero-shot accuracy on 50 word classes for unseen users, outperforming state-of-the-art baselines.
Authors’ Contact Information: Yifan Guo, Northwestern Polytechnical University, Xi’an, Shaanxi, China, [email protected]; Zhu Wang, Northwestern Polytechnical University, Xi’an, Shaanxi, China, [email protected]; Qian Qin, Northwestern Polytechnical University, Xi’an, Shaanxi, China, [email protected]; Yangqian Lei, Northwestern Polytechnical University, Xi’an, Shaanxi, China, [email protected]; Qiwen Gan, Northwestern Polytechnical University, Xi’an, Shaanxi, China, [email protected]; Zhuo Sun, Northwestern Polytechnical University, Xi’an, Shaanxi, China, [email protected]; Chao Chen, Chongqing University, Chongqing, China, [email protected]; Bin Guo, Northwestern Polytechnical University, Xi’an, Shaanxi, China, [email protected]; Zhiwen Yu, Northwestern Polytechnical University, Xi’an, Shaanxi, China and Harbin Engineering University, Harbin, Heilongjiang, China, [email protected].
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].
© 2025 Copyright held by the owner/author(s). Publication rights licensed to ACM.
ACM 2474-9567/2025/9-ART81
https://doi.org/10.1145/3749504
CCS Concepts: • Human-centered computing → Ubiquitous and mobile computing systems and tools.
Additional Key Words and Phrases: wireless sensing, mmWave radar, in-air handwriting, large vision-language model
ACM Reference Format: Yifan Guo, Zhu Wang, Qian Qin, Yangqian Lei, Qiwen Gan, Zhuo Sun, Chao Chen, Bin Guo, and Zhiwen Yu. 2025. mmPencil: Toward Writing-Style-Independent In-Air Handwriting Recognition via mmWave Radar and Large Vision-Language Model. Proc. ACM Interact. Mob. Wearable Ubiquitous Technol. 9, 3, Article 81 (September 2025), 30 pages. https://doi.org/10.1145/3749504
Introduction
With the rapid development of information technology, human-computer interaction (HCI) has become increasingly important in fields such as smart devices [25], industrial internet of things (IoT) [24], and assistive technologies [31]. Traditional interaction methods rely on input devices like touchscreens, mice, and keyboards. However, these methods perform poorly on devices with limited screen sizes (e.g., smartwatches) or without dedicated input interfaces, and they are not always user-friendly for specific groups such as the elderly and people with disabilities. As a result, innovative interaction technologies, such as in-air writing recognition[1], voice input [7, 17], and visual gesture recognition [27], have garnered growing attention. However, voice and visual-based methods can leak sensitive personal information, such as voice tone, conversation content, or facial features, posing privacy risks. In contrast, in-air writing recognition based on radio frequency (RF) signals offers the advantages of non-contact and privacy protection, which allows the user to write in the air across various scenarios. It overcomes many limitations of traditional approaches and has become an ideal choice for achieving natural human-computer interaction.
Unlike common non-interactive sensing tasks such as vital signs monitoring [30, 33, 42, 60], material detection [5, 40, 41, 43], and human activity recognition [3, 37, 56], in-air writing recognition is a more fine-grained sensing task. By analyzing reflected signals from the target, it deciphers handwriting content and provides richer semantic information. In-air writing recognition has been extensively studied in the literature. Early approaches utilized acoustic devices [9, 10, 38, 58] to extract distinctive acoustic patterns related to writing trajectories, enabling the classification of letters or words. However, this line of methods is highly susceptible to environmental noise. Solutions based on RF signals commonly utilize Wi-Fi channel state information (CSI) [14, 28, 51, 61] to detect fine finger movements by leveraging detailed subcarrier information. However, Wi-Fi signals are highly affected by severe multipath effects and have limited sensing resolution. Similarly, RFID-based approaches [36] require a large number of tag arrays, which makes them difficult to deploy in real-world scenarios. In contrast, mmWave radar has recently gained widespread attention for its rich sensing capabilities, including range, angle, and velocity, along with its high resolution. Beyond in-air writing recognition, it has demonstrated outstanding performance in applications such as heartbeat monitoring [4, 65, 66], vibration detection [18, 57], and facial recognition [53, 55, 63].
To extract handwriting trajectory information, existing radar-based studies can be roughly divided into two categories, i.e., the model-driven method and the data-driven method. Model-driven methods construct physical models [20, 29] between the signals and the handwriting trajectory to perform handwriting tracking and recognition. This line of studies, while eliminating the need for pre-training on collected data, struggle to handle characters written in non-predefined orders and are heavily reliant on specific scenarios. On the contrary, data-driven methods transform RF signals into trajectories or spectrograms and build classifiers based on long short-term memory (LSTM) or convolution neural network (CNN) [1, 6, 45]. Nevertheless, systems based on data-driven methods rely heavily on large-scale and high-quality training datasets. However, RF signals are highly susceptible to interference from factors such as writing position, direction, and individual writing habits. The scarcity and low quality of the RF sensing data, along with the diversity of handwriting content, greatly limit the development of RF-based in-air handwriting recognition.
Recently, foundation models (FMs), represented by large language models (LLMs) and large vision-language models (VLMs), have demonstrated unique capabilities in processing sensing data from the physical world, offering new opportunities for in-air writing recognition. For instance, the Tent system [70] integrates IoT sensor signals with text embeddings to enable zero-shot human activity recognition, while Penetrative AI [54] connects LLMs with the physical world, empowering them to process and interpret sensory data. Similarly, the FM-Fi system [48] introduces an innovative cross-modal system to transfer knowledge from vision-FMs, which facilitates human activity recognition based on RF signals. However, the powerful capabilities emerging from FMs such as VLMs have not yet been applied to in-air writing recognition.
Although there has been work on enhancing wireless sensing using LLMs or VLMs, achieving writing-style-independent in-air handwriting recognition via the mmWave radar and the large vision-language model is still a non-trivial issue, due to the following three major challenges. First, realistic in-air writing usually occurs in space, making it difficult to accurately reconstruct writing trajectories from composite RF signals, even with a mmWave radar featuring a 4GHz bandwidth and an antenna array. Second, the reflected signals of handwriting movements depend on not only the word being written, but also factors such as writing position, direction, and order, resulting in significant variability even within samples of the same word. Third, the RF data differs significantly from the text and image data, which inherently possess abundant semantic information. This disparity restricts the efficacy of VLMs when directly handling RF signals.
To address the aforementioned challenges, we develop a system named mmPencil, which is a pioneering effort in harnessing the powerful generalization capability of VLMs to achieve writing-style-independent recognition of in-air handwriting words. Specifically, a modality mapping architecture is proposed to bridge the mmWave data and VLMs, which consists of four components: data collection, trajectory reconstruction, data mapping, and instruction fine-tuning. First, we collect and release a mmWave in-air handwriting word dataset. Afterwards, an environment-robust multi-stage spatial trajectory reconstruction algorithm is designed, which effectively mitigates the interference caused by variations in handwriting positions. In particular, by exploring the range-azimuth and range-elevation profiles refined through spectral refinement, we accurately capture the spatial trajectory of handwriting movements at each moment. Outlier removal is performed on the obtained trajectory sequence, followed by smoothing using a Kalman filter. Next, we design a spatial-to-visual mapping algorithm to achieve handwriting recognition independent of writing styles, such as direction and order. Through direction-corrected Principal Component Analysis (PCA), we map the trajectories into images while preserving the shape features of the handwriting words. This mapping algorithm bridges the gap between wireless signals and visual images, enabling VLMs to intuitively interpret and process RF signals. Finally, we put forward an instruction fine-tuning approach to improve handwriting word recognition. A clear prompt is designed to guide the model in extracting word from image, while strictly limiting the output format.
To sum up, the main contributions of this study are as follows:
We propose a modality mapping architecture, VLMs, which serves as a bridge between mmWave data and VLMs, facilitating the transfer of the generalization capability of VLMs to RF sensing applications. To foster further exploration in this emerging field, we collect and release a mmWave in-air handwriting dataset1 containing 7,664 samples of 200 different words, 12 users, and 22 writing scenarios. To the best of our knowledge, this is the first attempt to apply VLMs for RF-based handwriting recognition.
We design a trajectory reconstruction algorithm for 3D spatial handwriting movements, which effectively eliminates the influence of writing position on handwriting trajectories by extracting multidimensional spectral features.
We design a spatial-to-visual mapping algorithm that converts mmWave data into image data, effectively eliminating the interference of writing style related factors (e.g., the speed and direction) by leveraging the powerful generalization capability of VLMs.
We develop a prototype handwriting recognition system named mmPencil based on COTS mmWave radar and leading VLMs. Extensive experiments in real-world scenarios demonstrate that mmPencil achieves accurate and robust word-level handwriting recognition, unaffected by varying writing styles and environmental factors. In particular, the recognition accuracy for 200 words stands at 97.60%, with the zero-shot recognition accuracy remaining as high as 92.50% for unseen users during training.
The rest of this paper is organized as follows. We present the related work in § 2, followed by an introduction to the preliminaries in § 3. The detailed design of the architecture is given in § 4. The technical details of trajectory reconstruction and data mapping are then presented in § 5 and § 6, respectively. Finally, we evaluate the performance of mmPencil in § 7, followed by discussion and conclusion in § 8 and § 9.
Related Work
Handwriting recognition is an important branch of gesture recognition [11, 12, 13, 22, 26, 44, 52, 59, 64, 69]. By capturing the precise trajectory of the in-air writing movements, it achieves a transition from coarse-grained action detection to fine-grained information representation in gesture recognition. We summarize a series of the most representative works in Table 1.
| System | Radio | Recognition Scope | Writing-Position Independent | Writing-Direction Independent | Writing-Order Independent |
| RF-finger [36] | RFID | 26 letters & 4 shapes | 2D plane | ||
| Arsalan et al. [1] | mmWave | 10 letters & 5 numbers | 2D plane | ||
| FingerDraw [51] | Wi-Fi | 26 letters & 10 numbers | 2D plane | ||
| mmWrite [29] | mmWave | 50 characters | 2D plane | ||
| CentiTrack-3D [14] | Wi-Fi | 26 letters & 10 numbers | 3D space | ||
| HandGest [61] | Wi-Fi | 12 letters & 10 numbers | 2D plane | ||
| IndexPen [45] | mmWave | 26 letters & 5 gestures | 3D space | ||
| GWrite [28] | Wi-Fi | 15 letters | 2D plane | ||
| MMHTSR [6] | mmWave | 26 letters & 4 gestures | 2D plane | ||
| AirWrite [20] | mmWave | 26 letters & 5 words | 2D plane | ||
| mmPencil | mmWave | 200 words | 3D space |
Table 1. Comparison with Existing RF-Based In-Air Writing Recognition Systems.
In general, existing studies can be categorized into two groups, the first being model-driven methods that aim to establish a mapping between signal variations and handwriting actions. For example, the FingerDraw system [51] employs a CSI-quotient model to eliminate noise using the ratio of CSI signals between two antennas. This enables precise tracking of finger movements at sub-wavelength scales and, through signal segmentation and trajectory reconstruction algorithms, achieves two-dimensional (2D) trajectory reconstruction of finger movements. However, the limited bandwidth of Wi-Fi signals constrains FingerDraw’s performance in fine-grained finger-tracking tasks. The mmWrite system [29] proposes a passive handwriting trajectory tracking method using a single mmWave radar. By leveraging advanced signal processing techniques, it achieves millimeter-level precision in handwriting trajectory reconstruction. The HandGest system [61] utilizes Dynamic Phase Vector (DPV) and Motion Rotation Variable (MRV) as gesture features, applying a hierarchical perception system for phased feature extraction and classification. This robust system enables finger tracking and air handwriting recognition without requiring large-scale data collection. The GWrite system [28] leverages CSI temporal features and time-reversal techniques, combining feature extraction and geometric analysis to achieve through-wall gesture recognition. However, its recognition capability for complex curved handwriting trajectories remains limited. The AirWrite system [20] introduces a handwriting recognition algorithm based on vector matrix generation and string matching. Without pre-training, it relies solely on simple string similarity calculations to identify handwriting trajectories. Nevertheless, this approach struggles with unseen letter writing-order, limiting its application in practical scenarios. Although these systems have achieved commendable results, they confine handwriting actions to 2D planes, whereas handwriting often occurs in 3D space. The CentiTrack-3D system [14] addresses this limitation by integrating Angle of Arrival (AoA), Time of Flight (ToF), and variations in reflection path length to construct a high-precision 3D spatial gesture tracking model. However, its performance remains sensitive to the accuracy of initial position estimation, posing challenges for broader applications.
The other group is data-driven methods, which rely on large volumes of labeled data to train deep neural networks, enabling them to learn and extract unique patterns from hand movements. For example, the RF-finger system [36] utilizes gesture reflection features captured in three frames (corresponding to the initial, middle, and final phases of a gesture) and trains a CNN model to achieve fine-grained gesture recognition with high precision. Arsalan et al. [1] propose an in-air writing recognition system based on multiple mmWave radar devices, which combines trajectory time series and 2D images, leveraging LSTM-CTC and DCNN models for character classification with notable performance. Focusing on two-finger character input, the IndexPen system [45] combines a hybrid architecture of CNN and LSTM to fully exploit the range-doppler and range-azimuth-elevation features of the mmWave radar and successfully realizes the effective extraction of spatial and temporal information. Similarly, the MMHTSR system [6] introduces an air-handwriting trajectory detection and reconstruction system, utilizing advanced signal processing techniques and Bidirectional-LSTM to achieve high-accuracy handwriting trajectory recognition and gesture classification. However, these CNN- and LSTM-based methods face limitations in generalizing to unseen complex writing movements and adapting to user-varying writing style preferences, significantly hindering their applicability in real-world scenarios.
In contrast, mmPencil combines the advantages of model-driven and data-driven methods. It employs a multi-stage spatial trajectory reconstruction algorithm that effectively eliminates the influence of factors such as writing position, direction, and speed. Additionally, by leveraging a spatial-to-visual mapping algorithm, it capitalizes on the ability of VLMs to perceive the physical world. Even in the presence of significant varying of handwriting styles and environmental factors, mmPencil maintains a high sensing performance.
Preliminaries
In this section, we will introduce the preliminaries that form the basis for designing the proposed architecture and algorithms. Specifically, we first delve into the principles of multiple-input multiple-output (MIMO) antenna arrays based on time-division multiplexing (TDM). Subsequently, we explore the key techniques for range estimation and multi-dimensional angle estimation.
Antenna Array
Unlike traditional pulse radars, mmWave radars emit signals with a frequency that varies linearly over time, thereby referred to as Frequency-Modulated Continuous Wave (FMCW) radars. By analyzing the ToF and Doppler shift of the received signals, FMCW radars can simultaneously measure the range and velocity of a target.
However, relying solely on range and velocity information is insufficient to distinguish multiple targets. To address this limitation, FMCW radars employ MIMO antenna arrays, which enable spatial separation of targets through angle estimation.
The core concept of MIMO antenna arrays lies in combining the signal paths of multiple transmit (Tx) and receive (Rx) antennas to form an equivalent virtual antenna array. The number of antennas in this virtual array is equal to the product of the physical Tx and Rx antennas. This design significantly enhances the angle resolution and target detection capability of radars without a substantial increase hardware costs. As shown in Figure 1, the transmit antennas emit signals in chronological order in TDM mode. The receive antennas capture the echo signals reflected from the targets. By jointly processing the received signals, target signals can be effectively separated across both temporal and spatial dimensions.
Figure 1. mmWave radar Tx antennas alternately emit signals under TDM-MIMO.
Range Estimation
The transmit signal of an FMCW radar exhibits linear frequency modulation over time, mathematically expressed as:
where is the amplitude of the transmit signal, is the starting frequency, is the signal bandwidth, is the sweep time, and is the random initial phase. After the transmit signal is reflected by the target, the received signal is a time-delayed version of the transmit signal. By processing the transmit and received signals through a mixer, the intermediate frequency (IF) signal can be obtained as:
where is the signal propagation delay, and is the phase difference, which is typically negligible.
The relationship between the target range and the frequency of the IF signal is given by:
where is the speed of light. By performing a Fast Fourier Transform (FFT) on the received signal, range information can be extracted. The range resolution of the radar is limited by the signal bandwidth and is given by:
For example, an FMCW radar with a bandwidth of 4 GHz can achieve a range resolution of approximately 3.75 cm. However, in practical scenarios, factors such as hardware limitations and environmental noise must also be considered.
Multi-dimensional Angle Estimation
Angle estimation is achieved by analyzing the spatial characteristics of the target signals captured by the receiving antenna array. In traditional one-dimensional angle estimation, mmWave radars primarily measure the azimuth angle of targets. The azimuth AoA can be expressed as:
where is the receiving antenna spacing, is the wavelength, and are the path difference between neighboring receiving antennas and the resulting phase difference, respectively. By performing an angle-FFT on the received signals, the azimuth angles of multiple targets can be resolved. Furthermore, increasing the number of receiving antennas effectively improves the angle resolution, which can be expressed as:
In modern mmWave radars, the detection of elevation angles can be achieved by adjusting the layout of the transmit antennas, particularly by introducing height differences. As shown in Figure 2, the use of transmit antennas at different heights (i.g., Tx2) enables the estimation of elevation angles by leveraging the vertical path difference. Specifically, the path difference in the vertical direction introduces , where represents the height difference and is the elevation angle, calculated as , where denotes the phase difference caused by the vertical path difference.
Figure 2. MIMO antenna array of mmWave radar.
By combining azimuth and elevation angles using 2D angle estimation, mmWave radars can achieve 3D target detection. This capability makes it feasible to extend applications such as in-air writing recognition from a 2D plane to a 3D space.
Overview of the Architecture
Due to the abundance of large-scale image-text data, VLMs possess outstanding generalization capabilities in sensing and understanding the physical world. To unlock this great potential of VLMs in the domain of RF sensing, we propose a modality mapping architecture that connects mmWave data and VLMs, as shown in Figure 3. Specifically, the proposed architecture consists of four modules: data collection, trajectory reconstruction, data mapping, and instruction fine-tuning. In particular, the trajectory reconstruction module effectively eliminates the influence of environmental factors and writing position, while the data mapping module mitigates the impact of writing order and direction. We will provide detailed descriptions of these two modules in §5 and §6, respectively.
Figure 3. Overview of the VLMs architecture.
Data Collection. is built on a commercial off-the-shelf (COTS) 60 GHz mmWave radar. The radar is equipped with a MIMO antenna array comprising 3 transmitting antennas and 4 receiving antennas, offering a 120° azimuth field of view and a 60° elevation field of view. We place the radar horizontally on a desktop or similar platform to capture the writing movements.
Trajectory Reconstruction. We design a set of trajectory reconstruction methods that effectively reduces the impact of variations in writing position on air handwriting recognition. First, we calculate the vector mean of time-domain data to suppress environmental clutter caused by multi-path effects. Next, we propose a multi-stage spatial trajectory reconstruction algorithm. Using range-azimuth and range-elevation profiles after spectrum refinement, we dynamically extract the center coordinates of target clusters, accurately capturing the spatial (i.e., range, azimuth, and elevation) trajectory at each moment. The obtained trajectory sequences are refined through outlier removal, followed by smoothing with a 3D Kalman filter.
Data Mapping. We design a spatial-to-visual mapping algorithm. Through direction-corrected PCA, we map 3D trajectories to 2D images while preserving the shape characteristics of handwriting words. Image-based methods have high sequential robustness, which can mitigate the differences caused by varying writing directions and styles (i.e., order) across different users in time series. This mapping algorithm bridges the gap between RF signals and the visual images, enabling VLMs to interpret and process wireless signals with greater intuitiveness.
Instruction Fine-Tuning. We design an instructional prompt to clearly guide the VLM in extracting text from images while strictly constraining the output format. The content of the prompt is as follows: "<image> Here is a picture containing a handwriting word. Please identify the word in the image. Ensure that your output is a correctly spelled English word. Note: Only provide the word itself, without any additional content or explanation." Using clear instructions, we define the VLM’s task objective as accurately recognizing handwriting words from images. Additionally, we incorporate the principles of constraint-based prompts [62], strictly limiting the output to "a single correctly spelled English word" and excluding unnecessary content or explanations. This design combines task instructions with output constraints, effectively helping the VLM adapt to handwriting-based text recognition tasks and improving the simplicity and accuracy of the output.
Writing Trajectory Reconstruction
Environmental Disruption Elimination
Due to the multi-path effect and Tx-Rx coupling [34], the raw IF signals of a mmWave radar are impacted by multiple factors, often including irrelevant components like direct leakage and environmental reflections. Therefore, to accurately extract the handwriting-related components from the composite signals, it is essential to preprocess the raw IF signals. While reference signal-based methods can effectively eliminate environmental noise, they often require additional collection of no-target data [43].
To address this issue, we propose taking the mean of the time-domain signals as a reference and subtracting it from the raw IF signals at all times. Accordingly, the channel impulse response (CIR) at a specific time can be expressed as:
where is the total number of frames in a complete handwriting signal. To provide a clearer demonstration, we collect data with the hand placed approximately 40 cm in front of the radar. Then, range-FFT is conducted on both the raw data and the noise-reduced data, and the results are illustrated in Figure 4(a). Since direct leakage (within 20 cm) and environmental noise (beyond 100 cm) tend to remain constant throughout the handwriting process, subtracting the mean vector can effectively eliminate these non-motion components.

Figure 4. Illustration of data pre-processing results. (a) The noise elimination unit filters the interference of direct leakage and ambient noise. (b) The spectrum refinement unit improves the position estimation resolution.
Multi-Stage Spatial Trajectory Reconstruction
As we know, a FMCW radar is capable of detecting the relative range, azimuth and elevation angles of the target. Furthermore, based on the multi-stage spatial trajectory reconstruction algorithm, we can not only effectively suppress environmental interference, but also accurately estimate the finger position at each moment with super resolution. As a result, handwriting word recognition can be achieved regardless of the writing position.
5.2.1 Range-Angle Spectral Refinement. Generally, performing FFT on the fast-time dimension yields the range spectrum, where peaks represent reflective targets at specific ranges within the field of view. Further FFT processing on the channel dimension produces the range-angle profile. Notably, selecting data from Tx-Rx channels at the same elevation but at different horizontal positions in the virtual antenna array (e.g., signals transmitted by Tx1 and Tx3 and received by the four Rx channels in Figure 2) provides azimuth information. This is because the difference in reflected signals between these channels mainly arises from horizontal path differences. Similarly, elevation information can be extracted from Tx-Rx channels at the same horizontal position but different elevations (e.g., channels Tx2-Rx1 and Tx1-Rx3). Given the noise-canceled IF signal as and the range as , the range-azimuth and range-elevation profiles can be expressed as:
However, the resolution of FFT is limited by the sampling frequency, as constrained by the Nyquist Sampling Theorem [35]. Larger sampling intervals introduce a picket fence effect, increasing the likelihood of missing true frequencies between CIR samples. For example, a commonly used 12-channel mmWave radar with a 4 GHz bandwidth can only achieve a range resolution of approximately 3.75 cm, an azimuth angle resolution of 15°, and an elevation angle resolution of 30°, which is far from sufficient for precise handwriting recognition tasks.
To address the motion signal overlap caused by insufficient radar resolution, we propose up-sampling the existing CIR samples by adding zero padding [8, 50]. This method effectively inserts more frequency points in the spectrum without increasing the hardware sampling rate, improving the overall spectral resolution. Specifically, given the original signal of length , zero padding extends it to points. The zero-padded signal can be expressed as:
The range-FFT with zero padding is then expressed as:
where represents the -th frequency point. Although zero padding does not change the physical range resolution, it increases the spectral density, allowing for more precise target localization. The refined resolution can be expressed as , where is the sampling rate and is the frequency modulation slope.
Given ksps, MHz/s, and (4x interpolation), the range resolution is approximately 1.05 cm, as shown in Figure 4(b). The range estimate from the 4x interpolated FFT is 42.43 cm, while the original FFT estimates it as 43.53 cm. This discrepancy arises because the original FFT restricts the detection results to discrete sampling points, such as 39.18 cm and 43.53 cm. Similarly, spectral refinement of angle information can achieve an azimuth and elevation resolution of , as shown in Figure 5(a) and Figure 5(b).
Figure 5. Illustration of spectrum refinement results.
Frequency-Domain Feature Extraction
Handwriting movements are complex movements performed collaboratively by the arm and hand, resulting in target reflections distributed across multiple range and angle bins with significant spatial spread. Consequently, directly identifying the peak values from range-azimuth and range-elevation profiles as handwriting trajectory points may neglect the distributional characteristics of the motion, leading to inaccurate trajectory localization. To address this issue, we propose a method based on target point extraction and cluster center computation for more reliable handwriting trajectory determination.
Specifically, in each frame, we extract all target points exceeding a predefined threshold from the range-azimuth and range-elevation profiles. Let the signal strength at time be denoted as and . The set of target points can be expressed as:
where is a scaling factor, we empirically set it to 0.75 based on experience obtained during the data collection process. The cluster center of target points in a certain frame, as shown in Figure 5(a) and Figure 5(b), can be expressed as:
By calculating the cluster centers of the target point sets extracted from all time frames, we can estimate the positional information of the entire handwriting trajectory. As an example, we write the words "hello", and "world" in space. The complete trajectory points for each writing motion are shown in Figure 6(a) and Figure 6(b).

Figure 6. Handwriting trajectory points in polar coordinates and smoothed handwriting trajectories in 3D Cartesian coordinates (The color change represents the writing order).
Motion Segment Extraction and Trajectory Smoothing
Integrating the overall motion of the arm and hand into trajectory point extraction fully leverages the distributional properties of hand reflection signals. However, unlike traditional handwriting on paper, in-air handwriting lacks clear starting and ending points. Preparatory actions (e.g., lifting the hand) and concluding actions (e.g., lowering the hand) during the handwriting process are also recorded by the mmWave radar as target point data. The motion trajectories of these actions often significantly differ from the actual handwriting trajectories, and directly including these data could disrupt the accuracy and continuity of the extracted handwriting trajectories.
To address this issue, we perform outlier removal on the extracted handwriting trajectory time series to eliminate interference points unrelated to the handwriting process. Only trajectory points that caption: Filtering effects with different transition covariance.

Figure 7a. (a) transition covariance to

Figure 7b. (b) transition covariance to

Figure 7c. (c) transition covariance to
Figure 8a. (a) "but".
Figure 8b. (b) "good".
Figure 8c. (c) "hello".
Figure 8d. (d) "world".
caption: Writing trajectory images after direction-corrected PCA.
satisfy the following conditions are retained , , , where is a predefined threshold multiplier, , , and represent the mean values of the 3D position information, and , , and represent their respective standard deviations. After removing outliers, the resulting trajectory point time series better reflects the actual handwriting process while eliminating interference from non-writing movements.
Although spectrum refinement and trajectory point localization techniques are applied to enhance signal quality during data processing, the generated trajectory sequences inevitably exhibit fluctuations and high-frequency noise. These fluctuations result not only from the complexity of in-air writing but also from environmental disturbances and inherent uncertainties in signal processing.
To optimize trajectory sequences, we introduce a 3D Kalman filter. Traditional filtering techniques, such as the Savitzky-Golay filter [32], rely on fixed window sizes to smooth data. However, these methods often cause detail loss when processing signals of varying lengths. This issue becomes particularly evident in character shape restoration. Additionally, windowing strategies distort periodic strokes, especially in letters like "o", "e", and "a", leading to compression or deformation during smoothing. To address these challenges, we adopt the dynamic prediction and update capabilities of the Kalman filter [47], and the smoothed trajectories of the example words are shown in Figure 6(c) and 6(d). In our implementation of Kalman filtering, we typically set the observation covariance to 1 and the transition covariance to . As illustrated in Fig. 7, the transition covariance significantly affects the quality of trajectory reconstruction. In particular, a smaller transition covariance tends to over-smooth the trajectory, thereby removing fine-grained details of the word writing process. In contrast, a larger transition covariance retains more details but also introduces considerable noise and clutter. This 3D Kalman filtering approach fully leverages the recursive computation of the Kalman filter, effectively smoothing the three-dimensional trajectory data while preserving the original shape of the characters and avoiding distortion issues common in traditional methods.
Data Mapping from Spatial Trajectory to Word Image
In-air writing trajectories in space tend to be more arbitrary and irregular than those written on a plane. These trajectories can be influenced by hand movements, postures, or spatial orientations. Directly projecting them onto fixed coordinate axes may lead to significant distortion of the word’s shape, posing challenges in maintaining the original structure. To address this issue, we employ PCA [49] to extract the principal directions of the spatial trajectory and transform it into an image, which helps retain the overall word shape effectively.
Specifically, we first convert the writing trajectories from spherical coordinates to Cartesian coordinates, where each trajectory point is represented as . Given the centralized handwriting trajectory sequence , we compute the covariance matrix and perform eigenvalue decomposition as:
where is a diagonal matrix containing the eigenvalues, and is the matrix of eigenvectors. In normal handwriting, the principal directions of the trajectory are usually related to writing habits, with the primary direction representing horizontal extension (left-to-right writing) and the secondary direction reflecting vertical variations. Thus, we select the eigenvectors and corresponding to the two largest eigenvalues and to construct a 2D projection basis:
These two principal writing directions precisely capture the characteristics of writing. Specifically, the largest eigenvalue corresponds to the primary horizontal writing trend, while the second largest eigenvalue corresponds to the secondary vertical variation trend. The trajectory points projected from space to plane can then be expressed as:
where represents the total number of trajectory points, and represents the generated word image.
However, PCA determines the principal directions based on the statistical variance of spatial data, neglecting the sequential or temporal nature of handwriting trajectories. This limitation may result in dimensionality reduction results that deviate from typical writing habits, such as left-to-right progression, potentially resulting in horizontally or vertically mirrored trajectories. These distortions can impede the recognition of handwriting trajectories. In practical handwriting scenarios, words are typically written starting from the top-left corner and progressing towards the bottom-right corner. Based on this observation, we propose a post-processing adjustment method to correct the orientation of PCA results, ensuring that the writing direction aligns with common conventions and eliminating potential mirroring distortions. This adjustment process involves analyzing the starting and ending points of the PCA-reduced trajectory to determine the overall writing direction. Specifically, we compute the horizontal and vertical components of the trajectory’s direction vector. If the horizontal component indicates a right-to-left progression, the trajectory is flipped horizontally to achieve left-to-right alignment. Similarly, if the vertical component indicates an upward trend, the trajectory is flipped vertically to conform to the top-to-bottom writing habit. Examples of gradient color visualization images are shown in Fig. 8.
The direction-corrected PCA-based data mapping algorithm reconstructs the overall word shape and eliminates distortions caused by irregular spatial writing directions, such as slanted writing. It ensures that the generated trajectory follows logical writing habits, e.g., left-to-right progression, and aligns with visual conventions. By rectifying the trajectory and converting it into an image, we mitigate the impact of writing order on word recognition. This approach circumvents the obstacles that time-series-based techniques like LSTM frequently encounter.
Evaluation
To validate the performance of , we develop a prototype in-air handwriting recognition system named mmPencil. Specifically, a commercial mmWave radar is used to collect sensing data samples of 3D mmWave handwriting words, and a series of experiments are conducted to evaluate the accuracy and robustness of mmPencil across a range of conditions, including different users, varying word lengths (i.e., number of letters), as well as diverse writing ranges, angles, speeds, sizes, directions and environmental factors.
Experiment Setup
Hardware Implementation. To implement mmPencil, we use the IWR6843ISK mmWave radar, which can transmit FM continuous wave signals in the frequency range of 60 to 64 GHz, and the DCA1000EVM for data collection. It is equipped with 3 transmitting antennas (one of which is arranged at different heights) and 4 receiving antennas, with a peak gain of 7 dBi, and can provide a horizontal FoV of 120° and a elevation FoV of 60°. We set the frequency slope to 66.011 MHz/s, and set the sampling rate to 2000 ksps. At the same time, each frame consists of one chirp with 108 ADC samples per chirp, resulting in a range resolution of 4.2 cm. In addition, the mmWave data collection module is deployed on a mini-PC running Windows 10, with a CPU frequency of 2.8 GHz. We use a GPU server equipped with 8 A100 GPUs (each with 40 GB of memory) for fine-tuning the VLMs.
Dataset Collection. During the dataset collection process, the radar is stationary and placed facing upward. Users write at arbitrary positions within a space above the radar (as shown in Figure 9). Beyond the requirement that the writing action takes place within the radar’s field of view, there are no restrictions imposed on the writing position, order, or direction. In other words, users retain the freedom to adhere to their individual writing styles and habits without any limitations. The experiments involve 200 different words, each consisting of 2 to 9 letters, as shown in Table 2. These words are the most frequently occurring words in the IAM handwriting dataset [23], which is one of the most well-known visual handwriting databases. Additionally, the duration of each writing action is related to the length of the word, and each letter being written within approximately 2 to 3 seconds.

Figure 9. Data collection in home scenes.
| about | action | again | all | almost | also | am | among | an | and |
| any | around | as | asked | at | away | back | be | because | become |
| been | before | being | believed | best | better | both | but | by | called |
| case | cent | change | come | could | course | day | did | do | does |
| down | early | end | enough | even | every | face | fact | few | film |
| find | first | for | found | four | from | full | get | give | given |
| go | god | going | good | great | had | half | hand | has | have |
| having | he | head | health | heard | heart | help | her | here | high |
| him | his | home | house | how | in | into | is | it | its |
| just | know | known | labour | last | later | lead | less | like | little |
| long | look | looked | make | man | many | may | me | men | might |
| most | much | my | national | need | never | new | next | no | not |
| number | of | old | on | once | one | only | or | our | out |
| own | party | people | per | place | play | point | policy | power | put |
| quite | really | said | say | see | seems | seen | she | should | shown |
| since | sir | small | so | some | something | still | strong | table | than |
| that | the | their | them | there | these | think | three | to | today |
| told | too | town | two | under | up | us | use | very | was |
| way | we | well | were | what | when | where | which | while | who |
| whom | why | will | world | wrote | years | yesterday | you | young | your |
Table 2. 200 Categories of Words Contained in the mmPencil Dataset.
Drawing on previous studies experience [2], we recruit 12 users, including 9 non-authors, whose detailed information is summarized in Table 3. In addition, Figure 10 illustrates representative examples of each volunteer’s in-air handwriting style. The collected dataset consists of three complementary parts, each designed to address different research focuses, with the first and second parts covering partially overlapping content, as follows:
| User Number | Age | Occupation | Data Scope | Total Data Volume |
| 1 | 28 | Ph.D. Student | 200 words | 2880 |
| 2 | 23 | Engineering Intern | 200 words | 2000 |
| 3 | 24 | Master’s Student | 200 words | 400 |
| 4 | 28 | Assistant Engineer | 200 words | 400 |
| 5 | 24 | Engineering Intern | 50 words & 10 numbers & 2 symbols | 248 |
| 6 | 24 | Ph.D. Student | 50 words & 10 numbers & 2 symbols | 248 |
| 7 | 22 | Master’s Student | 50 words & 10 numbers & 2 symbols | 248 |
| 8 | 22 | Master’s Student | 50 words & 10 numbers & 2 symbols | 248 |
| 9 | 24 | Engineering Intern | 50 words & 10 numbers & 2 symbols | 248 |
| 10 | 24 | Engineering Intern | 50 words & 10 numbers & 2 symbols | 248 |
| 11 | 24 | Engineering Intern | 50 words & 10 numbers & 2 symbols | 248 |
| 12 | 24 | Engineering Intern | 50 words & 10 numbers & 2 symbols | 248 |
Table 3. Information of Participant Users and Collected Data.

Figure 10. In-air handwriting style of all users (case word "where").
200-Word 4-User Dataset. The first part targets a broader range of word categories and is contributed by 4 users, each collecting samples for 200 distinct words. Specifically, users 1 and 2 collect 10 samples per word, whereas users 3 and 4 collect 2 samples per word, yielding a total of 4,800 samples.
50-Word 12-User Dataset. The second part of the dataset emphasizes the diversity of handwriting styles across all 12 users. Specifically, we first extract data corresponding to 50 word categories (comprising 2 to 9 letters each) from 4 users in the first part of the dataset. Subsequently, we incorporate additional data collected from the remaining 8 users, each contributing samples for the same 50 word categories, 10 numerical categories (0-9), and 2 symbol categories (→ and +), with 4 samples per category. In total, 3184 samples are generated, among which 1984 are non-duplicate samples.
22-Writing-Scenario 1-User Dataset. The third part focuses on diverse handwriting scenarios, where User 1 performs handwriting under 22 different scenarios, including variations in writing ranges, angles, speeds, environments, sizes, directions and user movements. For each scenario, 8 word categories are included with 5 samples per word, amounting to 880 samples.
Overall, We collect a total of 7,664 data samples of 12 different users across various scenarios, resulting in a dataset of about 31.66 GB.
Fine Tuning Setup for VLMs
To demonstrate the versatility of the proposed architecture in supporting various VLMs, we select three open-source VLMs: GOT-OCR-0.5B [46], Qwen2-VL-7B [39] and LLaVA-NeXT-7B [21]. Prior to evaluation, we fine-tune Qwen2-VL-7B and LLaVA-NeXT-7B with Llama Factory [68], and fine-tune GOT-OCR-0.5B with Swift [67]. Specifically, we apply the Low-Rank Adaptation (LoRA) [16] technique to fine-tune three pretrained models. The rank and scaling factor of LoRA are set to 8 and 16, and LoRA is applied to all linear layers of the models to achieve more comprehensive parameter optimization. During training, we use a learning rate of and train the models for 10 epochs.
These refined VLMs exhibit enhanced capability in processing RF handwriting data, particularly in scenarios involving variations in handwriting styles or environmental conditions. Notably, the instruction fine-tuning approach does not require large amounts of data for training from scratch, which is often unattainable in the RF sensing domain due to data scarcity and labeling complexities. Instead, a small amount of data is sufficient to significantly improve the performance of handwriting word recognition.
Accuracy Evaluation
To comprehensively evaluate the recognition performance of the system, we conduct both non-cross-user (i.e., training and testing on the same users) and cross-user (i.e., training and testing on different users) evaluations on the 200-Word 4-User Dataset and 50-Word 12-User Dataset. Subsequently, we systematically evaluate the system’s cross-user recognition performance on the 50-Word 12-User Dataset under different numbers of seen users during training. Finally, we conduct ablation studies on the mmPencil system.
Performance Comparison on the 200-Word 4-User Dataset
To highlight the advantages of the mmPencil system, we compare its performance with a set of state-of-the-art baselines. Specifically, we reproduce two baseline methods in the field of mmWave handwriting recognition, which are based on DCNN [1] and LSTM [6], respectively. However, as these methods are not designed for word-level 3D handwriting recognition, we adopt our proposed trajectory reconstruction algorithm to achieve a fair comparison. Since the relevant prior work does not release its dataset, we can only reproduce the DCNN model architecture based on the corresponding descriptions in the paper, but cannot obtain the pre-trained model parameters. Therefore, we train the DCNN model from scratch using the data collected in this study with randomly initialized weights. To further enhance the fairness of the comparison, we also introduce a pre-trained ResNet-101 [15] model as an additional baseline.
For the LSTM-based method, we do not simply transform the data into 2D images for recognition. Instead, we strictly follow the original methodology by directly training and evaluating the model on the 3D spatial trajectory sequences generated by the VLMs architecture, thus preserving the original setting and ensuring the validity of the comparison. During training, the baseline models typically achieve stable convergence within 100 to 200 epochs.
We first evaluate the performance of the mmPencil system based on 6 different methods (including 3 VLMs-based methods: mmPencil-GOT, mmPencil-Qwen, and mmPencil-LLaVA, as well as 3 baseline methods: mmPencil-ResNet, mmPencil-DCNN, and mmPencil-LSTM) on the 200-Word 4-User Dataset. Specifically, in the non-cross-user setting, data samples are randomly partitioned into a 19:5 ratio for training and testing, while in the cross-user setting, the training dataset comprises samples from users 1 and 2, and the testing dataset include samples from users 3 and 4.
As shown in Figure 11(a), due to significant variations in handwriting styles, all systems achieve higher performance in the non-cross-user setting than in the cross-user setting. In the non-cross-user experiments, benefiting from the high-quality writing trajectories reconstructed by the proposed algorithm, all methods except the one based on LSTM achieve recognition accuracies above 90%. Among them, mmPencil-GOT and mmPencil-ResNet achieve the highest accuracies of 97.60% and 97.80%, respectively. In comparison, mmPencil-Qwen, mmPencil-LLaVA, and mmPencil-DCNN show slightly lower but still good performances, achieving accuracies of 93.20%, 91.30%, and 90.80%, respectively. In the cross-user experiments, methods based on VLMs demonstrate superior generalization ability, even when trained with data from only 2 users, and the corresponding accuracies are 91.37%, 86.62%, and 80.63%, respectively. In contrast, both mmPencil-ResNet and mmPencil-DCNN remain highly sensitive to variations in writing styles, leading to notable performance drops, with accuracies of 78.87% and 52.62%, respectively.

Figure 11. Performance comparison with baselines ("+" represents the trained or fine-tuned model).
It is worth noting that, due to inevitable cursive connections between letters during in-air word writing, word-level recognition becomes considerably more challenging than traditional isolated letter recognition. Moreover, variations in stroke orders among different users further degrade the performance of LSTM-based methods in the cross-user scenario. As shown in Figure 12, taking the word "today" as an example, User 2 and User 3 tend to connect letters (e.g., "t-o-d") above the baseline, whereas User 4 prefers to connecting them below the baseline. Additionally, User 2 and User 4 typically write the letter "t" from top to bottom, whereas User 3 starts writing from left to right. These style discrepancies ultimately limit the performance of the mmPencil-LSTM model, which achieves only 50.30% and 14.00% accuracy in the non-cross-user and cross-user settings, respectively.
Figure 12. Mapped images of the word "today" for different users.
In conclusion, the experimental results demonstrate that the proposed architecture effectively bridges the gap between RF sensing data and VLMs, enabling mmPencil to surpass existing solutions by a significant margin in word-level handwriting recognition tasks.
Performance Comparison on the 50-Word 12-User Dataset
To further evaluate the system’s generalization ability to diverse users, we conduct experiments on the 50-Word 12-User Dataset using the same 6 different mmPencil configurations as § 7.2.1. The overall recognition performance is shown in Figure 11(b). Specifically, in the non-cross-user setting, samples of each user are randomly split into a 44:12 ratio for training and testing. In contrast, in the cross-user setting uses samples of 8 randomly selected participants are used for training, and samples of the remaining 4 users are used for testing.
Compared to the results obtained based on the 200-Word 4-User Dataset shown in Figure 11(a), the recognition accuracy of all models (except mmPencil-LLaVA) decreases under the non-cross-user setting. Among them, the performance drop is particularly pronounced for lightweight baseline models: mmPencil-ResNet, mmPencil-DCNN, and mmPencil-LSTM decrease to 94.00%, 82.17%, and 43.17%, respectively. In comparison, VLM-based models are less affected: mmPencil-GOT and mmPencil-Qwen achieve accuracies of 96.67% and 93.00%, while mmPencil-LLaVA even shows a slight improvement to 91.67%. Conversely, in the cross-user setting, all models exhibit improved performance due to the benefit of more diverse data samples. VLMs-based methods consistently demonstrate superior generalization capabilities, and the recognition accuracies of mmPencil-GOT, mmPencil-Qwen, and mmPencil-LLaVA are 92.50%, 89.50%, and 87.86%, respectively. Meanwhile, the performance of mmPencil-ResNet, mmPencil-DCNN, and mmPencil-LSTM also improved to 84.13%, 58.33%, and 19.83%, respectively.
Overall, as the number of users in the training data increases, both VLMs-based and lightweight mmPencil models experience enhanced generalization. Nevertheless, VLMs-based models consistently maintain higher recognition accuracy and exhibit significantly greater robustness to handwriting style variations. These findings highlight the crucial advantage of using large pre-trained models for in-air handwriting recognition, offering stronger cross-user generalization and greater potential for real-world deployment.
Cross-User Recognition Performance under Varying Numbers of Seen Users
Furthermore, We systematically evaluate the cross-user recognition performance of the mmPencil system under different numbers of seen users on the 50-Word 12-User Dataset. With data samples from 3 randomly selected users as the test set, we vary the number of seen users during training (2, 4, 6, 7, 8, and 9) and evaluate the performance of 4 different models: mmPencil-GOT, mmPencil-Qwen, mmPencil-LLaVA, and mmPencil-ResNet.
As shown in Figure 13, all models exhibit consistent performance improvements as the number of seen users increases. Among them, mmPencil-GOT achieves the best overall performance, with the accuracy steadily improving from 85.00% with 2 seen users to 94.25% for 9 seen users. Similarly, mmPencil-Qwen demonstrates strong generalization capability, reaching an accuracy of 91.50% when trained with the data of 9 users. In contrast, mmPencil-LLaVA starts with a lower initial accuracy but shows substantial improvement, increasing from 78.00% to 91.00%. Similarly, the lightweight mmPencil-ResNet model also exhibits a significant improvement, rising from 63.25% to 89.75% as the number of seen users grows.
Figure 13. Recognition accuracy of unseen users.
Overall, the VLMs-based mmPencil models, particularly mmPencil-GOT and mmPencil-Qwen, demonstrate stronger generalization capabilities even with a small number of seen users. Although lightweight models such as mmPencil-ResNet also benefit significantly from more diverse training data, their performance remains notably lower than that of VLMs-based models when the number of seen users is limited, further highlighting the advantage of large models in complex cross-user scenarios.
Ablation Studies
Since the modules in the VLMs architecture are tightly connected in series, removing key components leads to significant performance degradation or even complete system failure. To evaluate the contribution of each module to the overall performance, we conduct ablation studies targeting three main components: Spectral Refinement, Trajectory Smoothing, and the Vision-Language Model. Specifically, we perform cross-user evaluations on the 50-Word 12-User Dataset, following the same training settings as described in § 7.3 In each ablation study, we remove one component: for Spectral Refinement, we eliminate the interpolation step used to enhance resolution; for Trajectory Smoothing, we remove the Kalman filter; and for the Visual-Language Model, we replace GOT-OCR with a lightweight ResNet-101. According to the experimental results shown in Figure 14, we fine that the complete mmPencil system achieves a recognition accuracy of 92.50%. As a comparison, when removing the Spectral Refinement module, the accuracy sharply drops to 8.33%, and further drops to 2.33% in case that the Trajectory Smoothing module is removed as well. These results highlight that both modules are indispensable for recovering high-quality handwriting trajectories and ensuring the final recognition performance. Although the impact of replacing GOT-OCR with ResNet-101 is relatively small, the recognition accuracy still decreases to 84.13%.
Figure 14. Recognition accuracy of ablation experiments.
It is worth noting that if GOT-OCR is replaced with ResNet-101, the system’s recognition accuracy remains as high as 49.83% and 49.66% in case that the Spectral Refinement or Trajectory Smoothing module is eliminated. This observation indicates that lightweight classifiers primarily rely on clustering simple image features. Thus, even when the trajectory is heavily distorted, they can still perform classification to some extent based on local patterns, without truly understanding the image content. In contrast, VLMs possess reasoning abilities and make recognition decisions by accurately understanding the handwritten content in the image. Therefore, when the trajectory is completely distorted, the reasoning process collapses, leading to recognition failure. However, as long as Spectral Refinement and Trajectory Smoothing modules effectively restore near-authentic handwriting trajectories, VLMs can fully unleash their understanding and reasoning capabilities, enabling not only accurate recognition of seen words but also unseen words.
Robustness Evaluation
We further evaluate the system’s robustness across different writing scenarios using the 22-Writing-Scenario 1-User Dataset, which covers a variety of writing ranges, angles, speeds, environments, sizes, directions, and user movements. Through these experiments, we demonstrate that the mmPencil system can adapt to diverse and challenging conditions. To provide a more intuitive comparison of the impact of different writing scenarios, we employ a unified user-dependent model during the experiment. Specifically, the 200-Word 4-User Dataset is divided into training and testing sets with a 19:5 ratio. The training set is used to fine-tune two general-purpose vision-language models, namely Qwen2-VL and LLaVA-NeXT, which are subsequently applied across all robustness evaluations. For the testing data, we use the initially defined test split in §7.3.1 and §7.3.2, while the following 7 robustness experiments are conducted using the 22-Writing-Scenario 1-User Dataset.
7.3.1 Word-Category-Number Independence Evaluation. To avoid potential interference due to the reduced number of word categories in the newly collected supplementary dataset (i.e., from 200-Word 4-User Dataset to 50-Word 12-User Dataset), we conduct a word-category-number independence evaluation. Specifically, based on the 200-Word 4-User Dataset, we randomly sample subsets with 50, 100, and 150 categories, and train and evaluate different models separately, set of 200 categories serving as a baseline. As shown in Figure 15, for the mmPencil-Qwen model, the recognition accuracies for 50, 100, 150, and 200 categories are 93.70%, 92.00%, 92.50%, and 93.20%, respectively. For the mmPencil-LLaVA model, the corresponding accuracies are 91.70%, 91.90%, 92.10%, and 91.30%. The results indicate that the overall recognition performance fluctuates very slightly within a narrow range of approximately 2% when the number of categories changes. This demonstrates that the developed mmPencil system maintains strong stability in word recognition tasks across varying category scales. Even when the number of categories is significantly reduced (e.g., from 200 to 50), the system still achieves consistently high recognition performance. These findings further confirm that mmPencil possesses excellent generalization capabilities for in-air handwritten word recognition, relying primarily on the spatial movement patterns of handwriting rather than the scale of category numbers.
Figure 15. Recognition accuracy of experiments with different number of words.
7.3.2 Word-Length Independence Evaluation. Results of mmPencil-Qwen and mmPencil-LLaVA show that the average accuracy for recognizing 200 categories of words in the test set reaches 93.20% and 91.30%, respectively. The performance for words of different lengths as shown in Figure 16. Contrary to belief, we find that as the number of letters in a word increases, the accuracy does not decrease. Instead, the recognition rate of mmPencil-Qwen gradually improves as the word length increases, increasing from 85.22% (2 letters) to 95.35% (3 letters), 91.75% (4 letters), 94.67% (5 letters), 98.10% (6 letters), and reaching 96.00% for words with 7 or more letters. mmPencil-LLaVA also demonstrates relatively balanced performance across words of different lengths, with accuracies of 86.96% for 2-letter words, 93.02% for 3-letter words, 89.84% for 4-letter words, 90.22% for 5-letter words, 97.14% for 6-letter words, and 100.00% for words with 7 or more letters. This finding challenges the conventional notion that longer words are more difficult to recognize and are typically prone to more confusion.
Figure 16. Recognition accuracy of experiments with different word lengths.
We attribute this result to the pre-trained VLM’s strong ability to understand contextual information, as well as the powerful ability of the trajectory reconstruction algorithm to restore the fine details of handwriting words. Longer words usually contain more context, which provides significant support for the model during the recognition process. In traditional methods, computer vision models typically rely on local features for recognition and struggle to handle complex letter combinations and contextual information. However, with the support of the large model, the additional clues provided by longer words help the model better understand the relationships between letters, improving accuracy. For example, for the word "about", even if there is an initial mis-prediction of some letters (e.g., "abaut"), the model can still correct the mistake and identify the correct word, aided by the instruction prompts and contextual reasoning. This ability to rely on context to correct initial judgments is something traditional systems cannot achieve.
To sum up, due to VLMs’ proficiency in capturing contextual information within words, mmPencil achieves remarkable performance, particularly in the recognition of longer words..
Writing-Range Independence Evaluation
To evaluate the system’s performance at different writing ranges, we randomly select 8 types of words of 4 different lengths (including "and", "day", "been", "here", "seems", "where", "enough", and "really") and conduct experiments at close ranges (30 cm, 40 cm, 50 cm) and a far range (80 cm). We collect 40 data samples at each range for evaluation, and the results are shown in Figure 17. At close ranges, both mmPencil-Qwen and mmPencil-LLaVA maintain high recognition accuracy. Specifically, at 30 cm, the accuracy is 95.00% for mmPencil-Qwen and 90.00% for mmPencil-LLaVA. At 40 cm, the accuracy is 92.50% and 90.00%. At 50 cm, mmPencil-Qwen achieves 95.00% accuracy, while mmPencil-LLaVA reaches 92.50%. This is because, at close ranges, the radar can capture the reflection signals of hand movements more clearly, and subtle environmental noise has less impact. Additionally, the multi-stage trajectory reconstruction algorithm refines the spectrum of location data, maintaining high resolution and enabling accurate estimation of handwriting trajectories at different ranges. Notably, even at a distance of 80 cm, both mmPencil-Qwen and mmPencil-LLaVA maintain an accuracy of 85.00%, demonstrating the impressive robustness of the mmPencil system to variations in range.
Figure 17. Recognition accuracy of experiments with different ranges.
Writing-Angle Independence Evaluation
To evaluate the system’s performance at different writing angles, we also randomly select 8 types of words (including "all," "but," "full," "less," "might," "shown," "almost," and "become") for the experiment. Unlike previous works that target individual characters, word trajectories cover a wider range of angles. To avoid part of the trajectory falling outside the view ( to the left and right), we choose angles of , , and for evaluation, as shown in Figure 18. At an angle of , the accuracy of mmPencil-Qwen and mmPencil-LLaVA reaches 92.50% and 97.50%, respectively. Notably, thanks to the low angle estimation error when facing the radar, both systems achieve 100.00% accuracy at . However, at a angle, the accuracy slightly decreases. This is because handwriting is usually written from left to right, and the last letter may be close to the edge of the view, causing some distortion in the trajectory. Despite this, due to the strong semantic understanding ability of VLMs, the model can effectively correct errors, even if some of the last letters are misrecognized. In this case, the accuracy of mmPencil-Qwen and mmPencil-LLaVA at is still 87.50% and 85.00%, respectively. Overall, the VLM-based mmPencil systems show high robustness to angular variations, maintaining high recognition performance even at the field-of-view boundaries.
Figure 18. Recognition accuracy of experiments with different angles.
Writing-Speed Independence Evaluation
Writing speed is a key factor that directly affects the smoothness of the trajectory. When the writing speed is high, details of the handwriting trajectory may be lost, making it difficult for the model to accurately reconstruct the trajectory or capture subtle dynamic changes. Therefore, we control the writing time for each character to be 2 seconds, 2.5 seconds, and 3 seconds, and conduct experiments. The results are shown in Figure 19. In this set of experiments, we randomly select the following words: "she", "use", "what", "play", "still", "three", "better", and "called". Thanks to the restoration of writing details in trajectory reconstruction and the robustness of VLMs in trajectory feature extraction, both VLMs show balanced performance at different writing speeds. Only mmPencil-Qwen shows a slight limitation at higher writing speeds. Specifically, mmPencil-Qwen’s accuracy at fast-to-slow writing speeds is 82.50%, 92.50%, and 92.50%, while mmPencil-LLaVA’s accuracy is 95.00%, 92.50%, and 95.00%. In practical applications, the writing speed may vary depending on the scenario. Therefore, the system needs to maintain efficient and accurate performance at different speeds. These experiments further demonstrate the robustness of the VLM-based mmPencil system under varying writing speeds, laying the foundation for its widespread use in various scenarios.
Figure 19. Recognition accuracy of experiments with different writing speeds.
Writing-Size Independence Evaluation
In this section, we consider the effect of writing size on word recognition. Compared to traditional character recognition tasks, word recognition presents greater challenges, especially when the writing size is small, as the connections between letters become more difficult to handle. To evaluate this, we define rectangular writing areas for each letter and test two sizes: 5cm × 10cm and 10cm × 20cm. In this set of experiments, we randomly select the following words: "not," "old," "hand," "look," "early," "again," "number," and "strong". The results are shown in Figure 20. Under normal writing sizes, both mmPencil-Qwen and mmPencil-LLaVA maintain high recognition accuracies, achieving 100.00% and 87.50%, respectively. However, when the writing size is reduced to 5cm 10cm, the connecting trajectories between letters overlap with parts of the letters, causing mis-classification. In this scenario, the accuracies drop to 75.00% for mmPencil-Qwen and 72.50% for mmPencil-LLaVA. These results indicate that writing size has a significant impact on trajectory recognition, particularly in extremely small sizes where overlaps and trajectory errors pose challenges to the models. While the system performs well under standard writing sizes, it encounters difficulties in extreme cases, highlighting opportunities for further system optimization in future work.
Figure 20. Recognition accuracy of experiments with different writing sizes.

(a) (a) A word writing in the direction of -40° in space.

(b) (b) A word writing in the direction of 40° in space.
Figure 22. 3D trajectory of words written in direction ± 40°.
Writing-Direction Independence Evaluation
The direction of writing is another challenge in word-level recognition. When writing at an direction, each letter in a word undergoes slight and irregular rotations, as shown in Figure 22a and 22(b). This increases the complexity of letter trajectories and causes a certain degree of overlap between letters, which affects the overall recognition performance. It is important to note that data augmentation is not the focus of the mmPencil system, so we do not use any data augmentation techniques to address the rotation or similarity issue. Without loss of generality, we select 8 words randomly for experimental evaluation, including "why", "you", "some", "well", "about", "going", "little", and "people". To assess the impact of writing direction, we perform experiments with directions of , , and . The results are shown in Figure 21. As the writing direction deviates further, the recognition performance of the systems fluctuates slightly. In particular, the recognition accuracy of mmPencil-Qwen swings from 92.50% at to 95.00% and 82.50% at , and further to 85.00% and 82.50% at . Similarly, mmPencil-LLaVA shows a comparable trend, achieving an accuracy of 87.50% at , 82.50% and 90.00% at , and 82.50% and 80.00% at . This fluctuation is mainly due to the increased difficulty in distinguishing overlapping and rotated trajectories between letters. However, despite the absence of data augmentation, both models demonstrate notable robustness to changes in writing direction. Even at a large deviation of , mmPencil-Qwen and mmPencil-LLaVA maintain recognition accuracies above 80%. These results highlight the potential and robustness of the mmPencil system in handling variations in writing direction, including rotations and tilts. To sum up, due to the strong semantic understanding capabilities of VLMs, the developed system can effectively correct errors caused by mis-recognition of individual letters using the contextual information, thereby preserving the overall performance.
Figure 21. Recognition accuracy of experiments with different writing directions.
Environment Independence Evaluation
The experiments in § 7.2 are carried out primarily in a living room without human movement in close proximity. To further validate the system’s adaptability to different environments, we perform experiments in various real-life scenes, including a living room scene with a moving individual in proximity and bedroom scenes with and without human movement. Details of the environmental scenes are shown in Figure 9, and the results are shown in Figure 23. The results illustrate that mmPencil-Qwen achieves recognition accuracies of 97.50%, 90.00%, and 95.00% in the three scenes, respectively. In comparison, the performance of mmPencil-LLaVA is slightly worse but still reaches 87.50%, 82.50%, and 90.00%. These outcomes are attributed to the environmental noise cancellation module in the multi-stage trajectory reconstruction algorithm. This module effectively eliminates interference from environmental reflections, ensuring strong robustness across different environments. Accordingly, we can conclude that the mmPencil system can be deployed directly in various scenes without requiring prior knowledge or additional training data. This highlights the adaptability and practicality of the system, providing solid support for its application in diverse real-world environments.

Figure 23. Recognition accuracy at different scenes ("dynamic" and "static" refer to the presence or absence of moving human in the proximity).
7.3.9 User-Movement Independence Evaluation. In addition, we evaluate the system performance, in which the user exhibits slight movements while writing words. Specifically, two types of movements are considered, which are body swaying and leg shaking. The corresponding results are shown in Figure 24. We find that body swaying causes significant interference to the system, with the recognition accuracies of mmPencil-Qwen and mmPencil-LLaVA dropping to 75.00% and 70.00%, respectively. In contrast, leg shaking has a relatively smaller impact, resulting in recognition accuracies of 82.50% and 77.50%, respectively. This reason is that different types of movements have varying degrees of impact on hand writing actions and upper body swaying causing more pronounced disturbance to the writing trajectory. Overall, slight user movements degrade system performance to a certain extent, and the trajectory smoothing module in the multi-stage spatial trajectory reconstruction algorithm can alleviate part of the fluctuations caused by minor movements. However, the system still struggles to handle scenarios where the user moves significantly, where large trajectory drifts may lead to system failure. To address this issue, we plan to incorporate additional motion information (such as velocity or acceleration signals) to enhance the system’s robustness under larger user movements or within mobility scenarios.
Figure 24. Recognition accuracy of experiments under different user movements.
Discussion
Recognition of Handwriting Digits and Symbols
To further evaluate the capability of mmPencil in recognizing simple handwritten elements, we conduct experiments on in-air handwriting digit and symbol recognition. Specifically, we collect sensing data of the 8 newly recruited users covering 10 digits (–) and 2 symbols ( and ), and 4 samples are obtained per digit/symbol per user. As shown in Figure 25, the results indicate that the mmPencil-Qwen and mmPencil-LLaVA models achieve an average recognition accuracy of 80.21% and 75.00%, respectively. Generally, the system has promising performance across most categories, where the recognition accuracies of "8" and "+" classes are 100%. However, slightly lower performance is observed for digits with highly similar shapes, such as "1" vs. "7" and "6" vs. "9". Nevertheless, the recognition accuracy for the majority of digits and symbols remains above 75%, confirming the effectiveness of mmPencil in handling low-complexity and few-class recognition tasks.
Figure 25. Recognition accuracy of digits and symbols.
It is worth noting that, compared to word recognition, the recognition of digits and symbols inherently presents different challenges. While words typically contain rich contextual information that aids inference and disambiguation, digits and symbols, due to their simpler and often ambiguous stroke patterns, are more prone to confusion. Additionally, the instability and loss of fine-grained details during in-air writing further exacerbate the difficulty. To address these issues, in future work, we plan to introduce structured prior knowledge (e.g., modeling the typical writing order of digits) and fine-grained feature alignment mechanisms, aiming to further enhance the system’s performance on digit and symbol recognition.
Zero-Shot Recognition of Unseen Words
Given the vast number of words, it is impractical to collect and annotate RF sensing data for every possible word or writing style. Hence, achieving zero-shot recognition of handwriting words becomes essential. Fortunately, the use of VLMs allows for the inference of unseen words by deeply understanding handwriting trajectories and semantic information. Specifically, VLMs excel at aligning visual information with the semantic space of language models through cross-modal learning. As a result, the mmPencil system is capable of predicting the structure and meaning of unseen words via semantic associations, facilitating zero-shot recognition.
To evaluate the zero-shot recognition potential of mmPencil, we conduct an exploratory experiment. We fine-tune the VLMs using 180 word categories from the 200-Word 4-User Dataset and evaluate the models with the remaining 20 unseen words. Specifically, we perform instruction fine-tuning on both the Qwen2-VL and LLaVA-NeXT models. As shown in Figure 26, benefiting from the generalisation capability of VLMs, the mmPencil-Qwen and mmPencil-LLaVA achieve zero-shot word recognition accuracies of 45.83% and 38.96%, substantially outperforming the performance of mmPencil-RestNet which almost has no zero-shot recognition capability.
Figure 26. Zero-shot recognition accuracy of unseen words.
Moreover, we observe significant performance variations across different unseen words. Specifically, words like "that", "do", "seems", and "an" are easily recognized with an accuracy exceeding 70%, while words like "god", "almost", "sir", and "old" pose challenges for recognition. The reason might be that VLMs tend to prioritize seen words over unseen words during the inference process. For example, if "will" exists in the training data, the model may misclassify the unseen word "well" as "will" due to similarities in spelling and meaning. To address this issue, we plan to redesign the fundamental model architecture and optimize the inference mechanism. The primary focus is on mitigating interference arising from word similarities to enhance zero-shot recognition performance.
Real-Time Processing Feasibility
To evaluate the real-time processing feasibility of the mmPencil system in practical applications, we conducted the analysis based on the 50-Word 12-User Dataset under cross-user evaluation settings, focusing on the trade-offs between computational overhead, inference time, and recognition accuracy, to discuss the practicality of the methods. The overall system latency is primarily attributed to two stages, including the stage of trajectory reconstruction from mmWave signals and the stage of word inference by the classification model on the generated images.
The experimental results are presented in Table 4. In the trajectory reconstruction stage, under the standard spectral refinement (SR) strategy, the average reconstruction time per letter is about 468.30 ms. To reduce the latency, we have tested a moderate SR strategy, where the degree of spectral refinement is appropriately reduced, decreasing the reconstruction time to 155.65 ms, at the cost of a slight drop in accuracy. During the inference stage, different models exhibit significantly different inference speeds. Specifically, ResNet-101, as a lightweight classifier, achieves a fast inference time of only 10.05 ms per sample, with an accuracy of 84.13%. In contrast, GOT takes a longer inference time (697.69 ms per sample) due to the absence of vllm [19] acceleration, even though it achieves a better recognition performance (92.50%). It is worth noting that GOT has a relatively small parameter size (500M), and once vllm-based acceleration is implemented, its inference time is expected to decrease to a level comparable to ResNet-101. For the Qwen series models, benefiting from vllm acceleration, Qwen2.5-VL-3B and Qwen2-VL-7B take inference times of 32.44 ms and 185.56 ms per sample, respectively, while maintaining relatively high accuracies of 80.50% and 89.50%. To sum up, the mmPencil system, configured with Qwen2.5-VL-3B and the moderate SR strategy, achieves a favorable balance between recognition accuracy and computational latency.
| Method | Parameters | Trajectory Reconstruction Time (ms per letter) | Inference Time (ms per sample) | Accuracy (%) |
| ResNet | 45.5M | 468.30 | 10.05 | 84.13 |
| GOT | 500M | 468.30 | 697.69 | 92.50 |
| GOT (moderate SR) | 500M | 155.65 | 696.73 | 90.17 |
| Qwen2.5-VL | 3B | 468.30 | 33.18 | 83.67 |
| Qwen2.5-VL (moderate SR) | 3B | 155.65 | 32.44 | 80.50 |
| Qwen2-VL | 7B | 468.30 | 185.56 | 89.50 |
Table 4. Comparison of computational latency and recognition accuracy. SR: Spectral Refinement
It is important to emphasize that mmPencil performs recognition at the word level, with trajectory reconstruction and word typically triggered only after the entire word is written. Based on our experience in data collection, the natural writing time per letter usually ranges between 2 and 3 seconds. Consequently, despite the system’s end-to-end latency may exceed 200 ms, it is generally tolerable when compared to the user’s natural writing rhythm, ensuring a smooth user experience. We must acknowledge that as we prioritize maximal recognition accuracy, the proposed solution exhibits inherent limitations in real-time processing latency. In future work, we plan to introduce an efficient trajectory reconstruction algorithm based on end-to-end learning and apply model pruning and quantization techniques during inference to further enhance the system’s real-time performance, thereby better meeting application scenarios of different latency requirements.
In-Air Handwriting Sentence Recognition
In this study, we have realized word-level handwriting recognition using mmWave radar technology and VLMs. As a result, a logical next step for improvement is advancing towards sentence-level recognition of in-air handwritings. It holds substantial promise for enhancing human-machine interaction, facilitating innovative applications in areas such as education, healthcare, and smart devices. Apparently, sentence-level recognition presents greater complexity and challenges than word-level recognition, due to the intricate semantic structures and contextual information embedded within sentences. Specifically, the challenge mainly lies in extracting meaningful sentence-level features from complex trajectories captured by the mmWave radar. It necessitates efficient segmentation techniques and sophisticated model architectures capable of capturing both local word-level features and global semantic information. Vital to this process are VLMs, which excel at aligning cross-modal data, thereby mapping the captured handwriting trajectories to semantic spaces at the sentence level. Additionally, the acquisition and exploitation of large-scale and diverse RF sensing data through techniques such as data augmentation could play an important role in further enhancing the recognition performance.
Conclusion
In this paper, to achieve writing-style-independent 3D handwriting word recognition, we proposed a system named mmPencil based on mmWave radar and VLMs. Specifically, we designed a multi-stage trajectory reconstruction algorithm that fully leverages the rich spatial information of mmWave signals, enabling the extraction of 3D trajectories that are independent of writing position and direction. Additionally, we proposed a spatial-to-visual mapping algorithm to convert the spatial trajectory into 2D visual image that can be processed by VLMs. We collected a mmWave 3D handwriting word dataset and fine-tuned two leading VLMs. Extensive experiments demonstrated that mmPencil can achieve accurate word-level handwriting recognition and exhibit high robustness to a wide range of variations, including different users, varying word lengths, diverse writing styles (ranges, angles, speeds, sizes, directions), and environmental conditions and user actions. Finally, we evaluated the real-time processing feasibility of mmPencil and explored its potential in zero-shot recognition of digits, symbols, unseen words and sentence-level recognition.
Acknowledgments
This work is partially supported the National Natural Science Foundation of China (No. 62025205, 62032018, 62472358, 62322601, 62102322) and the Fundamental Research Funds for the Central Universities.
References
References
- [1]Muhammad Arsalan and Avik Santra. 2019. Character recognition in air-writing based on network of radars for human-machine interface. IEEE sensors journal 19, 19 (2019), 8855–8864.DOI
- [2]Kelly Caine. 2016. Local Standards for Sample Size at CHI. In Proceedings of the 2016 CHI Conference on Human Factors in Computing Systems (San Jose, California, USA) (CHI ’16). Association for Computing Machinery, New York, NY, USA, 981–992. https://doi.org/10.1145/2858036.2858498
- [3]Zhaoxin Chang, Xinyu Xue, Fusang Zhang, Jie Xiong, Weiyan Chen, Badii Jouaber, and Daqing Zhang. 2024. Robust Respiration Monitoring Under Body Motion Interference. In Proceedings of the 30th Annual International Conference on Mobile Computing and Networking. 1713–1715.DOI
- [4]Zhaoxin Chang, Fusang Zhang, Xujun Ma, Pei Wang, Weiyan Chen, Duo Zhang, Badii Jouaber, and Daqing Zhang. 2024. MmECare: Enabling Fine-grained Vital Sign Monitoring for Emergency Care with Handheld MmWave Radars. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 8, 4 (2024), 1–24.DOI
- [5]Baicheng Chen, John Nolan, and Xinyu Zhang. 2024. MetaBioLiq: A Wearable Passive Metasurface Aided mmWave Sensing Platform for BioFluids. In Proceedings of the 30th Annual International Conference on Mobile Computing and Networking. 1192–1206.DOI
- [6]Qin Chen, Zongyong Cui, Zheng Zhou, Yu Tian, and Zongjie Cao. 2023. MMHTSR: In-Air Handwriting Trajectory Sensing and Reconstruction Based on mmWave Radar. IEEE Internet of Things Journal (2023).DOI
- [7]Philip R Cohen and Sharon L Oviatt. 1995. The role of voice input for human-machine communication. proceedings of the National Academy of Sciences 92, 22 (1995), 9921–9927.pubmed.ncbi.nlm.nih.gov/7479803
- [8]Ashutosh Dhekne, Mahanth Gowda, Yixuan Zhao, Haitham Hassanien, and Romit Roy Choudhury. 2018. Liquid: A wireless liquid identifier. In Proceedings of the 16th annual international conference on mobile systems, applications, and services. 442–454.DOI
- [9]Feng Ding, Dong Wang, Qian Zhang, and Run Zhao. 2019. ASSV: handwritten signature verification using acoustic signals. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 3, 3 (2019), 1–22.
- [10]Haishi Du, Ping Li, Hao Zhou, Wei Gong, Gan Luo, and Panlong Yang. 2018. Wordrecorder: Accurate acoustic-based handwriting recognition using deep learning. In IEEE INFOCOM 2018-IEEE Conference on Computer Communications. IEEE, 1448–1456.DOI
- [11]Ruiyang Gao, Wenwei Li, Jinyi Liu, Shuyu Dai, Mi Zhang, Leye Wang, and Daqing Zhang. 2023. Wicgesture: Meta-motion based continuous gesture recognition with wi-fi. IEEE Internet of Things Journal (2023).DOI
- [12]Ruiyang Gao, Wenwei Li, Xiong Xie, Enze Yi, Leye Wang, Dan Wu, and Daqing Zhang. 2022. Towards robust gesture recognition by characterizing the sensing quality of WiFi signals. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 6, 1 (2022), 1–26.DOI
- [13]Ruiyang Gao, Mi Zhang, Jie Zhang, Yang Li, Enze Yi, Dan Wu, Leye Wang, and Daqing Zhang. 2021. Towards position-independent sensing for gesture recognition with Wi-Fi. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 5, 2 (2021), 1–28.DOI
- [14]Zijun Han, Zhaoming Lu, Xiangming Wen, Lingchao Guo, and Jingbo Zhao. 2021. Towards 3D centimeter-level passive gesture tracking with two WiFi links. IEEE Transactions on Mobile Computing 22, 5 (2021), 3031–3045.DOI
- [15]Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition. 770–778.arxiv.org/abs/1512.03385
- [16]Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, Weizhu Chen, et al. 2022. Lora: Low-rank adaptation of large language models. ICLR 1, 2 (2022), 3.arxiv.org/abs/2106.09685
- [17]Robert JK Jacob. 1996. Human-computer interaction: input devices. ACM Computing Surveys (CSUR) 28, 1 (1996), 177–179.DOI
- [18]Chengkun Jiang, Junchen Guo, Yuan He, Meng Jin, Shuai Li, and Yunhao Liu. 2020. mmVib: micrometer-level vibration measurement with mmwave radar. In Proceedings of the 26th Annual International Conference on Mobile Computing and Networking. 1–13.DOI
- [19]Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. 2023. Efficient Memory Management for Large Language Model Serving with PagedAttention. In Proceedings of the ACM SIGOPS 29th Symposium on Operating Systems Principles.arxiv.org/abs/2309.06180
- [20]Chi Lin, Zhouhe Sun, Asfandeyar Ahmad, Xinxin Fan, Yi Wang, Lei Wang, Xin Fan, and Guowei Wu. 2024. AirWrite: An Aerial Handwriting Trajectory Tracking and Recognition System with mmWave. IEEE Transactions on Mobile Computing (2024).DOI
- [21]Haotian Liu, Chunyuang Li, Yuheng Li, Bo Li, Yuanhan Zhang, Sheng Shen, and Yang Lee. 2024. LLaVA-NeXT: Improved reasoning, OCR, and world knowledge. https://llava-vl.github.io/blog/2024-01-30-llava-next/
- [22]Yan Liu, Anlan Yu, Leye Wang, Bin Guo, Yang Li, Enze Yi, and Daqing Zhang. 2024. UniFi: A Unified Framework for Generalizable Gesture Recognition with Wi-Fi Signals Using Consistency-guided Multi-view Networks. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 7, 4 (2024), 1–29.DOI
- [23]U-V Marti and Horst Bunke. 2002. The IAM-database: an English sentence database for offline handwriting recognition. International journal on document analysis and recognition 5 (2002), 39–46.DOI
- [24]Henrik Mucha, Carsten Roecker, Thomas Ludwig, Corinna Ogonowski, Martin Stein, Sebastian Robert, Lukas Galla, Martin Hill, and Volker Wulf. 2018. The industrial internet of things: new perspectives on HCI and CSCW within industry settings. In Companion of the 2018 ACM Conference on Computer Supported Cooperative Work and Social Computing. 393–400.DOI
- [25]Pai Chet Ng, James She, Kang Eun Jeon, and Matthias Baldauf. 2017. When smart devices interact with pervasive screens: A survey. ACM Transactions on Multimedia Computing, Communications, and Applications (TOMM) 13, 4 (2017), 1–23.DOI
- [26]Kai Niu, Fusang Zhang, Xuanzhi Wang, Qin Lv, Haitong Luo, and Daqing Zhang. 2021. Understanding WiFi signal frequency features for position-independent gesture sensing. IEEE Transactions on Mobile Computing 21, 11 (2021), 4156–4171.DOI
- [27]Vladimir I Pavlovic, Rajeev Sharma, and Thomas S. Huang. 1997. Visual interpretation of hand gestures for human-computer interaction: A review. IEEE Transactions on pattern analysis and machine intelligence 19, 7 (1997), 677–695.DOI
- [28]Sai Deepika Regani, Beibei Wang, Yuqian Hu, and KJ Ray Liu. 2022. GWrite: Enabling through-the-wall gesture writing recognition using WiFi. IEEE Internet of Things Journal 10, 7 (2022), 5977–5991.DOI
- [29]Sai Deepika Regani, Chenshu Wu, Beibei Wang, Min Wu, and KJ Ray Liu. 2021. mmWrite: Passive handwriting tracking using a single millimeter-wave radio. IEEE Internet of Things Journal 8, 17 (2021), 13291–13305.DOI
- [30]Zhihui Ren, Zhu Wang, Zhuo Sun, Yifan Guo, Wenchao Song, Hualei Zhang, Chao Chen, Bin Guo, Zhiwen Yu, Xingshe Zhou, et al. 2024. Characterizing the through-wall sensing mechanism of wi-fi signals with a refraction-aware fresnel zone model. IEEE Transactions on Mobile Computing (2024).DOI
- [31]Gisela Reyes-Cruz, Joel E Fischer, and Stuart Reeves. 2022. Demonstrating interaction: The case of assistive technology. ACM Transactions on Computer-Human Interaction 29, 5 (2022), 1–37.
- [32]Ronald W Schafer. 2011. What is a savitzky–golay filter?[lecture notes]. IEEE Signal processing magazine 28, 4 (2011), 111–117.
- [33]Wenchao Song, Zhu Wang, Yifan Guo, Zhuo Sun, Zhihui Ren, Chao Chen, Bin Guo, Zhiwen Yu, Xingshe Zhou, and Daqing Zhang. 2024. FinSense: a Fine-grained Respiration Sensing System Based on Precise Separation of Wi-Fi Signals. IEEE Transactions on Mobile Computing (2024).DOI
- [34]Andrew G Stove. 1992. Linear FMCW radar techniques. In IEE Proceedings F (Radar and Signal Processing), Vol. 139. IET, 343–350.DOI
- [35]P P Vaidyanathan. 2001. Generalizations of the sampling theorem: Seven decades after Nyquist. IEEE Transactions on Circuits and Systems I: Fundamental Theory and Applications 48, 9 (2001), 1094–1109.DOI
- [36]Chuyu Wang, Jian Liu, Yingying Chen, Hongbo Liu, Lei Xie, Wei Wang, Bingbing He, and Sanglu Lu. 2018. Multi-touch in the air: Device-free finger tracking and gesture recognition via COTS RFID. In IEEE INFOCOM 2018-IEEE conference on computer communications. IEEE, 1691–1699.DOI
- [37]Fei Wang, Yizhe Lv, Mengdie Zhu, Han Ding, and Jinsong Han. 2024. XRF55: A Radio Frequency Dataset for Human Indoor Action Analysis. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 8, 1 (2024), 1–34.DOI
- [38]Lin Wang, Junbao Zhang, Yue Li, and Haoyu Wang. 2023. Audiowrite: a handwriting recognition system using acoustic signals. In 2022 IEEE 28th International Conference on Parallel and Distributed Systems (ICPADS). IEEE, 81–88.DOI
- [39]Peng Wang, Shuai Bai, Sinan Tan, Shijie Wang, Zhihao Fan, Jinze Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, et al. 2024. Qwen2-vl: Enhancing vision-language model’s perception of the world at any resolution. arXiv preprint arXiv:2409.12191 (2024).arxiv.org/abs/2409.12191
- [40]Xuanzhi Wang, Junzhe Wang, Kai Niu, Jie Xiong, Fusang Zhang, Enze Yi, Anlan Yu, Zhiyun Yao, and Daqing Zhang. 2024. Wi2DMeasure: WiFi-based 2D Object Size Measurement. In Proceedings of the 22nd ACM Conference on Embedded Networked Sensor Systems. 253–266.DOI
- [41]Zhu Wang, Zhen Chen, Yao Zhang, Chendi Geng, Wenchao Song, Zhuo Sun, Bin Guo, Zhiwen Yu, and Liming Chen. 2024. GrainSense: A Wireless Grain Moisture Sensing System Based on Wi-Fi Signals. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 8, 3 (2024), 1–25.DOI
- [42]Zhu Wang, Chendi Geng, Zhuo Sun, Zhen Chen, Sicong Liu, Bin Guo, and Zhiwen Yu. 2024. Size Matters: Characterizing the Effect of Target Size on Wi-Fi Sensing Based on the Fresnel Zone Model. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 8, 4 (2024), 1–22.DOI
- [43]Zhu Wang, Yifan Guo, Zhihui Ren, Wenchao Song, Zhuo Sun, Chao Chen, Bin Guo, and Zhiwen Yu. 2024. LiqDetector: Enabling Container-Independent Liquid Detection with mmWave Signals Based on a Dual-Reflection Model. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 7, 4 (2024), 1–24.DOI
- [44]Zhu Wang, Zhiwen Yu, Xinye Lou, Bin Guo, and Liming Chen. 2020. Gesture-radar: A dual doppler radar based system for robust recognition and quantitative profiling of human gestures. IEEE transactions on human-machine systems 51, 1 (2020), 32–43.DOI
- [45]Haowen Wei, Ziheng Li, Alexander D Galvan, Zhuoran Su, Xiaoz Zhang, Kaveh Pahlavan, and Erin T Solovey. 2022. IndexPen: Two-finger text input with millimeter-wave radar. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 6, 2 (2022), 1–39.
- [46]Haoran Wei, Chenglong Liu, Jinyue Chen, Jia Wang, Lingyu Kong, Yanming Xu, Zheng Ge, Liang Zhao, Jianjian Sun, Yuang Peng, et al. 2024. General ocr theory: Towards ocr-2.0 via a unified end-to-end model. (2024).arxiv.org/abs/2409.01704
- [47]G Welch. 1995. An Introduction to the Kalman Filter. (1995).
- [48]Yuxuan Weng, Guoquan Wu, Tianyue Zheng, Yanbing Yang, and Jun Luo. 2024. Large Model for Small Data: Foundation Model for Cross-Modal RF Human Activity Recognition. In Proceedings of the 22nd ACM Conference on Embedded Networked Sensor Systems. 436–449.arxiv.org/abs/2410.19766
- [49]Svante Wold, Kim Esbensen, and Paul Geladi. 1987. Principal component analysis. Chemometrics and intelligent laboratory systems 2, 1-3 (1987), 37–52.
- [50]Chenshu Wu, Feng Zhang, Beibei Wang, and KJ Ray Liu. 2020. mSense: Towards mobile material sensing with a single millimeter-wave radio. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 4, 3 (2020), 1–20.DOI
- [51]Dan Wu, Ruiyang Gao, Youwei Zeng, Jinyi Liu, Leey Wang, Tao Gu, and Daqing Zhang. 2020. FingerDraw: Sub-wavelength level finger motion tracking with WiFi signals. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 4, 1 (2020), 1–27.DOI
- [52]Rui Xiao, Jianwei Liu, Jinsong Han, and Kui Ren. 2021. Onefi: One-shot recognition for unseen gesture via cots wifi. In Proceedings of the 19th ACM Conference on Embedded Networked Sensor Systems. 206–219.DOI
- [53]Jianhong Xie, Hao Kong, Jiadi Yu, Yingying Chen, Licheng Kong, Yanmin Zhu, and Feilong Tang. 2023. mm3DFace: Nonintrusive 3D facial reconstruction leveraging mmWave signals. In Proceedings of the 21st Annual International Conference on Mobile Systems, Applications and Services. 462–474.DOI
- [54]Huatao Xu, Liying Han, Qirui Yang, Mo Li, and Mani Srivastava. 2024. Penetrative ai: Making llms comprehend the physical world. In Proceedings of the 25th International Workshop on Mobile Computing Systems and Applications. 1–7.
- [55]Weiye Xu, Wenfan Song, Jiangwei Liu, Yajie Liu, Xin Cui, Yuanqing Zheng, Jingsong Han, Xinhua Wang, and Kui Ren. 2022. Mask does not matter: Anti-spoofing face authentication using mmWave without on-site registration. In Proceedings of the 28th Annual International Conference on Mobile Computing and Networking. 310–323.DOI
- [56]Wei Xu, ZhiWen Yu, Zhu Wang, Bin Guo, and Qi Han. 2019. Acousticist: gait-based human identification using acoustic signal. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 3, 3 (2019), 1–25.DOI
- [57]Yanni Yang, Huafeng Xu, Qianyi Chen, Jianming Cao, and Yanwen Wang. 2023. Multi-Vib: Precise multi-point vibration monitoring using mmWave radar. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 6, 4 (2023), 1–26.DOI
- [58]Huanpu Yin, Anfu Zhou, Guangyuan Su, Bo Chen, Liang Liu, and Huadong Ma. 2020. Learning to recognize handwriting input with acoustic features. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 4, 2 (2020), 1–26.DOI
- [59]Zhiwen Yu, Dong Zhang, Zhu Wang, Qi Han, Bin Guo, and Qi Wang. 2022. SoDar: Multitarget gesture recognition based on SIMO doppler radar. IEEE Transactions on Human-Machine Systems 52, 2 (2022), 276–289.DOI
- [60]Hualei Zhang, Zhu Wang, Zhuo Sun, Wenchao Song, Zhihui Ren, Zhiwen Yu, and Bin Guo. 2023. Understanding the mechanism of through-wall wireless sensing: A model-based perspective. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 6, 4 (2023), 1–28.DOI
- [61]Jie Zhang, Yang Li, Haoyi Xiong, Dejing Dou, Chunyan Miao, and Daqing Zhang. 2022. HandGest: Hierarchical sensing for robust-in-the-air handwriting recognition with commodity WiFi devices. IEEE Internet of Things Journal 9, 19 (2022), 19529–19544.DOI
- [62]Xiyuan Zhang, Ranak Roy Chowdhury, Rajesh K Gupta, and Jingbo Shang. 2024. Large language models for time series: A survey. arXiv preprint arXiv:2402.01801 (2024).arxiv.org/abs/2402.01801
- [63]Xi Zhang, Yu Zhang, Zhenguo Shi, and Tao Gu. 2023. mmfer: Millimetre-wave radar based facial expression recognition for multimedia iot applications. In Proceedings of the 29th Annual International Conference on Mobile Computing and Networking. 1–15.DOI
- [64]Yanbo Zhang, Weiping Sun, and Mo Li. 2023. WiRITE: General and practical Wi-Fi based hand-writing recognition. IEEE Transactions on Mobile Computing 23, 4 (2023), 2943–2957.DOI
- [65]Langcheng Zhao, Rui Lyu, Hang Lei, Qi Lin, Anfu Zhou, Huadong Ma, Jingjia Wang, Xiangbin Meng, Chunli Shao, Yida Tang, et al. 2024. AirECG: Contactless Electrocardiogram for Cardiac Disease Monitoring via mmWave Sensing and Cross-domain Diffusion Model. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 8, 3 (2024), 1–27.DOI
- [66]Langcheng Zhao, Rui Lyu, Qi Lin, Anfu Zhou, Huanhuan Zhang, Huadong Ma, Jingjia Wang, Chunli Shao, and Yida Tang. 2024. mmArrhythmia: Contactless Arrhythmia Detection via mmWave Sensing. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 8, 1 (2024), 1–25.DOI
- [67]Yuze Zhao, Jintao Huang, Jinghan Hu, Xingjun Wang, Yunlin Mao, Daoze Zhang, Zeyinzi Jiang, Zhikai Wu, Baole Ai, Ang Wang, et al. 2025. Swift: a scalable lightweight infrastructure for fine-tuning. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 39. 29733–29735.
- [68]Yaowei Zheng, Richong Zhang, Junhao Zhang, Yanhan Ye, Zheyan Luo, Zhangchi Feng, and Yongqiang Ma. 2024. Llamafactory: Unified efficient fine-tuning of 100+ language models. arXiv preprint arXiv:2403.13372 (2024).arxiv.org/abs/2403.13372
- [69]Yue Zheng, Yi Zhang, Kun Qian, Guidong Zhang, Yunhao Liu, Chenshu Wu, and Zheng Yang. 2019. Zero-effort cross-domain gesture recognition with Wi-Fi. In Proceedings of the 17th annual international conference on mobile systems, applications, and services. 313–325.DOI
- [70]Yunjiao Zhou, Jianfei Yang, Han Zou, and Lihua Xie. 2023. Tent: Connect language models with iot sensors for zero-shot activity recognition. arXiv preprint arXiv:2311.08245 (2023).arxiv.org/abs/2311.08245




















