메뉴
HN
Hacker News 15일 전

코딩 AI의 잠재적 미래 예측 능력 입증

IMP
8/10
핵심 요약

최신 연구에 따르면, 코드를 작성하는 AI 에이전트는 코드를 실제로 수정하기 전에도 머릿속(모델 내부)으로 최대 25단계 앞의 코드 변화와 테스트 성공 여부를 미리 예측하고 계획하는 것으로 나타났습니다. 이는 AI가 단순한 반복 실행이 아닌, 인간과 유사한 '미래 지향적 사고'를 내부적으로 수행하고 있음을 증명하는 중요한 발견입니다.

번역된 본문

원문 제목: 코딩 에이전트는 미리 생각한다 소스: hackernews 본문: --> 컴퓨터 과학 > 머신러닝 arXiv:2607.05188 (cs) [2026년 7월 6일 제출] 제목: 코딩 에이전트의 잠재적 프로그래밍 지평(Latent Programming Horizons in Coding Agents) 저자: André Silva, Han Tu, Martin Monperrus PDF 보기 (제목: 코딩 에이전트의 잠재적 프로그래밍 지평, 저자: André Silva 및 기타 2인) HTML 보기 (실험적)

초록: 소프트웨어 엔지니어링 작업을 수행하는 코딩 에이전트는 추론, 코드 편집, 테스트 실행에 수십 단계의 과정을 소요하지만, 기저에 있는 언어 모델이 작업 중인 프로그램에 대해 내부적으로 어떻게 표현하고 있는지는 거의 알려져 있지 않습니다. 우리는 코딩 에이전트 하의 언어 모델 잔류 스트림(residual streams)이 점진적으로 발전하는 프로그램의 속성을 선형적으로 인코딩한다는 것을 보여줍니다. 숨겨진 상태(hidden states)에 대한 로지스틱 회귀 프로브(probe)를 통해 현재 코드가 구문 분석을 통과하는지, 테스트 스위트를 통과하는지, 실패한 테스트 수를 줄이는지, 회귀(regression)를 일으키는지 여부를 디코딩할 수 있으며, 두 모델과 두 벤치마크에서 정확도 AUC 0.83에 도달했습니다.

두 번째 발견은 더 놀랍습니다. 이러한 표현(representation)은 에이전트가 직접 코드를 수정하기 전에 미리 실행된다는 것입니다. 미래의 편집 결과를 예측하도록 훈련된 프로브(실제 코드가 작성되어 디스크에 저장되기 전)는 최대 약 25단계 앞서서 우연을 넘는 성능을 달성했습니다. 우리는 이를 에이전트의 '잠재적 프로그래밍 지평(latent programming horizon)'이라고 부릅니다. 외적 타당성을 증명하기 위해, 우리는 이 프로브가 재훈련 없이도 여러 벤치마크에 걸쳐 전환(transfer)될 수 있음을 보여줍니다. 이 긍정적인 결과는 코딩 에이전트의 기계론적 해석 가능성(Mechanistic Interpretability)에 대한 추가 연구를 촉구합니다.

주제: 머신러닝 (cs.LG); 소프트웨어 엔지니어링 (cs.SE) 인용: arXiv:2607.05188 [cs.LG] (또는 해당 버전의 경우 arXiv:2607.05188v1 [cs.LG]) https://doi.org/10.48550/arXiv.2607.05188 더 알아보기 DataCite를 통해 발급된 arXiv DOI 제출 이력: André Silva [이메일 보기] [v1] 2026년 7월 6일 월요일 15:08:26 UTC (653 KB) 전문 링크: 논문 PDF 보기 (제목: 코딩 에이전트의 잠재적 프로그래밍 지평, 저자: André Silva 및 기타 2인) / HTML 보기 (실험적) / TeX 소스 / 라이선스 보기 현재 탐색 컨텍스트: cs.LG < 이전 | 다음 > 신규 | 최근 | 2026-07 변경하여 탐색: cs cs.SE 참고문헌 및 인용: NASA ADS, Google Scholar, Semantic Scholar 내보내기: BibTeX 인용 로딩 중... BibTeX 형식 인용 및 타임스 로딩 중... 제공된 데이터: 책갈피 서지 도구: 서지 및 인용 도구, 서지 탐색기, 커넥티드 페이퍼스(Connected Papers), Litmaps, scite 스마트 인용 등 코드, 데이터, 미디어: 이 논문과 관련된 코드, 데이터 및 미디어, alphaXiv, 논문을 위한 CatalyzeX 코드 파인더, DagsHub, GotitPub, 허깅페이스(Huggingface), ScienceCast 등 데모: 데모, Replicate, 허깅페이스 스페이스(Hugging Face Spaces), TXYZ.AI 스페이스 등 관련 논문 추천 및 검색 도구: Influence Flower 링크, CORE 추천기, IArxiv 추천기 등 저자, 개최지, 기관, 주제 arXivLabs 정보: 커뮤니티 협력자와 함께하는 실험적 프로젝트. arXivLabs는 협력자들이 당사 웹사이트에서 직접 새로운 arXiv 기능을 개발하고 공유할 수 있게 해주는 프레임워크입니다. arXivLabs와 관련된 개인과 조직은 개방성, 커뮤니티, 우수성 및 사용자 데이터 프라이버시라는 가치를 수용하고 받아들였습니다. arXiv는 이러한 가치에 전념하며 이를 준수하는 파트너와만 협력합니다. arXiv 커뮤니티에 가치를 더할 프로젝트에 대한 아이디어가 있으신가요? arXivLabs에 대해 자세히 알아보세요. 이 논문의 저자 중 누구...

