프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation

CoReMem: 전향적 가치 평가를 활용한 연속 코딩 태스크를 위한 비용 내재화 메모리

  • 연구 문제 메모리가 다음 과제의 노력을 실제로 줄이는지 미리 판단하기 어려운 점이 문제입니다.
  • 연구 방법 현재 과제 궤적의 세그먼트를 다음 과제 결과로 평가하고, 그 결과로 앵커 메모리를 만든 뒤 액터를 온폴리시로 학습합니다.
  • 주요 결과 ChainSWE에서 27B 액터의 해결률을 21.0%에서 25.7%로 높이고 단계 수는 17%, 총 캐시 인식 토큰은 11% 줄였습니다.

연속 코딩 과제에서 메모리의 가치

연속 코딩 에이전트는 진화하는 같은 저장소에서 과제를 차례로 풀며, 앞선 과제가 남긴 저장소 상태는 그대로 이어집니다. 그러나 이전 궤적은 사라지고 메모리 한 덩어리만 다음 과제로 넘어갑니다. 다음 과제가 무엇인지 알기 전에 메모리를 써야 하므로, 메모리가 미래 과제의 노력을 줄이는지를 어떻게 판단할지가 어렵습니다. 기존 코딩 메모리 방식은 대부분 같은 과제 안이나 독립된 과제 사이에서 쓰였고, 다음 과제의 단계 수와 토큰을 줄이지 못했습니다. 이 논문은 다음 과제가 실제로 얻는 이득으로 메모리 가치를 정의하는 문제에서 출발합니다.

Figure 2: What crosses coding-task boundaries and where memory is valued and optimized.Existing settings
keep memory within one task, transfer general experien…

Figure 2 :What crosses coding-task boundaries and where memory is valued and optimized.Existing settings keep memory within one task, transfer general experience across independent tasks, or carry memory while resetting the repository. Our setting carries both repository state and memory to unseen future tasks. The ⟲ and ↓ symbols indicate whether memory is valued and optimized on its source task or on future tasks.

원문 · CC BY 4.0 · Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying · CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

세그먼트 가치로 메모리 설계하기

먼저 메모리 m의 프로스펙티브 가치를 정의했습니다. 경계에서 메모리를 넣은 다음 과제 실행과 넣지 않은 실행의 결과 차이를 재는 방식입니다. 이어서 현재 과제 궤적을 추론 텍스트, 명령, 저장소 내용, 테스트 출력, 변경 내용, 결과, 임시 파일의 일곱 세그먼트로 나눴습니다. 각 세그먼트를 제거했을 때 다음 과제 단계 수와 토큰이 얼마나 변하는지 중앙값으로 재고, 제거하면 단계가 늘어나는 세그먼트는 남기고 토큰만 늘리는 세그먼트는 버리는 규칙을 적용했습니다. 그 결과 명령과 저장소 내용이 다음 과제에 도움이 되는 핵심으로 나타났고, 이를 위치와 실행 검사를 가리키는 앵커로 정리했습니다.

Figure 5: From segment values to the memory design.
The median change in steps (νc) and in thousand actor
tokens ( κc) when one segment is removed from the
cur…

Figure 5 :From segment values to the memory design. The median change in steps (νc) and in thousand actor tokens ( κc) when one segment is removed from the current task’s trajectory (Eq.(3); 27B actor model). Blue bars mark segments whose removal adds steps. The right columns give the field each segment becomes in the memory design, kept as a main field (blue), in reduced form (light blue) or dropped (gray), and what the next task gets from each of them.

원문 · CC BY 4.0 · Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying · CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.
Table 7: The seven segments of a trajectory.The first five partition the transcript, and the last two come from the
boundary

Table 7 :The seven segments of a trajectory.The first five partition the transcript, and the last two come from the boundary.

원문 · CC BY 4.0 · Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying · CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.
Table 9: The four kinds of anchor.Examples are from
the memory in Figure 10 except the node id, whose form
is shown

Table 9 :The four kinds of anchor.Examples are from the memory in Figure 10 except the node id, whose form is shown.

원문 · CC BY 4.0 · Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying · CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.

온폴리시 메모리 가치와 provenance 신용

액터는 메모리 없음, 자체 메모리, 잘못된 다른 저장소 메모리가 섞인 롤아웃 그룹에서 학습합니다. 보상은 해결하면 높고 단계를 적게 쓸수록 유리하도록 설계되었고, 해결 세션은 미해결 세션보다 항상 높게 평가됩니다. 자체 메모리 세션과 메모리 없음 세션의 평균 보상 차이를 현재 정책 기준의 메모리 가치로 쓰고, 메모리에서 온 앵커를 사용한 단계에만 이 가치 항을 더합니다. 모든 단계는 결과 신용을 그대로 유지합니다. 명제 1은 이 가치를 모든 단계에 똑같이 주면 메모리 사용을 미는 기울기가 상쇄되고, 게이트를 거친 단계에만 주면 메모리 사용 빈도를 조정하는 효과가 남는다고 보입니다.

Table 2: Anchors the next task can act on, per mem-
ory layer.27B frozen actor model, test set; an anchor is
usedwhen it occurs only in the memory and appears…

