研究の最前線:AGI とその先
エージェントの堅牢性、長期記憶、マルチエージェント協調に関する未解決問題を探ります。
「研究の最前線:AGI とその先」はCoddyKit上の無料AI Agentsレッスンです。 これはレッスン4/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはAI Agents学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 AI Agentsコースには全4レッスンが含まれています。
2025年のAIエージェントの現状
2025年現在、大規模言語モデルを基盤とするAIエージェントは、複雑な複数ステップのタスクを確実に完了し、ツールを使い、複数のモダリティにまたがって推論し、限定的な監督のもとで動作できるようになっています。しかし、エージェントが真の汎用的能力に到達するには、いくつかの根本的な課題がまだ解決されていません。
このレッスンでは、次世代のAIを形作る未解決の研究領域を概観します。
未解決問題1:長期的な記憶
現在のLLMには128K~1Mトークンのコンテキストウィンドウがあります。これは impressive ですが、数か月にわたるタスクには依然として限界があります。未解決の問題は、重要な詳細を失ったり、ハルシネーションを生じさせたりすることなく、真に長期的な記憶を確実に圧縮し、検索し、推論する方法です。
# Illustration of long-horizon memory challenges:
LONG_HORIZON_CHALLENGES = {
'compression': {
'problem': 'Summarising months of interactions loses nuance',
'current_approach': 'Hierarchical summarisation (recent detail, old summary)',
'limitation': 'Important details get compressed away; hallucination risk in summaries'
},
'retrieval': {
'problem': 'Finding the relevant memory among millions of entries',
'current_approach': 'Embedding-based similarity search (vector databases)',
'limitation': 'Semantic similarity does not always match relevance; false negatives'
},
'reasoning_over_time': {
'problem': 'Connecting observations from 6 months apart',
'current_approach': 'Temporal indexing + LLM reasoning',
'limitation': 'LLMs struggle with precise temporal ordering of distant events'
}
}
for challenge, details in LONG_HORIZON_CHALLENGES.items():
print(f'{challenge}: {details["limitation"][:80]}')未解決問題2:ドメイン横断の堅牢性
現在のエージェントは脆弱です。カスタマーサポート向けにファインチューニングされたエージェントが、新しいドメイン(医療、法律、技術)で類似したタスクに失敗することがあります。本当の堅牢性とは、エージェントが明示的に訓練されたことのないタスクやドメインでも高い性能を発揮することです。これはAGIにとって重要な要件です。
# Measuring domain robustness
import statistics
def measure_domain_robustness(agent_fn, test_suite: dict) -> dict:
"""
test_suite: {domain: [(input, expected_output)]}
Returns per-domain accuracy and overall robustness score.
"""
domain_scores = {}
for domain, cases in test_suite.items():
correct = 0
for inp, expected in cases:
result = agent_fn(inp)
# Simplified scoring: check if expected phrase is in result
if expected.lower() in result.lower():
correct += 1
domain_scores[domain] = round(correct / len(cases), 3)
scores = list(domain_scores.values())
return {
'domain_scores': domain_scores,
'mean_accuracy': round(statistics.mean(scores), 3),
'min_accuracy': min(scores), # robustness = performance on worst domain
'variance': round(statistics.variance(scores), 4)
}
# High variance = brittle (good at some domains, bad at others)
# Low variance + high mean = robust
if __name__ == '__main__':
def toy_agent(inp):
return {
'2+2': 'The answer is 4',
'capital of France': 'Paris is the capital'
}.get(inp, 'I do not know')
test_suite = {
'math': [('2+2', '4')],
'geography': [('capital of France', 'paris')],
}
result = measure_domain_robustness(toy_agent, test_suite)
print('Domain scores:', result['domain_scores'])
print('Mean accuracy:', result['mean_accuracy'])
未解決問題3:マルチエージェント連携
専門化されたエージェントのネットワークを使えば、単一のエージェントの能力を超えるタスクにも取り組めます。しかし、エージェント同士の調整は困難です。エージェントは効率的に通信し、作業の重複を避け、対立を解決し、中央集権型のボトルネックなしに進捗を共有しなければなりません。
import anthropic
import json
client = anthropic.Anthropic(api_key='YOUR_API_KEY')
# Simple task negotiation between two agents
def negotiate_task_division(
task: str,
agent1_capabilities: list,
agent2_capabilities: list
) -> dict:
prompt = (
f'Task: {task}\n\n'
f'Agent A capabilities: {agent1_capabilities}\n'
f'Agent B capabilities: {agent2_capabilities}\n\n'
'How should this task be divided between Agent A and Agent B?\n'
'Minimise handoffs. Assign subtasks to the best-suited agent.\n'
'Return JSON: {"agent_a_tasks": [str], "agent_b_tasks": [str], '
'"shared_tasks": [str], "handoffs": int}'
)
response = client.messages.create(
model='claude-opus-4-5', max_tokens=512,
messages=[{'role': 'user', 'content': prompt}]
)
return json.loads(response.content[0].text)
# Open research challenge:
# How do agents coordinate without a central planner
# when each has only partial information?未解決問題4:解釈可能性
大規模なニューラルネットワークが特定の判断を下した理由を、私たちはまだ確実に説明できません。解釈可能性の研究は、モデル内部の回路、概念、推論パターンを特定することを目指しています。解釈可能性がなければ、アラインメントと安全性は行動テストだけに完全に依存することになります。しかし、行動テストではすべての失敗モードを検出できません。
# Practical interpretability techniques available today:
INTERPRETABILITY_TECHNIQUES = {
'chain_of_thought': {
'description': 'Ask model to show reasoning steps',
'limitation': 'CoT may not reflect true internal computation',
'example': 'Q: Why did you choose action X? A: Because...'
},
'attention_visualisation': {
'description': 'Show which input tokens the model attended to most',
'limitation': 'Attention != causation; incomplete explanation',
'example': 'Highlight most attended tokens in a response'
},
'logit_lens': {
'description': 'Read out predictions at each transformer layer',
'limitation': 'Requires model internals access (not API-accessible)',
'example': 'Prediction at layer 12 vs layer 24'
},
'activation_patching': {
'description': 'Intervene on specific neurons to find causal circuits',
'limitation': 'Research technique, not yet practical in production',
'example': 'Anthropic mechanistic interpretability research'
}
}
for technique, info in INTERPRETABILITY_TECHNIQUES.items():
print(f'{technique}: {info["limitation"][:80]}')現在の状況:2025年にモデルができること
2025年の最先端モデル(GPT-4o、Claude Opus 4、Gemini 1.5 Pro)は、長いコンテキストにわたる複数ステップの推論、信頼性の高いツール使用、視覚と音声の理解、多くの専門職向けベンチマークでの人間に近い性能、そして限定的ながら実用的なコード生成とデバッグを実証しています。
CAPABILITY_MAP_2025 = {
'strengths': [
'Multi-step reasoning (GSM8K, MATH near human performance)',
'Code generation (HumanEval >90%)',
'Instruction following (complex multi-part prompts)',
'Tool use (reliable function calling)',
'Vision understanding (OCR, chart analysis, scene description)',
'Context: 128K-1M tokens',
'Multi-agent orchestration (AutoGen, CrewAI frameworks)'
],
'limitations': [
'Long-horizon planning (>20 steps degrades significantly)',
'Reliable factual grounding without hallucination',
'Consistent reasoning in out-of-distribution domains',
'True causal reasoning (vs pattern matching)',
'Self-knowledge of own uncertainty',
'Physical world understanding without embodiment'
]
}
print('Strengths:', len(CAPABILITY_MAP_2025['strengths']))
print('Active limitations:', len(CAPABILITY_MAP_2025['limitations']))AGIへの道:主要な研究領域
研究者の間では、システムが汎用人工知能(AGI)に該当するために必要な能力について、おおむね意見が一致しています。少数の例から効率的に学習し、複数のドメインにわたって広く汎化し、相関関係だけでなく因果関係を推論し、オープンエンドな環境で堅牢に動作できなければなりません。
AGI_RESEARCH_AREAS = {
'sample_efficiency': {
'question': 'How to learn from 10 examples what LLMs need 10M for?',
'approaches': ['meta-learning', 'few-shot learning', 'in-context learning']
},
'causal_reasoning': {
'question': 'How to distinguish correlation from causation reliably?',
'approaches': ['causal graphs', 'do-calculus integration', 'intervention-based training']
},
'open_world_operation': {
'question': 'How to act effectively in environments not seen during training?',
'approaches': ['world models', 'imagination-based planning', 'transfer learning']
},
'recursive_self_improvement': {
'question': 'Can an agent improve its own architecture safely?',
'approaches': ['neural architecture search', 'prompt optimisation', 'constrained self-modification']
}
}
for area, info in AGI_RESEARCH_AREAS.items():
print(f'{area}: {info["question"][:70]}')エージェント開発者への実践的な示唆
研究の最前線を理解すると、より良いエンジニアリング上の判断ができるようになります。推論を検査可能にするためにchain-of-thoughtを使い、新しいドメインでは適切に失敗するエージェントを設計し、長期的なタスクには人間による監督を組み込み、可能な場合はより単純なアーキテクチャを優先してください。単純なシステムのほうが、より予測しやすい形で失敗します。
ENGINEERING_PRINCIPLES_FROM_RESEARCH = {
'long_horizon_memory': (
'Use hierarchical summaries + vector retrieval. '
'Set a hard context age limit and revalidate critical facts. '
'Never trust old memories without verification.'
),
'domain_robustness': (
'Evaluate your agent on held-out domains before production. '
'Monitor domain distribution of production inputs. '
'Fall back to human when input is out-of-distribution.'
),
'multi_agent': (
'Minimise inter-agent communication. '
'Use shared state (not message passing) where possible. '
'Assign clear non-overlapping scopes to each agent.'
),
'interpretability': (
'Always request chain-of-thought for high-stakes decisions. '
'Log all tool calls and intermediate reasoning steps. '
'Build anomaly detection on the CoT stream, not just final output.'
)
}
for principle, guidance in ENGINEERING_PRINCIPLES_FROM_RESEARCH.items():
print(f'{principle}: {guidance[:80]}...')創発的能力と予想外の発見
創発的能力とは、明示的に訓練されていないにもかかわらず、より大規模なモデルに予想外に現れる能力です。例として、文脈内学習、算術、chain-of-thought推論があります。こうした能力によって、能力の予測は難しくなります。次のブレークスルーは、誰もが驚くものになるかもしれません。
# Historical emergent capability timeline (approximate):
EMERGENCE_TIMELINE = [
{'year': 2020, 'scale': 'GPT-3 (175B)',
'emergent': 'Few-shot in-context learning without fine-tuning'},
{'year': 2022, 'scale': 'PaLM (540B)',
'emergent': 'Chain-of-thought reasoning with step-by-step prompts'},
{'year': 2023, 'scale': 'GPT-4',
'emergent': 'Reliable code generation, bar exam performance'},
{'year': 2024, 'scale': 'Claude 3 Opus, GPT-4o',
'emergent': 'Reliable multi-step tool use, vision-language integration'},
{'year': 2025, 'scale': 'Claude Opus 4, GPT-4o class',
'emergent': 'Extended multi-agent task delegation, agentic autonomy'}
]
for entry in EMERGENCE_TIMELINE:
print(f'{entry["year"]} ({entry["scale"]}): {entry["emergent"]}')
print('\nKey insight: capabilities can appear suddenly as scale increases — '
'current limitations may not be permanent.')安全性研究の全体像
安全性研究は、能力研究と並行して進められています。現在活発な主な領域には、スケーラブルな監督(自分たちより賢いエージェントをどう監督するか)、ディベート(2つのエージェントが議論し、人間が判定すること)、増幅(人間がAIを評価するのを助けるためにAIを再帰的に利用すること)、解釈可能性(モデルが内部で何をしているかを理解すること)があります。
SAFETY_RESEARCH_AREAS = {
'scalable_oversight': (
'Challenge: how do humans supervise agents that are better than us at the task?\n'
'Approach: break tasks into verifiable sub-problems humans can check\n'
'Status: active research at Anthropic, DeepMind, OpenAI'
),
'debate': (
'Challenge: finding truth when the agent is more capable than the evaluator\n'
'Approach: two AI agents argue for different answers; human judges quality of argument\n'
'Status: theoretical framework, limited empirical results'
),
'weak_to_strong_generalization': (
'Challenge: a weak supervisor training a stronger model\n'
'Approach: show strong model responses can be elicited by weak supervision\n'
'Status: OpenAI 2024 paper showed promising early results'
),
'interpretability': (
'Challenge: understanding neural network internals\n'
'Approach: mechanistic interp, sparse autoencoders, circuit analysis\n'
'Status: Anthropic found emotion-like representations in Claude'
)
}
for area, desc in SAFETY_RESEARCH_AREAS.items():
print(f'{area}:')
print(f' {desc.split(chr(10))[0]}')エージェント開発者としての次の一歩
AIエージェントをめぐる状況は急速に変化しています。これから活躍する開発者は、研究の最新動向を追い続け、監督とアラインメントを念頭に責任を持って構築し、適切な機能縮退を設計し、エージェントを単なるソフトウェアではなく社会技術的なシステムとして捉える人たちです。
DEVELOPER_ROADMAP = {
'immediate': [
'Master prompt engineering + few-shot design',
'Build reliable tool-use agents with retry + error handling',
'Implement proper logging, monitoring, and human oversight',
'Study agent frameworks: LangChain, AutoGen, CrewAI'
],
'next_6_months': [
'Build multi-agent systems with clear agent scopes',
'Implement vector memory + episodic reflection',
'Contribute to open-source agent tooling',
'Run proper evals: domain robustness, alignment red-teaming'
],
'long_term': [
'Follow interpretability research (Anthropic, DeepMind papers)',
'Engage with alignment research community',
'Build agents that remain human-overseen as capability grows',
'Contribute to safety-conscious deployment standards'
]
}
for horizon, items in DEVELOPER_ROADMAP.items():
print(f'{horizon}:')
for item in items:
print(f' - {item}')理解度チェック
大規模言語モデルにおいて、創発的能力という用語は何を意味するでしょうか?
復習:研究の最前線、AGI、そしてその先
AI Agentsの全コースシリーズを修了しました。おめでとうございます!このレッスンの最後のポイント:
- 未解決の問題:長期的な記憶、ドメイン横断の堅牢性、マルチエージェント連携、解釈可能性
- 現在の強み(2025年):ツール使用、視覚、推論、100万トークンのコンテキスト
- AGIへの道:サンプル効率、因果推論、オープンワールドでの動作
- 安全性研究:スケーラブルな監督、ディベート、弱いモデルから強いモデルへの汎化、解釈可能性
- あなたの役割:責任を持って構築し、継続的に監視し、あらゆるレベルで人間による監督を組み込む
AI Agentsのカリキュラムを修了していただき、ありがとうございます。これで、高度で安全かつ有能なエージェントシステムを構築する準備が整いました。
よくある質問
「研究の最前線:AGI とその先」レッスンは無料ですか?
はい。「研究の最前線:AGI とその先」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、AI Agentsコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 AI Agentsコースには全4レッスンが含まれています。
「研究の最前線:AGI とその先」で何を学びますか?
エージェントの堅牢性、長期記憶、マルチエージェント協調に関する未解決問題を探ります。 ブラウザで直接実行するハンズオンコードでAI Agentsを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
AI Agentsを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのAI Agentsは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン4/4です。
「研究の最前線:AGI とその先」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このAI Agentsレッスンでコードを書いて実行できますか?
はい。すべてのAI Agentsレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- アシスタントから自律エージェントへ
- ワールドモデルと予測的プランニング
- 自律エージェントにおけるアライメントの課題
- 研究の最前線:AGI とその先