# Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks

코드 토커와 함께 흐름을 잃다: 코드 작업에서 대형 언어 모델의 지시 튜닝 비용 드러내기

Shi Ying Chang, Chiok Yew Ho, Yichen Li, Yintong Huo · arXiv · 2026년 6월 7일

- **연구 문제** 명령어 튜닝된 코드 LLM은 자연어 지시에는 강하지만, 인필링과 완성 과제에서 성능 비용이 있는지가 불분명했습니다.
- **연구 방법** 기반 모델과 명령어 모델을 인필링, 완성 벤치마크에서 비교하고 Magicoder 파이프라인의 중간 체크포인트를 평가했습니다.
- **주요 결과** Qwen2.5-Coder의 명령어 모델은 여러 인필링 설정에서 기반 모델보다 낮은 경우가 많았고, 일부 완성 과제에서는 높았습니다. 인필링 계열 과제는 튜닝 과정에서 전반적으로 하락했습니다.

## 명령어 튜닝이 코드 과제에 미치는 비용

명령어 튜닝된 코드 LLM은 자연어 지시를 코드로 바꾸는 데 강하지만, 이 방식이 IDE 안에서 커서 주변을 채우는 인필링과 완성 과제에도 똑같이 유리한지는 분명하지 않습니다. 이 논문은 개발자의 작업 모드를 Flow와 Command로 나누고, 명령어 튜닝이 두 모드 사이에서 트레이드오프를 만드는지 실험으로 확인합니다. 저자들은 이를 Instruction-Tuning Tax라고 부릅니다. 논문은 이 현상을 처음으로 실증한 연구라고 밝힙니다.

