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