# A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World

실용주의 로봇: 실제 세계를 경험하며 작업 계획을 학습하기

Kaixian Qu, Guowei Lan, René Zurbrügg, Changan Chen, Christopher E. Mower, Haitham Bou-Ammar 외 1명 · arXiv · 2025년 7월 22일

- **연구 문제** VLM 기반 로봇 작업 계획은 인터넷 데이터로 학습되어 실제 로봇의 능력과 물리적 제약을 자동으로 반영하지 못합니다.
- **연구 방법** PRAGMABOT은 같은 VLM을 계획과 성공 검출, 경험 요약에 사용하고, 실행 중 단기 메모리로 자기 성찰하며 완료된 경험을 장기 메모리에 저장한 뒤 RAG로 검색합니다.
- **주요 결과** 네 가지 물체 조작 과제에서 단기 메모리를 가진 PRAGMABOT은 CaP-V 대비 성공률을 높였고, 고정된 장기 메모리는 유사 장면에서 COME 대비 단일 시도 성공률을 높였습니다.

## 기존 LLM·VLM 로봇 계획의 한계

대규모 언어 모델은 자연어 지시를 행동 계획으로 바꾸는 데 널리 쓰이지만, 인터넷 텍스트로 학습되어 실제 로봇의 구현 방식, 사용할 수 있는 기술 집합, 물리적 한계와 자동으로 맞춰지지 않습니다. 시각-언어 모델(VLM)은 시각 입력과 텍스트를 함께 다루어 이 문제를 일부 줄이지만, 부분적으로 가려진 물체를 잡으라는 지시처럼 사람에게는 자연스러워 보이는 계획을 실제 로봇은 조작 능력의 한계 때문에 실패할 수 있습니다. 이 논문은 이 간극을 어떻게 로봇 자신의 경험으로 메울 것인지를 묻습니다. 기존 접근 중 SayCan은 학습된 affordance 네트워크가 필요하고, BUMBLE 같은 방법은 사람이 주석을 단 실패 사례나 밀도 높은 사람 피드백에 크게 의존합니다.

반면 Reflexion은 자기 성찰 경험을 장기 메모리에 저장하는 언어적 강화 학습을 제안했지만, 주로 시뮬레이션 환경에서 평가되었고 실제 embodiment와 물리적 상호작용을 다루지 않았습니다.

