C.W.K.
Stream
Lesson 05 of 05 · published

Position Bias 대처 전술

~22 min · position, ordering, duplication

Level 0Window Watcher
0 XP0/50 lessons0/13 achievements
0/100 XP to next level100 XP to go0% complete

'앞에 둬' 너머

Position bias 받아들이면 의도적으로 싸울 수 있어. 표준 전술: edge-place authority(앞과 끝), 정말 중요하면 critical rule을 양 끝에 duplicate, distinctive delimiter로 section 분리해 모형이 다시 위치 찾게, 관련 사실 멀리 흩지 마.

Duplication이 맞을 때도 있다

엔지니어는 duplication 싫어해. 하지만 한 문장이 전체 task를 결정할 때('do not push without confirmation'), long context 끝에 한 번 더 반복하면 position-bias loss 대부분 회복돼. token 비용은 trivial, alignment 이득은 real.

Section marker

distinctive marker(XML tag, all-caps header, --- separator) 써서 모형이 long input 가운데에서도 rules section 다시 찾을 수 있게. 모형이 attention 동안 이 marker를 structural anchor로 쓴다.

가운데 둬야 한다면, 모형이 다시 navigate할 수 있을 만큼 boundary 큰소리로 표시.

Code

Duplicated authority rule·markdown
# Top of prompt
<rules>
- Do not run git push without explicit human confirmation.
- Use the existing dev server.
</rules>

... (long context) ...

# Bottom of prompt, just before the question
<reminder>
Do not run git push without explicit human confirmation.
</reminder>

USER: ship the latest changes
XML section anchor·xml
<rules>...</rules>
<sources>
  <file path="...">...</file>
</sources>
<state>
  current_branch: feature/x
  pending_action: review
</state>
<task>
  Summarize the diff and propose tests.
</task>

External links

Exercise

긴 실제 prompt 골라. 명시적 section marker 추가하고 critical authority rule 하나 끝에 duplicate. 변경 전후로 두 번 돌려 behavior 변화 관찰.
Hint
차이 안 보이면, prompt가 충분히 짧았거나 rule이 사실 critical 아니었거나.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.