Skip to content

GUIAuditor: Action-Guided GUI Provenance for Child Safety Post-Hoc Forensics on Mobile DevicesGUIAuditor: Enabling Post-hoc Child Safety Forensics via Action-Guided GUI Provenance on Mobile Devices

arXiv· arXiv:2609.28205· Proceedings of the ACM on Interactive Mobile Wearable and Ubiquitous Technologies· Junlin Liu, Yifeng Cai, Shuai Wang, Zhineng Zhong, Shaofei Li, Jiacheng Liu, Yuanchun Li, Ziqi Zhang, Xiangqun Chen, Ding Li, Yao GuoPeking University; Beijing Tongming Lake Information Technology Application Innovation Center; Tsinghua University; University of Illinois Urbana-ChampaignIndexed by this site · 12 days ago· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose GUIAuditor, which uses an MLLM on mobile devices to convert children's GUI interactions into queryable GUI Provenance for guardian post-hoc forensics; on 295 interaction segments, risk annotation Macro-F1 is 95.23%.

Threat modelAttackers carry out Contact/Privacy, Financial, and Content risks through the GUI content of legitimate apps and cannot compromise the underlying OS; the device runs an uncompromised OS. The defender is a remote, non-expert guardian who makes the final decision as the human-in-the-loop; the system performs only post-hoc forensics and decision support, not real-time blocking, and covers only interaction-mediated risks that require user interaction actions to manifest.

Questions
Children face risks such as inducement and scams embedded in interaction sequences within legitimate apps; the authors argue that purely automated real-time prevention and detection will inevitably have false positives and false negatives, and that a guardian-led post-hoc forensic paradigm is needed as a complement.
Methods
Proposes GUIAuditor: it compresses GUI streams via three-level evidence distillation triggered by user interaction events, uses Qwen2.5-VL-3B with CoT prompts to convert keyframes into structured risk records, stores them in a hybrid database, and then a two-stage query engine supports guardians' natural language retrieval and detail follow-up questions.
Experiments and results
On 295 interaction segments, risk annotation Macro-F1 is 95.23%, and visual tokens are reduced by more than 89.2% compared with the periodic sampling baseline; Recall@1 on 51 retrieval questions is 90.20%, accuracy on 17 follow-up questions is 88.24%; additional power consumption on three phones is 2.1W, with single-event latency of 7.4s.
Limitations and future work
The authors note: summary quality depends on MLLM capabilities and may miss subtle or culturally specific cues; the dataset has only 32 participants and 295 segments, and recruiting minors was difficult; the risk taxonomy does not claim to be complete, and scripted tasks cannot fully cover real long-term use.
Experimental setupQwen2.5-VL-3B · 作者构建的 295 段交互片段基准(32 名参与者用户研究) · Macro-F1、Precision/Recall/F1-Score et al.
Evaluated models
Qwen2.5-VL-3B
Benchmarks
作者构建的 295 段交互片段基准(32 名参与者用户研究)
Metrics
Macro-F1Precision/Recall/F1-ScoreRecall@1/Recall@3MRRAccuracyAvg. Tokens功耗/温度/延迟/峰值内存/存储开销
AI summaryResearchers propose the GUIAuditor system, which uses a multimodal large model to convert children's GUI event sequences on mobile phones into human-readable, queryable semantic records (GUI Provenance) for guardians to review risks such as online grooming and fraud after the fact. The paper argues that both rule-based and AI-based automated prevention and detection inevitably produce false positives and false negatives, and advocates human-in-the-loop post-hoc forensics as a complementary paradigm. The system employs an evidence distillation process that reduces the data requiring analysis by more than 89.2% compared with industry periodic sampling methods, with negligible impact on accuracy; on a new dataset of 295 interaction segments, the Macro-F1 for recording important events reaches 95.23%, and the two-stage forensic query engine can rank the correct evidence first for more than 90.20% of natural language questions. End-to-end evaluation on three smartphones shows that the full pipeline including on-device MLLM inference adds 2.1W of power consumption and 7.4 seconds of latency per event, with peak memory of about 3.1GB.

