[논문 리뷰] AutoDroid: LLM-powered Task Automation in Android
AutoDroid는 앱별 메모리로 보강된 LLM을 사용하여 Android 앱의 임의 작업을 자동화하고, 쿼리 비용을 줄이면서 높은 동작 정확도와 작업 성공률을 달성합니다.
Mobile task automation is an attractive technique that aims to enable voice-based hands-free user interaction with smartphones. However, existing approaches suffer from poor scalability due to the limited language understanding ability and the non-trivial manual efforts required from developers or end-users. The recent advance of large language models (LLMs) in language understanding and reasoning inspires us to rethink the problem from a model-centric perspective, where task preparation, comprehension, and execution are handled by a unified language model. In this work, we introduce AutoDroid, a mobile task automation system capable of handling arbitrary tasks on any Android application without manual efforts. The key insight is to combine the commonsense knowledge of LLMs and domain-specific knowledge of apps through automated dynamic analysis. The main components include a functionality-aware UI representation method that bridges the UI with the LLM, exploration-based memory injection techniques that augment the app-specific domain knowledge of LLM, and a multi-granularity query optimization module that reduces the cost of model inference. We integrate AutoDroid with off-the-shelf LLMs including online GPT-4/GPT-3.5 and on-device Vicuna, and evaluate its performance on a new benchmark for memory-augmented Android task automation with 158 common tasks. The results demonstrated that AutoDroid is able to precisely generate actions with an accuracy of 90.9%, and complete tasks with a success rate of 71.3%, outperforming the GPT-4-powered baselines by 36.4% and 39.7%. The demo, benchmark suites, and source code of AutoDroid will be released at url{https://autodroid-sys.github.io/}.
연구 동기 및 목표
- 수동 작업 특화 배선이나 시연 없이 확장 가능한 모바일 작업 자동화를 촉진한다.
- 구조화된 HTML 유사 UI 프롬프트를 통해 스마트폰 GUI 표현을 LLM에 연결한다.
- 동적 UI 분석과 시뮬레이션된 작업 합성을 통해 LLM에 앱 특화 지식을 보강한다.
- 메모리 기반 프롬프트, UI 병합, 토큰 가지치기를 통해 LLM 쿼리 비용을 줄인다.
- 다양한 앱으로 구성된 새로운 Android 작업 자동화 벤치마크에서 효과를 입증한다.
제안 방법
- GUI 상태를 단순화된 HTML 유사 프롬프트로 표현하여 LLM을 안내한다.
- 앱의 오프라인 무작위 탐색으로 UI 전이 그래프를 구성한다.
- UTG에서 시뮬레이션된 작업을 생성하여 프롬프트에 앱 지식을 주입한다.
- 유사도 기반 검색을 사용하여 관련 앱 메모리로 프롬프트를 보강한다.
- 앱 특화 데이터를 사용하여 로컬 LLM을 조정하여 비용 효율성과 정확도를 향상시킨다.
- 토큰 가지치기 및 GUI 병합을 포함한 다중 해상도 쿼리 최적화를 적용한다.
실험 결과
연구 질문
- RQ1다수의 앱에서 보지 못한 스마트폰 작업을 높은 정확도로 수행하는 LLM 기반 에이전트가 가능한가?
- RQ2앱 특화 메모리와 시뮬레이션된 작업 합성이 모바일 작업 자동화를 위한 계획 및 동작 선택을 얼마나 향상시킬 수 있는가?
- RQ3AutoDroid에서 온라인 LLM 쿼리 비용과 작업 성공률 간의 트레이드오프는 무엇인가?
- RQ4프롬프트 보강과 로컬 LLM 조정이 온라인 LLM에 대한 의존도를 줄이는 데 얼마나 효과적인가?
주요 결과
- AutoDroid는 실행 단계에서 90.9%의 동작 정확도를 달성했다.
- GPT-4 기반 사용에서 작업 완료 성공률은 71.3%에 도달했다.
- 작업 완료율에서 AutoDroid는 GPT-4 기반 기준 대비 36.4% 포인트 앞섰다.
- LLM 쿼리 비용은 기준선 대비 51.7% 감소했다.
- 벤치마크는 13개의 오픈 소스 Android 앱에 걸친 158개의 작업으로 구성되었다.
- LLMs과 앱 특화 메모리의 결합이 확장 가능한 모바일 작업 자동화의 가능성을 시연한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.