![Figure 1: Flow mode vs. Command mode of modern coding tools](https://refivu.com/papers/9c5c4cac-6576-4e60-97d0-311199a7b11c/figures/figure-9d0c8020ad546c64790529e8b9ddae07.png?thumb=512)

**Fig. 1** . Flow mode vs. Command mode of modern coding tools.

[원문](https://arxiv.org/abs/2606.08676v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shi Ying Chang, Chiok Yew Ho, Yichen Li, Yintong Huo · Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## 인필링, 완성, 명령어 과제의 입력 구성

인필링 과제는 코드 조각을 접두부 p, 중간부 m, 접미부 s로 나누고 모델이 p와 s를 보고 m을 생성하도록 합니다. 원문은 FIM 템플릿에서 prefix, suffix, middle을 표시하는 특수 토큰을 사용한다고 설명합니다. 완성 과제는 함수 선언과 주석 또는 docstring의 지침을 입력하고 이어질 코드를 왼쪽에서 오른쪽으로 생성하게 합니다. 명령어 과제는 과제 맥락을 하나의 지시문으로 만들고 명령어 모델의 채팅 템플릿에 넣습니다. 따라서 세 과제는 입력 경로가 서로 다르며, 명령어 모델만 채팅 템플릿을 사용합니다.

![Figure 3: Experimental settings of our study design corresponding to the research questions](https://refivu.com/papers/9c5c4cac-6576-4e60-97d0-311199a7b11c/figures/figure-f7e2bfa5b11483efd98243b31a8e3a78.png?thumb=512)

**Fig. 3** . Experimental settings of our study design corresponding to the research questions.

[원문](https://arxiv.org/abs/2606.08676v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shi Ying Chang, Chiok Yew Ho, Yichen Li, Yintong Huo · Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 기반 모델과 명령어 모델의 비교 결과

RQ1에서는 Qwen2.5-Coder와 DeepSeek-Coder의 기반 모델과 명령어 모델을 인필링 및 완성 벤치마크에서 Pass@1로 비교했습니다. Qwen2.5-Coder의 명령어 모델은 여러 인필링 설정에서 기반 모델보다 낮은 경우가 많았습니다. 반면 일부 완성 과제에서는 명령어 모델이 더 높은 점수를 보였습니다. 이 결과는 두 모델 계열, 여러 파라미터 규모, 지정된 벤치마크 조건에서 관찰된 것입니다. 다른 모델이나 과제로 일반화하기 전에 해당 조건을 확인해야 합니다.

![Table 1: Statistics of the benchmark datasets used in this study. RQ1 and RQ2 evaluate Fill-in-the-Middle and Completion benchmarks only, while RQ3 additionall…](https://refivu.com/papers/9c5c4cac-6576-4e60-97d0-311199a7b11c/figures/figure-f672642d03afa67baa3358772513732a.png?thumb=512)

**Table 1** . Statistics of the benchmark datasets used in this study. RQ1 and RQ2 evaluate Fill-in-the-Middle and Completion benchmarks only, while RQ3 additionally includes Instruction Following benchmarks.

[원문](https://arxiv.org/abs/2606.08676v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shi Ying Chang, Chiok Yew Ho, Yichen Li, Yintong Huo · Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Table 2: Evaluation results of Qwen2.5-Coder models on Fill-in-the-Middle and Completion tasks. Brackets for instruct models indicate the relative difference c…](https://refivu.com/papers/9c5c4cac-6576-4e60-97d0-311199a7b11c/figures/figure-c20d8b6967e43851f0ea0209f4023757.png?thumb=512)

**Table 2** . Evaluation results of Qwen2.5-Coder models on Fill-in-the-Middle and Completion tasks. Brackets for instruct models indicate the relative difference compared to their corresponding base models.

[원문](https://arxiv.org/abs/2606.08676v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shi Ying Chang, Chiok Yew Ho, Yichen Li, Yintong Huo · Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

![Table 3: Evaluation results of DeepSeek-Coder models on Fill-in-the-Middle and Completion tasks. Brackets for instruct models indicate the relative difference…](https://refivu.com/papers/9c5c4cac-6576-4e60-97d0-311199a7b11c/figures/figure-5aad775389c4a58c45ca589ef36c6f1c.png?thumb=512)

**Table 3** . Evaluation results of DeepSeek-Coder models on Fill-in-the-Middle and Completion tasks. Brackets for instruct models indicate the relative difference compared to their corresponding base models.

[원문](https://arxiv.org/abs/2606.08676v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shi Ying Chang, Chiok Yew Ho, Yichen Li, Yintong Huo · Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

## 명령어 튜닝 과정의 체크포인트 변화

RQ3에서는 Qwen2.5-Coder-7B-Base를 Magicoder 파이프라인으로 두 단계 튜닝하고, OSS-Instruct-75K에서 5%에서 100%까지, Evol-Instruct-110K에서 20%에서 100%까지 중간 체크포인트를 만들어 평가했습니다. 인필링 계열 과제는 기반 모델 대비 전반적으로 하락하는 경향을 보였지만, 중간 단계에서 일시적으로 회복하기도 했습니다. 명령어 지향 과제의 기반 모델 점수는 평가되지 않아 NA로 보고됩니다. 따라서 명령어 과제의 단계별 상승은 75K 단계와 110K 단계 사이에서 비교해야 합니다.

![Table 8: Evaluation results of intermediate checkpoints obtained from instruction-tuning Qwen2.5-Coder-7B via the Magicoder pipeline (OSS-Instruct-75k followed…](https://refivu.com/papers/9c5c4cac-6576-4e60-97d0-311199a7b11c/figures/figure-8b8f64d2b7ac364304ddac7f01d94bab.png?thumb=512)

**Table 8** . Evaluation results of intermediate checkpoints obtained from instruction-tuning Qwen2.5-Coder-7B via the Magicoder pipeline (OSS-Instruct-75k followed by Evol-Instruct-110k). Brackets in HE(+) and MBPP(+) indicate the evaluation results with extra test cases.

[원문](https://arxiv.org/abs/2606.08676v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shi Ying Chang, Chiok Yew Ho, Yichen Li, Yintong Huo · Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

![Table 9: Stage-level grouped averages with relative changes. Infilling and Completion deltas are computed relative to the corresponding base family averages. I…](https://refivu.com/papers/9c5c4cac-6576-4e60-97d0-311199a7b11c/figures/figure-91e8b55de60bb5ad3520567cf2fb2ced.png?thumb=512)

**Table 9** . Stage-level grouped averages with relative changes. Infilling and Completion deltas are computed relative to the corresponding base family averages. Instruction Δ† is computed relative to the 75k instruction- family average, since the base model was not evaluated on the instruction-oriented benchmarks.

[원문](https://arxiv.org/abs/2606.08676v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shi Ying Chang, Chiok Yew Ho, Yichen Li, Yintong Huo · Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

## 재현 범위와 해석의 한계

RQ3의 튜닝은 공개된 Magicoder 파이프라인과 데이터를 따른 비교적 작은 규모의 통제 실험입니다. 따라서 공식 상용 명령어 모델의 전체 post-training 과정을 재현한 것은 아닙니다. 저자들도 이 실험을 공식 모델의 전체 궤적을 복원하는 연구가 아니라 공개 튜닝 설정에서의 민감도 분석으로 설명합니다. 또한 공개 벤치마크와 공개 모델을 사용하므로 데이터 오염 가능성을 완전히 배제할 수 없습니다.

## 논문 정보

- **저자**: Shi Ying Chang, Chiok Yew Ho, Yichen Li, Yintong Huo
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 6월 7일
- **등록일**: 2026년 11월 5일
- **수정일**: 2026년 6월 7일
- **버전**: v1
- **arXiv**: 2606.08676
- **분류**: cs.SE · cs.AI · cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

AI coding assistants have significantly improved developer productivity by automatically suggesting code that aligns with user intent, and many of these tools are now integrated directly into Integrated Development Environments (IDEs). Developers interact with code in two distinct cognitive modes: Flow and Command. While developers require tools that directly complete or infill code in unfinished programs during Flow mode, they also need tools that can comprehend intentions expressed as natural-language instructions and convert them into executable code in Command mode. Although instruction-tuned Large Language Models (LLMs) dominate many application scenarios due to their abilities to infer and fulfill developers' intents, it remains unclear whether the same paradigm is equally suitable for different code-related tasks. Therefore, it is necessary to understand how instruction tuning affects the feasibility of CodeLLMs as coding assistants. To fill this gap, we conduct the first empirical study that uncovers a key trade-off caused by instruction tuning across programming modes, which we term the Instruction-Tuning Tax. Our results show that instruction tuning is not a free lunch: although instruction-tuned models are more capable of following instructions and leveraging structured guidance, these gains often come at the cost of weaker infilling performance. We further extend our study through both qualitative and quantitative analyses, including manual failure categorization, behavioral metrics that capture generation fidelity, and intermediate-checkpoint evaluation throughout the tuning process. Summarizing our results into seven findings and four implications, our study offers a new perspective on the development of AI-powered coding tools and highlights the need to carefully balance instruction-following ability with effective code generation assistance.

## 원문 인용

Shi Ying Chang, Chiok Yew Ho, Yichen Li, Yintong Huo (2026). Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks. arXiv:2606.08676v1. https://arxiv.org/abs/2606.08676v1

**BibTeX**

```
@misc{chang2026lost,
  title = {{Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks}},
  author = {Shi Ying Chang and Chiok Yew Ho and Yichen Li and Yintong Huo},
  year = {2026},
  eprint = {2606.08676},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.08676v1}
}
```

## 이 논문의 용어

- [Pass@1](https://refivu.com/terms/0b5f8fd75383-pass-1)
- [DeepSeek-Coder](https://refivu.com/terms/d8886bf32213-deepseek-coder)
- [Fill-in-the-Middle](https://refivu.com/terms/3f5b63e96136-fill-in-the-middle)
- [Qwen2.5-Coder](https://refivu.com/terms/9e5141f17e53-qwen2-5-coder)
- [SAFIM](https://refivu.com/terms/b69f4c44c989-safim)

## 다른 논문 해설

- [Language Models Can Benefit from Domain-Specific Inductive Biases](https://refivu.com/papers/ecf0e8f5-8763-4d53-8896-37d657f3527c-language-models-can-benefit-from-domain-specific-inductive.md)
- [Evaluating LLMs as Judges of Counterspeech Quality Against Online Hate Speech](https://refivu.com/papers/d2d1f40b-1fe4-4cae-8794-5a84f3a546b6-evaluating-llms-as-judges-of-counterspeech-quality-against.md)
- [Are LLM Assistants Regulatory Ready? Answers from regenold's 2026 EU AI Act Q&A Challenge](https://refivu.com/papers/9b6889ca-15e2-465e-a64c-a042438c119c-are-llm-assistants-regulatory-ready-answers-from-regenold.md)
- [PianoBench: Evaluating Musical Perception and Reasoning in Language Models](https://refivu.com/papers/303d2599-ed54-4e1e-92e2-9ef775204ad7-pianobench-evaluating-musical-perception-and-reasoning-in.md)
- [MIMIC-Note-Extract: A Large-Scale Structured Dataset Extracted from MIMIC-IV-Note Discharge Summaries](https://refivu.com/papers/c3134221-3727-4425-a2de-b05c03c5f21c-mimic-note-extract-a-large-scale-structured-dataset.md)
- [Collaborative Search Meets Large Language Models: An Empirical Study](https://refivu.com/papers/61599d2c-6b5e-4816-9d4f-bf9423d1b094-collaborative-search-meets-large-language-models-an.md)
- [Explaining Sequence-Level Knowledge Distillation as Data-Augmentation for Neural Machine Translation](https://refivu.com/papers/bed362a2-5462-4d3e-b4f6-dbaa75490982-explaining-sequence-level-knowledge-distillation-as-data.md)
- [On the generalization capabilities of FSL methods through domain adaptation: a case study in endoscopic kidney stone image classification](https://refivu.com/papers/d0852ca3-f9f1-4ed4-b12e-f39db82c6c87-on-the-generalization-capabilities-of-fsl-methods-through.md)
- [Restoring Negative Information in Few-Shot Object Detection](https://refivu.com/papers/faae2551-d345-4f5a-be59-2e8774eba731-restoring-negative-information-in-few-shot-object-detection.md)
- [Edge-Cloud Collaborated Object Detection via Difficult-Case Discriminator](https://refivu.com/papers/6c563382-b07f-4499-b0d2-cae4199ee500-edge-cloud-collaborated-object-detection-via-difficult-case.md)
- [Honest Small Decision Models for Finance: Scale, Specialization Collapse, and Mixed-Corpus Remediation](https://refivu.com/papers/7a9a2694-dbb6-41dd-a5c8-2f7bfc5a8bbf-honest-small-decision-models-for-finance-scale.md)
- [LoRA-Patch: Defending Against Backdoored LoRA Adapters via Directional Steering](https://refivu.com/papers/a2a0bf8e-4307-4c12-921a-7ff99465ceb9-lora-patch-defending-against-backdoored-lora-adapters-via.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/9c5c4cac-6576-4e60-97d0-311199a7b11c-lost-in-the-flow-with-code-talkers-unveiling)