Researchers propose the GUIAuditor system, which uses a multimodal large model to convert children's GUI event sequences on mobile phones into human-readable, queryable semantic records (GUI Provenance) for guardians to review risks such as online grooming and fraud after the fact. The paper argues that both rule-based and AI-based automated prevention and detection inevitably produce false positives and false negatives, and advocates human-in-the-loop post-hoc forensics as a complementary paradigm. The system employs an evidence distillation process that reduces the data requiring analysis by more than 89.2% compared with industry periodic sampling methods, with negligible impact on accuracy; on a new dataset of 295 interaction segments, the Macro-F1 for recording important events reaches 95.23%, and the two-stage forensic query engine can rank the correct evidence first for more than 90.20% of natural language questions. End-to-end evaluation on three smartphones shows that the full pipeline including on-device MLLM inference adds 2.1W of power consumption and 7.4 seconds of latency per event, with peak memory of about 3.1GB.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors argue for supplementing automated child safety detection with guardian-in-the-loop post-hoc forensics, and propose a mobile system, GUIAuditor.

    Core problem: how to let guardians post-hoc investigate risks that children encounter within legitimate apps and that are embedded in interaction sequences, rather than relying on automated real-time detection that inevitably errs.

    • Scenario and motivation: Children encounter risks such as grooming and scams through smartphones, and these risks are deeply embedded within legitimate apps; the authors cite reports stating that over 94% of children aged 8–12 own smart devices, reaching 99% at ages 12–14.
    • Shortcomings of existing methods (per the authors): Rule-based controls (app blocking, network filtering, permission management) are coarse-grained and do not understand context; AI real-time analysis of screen content has inherent unreliability—incomplete knowledge, hallucination, and easy adversarial bypass—and inevitably produces false positives and false negatives.
    • Core observation: Risks often do not lie in a single frame but in the temporal sequence of interactions. The example in Figure 1 is: ordering takeout and tipping a streamer ultimately reach the same payment confirmation interface, which cannot be distinguished by looking at that interface alone; only provenance (how the interface was reached) can reveal intent.
    • What the paper proposes: It transfers the concept of provenance from systems security to mobile GUIs, proposes GUI Provenance (a queryable semantic record of interaction sequences), and implements the system GUIAuditor: it uses an MLLM to turn GUI event streams into human-readable narrative records, combined with evidence distillation and a two-stage query engine, to support guardians' natural language investigation.
    • Threat model (Section 3):
      • Attacker goals: Carry out Contact/Privacy (groomers, scammers), Financial (app mechanisms that induce spending), and Content (recommendation algorithms or content creators pushing inappropriate content) risks through the GUI content of legitimate apps.
      • Attacker knowledge and capability: Act only through in-app channels and cannot compromise the underlying OS; the device runs an uncompromised OS, and apps come from official marketplaces.
      • Victim system and defender: The child uses an unmodified smart device; the defender is a remote, non-expert guardian who serves as the human-in-the-loop final decision-maker.
      • Scope limitation: Only interaction-mediated risks that require user interaction actions (clicks, swipes, input) to manifest are covered; purely passive risks (receiving but never opening a malicious image) are out of scope.
  2. What related research exists?

    Related work falls into four groups: qualitative research on children's online safety, existing defense paradigms, screen history recording systems, and GUI automation agents.

    Research on children's online safety

    • One line of qualitative research (cited in the paper as [7, 18, 86]) understands children's risks in scenarios such as parental control apps, VR, and generative AI from sociological and HCI perspectives. The paper states that its contribution is orthogonal to this: this paper focuses on building a technical system that supports post-hoc forensics.
    • Livingstone's "4Cs" taxonomy (Content, Contact, Conduct, Commerce, cited as [49, 50]) is the basis of this paper's risk taxonomy; the authors adapt it into four categories of in-app mobile risk: Content and Contact are retained, Commerce is refined into Financial, and Privacy is elevated to a first-class category.

    Existing automated defense paradigms (the target of the paper's critique)

    • Rule-based controls: OS-level app blockers [10, 31], network filtering [2], permission management [8, 67], authentication mechanisms [16]. The paper points out that these can only enforce static boundary decisions and cannot distinguish benign from high-risk behavior within the same interface.
    • AI real-time screen content analysis [54, 76]: the paper points out that its inherent limitations are incomplete knowledge, hallucination, and adversarial bypass, and that these problems cannot be solved by short-term engineering means.

    Post-hoc recording and history retrieval systems

    • In-app built-in history (browsing logs, payment records, cited as [13, 27, 28]): the paper points out that they are fragmented, lack visual context, and can be deleted by children.
    • Microsoft Recall [54] and ByteDance MineContext [15]: continuously take screenshots at fixed intervals. The paper points out two shortcomings: they target high-end desktop PCs, and the hardware requirements are infeasible on mobile devices; they only store and retrieve discrete snapshots and do not understand the semantic narrative of interaction sequences.

    GUI automation and testing agents

    • Work that uses LLMs as agents to automatically complete GUI tasks or find bugs [20, 48, 77, 78]. The paper points out that the goals differ: those works pursue agents completing tasks, whereas GUIAuditor audits the safety of human interactions, and the technical challenge lies in generating faithful, verifiable records.

    Baselines and benchmark: The paper states that existing parental control systems (such as Apple Screen Time) do not target the post-hoc, fine-grained, in-app level and cannot be directly compared, so the authors implement their own baselines: GUIAuditor_naive (continuous high-frame-rate screen recording fed directly to the MLLM), GUIAuditor_MineContext (1 fps periodic screenshots reproduced according to MineContext's open-source logic + the same local MLLM), an OCR keyword method, and two ablation variants. The evaluation benchmark is a 295-segment interaction clip dataset newly built by the authors.

    Positioning: The authors state that GUIAuditor is the first end-to-end system ("the first end-to-end system") to achieve post-hoc, human-led child safety forensics on resource-constrained mobile devices, and that it complements rather than replaces automated defenses.

  3. How does the paper address this problem?

    GUIAuditor's three modules: interaction-event-triggered three-level evidence distillation, CoT prompt-driven MLLM analysis, and hybrid storage plus two-stage forensic querying.

    Overall approach: extend the concept of provenance from systems security to mobile GUIs, using GUIAuditor to turn raw GUI streams into structured, queryable GUI Provenance records. The system consists of three modules (Figure 2), corresponding to three technical challenges: efficient intelligent capture (C1), semantic interpretation (C2), and storage and query (C3).

    Evidence distillation module (Mod①, addressing C1)

    • Design rationale: The authors point out that GUI interaction streams have three characteristics—event-driven semantics (important moments are anchored to user actions rather than visual changes), inter-frame redundancy (asynchronous UI updates produce many identical frames), and intra-frame sparsity (most of a single frame is static background).
    • Step 1 action-guided adaptive sampling: The system normally stays in near-zero-overhead standby and only upon detecting a GUI Key Event (click or swipe) samples frames at F_high = 2 fps within a window of t_window = 2 seconds before and after the event, yielding about 4 candidate frames; windows of rapid consecutive operations are merged into one capture session. Parameter rationale: most GUI state transitions stabilize within 1–2 seconds, and the interval between adjacent user actions is usually at least 500 ms.
    • Step 2 fast pixel-level deduplication: For adjacent frames, compute the L1 pixel distance d(fi, fi+1) = 1/3M∑j,k |pi,j,k − pi+1,j,k|; if it is below the threshold τ_pixel (set to 30), the latter frame is discarded, removing duplicate frames.
    • Step 3 semantic intra-frame compression: Frames are split into patches and encoded into feature vectors with a lightweight ViT; cosine similarity is computed for spatially aligned patches of adjacent frames, and tokens exceeding the threshold τ_feat (set to 0.5) are judged redundant and discarded, keeping only regions with semantic changes.

    Model analysis module (Mod②, addressing C2)

    • Input/output: Takes the distilled visual tokens as input and outputs a structured JSON record containing abstractive_summary (natural language summary), risk_type (one of the four risk categories or No Risk), and risk_description (rationale for the judgment).
    • Implementation: Structured prompts constrain the MLLM as a transparent reasoning engine, with three dimensions—role definition (digital child safety analyst), policy definition (the four-category risk taxonomy given as a formal safety policy along with descriptions and examples), and Chain-of-Thought multi-step reasoning before generating the final record.
    • Processing flow: Records with risk_type No Risk are discarded directly; records with potential risk identified are passed to Mod③.

    Storage and query module (Mod③, addressing C3)

    • Unified hybrid data storage: A relational database based on extensible vector support, with one row per record, containing structured metadata (event_id, timestamp, risk_type), unstructured text (summary and rationale), visual evidence (only the core visual tokens from Mod① are stored, not raw screen recordings), and summary embedding (generated by concatenating text fields and using a dedicated text embedding model; the authors state that text rather than CLIP visual embeddings was chosen because events are serialized and GUI-domain-specific, and text is better suited to matching guardians' natural language queries).
    • Two-stage forensic query engine: Stage 1 event retrieval—questions containing structured entities (date, risk category) construct SQL exact filters, abstract semantic questions go to vector similarity retrieval, and the two can be combined; Stage 2 event interrogation—the visual evidence of that event is retrieved and, together with the follow-up question, the MLLM is called again for fine-grained VQA (e.g., asking the specific amount).

    Key parameters and implementation

    • The analysis engine is Qwen2.5-VL-3B; on-device inference uses q4f16_1 4-bit quantization with the MLC-LLM runtime.
    • Hyperparameters: F_high = 2 fps, t_window = 2 s, τ_pixel = 30, τ_feat = 0.5.
    • The paper does not give the full original prompt text for Mod②, only describing its structure.
  4. What experiments did the paper conduct?

    Three RQs: record fidelity on 295 segments, forensic query capability on 68 questions, and on-device overhead on three phones.

    Experimental setup

    • Dataset: A benchmark newly built by the authors, constructed in three stages—interviews with 8 parents yielded 22 risk themes; combining public reports and the taxonomy, 320 task scripts were written; 32 participants (16 adult proxies aged 18–30, 16 minors aged 12–18) each completed 10 tasks, yielding 320 screen recordings; 3 annotators independently annotated and discussed to reach consensus, and those without consensus were discarded, leaving 295 segments with an average duration of 17.2 seconds. Five-class distribution (Table 2): Content 61, Contact 57, Financial 59, Privacy 56, No Risk 62.
    • Analysis model: Qwen2.5-VL-3B; on-device inference uses MLC-LLM q4f16_1 4-bit quantization. Effectiveness evaluation runs on a server (RTX A6000), and overhead evaluation runs on three phones: Xiaomi 15 (Snapdragon 8 Elite), Google Pixel 9 Pro (Tensor G4), Vivo X200 Pro (Dimensity 9400).
    • Baselines: GUIAuditor_naive (continuous screen recording fed directly to the MLLM), GUIAuditor_MineContext (1 fps periodic screenshots + the same local MLLM), an OCR keyword method, and two ablation variants (w/o (Pixel+Feature), w/o Feature).
    • Metrics: RQ1 uses binary Precision/Recall/F1 (Risk vs. No Risk), five-class Macro-F1, human evaluation of summary factual correctness (3 annotators rate all 295 segments), and average visual token count; RQ2 uses MRR, Recall@1/3 (51 retrieval questions), and accuracy (17 follow-up questions); RQ3 measures power consumption, battery temperature, per-event inference latency, peak memory, and storage.
    • Repetitions: For RQ3, each method is measured 5 times on each phone, reporting the cross-device average (difference relative to normal use); for RQ1/RQ2 the paper does not report the number of repetitions.

    Main results

    RQ1 record fidelity (per Table 3):

    Swipe horizontally to read the table

    MethodAvg. TokensPrecisionRecallF1Macro-F1
    OCR-1.00000.44210.61310.4698
    GUIAuditor_MineContext228500.99150.99570.99360.9798
    GUIAuditor_w/o (Pixel+Feature)47920.98710.98710.98710.9561
    GUIAuditor_w/o Feature36720.98720.99140.98930.9453
    GUIAuditor24760.98300.99140.98720.9523
    • GUIAuditor_naive is not listed in Table 3: an average 17-second segment produces about 413 frames and more than 270,000 visual tokens, exceeding the MLLM context window, so the vast majority of cases cannot produce valid results.
    • The authors state that GUIAuditor achieves fidelity close to the MineContext baseline (22,850 tokens) with an average of 2,476 tokens, a token reduction of more than 89.2%; the OCR baseline's recall is only 0.4421, which the authors attribute to the keyword set being unable to understand context and non-textual visual risks.
    • The confusion matrix in Figure 3 shows per-class recall: Content 0.98, Contact 0.98, Financial 0.95, Privacy 0.91; the authors state that the Privacy class is relatively harder because it depends on subtle contextual details. Macro-F1 for the adult and minor groups is 94.65% and 94.90%, respectively.

    Human evaluation of summary factuality

    • What was measured: 3 annotators rated the factual correctness of MLLM-generated summaries for all 295 segments.
    • Results: 88.47% (261/295) of summaries are factually correct with no hallucination; among the remaining 34 segments, Logging-Only errors account for 6.44% (risk judged correctly but details described incorrectly), and classification-driven errors account for 5.08%.
    • Authors' interpretation: The authors state that this verifies that the system is not only accurate in labels but also faithful in logging.

    RQ2 forensic query capability

    • What was measured: 68 natural language questions (51 retrieval, 17 follow-up), independently drafted and cross-validated by 3 researchers not involved in system development based on parent interview themes, and manually mapped to ground-truth events.
    • Results (Table 4): Recall@1 is 0.9020, Recall@3 is 0.9412, MRR is 0.9234; follow-up accuracy is 0.8824. This table has only one row, GUIAuditor, and contains no comparison numbers for other methods reported in the paper.
    • Failure case: A post containing religious-metaphor satire was correctly labeled Content Risk, but the summary only described the surface content, causing a subsequent semantic query by religious risk to fail; the authors state that this reflects the MLLM's limitation in understanding culturally specific metaphors, while the underlying evidence is still retained and can be retrieved through broader queries.

    RQ3 on-device overhead

    • What was measured: 1-hour mixed-use sessions on three phones (social media, short videos, chat, in-app transactions), comparing GUIAuditor, the MineContext baseline, and the naive baseline (Figure 5).
    • Results: GUIAuditor has additional power consumption of +2.1W (about 10% more battery per hour), temperature rise of +2.1°C, per-event inference latency of 7.4s, and peak memory of about 3.1GB; the MineContext baseline is +5.2W, +4.6°C, 46.1s, 6.7GB; the naive baseline is +7.5W, +7.8°C, and is repeatedly killed by the OS (OOM) because the token volume exceeds device memory, so it cannot complete inference.
    • Storage: 113 events recorded in 1 hour, 51.7KB each, 5.9MB total; the authors estimate that 2–4 hours of daily use produces 11.8–23.6MB.

    Other ablations and analyses

    • Distillation step ablation (Table 3): action-guided sampling alone (w/o (Pixel+Feature)) reduces tokens by 79.0% relative to the MineContext baseline, and subsequent steps compress further while Macro-F1 remains around 95%.
    • Sampling parameter sensitivity (Figure 4): when F_high drops to 1 fps, Macro-F1 drops to 86.81%; when raised to 4 fps it is 95.56% but tokens exceed 4,100; when t_window is 1s, Macro-F1 is 89.13%, and at 3s/4s tokens rise to 3,250/4,080 while Macro-F1 stays at about 95.6%.
    • Single-action frame retention analysis: each action produces an average of 4 candidate frames, 1.6 frames remain after Step 2, and after Step 3 only 18.5% of the original visual tokens are passed to the MLLM.
  5. What are some points that can be further explored?

    The authors list three limitations—dependence on MLLM capabilities, data scale, and taxonomy coverage—and propose future directions such as anti-coercion misuse.

    Limitations and future directions noted by the authors

    • Dependence on MLLM capabilities (Section 6.4): semantic summary quality depends on the reasoning capabilities of the underlying MLLM and may miss complex, subtle, or culturally specific cues (such as the religious metaphor in the failure case); the authors state that the underlying evidence is still retained and can be compensated for by guardians through broader queries and Stage 2 interrogation.
    • Recruitment difficulty and dataset scale (Section 6.4): more than 1,000 potential participant families were contacted, and only 32 (< 3%) agreed to participate; the authors state that a larger, younger cohort would be preferable, but the existing 295 segments already cover the key age thresholds of PIPL and GDPR, and results from the two cohorts are comparable.
    • Risk taxonomy coverage (Section 6.4): the taxonomy does not claim to be complete; new risk types will emerge as platforms evolve, and real risks may span categories; scripted tasks and researcher-curated queries cannot fully capture long-term real use and the questions guardians would actually ask. The authors state that adding new categories only requires updating prompt templates, without retraining.
    • Coercive control risk (Section 6.2): the tool could be misused for scenarios such as partner monitoring; the authors propose future directions—using a facial camera to verify that the monitored device belongs to a child, anti-coercion authentication, detecting addictive monitoring behavior, tamper-proof audit logs, user agreements, and UI warnings.
    • Privacy and data security (Section 6.3): the authors state that records could be further hardened with filesystem encryption or a TEE, but this is orthogonal to the core contribution.
    • Domain reasoning enhancement for MLLMs (Section 5.3): the authors state that future work could improve MLLMs' domain-specific reasoning about subtle, metaphorical risks.

    Experimental coverage

    • The only analysis model tested is Qwen2.5-VL-3B (3B parameters, 4-bit quantization); the paper does not report experiments with other MLLMs.
    • The dataset consists of 295 scripted interaction segments averaging 17.2 seconds, from 32 participants (16 adults + 16 minors aged 12–18), with 10 tasks per person; tasks containing obviously harmful visual content were assigned only to adults.
    • On-device overhead was measured on three phones (Xiaomi 15, Pixel 9 Pro, Vivo X200 Pro) over 1-hour mixed sessions, with each method repeated 5 times per device; the authors state that longer field deployments may reveal more usage patterns.
    • The RQ2 query test set consists of 68 questions (51 retrieval + 17 follow-up), drafted by the researchers; Table 4 does not report query results for baseline methods.
    • The paper does not report the number of repeated runs for RQ1/RQ2, nor does it report inter-annotator agreement values (it only describes the process of discussing to reach consensus when disagreements occurred).
  6. Summarize the main content of the paper

    GUIAuditor distills children's GUI interactions into queryable semantic records, achieving 95.23% Macro-F1 on 295 segments, and can run on phones.

    A mobile security systems paper: targeting interactive risks that children face within legitimate apps, the authors argue for supplementing automated detection with guardian-in-the-loop post-hoc forensics, and implement an end-to-end system, GUIAuditor.

    • Problem: The authors argue that both rule-based and AI-based automated defenses have inherent limitations—the former does not understand context, and the latter inevitably has false positives and false negatives; the same payment confirmation interface may correspond to ordering takeout or tipping a streamer, and a single frame cannot distinguish them (Figure 1).
    • Method: Proposes the concept of GUI Provenance; the system contains three modules—three-level evidence distillation triggered by user clicks/swipes (2 fps, 2-second window sampling, pixel deduplication plus patch-level semantic compression), CoT prompts driving Qwen2.5-VL-3B to generate structured risk records, and a hybrid database plus a two-stage query engine (semantic retrieval + VQA follow-up questions on event evidence).
    • Fidelity: On the newly built 295-segment interaction clip benchmark, the binary risk event classification F1 is 0.9872, and the five-class annotation Macro-F1 is 95.23% (Table 3); on average each clip processes only 2,476 visual tokens, more than 89.2% fewer than the 1 fps periodic sampling baseline (22,850), while Macro-F1 is only about 2.7 percentage points lower.
    • Forensic capability: Recall@1 on 51 natural language retrieval questions is 90.20%, MRR is 0.9234; accuracy on 17 detail follow-up questions is 88.24% (Table 4).
    • On-device feasibility: In 1-hour sessions on three modern phones, additional power consumption is 2.1W, temperature rise is 2.1°C, per-event latency is 7.4s, peak memory is about 3.1GB, and storage is 5.9MB/hour (Figure 5); the naive continuous analysis baseline cannot run due to OOM.
    • Authors' conclusions: The authors state that the results show post-hoc GUI forensics can run on modern mobile devices and provide useful context for guardian-led safety review; the system is positioned as a complement to, not a replacement for, automated defenses, and the authors acknowledge that summary quality depends on MLLM capability, that data scale is limited by recruitment difficulties, and that the taxonomy does not claim to be complete.
Read originalProceedings of the ACM on Interactive Mobile Wearable and Ubiquitous Technologies