[논문 리뷰] AmadeusGPT: a natural language interface for interactive animal behavioral analysis
AmadeusGPT는 동물 행동에 대한 사용자 설명을 실행 가능한 파이썬 코드로 번역하는 자연어 인터페이스를 제공하며, 듀얼 메모리 시스템과 핵심 행동 모듈이 결합된 확장된 GPT-3.5를 활용하여 비디오 데이터에서 인터랙티브하고 코드 없이 행동 분석을 가능하게 한다.
The process of quantifying and analyzing animal behavior involves translating the naturally occurring descriptive language of their actions into machine-readable code. Yet, codifying behavior analysis is often challenging without deep understanding of animal behavior and technical machine learning knowledge. To limit this gap, we introduce AmadeusGPT: a natural language interface that turns natural language descriptions of behaviors into machine-executable code. Large-language models (LLMs) such as GPT3.5 and GPT4 allow for interactive language-based queries that are potentially well suited for making interactive behavior analysis. However, the comprehension capability of these LLMs is limited by the context window size, which prevents it from remembering distant conversations. To overcome the context window limitation, we implement a novel dual-memory mechanism to allow communication between short-term and long-term memory using symbols as context pointers for retrieval and saving. Concretely, users directly use language-based definitions of behavior and our augmented GPT develops code based on the core AmadeusGPT API, which contains machine learning, computer vision, spatio-temporal reasoning, and visualization modules. Users then can interactively refine results, and seamlessly add new behavioral modules as needed. We benchmark AmadeusGPT and show we can produce state-of-the-art performance on the MABE 2022 behavior challenge tasks. Note, an end-user would not need to write any code to achieve this. Thus, collectively AmadeusGPT presents a novel way to merge deep biological knowledge, large-language models, and core computer vision modules into a more naturally intelligent system. Code and demos can be found at: https://github.com/AdaptiveMotorControlLab/AmadeusGPT.
연구 동기 및 목표
- 생물학자들의 코딩 필요를 줄이기 위해 자연어 프롬프트와 행동 분석 파이프라인을 연결한다.
- 비디오 데이터에서 행동 분석을 인터랙티브하게 정의하고 다듬을 수 있도록 한다.
- 포즈 추정, 객체 분할, 시공간 추론을 모듈식 API를 통해 통합한다.
- LLM 컨텍스트 윈도우 한계를 극복하는 메모리 메커니즘으로 견고한 실행을 유지한다.
- 표준 행동 데이터세트에서 성능 벤치마크를 통해 실용성과 정확성을 평가한다.
제안 방법
- 원자적이고 재사용 가능한 함수로 설계된 제약된 API를 갖춘 확장된 GPT-3.5.
- 단기 컨텍스트를 위한 단기 기억과 세션 간 retention을 위한 기호 기반 포인터를 사용하는 장기 기억의 듀얼 메모리 시스템.
- 운동 특성 분석, 동물–객체/환경 상태 모델링, 시공간 추론을 위한 핵심 행동 모듈.
- 임베딩을 이용한 동적 로딩으로 추론 시점에 작업별 기능을 선택하는 통합 모듈.
- 오류 처리, 분포 외 프롬프트를 위한 재표현기, 결과를 사용자 질의에 매핑하는 설명자 모듈.

실험 결과
연구 질문
- RQ1시각 모델을 활용한 포즈 추정 및 분할을 이용한 실행 가능한 Python 코드로 사용자의 행동 설명을 변환하는 자연어 인터페이스가 가능합니까?
- RQ2듀얼 메모리 메커니즘이 컨텍스트 윈도우의 한계를 완화하고 세션 간 작업 정의를 보존합니까?
- RQ3AmadeusGPT는 표준 행동 벤치마크에서 전통적인 기계학습 기반 접근법과 비교하여 어떻게 성능을 보입니까?
- RQ4시스템이 비디오 데이터에서 행동 분석을 인터랙티브하게 다듬고 즉석에서 시각화하는 것을 지원할 수 있습니까?
주요 결과
- AmadeusGPT는 공식 행동 정의와 긴밀히 일치하는 프롬프트 정의를 사용해 MABE 2022 행동 챌린지 작업에서 최첨단 유사 성능을 달성했다.
- 듀얼 메모리 메커니즘은 세션 간 및 토큰 제한 상호작용에서 정의된 행동과 적용 상태를 효과적으로 보존한다.
- 시스템은 주로 규칙 기반 접근으로 적은 조정 매개변수를 필요로 하면서 EPM, MausHaus, MABe 2022 데이터셋 전반에서 견고한 행동 분석을 보여준다.
- 강건성 테스트에서 재표현기 구성요소가 있는 분포 외 프롬프트에 88% 성공을 보이며 실제 프로롬프에서 신뢰성이 향상되었음을 시사한다.
- SuperAnimal 포즈 추정 및 SAM과의 통합으로 원시 비디오에서 코딩 없이 엔드-투-엔드 분석이 가능하다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.