<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" 
      xmlns:media="http://search.yahoo.com/mrss/" 
      xmlns:content="http://purl.org/rss/1.0/modules/content/" 
      xmlns:dc="http://purl.org/dc/elements/1.1/" 
      version="2.0">
<channel>
<title>BANG-mj&#39;s Blog</title>
<link>https://bang-mj.github.io/</link>
<atom:link href="https://bang-mj.github.io/index.xml" rel="self" type="application/rss+xml"/>
<description>AI alignment</description>
<generator>quarto-1.9.38</generator>
<lastBuildDate>Sun, 21 Jun 2026 00:00:00 GMT</lastBuildDate>
<item>
  <title>ARENA로 AI Alignment 공부 시작하기</title>
  <dc:creator>Minji Bang</dc:creator>
  <link>https://bang-mj.github.io/posts/00-starting-arena/</link>
  <description><![CDATA[ 






<section id="시작하며" class="level2">
<h2 class="anchored" data-anchor-id="시작하며">시작하며</h2>
<p>정확한 분야를 정하지 못한채로 막연하게 MI, bias에 대해 한 학기 동안 연구를 했다. 내가 앞으로 나아갈 ’기술적’인 방향은 AI alignment가 맞겠다는 생각이 들어 본격적으로 공부하기로 했다. 무엇부터 어떻게 시작할지 한참 고민하다가 <strong>ARENA</strong>를 선택했고, 10주에 걸쳐 전체 커리큘럼을 따라가기로 계획을 세웠다. 6월말 ~ 8월말까지 방학기간에 집중적으로 공부를 해보려고 한다.</p>
<p>이 글은 ARENA AI alignment 커리큘럼을 따라가기 위해 set up한 환경과 계획에 대한 내용을 담을 예정이다. ARENA가 뭔지, 왜 선택했는지, 어떤 환경을 구축했는지, 10주 계획을 어떻게 세웠는지 정리해보려고 한다.</p>
</section>
<section id="arena란" class="level2">
<h2 class="anchored" data-anchor-id="arena란">ARENA란</h2>
<p><a href="https://www.arena.education/">ARENA (Alignment Research Engineer Accelerator)</a>는 AI safety 분야 입문자를 위한 실전 중심 커리큘럼이다. 원래는 런던에서 진행되는 4~5주짜리 풀타임 부트캠프지만, 모든 커리큘럼이 <a href="https://learn.arena.education/">공개돼있어서</a> 누구나 자율학습할 수 있다.</p>
<p>특징:</p>
<ul>
<li><strong>코드 중심</strong>: 트랜스포머, RL 알고리즘, SAE 등을 처음부터 직접 구현</li>
<li><strong>최신 연구 반영</strong>: Anthropic, DeepMind, UK AISI 등의 최근 논문이 실습으로 들어있음</li>
<li><strong>공개 자료</strong>: 모든 노트북이 <a href="https://github.com/callummcdougall/ARENA_3.0">GitHub</a>에 있고 Colab에서 바로 실행 가능</li>
</ul>
<p>5개 챕터로 구성돼있는데, 0번은 워밍업이고 1~4번이 본격적인 alignment 관련 내용이다.</p>
</section>
<section id="개-챕터-구조" class="level2">
<h2 class="anchored" data-anchor-id="개-챕터-구조">5개 챕터 구조</h2>
<section id="chapter-0-fundamentals" class="level3">
<h3 class="anchored" data-anchor-id="chapter-0-fundamentals">Chapter 0 — Fundamentals</h3>
<p>PyTorch 기초, CNN/ResNet, 옵티마이저, autograd 직접 구현, VAE/GAN.</p>
</section>
<section id="chapter-1-transformer-interpretability" class="level3">
<h3 class="anchored" data-anchor-id="chapter-1-transformer-interpretability">Chapter 1 — Transformer Interpretability ⭐</h3>
<p>ARENA에서 가장 큰 챕터. 트랜스포머를 처음부터 구현하고, Anthropic의 transformer circuits 연구를 따라간다. Mechanistic interpretability 입문에 좋다. SAE, IOI circuit, superposition 등 핵심 주제 다수. Anthropic의 trtansformer circuits을 지난 워크샵에서 다뤘는데, 이번에 실전 경험을 하면 더 깊이 이해가 될 것 같다. 또한 현재 진행하고 있는 연구가 SAE와 직결되기 때문에 연구에도 도움이 많이 될 것으로 예상된다.</p>
<p>세부 트랙이 세 개로 나뉘어있다: - <strong>Probing &amp; Representations</strong>: Linear probes, SAEs, Function vectors - <strong>Circuits in LLMs</strong>: IOI, SAE Circuits<br>
- <strong>Toy Models</strong>: Balanced brackets, Grokking, OthelloGPT, Superposition</p>
</section>
<section id="chapter-2-reinforcement-learning" class="level3">
<h3 class="anchored" data-anchor-id="chapter-2-reinforcement-learning">Chapter 2 — Reinforcement Learning</h3>
<p>RL 기초부터 PPO, 그리고 <strong>RLHF</strong>까지. Chapter 1에서 만든 트랜스포머에 RLHF를 적용한다.</p>
</section>
<section id="chapter-3-llm-evaluations" class="level3">
<h3 class="anchored" data-anchor-id="chapter-3-llm-evaluations">Chapter 3 — LLM Evaluations</h3>
<p>요즘 AI safety 현업에서 수요가 가장 큰 분야 중 하나. UK AISI의 Inspect 라이브러리로 모델 평가, LLM agent 평가까지 다룬다.</p>
</section>
<section id="chapter-4-alignment-science" class="level3">
<h3 class="anchored" data-anchor-id="chapter-4-alignment-science">Chapter 4 — Alignment Science</h3>
<p>가장 frontier에 가까운 챕터. Anthropic의 alignment science 연구와 직결된다. Emergent misalignment, LLM psychology, persona vectors, investigator agents 등.</p>
</section>
</section>
<section id="주-학습-계획" class="level2">
<h2 class="anchored" data-anchor-id="주-학습-계획">10주 학습 계획</h2>
<p>전체 31개 섹션 중 핵심을 중심으로 10주 안에 마치는 걸 목표로 한다. ARENA 풀타임 부트캠프가 4~5주인 걸 감안하면 자율학습으로 10주는 빡빡하지만 방학 안에 끝내는 걸 목표로 한다.</p>
<table class="caption-top table">
<colgroup>
<col style="width: 33%">
<col style="width: 33%">
<col style="width: 33%">
</colgroup>
<thead>
<tr class="header">
<th>주차</th>
<th>챕터</th>
<th>핵심 내용</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Week 1</td>
<td>Ch 0</td>
<td>Fundamentals — Backprop 위주 워밍업</td>
</tr>
<tr class="even">
<td>Week 2~5</td>
<td>Ch 1</td>
<td>Transformer Interpretability — 트랜스포머 구현 → Mech Interp → SAE → IOI 회로</td>
</tr>
<tr class="odd">
<td>Week 6~7</td>
<td>Ch 2</td>
<td>RL — PPO + RLHF</td>
</tr>
<tr class="even">
<td>Week 8</td>
<td>Ch 3</td>
<td>LLM Evaluations — Inspect 라이브러리 활용</td>
</tr>
<tr class="odd">
<td>Week 9~10</td>
<td>Ch 4</td>
<td>Alignment Science — Emergent misalignment, Persona vectors</td>
</tr>
</tbody>
</table>
<p>각 섹션은 ARENA가 제공하는 difficulty/importance 표시를 참고해서 ⭐⭐⭐ 이상 위주로 풀고, 그 미만은 시간에 따라 스킵하기로 했다. 모든 걸 풀려고 하면 페이스가 무너진다는 걸 ARENA 자체도 명시하고 있다. 또한 이 계획은 상황에 따라 유동적으로 바뀔수도 있다.</p>
<p>주당 평균 15~20시간 정도를 목표로 하고 있다. 평일 저녁 + 주말로 분배할 계획이다. 이번 방학에는 개인 연구, 협업 연구, 워크샵 준비를 병행해야한다. 시간을 잘 관리해서 어느 하나도 놓치지 않도록 하고 싶다. 아자자~</p>
</section>
<section id="학습-환경-셋업" class="level2">
<h2 class="anchored" data-anchor-id="학습-환경-셋업">학습 환경 셋업</h2>
<section id="작업-환경" class="level3">
<h3 class="anchored" data-anchor-id="작업-환경">작업 환경</h3>
<ul>
<li><strong>IDE</strong>: VS Code (Remote-SSH로 연구실 서버 접속)</li>
<li><strong>서버</strong>: 연구실 GPU 서버 (Driver 570.124.04, CUDA 12.8)</li>
<li><strong>가상환경</strong>: Conda <code>arena</code> (Python 3.11)</li>
<li><strong>PyTorch</strong>: 2.x + cu128</li>
</ul>
</section>
<section id="워크플로-선택" class="level3">
<h3 class="anchored" data-anchor-id="워크플로-선택">워크플로 선택</h3>
<p>ARENA는 세 가지 접근 방식을 제공한다:</p>
<ol type="1">
<li>Colab 노트북에서 바로 풀기</li>
<li>VS Code에서 blank Python 파일로 풀기</li>
<li>VS Code에서 노트북 파일 복사해 풀기</li>
</ol>
<p>나는 <strong>2번 (VS Code + blank <code>.py</code> 파일)</strong> 을 골랐다. 이유:</p>
<ul>
<li>Git history에 학습 흔적이 깔끔하게 남는다</li>
<li>나중에 블로그 글로 옮기기 쉽다 (<code>.py</code> 파일은 마크다운 변환 부담이 없다)</li>
<li>ARENA 공식 안내도 “in-person 참가자에게 강력 추천”이라고 언급한다</li>
<li>실제 ML 연구 워크플로에 가깝다</li>
</ul>
<p><code># %%</code> 셀 구분자로 VS Code에서 Jupyter처럼 인터랙티브하게 실행할 수 있어서 노트북의 장점도 살릴 수 있다.</p>
</section>
<section id="repository-구조" class="level3">
<h3 class="anchored" data-anchor-id="repository-구조">Repository 구조</h3>
<p>원본 ARENA repo를 <strong>내 GitHub으로 fork</strong>한 다음, 서버에 clone했다. 이렇게 하면:</p>
<ul>
<li>본인 풀이를 본인 fork에 자유롭게 commit/push할 수 있다</li>
<li>원본이 업데이트되면 <code>git fetch upstream</code>으로 가져올 수 있다</li>
<li>학습 흔적이 GitHub history에 영구 보존된다</li>
</ul>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># Fork → clone</span></span>
<span id="cb1-2"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">git</span> clone git@github.com:BANG-mj/ARENA_3.0.git</span>
<span id="cb1-3"><span class="bu" style="color: null;
background-color: null;
font-style: inherit;">cd</span> ARENA_3.0</span>
<span id="cb1-4"><span class="fu" style="color: #4758AB;
background-color: null;
font-style: inherit;">git</span> remote add upstream https://github.com/callummcdougall/ARENA_3.0.git</span></code></pre></div></div>
</section>
<section id="진행-추적-notion-데이터베이스" class="level3">
<h3 class="anchored" data-anchor-id="진행-추적-notion-데이터베이스">진행 추적 — Notion 데이터베이스</h3>
<p>ARENA 31개 섹션을 트래킹할 Notion 데이터베이스를 만들었다. 각 섹션마다 다음을 기록한다:</p>
<ul>
<li><strong>Status</strong>: 시작 전 / 진행 중 / 완료</li>
<li><strong>Importance / Difficulty</strong>: ⭐ 평가</li>
<li><strong>Date Started / Completed / Hours Spent</strong>: 시간 추적</li>
<li><strong>My Code</strong>: GitHub 풀이 링크</li>
<li><strong>Key Concepts</strong>: 태그</li>
<li>페이지 본문: 학습 노트, 코드 하이라이트, 막힌 부분, 회고</li>
</ul>
<p>진행률이 한눈에 보여서 동기부여에 좋고, 나중에 회고할 때도 자료가 풍부할 것 같다. 또한 이 내용을 바탕으로 블로그에 다시 한번 정리할 예정이다.</p>
</section>
</section>
<section id="블로그를-만든-이유" class="level2">
<h2 class="anchored" data-anchor-id="블로그를-만든-이유">블로그를 만든 이유</h2>
<p>학습 흔적을 공개적으로 남기기 위해 이 블로그를 만들었다. Quarto + GitHub Pages를 사용했고, Jupyter 노트북을 그대로 글로 만들 수 있어서 ARENA 학습 정리에 적합하고 생각했다.</p>
<p>단순히 내용을 따라 쓰기 보다는 내 언어로 바꾸어 설명하는 과정에서 더 깊은 이해를 할 수 있을 것 같다. 또한 나중에 내가 정리한 내용을 다시 확인하기도 유용할 것 같다. 방학 동안 꾸준히 공부하고 글을 올려서 내 커리어에도 도움이 되면 좋겠다.</p>
<p>목표: 매주 1개 정도의 글. 완벽한 글보다 rough한 글이라도 꾸준히 올리기.</p>
<p>다음 글은 Chapter 0 첫 섹션 (0.0 Prerequisites) 풀이 후기가 될 예정이다.</p>


</section>

 ]]></description>
  <category>arena</category>
  <category>ai-alignment</category>
  <guid>https://bang-mj.github.io/posts/00-starting-arena/</guid>
  <pubDate>Sun, 21 Jun 2026 00:00:00 GMT</pubDate>
  <media:content url="https://bang-mj.github.io/posts/00-starting-arena/arena_logo.jpg" medium="image" type="image/jpeg"/>
</item>
</channel>
</rss>