![Figure 1: Robot completes a new task guided by a long-term memory of self-reflective experiences.When executing a novel task, the robot maintains a short-term…](https://refivu.com/papers/a58b6f25-7856-446f-8f4b-9c7d851b1a67/figures/figure-1f4a664312ac46e6f54f86e616062784.png?thumb=512)

**Fig. 1** :Robot completes a new task guided by a long-term memory of self-reflective experiences.When executing a novel task, the robot maintains a short-term memory that helps it reflect and learn how to complete the task (illustrated in the grey clip). The experience is then stored as long-term memory and retrieved to guide the VLM’s task planning whenever a similar scenario is encountered (illustrated in the main figure).

[원문](https://arxiv.org/abs/2507.16713v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kaixian Qu, Guowei Lan, René Zurbrügg, Changan Chen, Christopher E. Mower, Haitham Bou-Ammar, Marco Hutter · A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

![TABLE I:Comparison with baselines.PRAGMABOTis the only method that achieves self-reflection, learning by experiencing, interactive replanning, and creative too…](https://refivu.com/papers/a58b6f25-7856-446f-8f4b-9c7d851b1a67/figures/figure-16abd3fd870e792630b16748ba3a4427.png?thumb=512)

**원문 그림** TABLE I:Comparison with baselines.PRAGMABOTis the only method that achieves self-reflection, learning by experiencing, interactive replanning, and creative tool use (highlighted in bold). System components are listed in regular font (•indicates presence).

[원문](https://arxiv.org/abs/2507.16713v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kaixian Qu, Guowei Lan, René Zurbrügg, Changan Chen, Christopher E. Mower, Haitham Bou-Ammar, Marco Hutter · A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## PRAGMABOT의 기본 구조와 두 종류의 메모리

PRAGMABOT은 같은 VLM을 계획기, 성공 검출기, 장면 기술기, 경험 요약기로 사용하면서 실행 중 경험을 두 단계 메모리에 기록합니다. 계획기는 사용자 지시와 현재 관찰 o\_t를 받아 선택된 기술과 파라미터로 이루어진 다음 행동을 출력합니다. 성공 검출기는 행동 실행 전후의 관찰을 비교해 행동 성공 여부와 작업 완료 여부를 판단하고, 장면 변화에 대한 설명을 피드백으로 돌려줍니다. 단기 메모리(STM)는 실행한 행동과 피드백을 쌓은 동적 로그로, 실패 후 계획기가 자연어로 원인을 추론하는 데 쓰입니다. 이 자기 성찰 결과는 저자들이 말하는 '언어적 기울기'이며, 가중치를 갱신하지 않고 문맥 안에서 다음 행동을 바꿉니다.

작업이 완료되면 STM은 요약기에 의해 장기 메모리(LTM)에 (장면 키, 경험 값) 쌍으로 저장되며, 키는 사용자 지시와 초기 장면 설명을 합친 것입니다. STM은 작업마다 초기화되지만 LTM은 작업을 넘어 누적됩니다.

![Figure 2: PRAGMABOTpipeline (illustration:left, algorithm:right).At the start of each task, the system takes the user instructionIand egocentric observationo 0…](https://refivu.com/papers/a58b6f25-7856-446f-8f4b-9c7d851b1a67/figures/figure-7bd4ae960d10aeb9ee8560b984092b4e.png?thumb=512)

**Fig. 2** :PRAGMABOTpipeline (illustration:left, algorithm:right).At the start of each task, the system takes the user instructionIand egocentric observationo 0, which the VLM combines into a scenario (key). RAG retrieves relevant experiences from long-term memoryMand, together with the instruction and observation, feeds them into the VLM task plannerPto generate the next actiona. After execution, success is checked by the VLM success detectorR. If the task is not completed, the actionaand its feedbackrare accumulated into short-term memorymand fed back into planning. Once the task is completed, the short-term memorymis summarized and stored in long-term memoryMfor future use.

[원문](https://arxiv.org/abs/2507.16713v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kaixian Qu, Guowei Lan, René Zurbrügg, Changan Chen, Christopher E. Mower, Haitham Bou-Ammar, Marco Hutter · A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 코사인 유사도 기반 RAG 검색과 계획 프롬프트

새 작업이 주어지면 시스템은 현재 지시와 초기 장면 설명으로 검색 키 K′를 만듭니다. 텍스트 임베딩 모델이 K′와 LTM의 각 키 K를 임베딩하고, 식 (5)에 따라 두 벡터의 정규화된 내적, 즉 코사인 유사도가 가장 큰 상위 k개 경험을 고릅니다. 식의 분자는 E(K)^T E(K′)이고 분모는 두 벡터의 노름의 곱이므로, 같은 크기의 벡터라도 방향이 가까울수록 값이 커집니다. 검색된 경험은 계획 프롬프트에 포함되어 계획기가 과거 지식을 문맥 내 학습으로 활용하게 합니다. 실행 시점에는 LTM 자체는 바뀌지 않고, 계획기는 현재 관찰, 현재 STM, 검색된 LTM 항목을 함께 받아 다음 행동을 고릅니다.

알고리즘 1에서도 이 세 입력이 계획기 P에 전달되는 구조가 확인됩니다.

![Figure 3: Prompt templates used in different VLM modules](https://refivu.com/papers/a58b6f25-7856-446f-8f4b-9c7d851b1a67/figures/figure-202b2116b94e8c4358991abcc556d5a8.png?thumb=512)

**Fig. 3** :Prompt templates used in different VLM modules.

[원문](https://arxiv.org/abs/2507.16713v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kaixian Qu, Guowei Lan, René Zurbrügg, Changan Chen, Christopher E. Mower, Haitham Bou-Ammar, Marco Hutter · A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

## 이미지 주석과 파지 점수 선택

이미지 주석 도구는 VLM이 행동 위치를 더 정확히 고르도록 돕는 모듈입니다. 먼저 VLM이 기술과 파라미터를 선택하고 주석이 필요한지를 판단하면, 로봇은 개방형 어휘 분할로 객체 마스크를 만듭니다. 이 분할은 Grounded SAM이 Grounding DINO와 SAM을 결합해 수행합니다. 두 번째 주석 단계가 요청되면 후보 위치 마스크를 이미지 위에 겹쳐 VLM이 가장 적절한 위치를 고르게 합니다. 놓기에서는 분할된 마스크에 최원점 샘플링(FPS)을 적용해 후보 위치를 만들고, 밀기에서는 끝점이 될 후보 목표 마스크를 그립니다. 파지에서는 분할된 점군을 AnyGrasp에 넣어 신뢰도 점수를 가진 파지 후보를 얻고, 역기구학 검사로 실행 불가능한 파지를 걸러냅니다.

최종 파지는 식 (6)처럼 신뢰도 점수 s\_conf(g)와 선택 위치와의 정규화된 거리 기반 위치 점수 s\_loc(g)의 곱을 최대화하는 g로 정해집니다.

## 단기 메모리와 자기 성찰의 효과

첫 검증은 실행 중 단기 메모리가 실패 후 행동을 바꾸어 작업을 완료하게 하는지를 확인합니다. 비교 기준선은 CaP-V로, CaP에 시각 피드백을 더한 방법이지만 단기 메모리가 없어 현재 이미지와 지시만으로 다음 행동을 고릅니다. 네 가지 물체 조작 과제에서 각 과제는 5~10회 시험되었고 시도는 두 번까지 허용되었습니다. Put apple on plate 과제에서 CaP-V의 성공률은 43%, PRAGMABOT은 86%였습니다. 같은 표에서 Move tiny candy는 22%에서 67%, Move egg는 40%에서 100%, Pick up bowl은 33%에서 83%로 보고되었습니다. 저자들은 이 차이를 단기 메모리로 실패를 성찰하고 도구 사용 같은 물체 상호작용을 만들어 낸 결과로 해석합니다.

이 결과는 해당 네 과제와 CaP-V 기준선에서 얻은 것이며, 다른 기준선이나 과제 전체로 일반화한 결과가 아닙니다.

![TABLE II:Effect of STM on task success rates.Each task is tested 5–10 times with two attempts allowed.](https://refivu.com/papers/a58b6f25-7856-446f-8f4b-9c7d851b1a67/figures/figure-4a46c8469b9c5af331fa84a7f2909e86.png?thumb=512)

**원문 그림** TABLE II:Effect of STM on task success rates.Each task is tested 5–10 times with two attempts allowed.

[원문](https://arxiv.org/abs/2507.16713v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kaixian Qu, Guowei Lan, René Zurbrügg, Changan Chen, Christopher E. Mower, Haitham Bou-Ammar, Marco Hutter · A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 장기 메모리와 새 장면 일반화

둘째 검증은 완료된 경험이 장기 메모리에 남았을 때 같은 장면과 유사한 새 장면에서 첫 시도 성공률을 높이는지 확인합니다. 장기 메모리는 96개의 단순 작업 경험과 실험 중 저장된 STM 경험을 합쳐 100개 항목으로 구성되었고, 평가 중에는 공정한 비교를 위해 고정되었습니다. 비교 기준선 COME은 장기 메모리에 접근하지 않습니다. 같은 네 장면에서 Put apple on plate의 단일 시도 성공률은 COME 29%에서 PRAGMABOT 100%로 보고되었습니다. 추가 장면을 포함한 Table III에서도 여러 과제가 높은 값을 보였으나, 이 비교는 장기 메모리를 가진 PRAGMABOT과 장기 메모리가 없는 COME의 비교이며 STM 효과와 분리된 실험입니다.

또 이 결과는 실험 장면의 구조가 유사한 조건에서 얻은 것이므로, 장기 메모리의 전이가 임의의 새 과제에 항상 성립한다는 뜻은 아닙니다.

![TABLE III:Effect of LTM on single-trial task success rates. Each task is tested 5–10 times.](https://refivu.com/papers/a58b6f25-7856-446f-8f4b-9c7d851b1a67/figures/figure-87510df83255ac671a592c9302e6013c.png?thumb=512)

**원문 그림** TABLE III:Effect of LTM on single-trial task success rates. Each task is tested 5–10 times.

[원문](https://arxiv.org/abs/2507.16713v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Kaixian Qu, Guowei Lan, René Zurbrügg, Changan Chen, Christopher E. Mower, Haitham Bou-Ammar, Marco Hutter · A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 검색 전략 비교와 검출기 오류

메모리 검색 절제 실험은 실행 없이 12개 과제에서 첫 계획 행동의 정확도를 측정하며, 무작위로 k=5개를 고른 경우, 전체 장기 메모리를 넣은 경우, RAG로 검색한 경우를 비교합니다. 무작위 k=5는 평균 17%로 가장 낮았고, 전체 LTM은 74%, RAG는 89%였습니다. 저자들은 전체 메모리를 넣으면 관련 없는 정보가 방해되어 불안정해진다고 해석합니다. 소형 모델 gpt-4o-mini는 관련 기억이 없을 때 더 보수적으로 행동했고, 관련 기억을 제공하면 성능이 오르지만 gpt-4o보다 개선 폭이 작았습니다. 또한 전체 LTM을 넣으면 텍스트 프롬프트 길이가 약 7.5배 증가하지만, 이 수치는 이미지를 제외한 텍스트 기준입니다.

성공 검출기의 평가에서는 객체 피킹에서 위음성률 6.67%(4/60), 위양성률 5%(3/60)가 보고되었습니다.

## 이미지 주석 효과와 지연 비용

이미지 주석의 효과는 파지와 밀기에서 따로 확인되었습니다. 7개 객체의 파지 실험에서 주석이 있으면 막대, 꼬치, 드럼스틱처럼 특정 부위를 잡아야 하는 물체의 성공률이 크게 개선되었습니다. 주석 없이는 AnyGrasp가 기하 단서에 따라 넓은 면을 선호하는 경향이 있었다고 보고됩니다. 밀기 실험에서는 목표 위치까지의 거리 오차가 주석이 있을 때 일관되게 낮아졌습니다. 다만 주석은 추가 지연을 만들며, gpt-4o 응답을 얻는 데 평균 5.15초가 필요했다고 보고됩니다. 이 실험은 주석의 효과를 보여 주지만, 모든 물체나 모든 기술에서 동일한 개선 폭을 보장하지는 않습니다.

## 적용 범위와 남은 질문

저자들은 현재 구현의 한계를 명시합니다. 첫째, 일부 실제 상황은 시각만으로 얻기 어려운 정보를 포함하므로 촉각이나 청각 같은 추가 모달리티가 필요할 수 있습니다. 둘째, 메모리 데이터베이스는 실제 로봇 데이터 수집 비용의 제약을 받아 현재 규모가 작습니다. 메모리가 커질 때 top-k 검색이 효과적으로 남아 있을지, 메모리 가지치기를 어떻게 할지도 아직 열린 질문입니다. 또한 검출기와 VLM 추론이 실패하면 잘못된 기억을 무시하거나 과도하게 따르는 문제가 있으며, 저수준 기술은 사전에 제공된다고 가정합니다. 여러 로봇 사이의 메모리 공유는 가능성이 제기되었지만, 형태가 다른 로봇에서 전이 가능성은 검증되지 않았습니다.

## 논문 정보

- **저자**: Kaixian Qu, Guowei Lan, René Zurbrügg, Changan Chen, Christopher E. Mower, Haitham Bou-Ammar, Marco Hutter
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 7월 22일
- **등록일**: 2026년 11월 6일
- **수정일**: 2026년 2월 14일
- **버전**: v2
- **arXiv**: 2507.16713
- **분류**: cs.RO · cs.AI · cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2507.16713v2) · [원문 PDF ↗](https://arxiv.org/pdf/2507.16713v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Large language models (LLMs) have emerged as the dominant paradigm for robotic task planning using natural language instructions. However, trained on general internet data, LLMs are not inherently aligned with the embodiment, skill sets, and limitations of real-world robotic systems. Inspired by the emerging paradigm of verbal reinforcement learning-where LLM agents improve through self-reflection and few-shot learning without parameter updates-we introduce PragmaBot, a framework that enables robots to learn task planning through real-world experience. PragmaBot employs a vision-language model (VLM) as the robot's "brain" and "eye", allowing it to visually evaluate action outcomes and self-reflect on failures. These reflections are stored in a short-term memory (STM), enabling the robot to quickly adapt its behavior during ongoing tasks. Upon task completion, the robot summarizes the lessons learned into its long-term memory (LTM). When facing new tasks, it can leverage retrieval-augmented generation (RAG) to plan more grounded action sequences by drawing on relevant past experiences and knowledge. Experiments on four challenging robotic tasks show that STM-based self-reflection increases task success rates from 35% to 84%, with emergent intelligent object interactions. In 12 real-world scenarios (including eight previously unseen tasks), the robot effectively learns from the LTM and improves single-trial success rates from 22% to 80%, with RAG outperforming naive prompting. These results highlight the effectiveness and generalizability of PragmaBot. Project webpage: https://pragmabot.github.io/

## 원문 인용

Kaixian Qu, Guowei Lan, René Zurbrügg, Changan Chen, Christopher E. Mower, Haitham Bou-Ammar, Marco Hutter (2025). A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World. arXiv:2507.16713v2. https://arxiv.org/abs/2507.16713v2

**BibTeX**

```
@misc{qu2025pragmatist,
  title = {{A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World}},
  author = {Kaixian Qu and Guowei Lan and René Zurbrügg and Changan Chen and Christopher E. Mower and Haitham Bou-Ammar and Marco Hutter},
  year = {2025},
  eprint = {2507.16713},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.16713v2}
}
```

## 이 논문의 용어

- [cosine similarity](https://refivu.com/terms/3baa01a8760d-cosine-similarity)
- [검색 증강 생성](https://refivu.com/terms/745578495b18-retrieval-augmented-generation)
- [Chain-of-Thought](https://refivu.com/terms/f224ebaf1832-chain-of-thought)
- [Reflexion](https://refivu.com/terms/ae549dc1c40e-reflexion)
- [false positive rate](https://refivu.com/terms/902ec4a8638c-false-positive-rate)
- [Grounding DINO](https://refivu.com/terms/e9cf4e80b6db-grounding-dino)
- [False Negative Rate](https://refivu.com/terms/bbe5670a4f4a-false-negative-rate)
- [Task success rate](https://refivu.com/terms/0ab43e935152-task-success-rate)
- [vision-language model](https://refivu.com/terms/0db10145fd5a-vision-language-model)
- [farthest-point sampling](https://refivu.com/terms/51858408a3f1-farthest-point-sampling)
- [long-term memory](https://refivu.com/terms/e2a5baca900d-long-term-memory)
- [short-term memory](https://refivu.com/terms/4918867f56af-short-term-memory)
- [Task Planner](https://refivu.com/terms/cbf532423ad2-task-planner)
- [text-embedding-3-large](https://refivu.com/terms/4bc304b0c559-text-embedding-3-large)

## 다른 논문 해설

- [Safety Analysis in the Era of Large Language Models: A Case Study of STPA using ChatGPT](https://refivu.com/papers/5cb1555c-f8fe-4bae-a604-eb07013f797d-safety-analysis-in-the-era-of-large-language.md)
- [Decision-Oriented Dialogue for Human-AI Collaboration](https://refivu.com/papers/1d9fad4b-76a3-40b2-b7c6-3b42b2a8ddc5-decision-oriented-dialogue-for-human-ai-collaboration.md)
- [Large Language Models Leverage External Knowledge to Extend Clinical Insight Beyond Language Boundaries](https://refivu.com/papers/1681bcb8-eaa3-4d90-af0d-f1d68b6f815a-large-language-models-leverage-external-knowledge-to-extend.md)
- [Hallucination to Truth: A Review of Fact-Checking and Factuality Evaluation in Large Language Models](https://refivu.com/papers/29ebff2e-1fee-4975-9682-038fb460afd5-hallucination-to-truth-a-review-of-fact-checking.md)
- [Language models align with human judgments on key grammatical constructions](https://refivu.com/papers/93c9c642-d7e0-46eb-9a74-eea100c098ad-language-models-align-with-human-judgments-on-key.md)
- [A Survey of Text Watermarking in the Era of Large Language Models](https://refivu.com/papers/002d7f5a-9912-4066-b5ed-87445aa6935d-a-survey-of-text-watermarking-in-the-era.md)
- [Is K-fold cross validation the best model selection method for Machine Learning?](https://refivu.com/papers/53831d25-c6d2-4cd6-9e3d-da38ead2e2a9-is-k-fold-cross-validation-the-best-model.md)
- [Speech Emotion Recognition via an Attentive Time-Frequency Neural Network](https://refivu.com/papers/760c5a14-c59b-4c4a-825e-5101ca3d8d41-speech-emotion-recognition-via-an-attentive-time-frequency.md)
- [Cross-Modal Contrastive Learning of Representations for Navigation using Lightweight, Low-Cost Millimeter Wave Radar for Adverse Environmental Conditions](https://refivu.com/papers/5c56fa5a-3227-4a44-a609-9b42bb1290c2-cross-modal-contrastive-learning-of-representations-for.md)
- [AI-Driven Robotics for Optics](https://refivu.com/papers/1eea416b-970f-4345-8b65-464b1d31238c-ai-driven-robotics-for-optics.md)
- [Active learning for data streams: a survey](https://refivu.com/papers/a38e56c3-797c-45a4-bbe8-38722c825e80-active-learning-for-data-streams-a-survey.md)
- [Self-supervised Dynamic CT Perfusion Image Denoising with Deep Neural Networks](https://refivu.com/papers/e15e65ce-32bc-42d4-8cff-9b3727bbe0cf-self-supervised-dynamic-ct-perfusion-image-denoising-with.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/a58b6f25-7856-446f-8f4b-9c7d851b1a67-a-pragmatist-robot-learning-to-plan-tasks-by)