Table 2 :Anchors the next task can act on, per mem- ory layer.27B frozen actor model, test set; an anchor is usedwhen it occurs only in the memory and appears in a message of the next task’s session; brackets give 95% intervals over the test chains.

원문 · CC BY 4.0 · Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying · CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Figure 8: Training dynamics of the 27B actor on the test sessions with the memory. Lines are means over three
replays and bands their standard deviation. Updat…

Figure 8 : Training dynamics of the 27B actor on the test sessions with the memory. Lines are means over three replays and bands their standard deviation. Update 0 is the untrained actor, also drawn as the dashed line. The number beside each panel is the paired difference at update20.

원문 · CC BY 4.0 · Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying · CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

ChainSWE에서의 메모리 계층 비교

ChainSWE 체인 100개를 저장소 기준으로 학습 절반과 테스트 절반으로 나누었고, 테스트 절반에서 메모리 없음, 전체 이력, Mem0, MemOp, ReasoningBank와 비교했습니다. 후학습한 27B 액터에서는 해결률이 21.0%에서 25.7%로 올랐고 단계 수는 17% 적어졌으며 총 캐시 인식 토큰은 11% 줄었습니다. 비교 대상 메모리 중 일부는 토큰을 더 많이 썼고, 해결률 대비 토큰 효율에서 CoReMem이 가장 나은 결과를 보였습니다. 이 수치는 ChainSWE 테스트 절반과 Python 저장소 기반 mini-swe-agent 설정에서 얻은 것입니다.

Figure 3: Steps and tokens of each memory form
against no memory.Hollow marks count only the
acting model’s tokens, and the arrows add the tokens
of the memory…

Figure 3 :Steps and tokens of each memory form against no memory.Hollow marks count only the acting model’s tokens, and the arrows add the tokens of the memory module. Parentheses give the relative change in resolve rate. The star isCoReMemw/o training (§3.1), the one form near the shaded quadrant where steps and total tokens both fall.

원문 · CC BY 4.0 · Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying · CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

각 구성요소의 기여

앵커 메모리(M1)는 동결 액터에서 해결률을 소폭 올리면서 앵커 사용 밀도를 높였습니다. 이 결과는 각 구성요소를 제거한 변형의 비교로 읽어야 합니다.

Table 1: Cost and outcome of each memory layer for the open-weight actor models on the test set.Resolve rate
and steps on linked and unlinked boundaries (App.…

Table 1 :Cost and outcome of each memory layer for the open-weight actor models on the test set.Resolve rate and steps on linked and unlinked boundaries (App. B) and overall, cache-aware tokens per session of the actor model and of the memory module (Writer), and resolve per thousand actor or total tokens. Tags give the change against the no-memory row of the same actor model. Gray values in parentheses are medians over sessions.CoReMemw/o training is our memory on the frozen actor model andCoReMemthe post-trained actor model with it; replay counts and tests are in App. B, with the definition of every column.

원문 · CC BY 4.0 · Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying · CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

남은 제약

주요 실험은 Python 저장소와 mini-swe-agent 하네스에서 수행했고, post-training은 세 개의 오픈 웨이트 액터에만 적용했습니다. 다른 프로그래밍 언어와 더 큰 액터 모델은 검증하지 않았습니다. 효율은 단계 수와 캐시 인식 토큰으로 측정했으며 실제 지연 시간과 에너지는 보고하지 않았습니다. 장기 저장소 이력에서 메모리를 어떻게 누적하고 갱신할지는 앞으로의 과제입니다.

논문 정보

저자
Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 11월 12일
등록일
2026년 11월 14일
수정일
2026년 11월 12일
버전
v1
arXiv
2611.17316
분류
cs.AI · cs.CL · cs.SE
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

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

초록

Coding agents tackle successive tasks on an evolving repository, carrying forward edits and writing memory before the next task is known. Selecting memory for unknown next tasks requires balancing future usefulness against the costs of writing and reading it. The actor must also decide when acting on available memory saves effort as the task unfolds. We introduce Coding-Repository Memory (CoReMem), a cost-internalizing framework that guides memory design and actor adaptation through measured memory value on the next task. Prospective segment valuation compares runs of the next task with and without individual trajectory segments from the same inherited repository state, guiding a compact memory built around anchors: repository locations and executable checks. Actor adaptation estimates on-policy memory value within rollout groups with and without memory, using a reward that prioritizes resolution and penalizes step count in successful runs. Provenance-gated value credit assigns the additional value term to steps identified as using memory-supplied anchors, while every step retains outcome credit. On ChainSWE, CoReMem raises the 27B actor's resolve rate from 21.0% to 25.7%, with 17% fewer steps and 11% fewer total cache-aware tokens, including memory-module calls, relative to the untrained actor model without memory.

원문 인용

Peiwen Li, Harshit Verma, Sophia Zhou, Haiwen Wang, Ngoc Bui, Heng Chang, Fei Fei, David van Dijk, Rex Ying (2026). CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation. arXiv:2611.17316v1. https://arxiv.org/abs/2611.17316v1

BibTeX
@misc{li2026coremem,
  title = {{CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation}},
  author = {Peiwen Li and Harshit Verma and Sophia Zhou and Haiwen Wang and Ngoc Bui and Heng Chang and Fei Fei and David van Dijk and Rex Ying},
  year = {2026},
  eprint = {2611.17316},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.17316v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입