원문 보기
원문 보기 (영어)
--> Computer Science > Machine Learning arXiv:2607.05188 (cs) [Submitted on 6 Jul 2026] Title: Latent Programming Horizons in Coding Agents Authors: André Silva , Han Tu , Martin Monperrus View a PDF of the paper titled Latent Programming Horizons in Coding Agents, by Andr\'e Silva and 2 other authors View PDF HTML (experimental) Abstract: A coding agent solving a software-engineering task spends dozens of steps reasoning, editing code, and running tests, yet little is known about what the underlying language model internally represents about the program it is working on. We show that the residual streams of language models under coding agents linearly encode properties of the evolving program: a logistic-regression probe on hidden states is able to decode whether the current code parses, passes its test suite, reduces the number of failing tests, and introduces regressions, reaching AUC up to 0.83 for correctness across two models and two benchmarks. Our second finding is more surprising: these representations run ahead of the agent's own edits. Probes trained to predict the outcome of future edits (before they are materialized and written on disk) achieve performance above chance up to roughly 25 steps in advance. We call this the agent's latent programming horizon. As a proof of external validity, we show that the probes transfer across benchmarks without retraining. Our positive results open calls for more research in mechanistic interpretability of coding agents. Subjects: Machine Learning (cs.LG) ; Software Engineering (cs.SE) Cite as: arXiv:2607.05188 [cs.LG] (or arXiv:2607.05188v1 [cs.LG] for this version) https://doi.org/10.48550/arXiv.2607.05188 Focus to learn more arXiv-issued DOI via DataCite Submission history From: André Silva [ view email ] [v1] Mon, 6 Jul 2026 15:08:26 UTC (653 KB) Full-text links: Access Paper: View a PDF of the paper titled Latent Programming Horizons in Coding Agents, by Andr\'e Silva and 2 other authors View PDF HTML (experimental) TeX Source view license Current browse context: cs.LG < prev | next > new | recent | 2026-07 Change to browse by: cs cs.SE References & Citations NASA ADS Google Scholar Semantic Scholar export BibTeX citation Loading... BibTeX formatted citation &times; loading... Data provided by: Bookmark Bibliographic Tools Bibliographic and Citation Tools Bibliographic Explorer Toggle Bibliographic Explorer ( What is the Explorer? ) Connected Papers Toggle Connected Papers ( What is Connected Papers? ) Litmaps Toggle Litmaps ( What is Litmaps? ) scite.ai Toggle scite Smart Citations ( What are Smart Citations? ) Code, Data, Media Code, Data and Media Associated with this Article alphaXiv Toggle alphaXiv ( What is alphaXiv? ) Links to Code Toggle CatalyzeX Code Finder for Papers ( What is CatalyzeX? ) DagsHub Toggle DagsHub ( What is DagsHub? ) GotitPub Toggle Gotit.pub ( What is GotitPub? ) Huggingface Toggle Hugging Face ( What is Huggingface? ) ScienceCast Toggle ScienceCast ( What is ScienceCast? ) Demos Demos Replicate Toggle Replicate ( What is Replicate? ) Spaces Toggle Hugging Face Spaces ( What is Spaces? ) Spaces Toggle TXYZ.AI ( What is TXYZ.AI? ) Related Papers Recommenders and Search Tools Link to Influence Flower Influence Flower ( What are Influence Flowers? ) Core recommender toggle CORE Recommender ( What is CORE? ) IArxiv recommender toggle IArxiv Recommender ( What is IArxiv? ) Author Venue Institution Topic About arXivLabs arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs . Which authors of this paper are endorsers? | Disable MathJax ( What is MathJax? )