paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DescribeCtx

DescribeCtx:面向敏感行为的上下文感知描述合成
ICSE Proceedings of the 44th International Conference on Software Engineering2022匹配度 3/10 · 该论文将神经机器翻译用于 Android 敏感行为描述合成,涉及程序分析与机器学习的交叉,但核心是隐私/安全文本生成,而非用户关注的 LLM/Agent 改进静态分析、浮点程序分析或贝叶斯程序分析。其方法基于传统 NMT 而非当前强 LLM/Agent,与研究方向匹配度较低。引用 16 inbox
Shao Yang, Yuehan Wang, Yuan Yao, Haoyu Wang, Yanfang (Fanny) Ye, Xusheng Xiao
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 DescribeCtx,融合隐私政策、调用图与 GUI 上下文,用神经机器翻译为 Android 应用的敏感行为生成应用特定描述。

移动应用日益频繁访问敏感数据,引发隐私担忧。现有方法虽能从应用描述中自动识别解释性句子,但许多敏感行为并未在描述中说明;通用代码到句子翻译技术又缺乏解释敏感数据用途的词汇,且忽略敏感行为所处的应用功能上下文。为此,论文提出 DescribeCtx,一种上下文感知的描述合成方法:利用大量热门应用训练神经机器翻译模型,生成针对特定应用的敏感行为描述。该方法编码三类异构输入,即隐私政策提供的词汇、代码调用图给出的行为摘要以及 GUI 文本提供的上下文信息。在 1262 个 Android 应用上的评估表明,与已有基线相比,DescribeCtx 生成的描述更准确(BLEU 24.96),并且在人工从应用描述中识别的参考句上获得更高的用户评分。

问题
许多移动应用的敏感数据访问行为未在应用描述中解释,现有自动解释方法与通用代码到句子翻译方法缺乏敏感数据词汇和上下文,难以为用户提供准确说明。
方法
训练神经机器翻译模型,将隐私政策词汇、代码调用图中的行为摘要和 GUI 文本上下文三类异构输入编码,生成应用特定的敏感行为描述。
评估
在 1262 个 Android 应用上与现有基线比较,使用 BLEU 和用户评分评估生成描述相对人工参考句的准确性与质量。
原文摘要(Abstract)

While mobile applications (i.e., apps) are becoming capable of handling various needs from users, their increasing access to sensitive data raises privacy concerns. To inform such sensitive behaviors to users, existing techniques propose to automatically identify explanatory sentences from app descriptions; however, many sensitive behaviors are not explained in the corresponding app descriptions. There also exist general techniques that translate code to sentences. However, these techniques lack the vocabulary to explain the uses of sensitive data and fail to consider the context (i.e., the app functionalities) of the sensitive behaviors. To address these limitations, we propose DescribeCtx, a context-aware description synthesis approach that trains a neural machine translation model using a large set of popular apps, and generates app-specific descriptions for sensitive behaviors. Specifically, DescribeCtx encodes three heterogeneous sources as input, i.e., vocabularies provided by privacy policies, behavior summary provided by the call graphs in code, and contextual information provided by GUI texts. Our evaluations on 1,262 Android apps show that, compared with existing baselines, DescribeCtx produces more accurate descriptions (24.96 in BLEU) and achieves higher user ratings with respect to the reference sentences manually identified in the app descriptions.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{YangW00YX22,
  title = {DescribeCtx},
  author = {Shao Yang and Yuehan Wang and Yuan Yao and Haoyu Wang and Yanfang (Fanny) Ye and Xusheng Xiao},
  booktitle = {ICSE},
  year = {2022},
  doi = {10.1145/3510003.3510058}
}