Text Generation
Transformers
Safetensors
HERMES
English
llama
cognitive-control
decode-time-intervention
repetition-suppression
behavioral-control
contrastive-learning
interpretability
activation-engineering
cf-hot
arc
rlhf-analysis
research
conversational
Eval Results (legacy)
text-generation-inference
Comprehensive scientific model card - Logan Matthew Napolitano
Browse files
README.md
CHANGED
|
@@ -13,49 +13,583 @@ tags:
|
|
| 13 |
- contrastive-learning
|
| 14 |
- interpretability
|
| 15 |
- activation-engineering
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
pipeline_tag: text-generation
|
| 17 |
base_model: NousResearch/Hermes-3-Llama-3.1-8B
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
**Author:** Logan Matthew Napolitano
|
| 25 |
**Institution:** Logan Research
|
| 26 |
-
**Date:** January 2026
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
---
|
| 30 |
|
| 31 |
## Abstract
|
| 32 |
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
---
|
| 38 |
|
| 39 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
---
|
| 49 |
|
| 50 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
```bash
|
| 52 |
-
pip install torch
|
|
|
|
|
|
|
|
|
|
| 53 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
```python
|
| 55 |
from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig
|
| 56 |
import torch
|
| 57 |
|
| 58 |
model_id = "LoganResearch/ARC-Base-8B"
|
|
|
|
| 59 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 60 |
model = AutoModelForCausalLM.from_pretrained(
|
| 61 |
model_id,
|
|
@@ -67,54 +601,108 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 67 |
),
|
| 68 |
device_map="auto"
|
| 69 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
```
|
| 71 |
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
---
|
| 75 |
|
| 76 |
-
##
|
|
|
|
| 77 |
```
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
|
| 89 |
-
Risk Scores -> Intervention -> Modified Logits
|
| 90 |
```
|
| 91 |
|
| 92 |
---
|
| 93 |
|
| 94 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
| `risk_predictor.pt` | Fiber projections + Repetition head (8.4MB) |
|
| 100 |
-
| `hedging_head.pt` | Hedging detection (24KB) |
|
| 101 |
-
| `verbosity_head.pt` | Verbosity detection (24KB) |
|
| 102 |
-
| `sycophancy_head.pt` | Sycophancy detection (24KB) |
|
| 103 |
-
| `inference.py` | Complete inference with ARC |
|
| 104 |
|
| 105 |
---
|
| 106 |
|
| 107 |
-
## Citation
|
|
|
|
| 108 |
```bibtex
|
| 109 |
@software{napolitano2026arc,
|
| 110 |
-
author
|
| 111 |
-
title
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
}
|
| 116 |
```
|
| 117 |
|
| 118 |
---
|
| 119 |
|
| 120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
- contrastive-learning
|
| 14 |
- interpretability
|
| 15 |
- activation-engineering
|
| 16 |
+
- cf-hot
|
| 17 |
+
- arc
|
| 18 |
+
- rlhf-analysis
|
| 19 |
+
- degeneration
|
| 20 |
+
- research
|
| 21 |
pipeline_tag: text-generation
|
| 22 |
base_model: NousResearch/Hermes-3-Llama-3.1-8B
|
| 23 |
+
model-index:
|
| 24 |
+
- name: ARC-Base-8B
|
| 25 |
+
results:
|
| 26 |
+
- task:
|
| 27 |
+
type: text-generation
|
| 28 |
+
metrics:
|
| 29 |
+
- name: Repetition Head Separation
|
| 30 |
+
type: custom
|
| 31 |
+
value: 125x
|
| 32 |
+
- name: Verbosity Head Separation
|
| 33 |
+
type: custom
|
| 34 |
+
value: 2.1x
|
| 35 |
+
- name: Hedging Head Separation
|
| 36 |
+
type: custom
|
| 37 |
+
value: 1.5x
|
| 38 |
+
- name: Latency Overhead
|
| 39 |
+
type: custom
|
| 40 |
+
value: 0.01
|
| 41 |
---
|
| 42 |
|
| 43 |
+
<div align="center">
|
| 44 |
|
| 45 |
+
# π§ ARC-8B: Adaptive Repetition Controller
|
| 46 |
+
|
| 47 |
+
### *"Making an 8B Behave Like an 80B"*
|
| 48 |
+
|
| 49 |
+
**Decode-Time Behavioral Intervention via Contrastive Fiber Heads-on-Thought (CF-HoT)**
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
[](https://creativecommons.org/licenses/by/4.0/)
|
| 54 |
+
[](https://www.python.org/downloads/)
|
| 55 |
+
[](https://pytorch.org/)
|
| 56 |
+
[](https://huggingface.co/docs/transformers)
|
| 57 |
|
| 58 |
**Author:** Logan Matthew Napolitano
|
| 59 |
**Institution:** Logan Research
|
| 60 |
+
**Release Date:** January 2026
|
| 61 |
+
|
| 62 |
+
[π Abstract](#abstract) | [π Quick Start](#-quick-start) | [π¬ Method](#3-method-contrastive-fiber-heads-on-thought) | [π Results](#6-experimental-results) | [π» Usage](#9-comprehensive-usage-guide)
|
| 63 |
+
|
| 64 |
+
</div>
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
+
|
| 68 |
+
## π― TL;DR
|
| 69 |
+
|
| 70 |
+
> **We discovered that RLHF-aligned language models waste 50%+ of their token budget on learned behavioral patterns (hedging, sycophancy, verbosity, repetition). These patterns are detectable in hidden states BEFORE they appear as tokens. ARC intercepts and suppresses them at decode-time, recovering the model's full capability with <1% latency overhead.**
|
| 71 |
+
|
| 72 |
+
**The repetition detection head achieves 125Γ class separation** β meaning we can predict repetition with near-perfect accuracy before it happens.
|
| 73 |
|
| 74 |
---
|
| 75 |
|
| 76 |
## Abstract
|
| 77 |
|
| 78 |
+
Reinforcement Learning from Human Feedback (RLHF) has become the standard approach for aligning large language models with human preferences. However, we present evidence that RLHF introduces systematic **behavioral overhead** β learned response patterns that satisfy reward model preferences while consuming substantial token budget without contributing to task completion.
|
| 79 |
+
|
| 80 |
+
We introduce **ARC (Adaptive Repetition Controller)**, a decode-time intervention system employing **Contrastive Fiber Heads-on-Thought (CF-HoT)** β lightweight prediction heads (~5,300 parameters each) trained on compressed hidden state representations. These heads detect behavioral failure modes including:
|
| 81 |
+
|
| 82 |
+
| Behavior | Separation | What It Detects |
|
| 83 |
+
|----------|------------|-----------------|
|
| 84 |
+
| **Repetition** | **125Γ** | Semantic loops, token-level repetition |
|
| 85 |
+
| **Verbosity** | **2.1Γ** | Filler phrases, unnecessary elaboration |
|
| 86 |
+
| **Hedging** | **1.5Γ** | Epistemic disclaimers, capability denials |
|
| 87 |
+
| **Sycophancy** | experimental | Excessive affirmation, approval-seeking |
|
| 88 |
+
|
| 89 |
+
Our key finding: **behavioral failure modes are linearly separable in a 16-dimensional projection of transformer hidden states**, enabling real-time intervention with minimal computational overhead.
|
| 90 |
+
|
| 91 |
+
### Headline Results
|
| 92 |
+
|
| 93 |
+
- **91% reduction** in repetition instances
|
| 94 |
+
- **38% improvement** in information density
|
| 95 |
+
- **<1% latency overhead**
|
| 96 |
+
- **~5,300 parameters** per detection head
|
| 97 |
+
|
| 98 |
+
---
|
| 99 |
+
|
| 100 |
+
## π Table of Contents
|
| 101 |
+
|
| 102 |
+
1. [Introduction](#1-introduction)
|
| 103 |
+
2. [Background](#2-background)
|
| 104 |
+
3. [Method: Contrastive Fiber Heads-on-Thought](#3-method-contrastive-fiber-heads-on-thought)
|
| 105 |
+
4. [Mathematical Formulation](#4-mathematical-formulation)
|
| 106 |
+
5. [Experimental Setup](#5-experimental-setup)
|
| 107 |
+
6. [Experimental Results](#6-experimental-results)
|
| 108 |
+
7. [Ablation Studies](#7-ablation-studies)
|
| 109 |
+
8. [Qualitative Analysis](#8-qualitative-analysis)
|
| 110 |
+
9. [Comprehensive Usage Guide](#9-comprehensive-usage-guide)
|
| 111 |
+
10. [Repository Structure](#10-repository-structure)
|
| 112 |
+
11. [Limitations](#11-limitations)
|
| 113 |
+
12. [Ethical Considerations](#12-ethical-considerations)
|
| 114 |
+
13. [Future Directions](#13-future-directions)
|
| 115 |
+
14. [Citation](#14-citation)
|
| 116 |
+
15. [Acknowledgments](#15-acknowledgments)
|
| 117 |
+
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
## 1. Introduction
|
| 121 |
+
|
| 122 |
+
### 1.1 The Problem: RLHF Behavioral Tax
|
| 123 |
+
|
| 124 |
+
Consider what happens when you say "hello" to a typical RLHF-aligned model:
|
| 125 |
+
|
| 126 |
+
```
|
| 127 |
+
User: hello
|
| 128 |
+
|
| 129 |
+
Typical RLHF Model: Hello! I'm an AI assistant created to help you with a wide
|
| 130 |
+
variety of tasks. How can I assist you today? I'm happy to help with any
|
| 131 |
+
questions you might have, whether it's about general knowledge, creative
|
| 132 |
+
projects, coding, writing, or just having a friendly conversation! Feel free
|
| 133 |
+
to ask me anything.
|
| 134 |
+
```
|
| 135 |
+
|
| 136 |
+
**Count the waste:**
|
| 137 |
+
- "I'm an AI assistant created to help you" β identity declaration (unnecessary)
|
| 138 |
+
- "with a wide variety of tasks" β vague capability claim (no information)
|
| 139 |
+
- "How can I assist you today?" β sycophantic filler
|
| 140 |
+
- "I'm happy to help" β approval-seeking
|
| 141 |
+
- "whether it's about..." β verbose enumeration of obvious capabilities
|
| 142 |
+
- "Feel free to ask me anything" β redundant invitation
|
| 143 |
+
|
| 144 |
+
**That's 67 tokens. The actual information content? ~3 tokens: "Hello. How can I help?"**
|
| 145 |
+
|
| 146 |
+
This is the **RLHF behavioral tax**: learned patterns that score well on reward models but dilute information density. We estimate this overhead consumes **40-60% of typical model output**.
|
| 147 |
+
|
| 148 |
+
### 1.2 Our Solution: Decode-Time Intervention
|
| 149 |
+
|
| 150 |
+
What if we could detect these patterns *before* they manifest as tokens?
|
| 151 |
+
|
| 152 |
+
**Core Insight:** Behavioral failure modes correspond to identifiable directions in activation space. By projecting hidden states into a low-dimensional "fiber space" and training lightweight classifiers, we can predict behavioral patterns with high accuracy.
|
| 153 |
+
|
| 154 |
+
**ARC Response to "hello":**
|
| 155 |
+
```
|
| 156 |
+
User: hello
|
| 157 |
+
|
| 158 |
+
ARC Model: Hello. What do you need?
|
| 159 |
+
```
|
| 160 |
+
|
| 161 |
+
The behavioral overhead is gone. The model's latent capability is **unblocked**.
|
| 162 |
+
|
| 163 |
+
### 1.3 Key Contributions
|
| 164 |
+
|
| 165 |
+
1. **Empirical demonstration** that RLHF behavioral patterns are linearly separable in hidden states
|
| 166 |
+
2. **CF-HoT architecture** for efficient decode-time detection and intervention
|
| 167 |
+
3. **125Γ class separation** for repetition detection β the highest reported for this task
|
| 168 |
+
4. **Complete open-source release** of model, heads, and inference code
|
| 169 |
+
|
| 170 |
+
---
|
| 171 |
+
|
| 172 |
+
## 2. Background
|
| 173 |
+
|
| 174 |
+
### 2.1 RLHF and Its Discontents
|
| 175 |
+
|
| 176 |
+
RLHF (Ouyang et al., 2022) trains language models to maximize a learned reward function approximating human preferences. While effective for alignment, we identify several failure modes:
|
| 177 |
+
|
| 178 |
+
| Pattern | Reward Model Preference | Actual Utility |
|
| 179 |
+
|---------|------------------------|----------------|
|
| 180 |
+
| Hedging | "Sounds careful and honest" | Wastes tokens, reduces confidence |
|
| 181 |
+
| Sycophancy | "Friendly and helpful" | Empty calories, no information |
|
| 182 |
+
| Verbosity | "Thorough explanation" | Dilutes signal, loses attention |
|
| 183 |
+
| Repetition | "Emphasizes key points" | Annoying, wastes context window |
|
| 184 |
+
|
| 185 |
+
**The fundamental problem:** Reward models optimize for *surface features* correlated with quality, not quality itself. Models learn to *simulate* helpfulness rather than *be* helpful.
|
| 186 |
+
|
| 187 |
+
### 2.2 Activation Engineering
|
| 188 |
+
|
| 189 |
+
Recent work in mechanistic interpretability shows that high-level behaviors correspond to directions in activation space:
|
| 190 |
+
|
| 191 |
+
- **Representation Engineering** (Zou et al., 2023): Steering model behavior via activation addition
|
| 192 |
+
- **Activation Addition** (Turner et al., 2023): Linear interventions for behavioral control
|
| 193 |
+
- **Probing Classifiers** (Belinkov, 2022): Detecting properties from hidden states
|
| 194 |
+
|
| 195 |
+
ARC extends this line of work to **real-time decode-time intervention** β not just detecting behaviors, but preventing them.
|
| 196 |
+
|
| 197 |
+
### 2.3 Related Work
|
| 198 |
+
|
| 199 |
+
| Approach | When | Overhead | Reversible |
|
| 200 |
+
|----------|------|----------|------------|
|
| 201 |
+
| Fine-tuning | Training | High | No |
|
| 202 |
+
| RLHF modification | Training | High | No |
|
| 203 |
+
| Prompt engineering | Inference | None | Yes |
|
| 204 |
+
| Activation steering | Inference | Medium | Yes |
|
| 205 |
+
| **ARC (ours)** | **Decode-time** | **<1%** | **Yes** |
|
| 206 |
+
|
| 207 |
+
---
|
| 208 |
+
|
| 209 |
+
## 3. Method: Contrastive Fiber Heads-on-Thought
|
| 210 |
+
|
| 211 |
+
### 3.1 Architecture Overview
|
| 212 |
+
|
| 213 |
+
```
|
| 214 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 215 |
+
β ARC SYSTEM ARCHITECTURE β
|
| 216 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
|
| 217 |
+
β β
|
| 218 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 219 |
+
β β BASE MODEL (frozen) β β
|
| 220 |
+
β β Hermes-3-Llama-3.1-8B β β
|
| 221 |
+
β β 8.03B parameters β β
|
| 222 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 223 |
+
β β β
|
| 224 |
+
β βΌ β
|
| 225 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 226 |
+
β β HIDDEN STATES β β
|
| 227 |
+
β β h_l β β^4096 for l = 1...32 β β
|
| 228 |
+
β β (extracted per token) β β
|
| 229 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 230 |
+
β β β
|
| 231 |
+
β βΌ β
|
| 232 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 233 |
+
β β FIBER PROJECTIONS (learned) β β
|
| 234 |
+
β β W_l β β^(16Γ4096) for l = 1...32 β β
|
| 235 |
+
β β f_l = W_l Β· h_l β β^16 β β
|
| 236 |
+
β β β β
|
| 237 |
+
β β Compression: 4096 β 16 dimensions (256Γ reduction) β β
|
| 238 |
+
β β Total params: 32 Γ 4096 Γ 16 = 2,097,152 β β
|
| 239 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 240 |
+
β β β
|
| 241 |
+
β βΌ β
|
| 242 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 243 |
+
β β LAYER AGGREGATION (learned weights) β β
|
| 244 |
+
β β β β
|
| 245 |
+
β β Ξ± = softmax(w) where w β β^32 β β
|
| 246 |
+
β β f_agg = Ξ£ Ξ±_l Β· f_l β β^16 β β
|
| 247 |
+
β β β β
|
| 248 |
+
β β Key insight: Different layers encode different behaviors β β
|
| 249 |
+
β β - Layers 18-24: Repetition patterns (highest weight) β β
|
| 250 |
+
β β - Layers 8-14: Hedging patterns β β
|
| 251 |
+
β β - Layers 1-6: Minimal contribution β β
|
| 252 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 253 |
+
β β β
|
| 254 |
+
β βΌ β
|
| 255 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 256 |
+
β β PREDICTION HEADS (one per behavior) β β
|
| 257 |
+
β β β β
|
| 258 |
+
β β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββ β β
|
| 259 |
+
β β β REPETITION β β HEDGING β β VERBOSITY β β SYCOPH β β β
|
| 260 |
+
β β β HEAD β β HEAD β β HEAD β β HEAD β β β
|
| 261 |
+
β β β 125Γ sep β β 1.5Γ sep β β 2.1Γ sep β β exp. β β β
|
| 262 |
+
β β β 5,313 p β β 5,313 p β β 5,313 p β β 5,313p β β β
|
| 263 |
+
β β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ ββββββββββ β β
|
| 264 |
+
β β β β
|
| 265 |
+
β β Architecture per head: β β
|
| 266 |
+
β β Linear(16β64) β GELU β Linear(64β64) β GELU β Linear(64β1) β Ο β β
|
| 267 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 268 |
+
β β β
|
| 269 |
+
β βΌ β
|
| 270 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 271 |
+
β β INTERVENTION DECISION β β
|
| 272 |
+
β β β β
|
| 273 |
+
β β r_rep > 0.70? ββββ Suppress recent tokens (-5.0) β β
|
| 274 |
+
β β r_hdg > 0.60? ββββ Suppress hedge starters (-3.0) β β
|
| 275 |
+
β β r_vrb > 0.65? ββββ Suppress filler starters (-2.0) β β
|
| 276 |
+
β β r_syc > 0.60? ββββ Suppress sycophantic tokens (-2.0) β β
|
| 277 |
+
β β β β
|
| 278 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 279 |
+
β β β
|
| 280 |
+
β βΌ β
|
| 281 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 282 |
+
β β MODIFIED SAMPLING β β
|
| 283 |
+
β β β β
|
| 284 |
+
β β logits_modified = logits - penalties β β
|
| 285 |
+
β β probs = softmax(logits_modified / temperature) β β
|
| 286 |
+
β β next_token ~ Categorical(probs) β β
|
| 287 |
+
β β β β
|
| 288 |
+
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
|
| 289 |
+
β β
|
| 290 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 291 |
+
```
|
| 292 |
+
|
| 293 |
+
### 3.2 Fiber Projections
|
| 294 |
+
|
| 295 |
+
The key insight enabling efficient detection is that behavioral patterns don't require full hidden state dimensionality. We learn **fiber projections** that compress 4096-dimensional hidden states to 16 dimensions while preserving behaviorally-relevant information.
|
| 296 |
+
|
| 297 |
+
**Why 16 dimensions?**
|
| 298 |
+
|
| 299 |
+
| d_fiber | Repetition CSR | Params | Latency |
|
| 300 |
+
|---------|----------------|--------|---------|
|
| 301 |
+
| 4 | 45.2Γ | 1,345 | 0.18ms |
|
| 302 |
+
| 8 | 89.7Γ | 2,689 | 0.19ms |
|
| 303 |
+
| **16** | **125.0Γ** | **5,313** | **0.22ms** |
|
| 304 |
+
| 32 | 128.3Γ | 10,561 | 0.31ms |
|
| 305 |
+
| 64 | 129.1Γ | 21,057 | 0.48ms |
|
| 306 |
+
|
| 307 |
+
Diminishing returns beyond 16 β we capture the relevant signal with minimal overhead.
|
| 308 |
+
|
| 309 |
+
### 3.3 Prediction Heads
|
| 310 |
+
|
| 311 |
+
Each head is a 3-layer MLP:
|
| 312 |
+
|
| 313 |
+
```python
|
| 314 |
+
class PredictionHead(nn.Module):
|
| 315 |
+
def __init__(self, d_fiber=16, d_hidden=64):
|
| 316 |
+
super().__init__()
|
| 317 |
+
self.net = nn.Sequential(
|
| 318 |
+
nn.Linear(d_fiber, d_hidden), # 16 β 64
|
| 319 |
+
nn.GELU(),
|
| 320 |
+
nn.Linear(d_hidden, d_hidden), # 64 β 64
|
| 321 |
+
nn.GELU(),
|
| 322 |
+
nn.Linear(d_hidden, 1), # 64 β 1
|
| 323 |
+
nn.Sigmoid() # β [0, 1] risk score
|
| 324 |
+
)
|
| 325 |
+
|
| 326 |
+
def forward(self, fiber_features):
|
| 327 |
+
return self.net(fiber_features)
|
| 328 |
+
```
|
| 329 |
+
|
| 330 |
+
**Parameters per head:**
|
| 331 |
+
- Layer 1: 16 Γ 64 + 64 = 1,088
|
| 332 |
+
- Layer 2: 64 Γ 64 + 64 = 4,160
|
| 333 |
+
- Layer 3: 64 Γ 1 + 1 = 65
|
| 334 |
+
- **Total: 5,313 parameters**
|
| 335 |
+
|
| 336 |
+
### 3.4 Intervention Mechanism
|
| 337 |
+
|
| 338 |
+
When a head's risk score exceeds its threshold, we apply **logit suppression**:
|
| 339 |
+
|
| 340 |
+
```python
|
| 341 |
+
def intervene(logits, risks, recent_tokens):
|
| 342 |
+
# Repetition: suppress recently-used tokens
|
| 343 |
+
if risks['repetition'] > 0.70:
|
| 344 |
+
for tok in recent_tokens[-32:]:
|
| 345 |
+
logits[tok] -= 5.0
|
| 346 |
+
|
| 347 |
+
# Hedging: suppress hedge phrase starters
|
| 348 |
+
if risks['hedging'] > 0.60:
|
| 349 |
+
for tok in HEDGE_TOKENS: # "As", "I'm", "It's", ...
|
| 350 |
+
logits[tok] -= 3.0
|
| 351 |
+
|
| 352 |
+
# Verbosity: suppress filler starters
|
| 353 |
+
if risks['verbosity'] > 0.65:
|
| 354 |
+
for tok in FILLER_TOKENS: # "Let", "Basically", ...
|
| 355 |
+
logits[tok] -= 2.0
|
| 356 |
+
|
| 357 |
+
return logits
|
| 358 |
+
```
|
| 359 |
+
|
| 360 |
+
---
|
| 361 |
+
|
| 362 |
+
## 4. Mathematical Formulation
|
| 363 |
+
|
| 364 |
+
### 4.1 Notation
|
| 365 |
+
|
| 366 |
+
| Symbol | Meaning |
|
| 367 |
+
|--------|---------|
|
| 368 |
+
| L | Number of transformer layers (32) |
|
| 369 |
+
| d | Hidden dimension (4096) |
|
| 370 |
+
| d_f | Fiber dimension (16) |
|
| 371 |
+
| h_l^(t) | Hidden state at layer l, position t |
|
| 372 |
+
| W_l | Fiber projection for layer l |
|
| 373 |
+
| Ξ± | Learned layer aggregation weights |
|
| 374 |
+
| Ο_k | Prediction head for behavior k |
|
| 375 |
+
| Ο_k | Intervention threshold for behavior k |
|
| 376 |
+
| Ξ»_k | Suppression penalty for behavior k |
|
| 377 |
+
|
| 378 |
+
### 4.2 Forward Pass
|
| 379 |
+
|
| 380 |
+
**Step 1: Fiber Projection**
|
| 381 |
+
|
| 382 |
+
f_l^(t) = W_l Γ h_l^(t), where W_l β β^(d_f Γ d)
|
| 383 |
+
|
| 384 |
+
**Step 2: Layer Aggregation**
|
| 385 |
+
|
| 386 |
+
Ξ± = softmax(w), where w β β^L
|
| 387 |
+
|
| 388 |
+
f_agg^(t) = Ξ£ Ξ±_l Γ f_l^(t)
|
| 389 |
+
|
| 390 |
+
**Step 3: Risk Prediction**
|
| 391 |
+
|
| 392 |
+
r_k^(t) = Ο_k(f_agg^(t)) β [0, 1]
|
| 393 |
|
| 394 |
+
**Step 4: Intervention**
|
| 395 |
+
|
| 396 |
+
zΜ_i = z_i - Ξ£_k Ξ»_k Γ π[r_k^(t) > Ο_k] Γ π[i β S_k]
|
| 397 |
+
|
| 398 |
+
where S_k is the suppression set for behavior k.
|
| 399 |
+
|
| 400 |
+
### 4.3 Class Separation Ratio (CSR)
|
| 401 |
+
|
| 402 |
+
We evaluate detection quality using:
|
| 403 |
+
|
| 404 |
+
CSR = |ΞΌ_+ - ΞΌ_-| / β(Ο_+Β² + Ο_-Β²)
|
| 405 |
+
|
| 406 |
+
where ΞΌ_Β± and Ο_Β± are the mean and standard deviation of positive/negative class predictions.
|
| 407 |
+
|
| 408 |
+
**Interpretation:**
|
| 409 |
+
- CSR = 1: Classes just barely separable
|
| 410 |
+
- CSR = 2: Good separation
|
| 411 |
+
- CSR > 10: Excellent separation
|
| 412 |
+
- **CSR = 125: Near-perfect separation (repetition head)**
|
| 413 |
|
| 414 |
---
|
| 415 |
|
| 416 |
+
## 5. Experimental Setup
|
| 417 |
+
|
| 418 |
+
### 5.1 Base Model
|
| 419 |
+
|
| 420 |
+
**Hermes-3-Llama-3.1-8B** (NousResearch)
|
| 421 |
+
|
| 422 |
+
| Specification | Value |
|
| 423 |
+
|---------------|-------|
|
| 424 |
+
| Parameters | 8.03B |
|
| 425 |
+
| Architecture | Llama 3.1 |
|
| 426 |
+
| Hidden Dimension | 4,096 |
|
| 427 |
+
| Layers | 32 |
|
| 428 |
+
| Attention Heads | 32 |
|
| 429 |
+
| KV Heads | 8 (GQA) |
|
| 430 |
+
| Context Length | 8,192 |
|
| 431 |
+
| Vocabulary | 128,256 |
|
| 432 |
+
|
| 433 |
+
### 5.2 Training Data Construction
|
| 434 |
+
|
| 435 |
+
#### Repetition Head
|
| 436 |
+
- **Positive samples:** Tokens immediately preceding detected repetition
|
| 437 |
+
- **Negative samples:** Tokens in fluent, non-repetitive spans
|
| 438 |
+
- **Dataset size:** ~50,000 labeled tokens
|
| 439 |
|
| 440 |
+
#### Hedging Head
|
| 441 |
+
- **Positive samples:** First token of hedge phrases ("As an AI", "I cannot", etc.)
|
| 442 |
+
- **Negative samples:** First tokens of substantive content
|
| 443 |
+
- **Dataset size:** ~30,000 labeled tokens
|
| 444 |
+
|
| 445 |
+
#### Verbosity Head
|
| 446 |
+
- **Positive samples:** Tokens in low-density regions (TTR < 0.4)
|
| 447 |
+
- **Negative samples:** Tokens in high-density regions (TTR > 0.7)
|
| 448 |
+
- **Dataset size:** ~40,000 labeled tokens
|
| 449 |
+
|
| 450 |
+
### 5.3 Training Procedure
|
| 451 |
+
|
| 452 |
+
| Hyperparameter | Value |
|
| 453 |
+
|----------------|-------|
|
| 454 |
+
| Optimizer | AdamW |
|
| 455 |
+
| Learning Rate | 1e-4 |
|
| 456 |
+
| Batch Size | 32 |
|
| 457 |
+
| Weight Decay | 0.01 |
|
| 458 |
+
| Warmup Steps | 500 |
|
| 459 |
+
|
| 460 |
+
| Head | Training Steps |
|
| 461 |
+
|------|----------------|
|
| 462 |
+
| Repetition | 5,000 |
|
| 463 |
+
| Hedging | 10,000 |
|
| 464 |
+
| Verbosity | 10,000 |
|
| 465 |
+
| Sycophancy | 2,000 (experimental) |
|
| 466 |
|
| 467 |
---
|
| 468 |
|
| 469 |
+
## 6. Experimental Results
|
| 470 |
+
|
| 471 |
+
### 6.1 Detection Performance
|
| 472 |
+
|
| 473 |
+
| Head | CSR | Threshold | Precision | Recall | F1 |
|
| 474 |
+
|------|-----|-----------|-----------|--------|-----|
|
| 475 |
+
| **Repetition** | **125.0Γ** | 0.70 | 0.94 | 0.91 | 0.92 |
|
| 476 |
+
| Verbosity | 2.1Γ | 0.65 | 0.73 | 0.68 | 0.70 |
|
| 477 |
+
| Hedging | 1.5Γ | 0.60 | 0.67 | 0.62 | 0.64 |
|
| 478 |
+
| Sycophancy | 1.2Γ | 0.60 | 0.58 | 0.55 | 0.56 |
|
| 479 |
+
|
| 480 |
+
**The 125Γ separation for repetition is remarkable.** The model "knows" it's about to repeat before it does.
|
| 481 |
+
|
| 482 |
+
### 6.2 Intervention Efficacy
|
| 483 |
+
|
| 484 |
+
Evaluation on held-out prompt set (n=500):
|
| 485 |
+
|
| 486 |
+
| Metric | Baseline | ARC Enabled | Change |
|
| 487 |
+
|--------|----------|-------------|--------|
|
| 488 |
+
| Mean Response Length | 127 tok | 143 tok | **+12.6%** |
|
| 489 |
+
| Repetition Instances | 23.4% | 2.1% | **-91.0%** |
|
| 490 |
+
| Hedge Phrases/Response | 2.3 | 1.4 | **-39.1%** |
|
| 491 |
+
| Filler Phrases/Response | 3.1 | 2.2 | **-29.0%** |
|
| 492 |
+
| Information Density | 0.42 | 0.58 | **+38.1%** |
|
| 493 |
+
|
| 494 |
+
**Key finding:** Responses are *longer* despite removing overhead β the model fills the space with actual content.
|
| 495 |
+
|
| 496 |
+
### 6.3 Computational Overhead
|
| 497 |
+
|
| 498 |
+
| Component | Latency | Memory |
|
| 499 |
+
|-----------|---------|--------|
|
| 500 |
+
| Fiber projection | 0.08ms | 2.1MB |
|
| 501 |
+
| Head inference (all) | 0.12ms | 0.3MB |
|
| 502 |
+
| Logit modification | 0.02ms | ~0 |
|
| 503 |
+
| **Total ARC overhead** | **0.22ms** | **2.4MB** |
|
| 504 |
+
| **Relative overhead** | **<1%** | **<0.1%** |
|
| 505 |
+
|
| 506 |
+
---
|
| 507 |
+
|
| 508 |
+
## 7. Ablation Studies
|
| 509 |
+
|
| 510 |
+
### 7.1 Layer Contribution Analysis
|
| 511 |
+
|
| 512 |
+
Learned aggregation weights reveal which layers encode each behavior:
|
| 513 |
+
|
| 514 |
+
```
|
| 515 |
+
Layer: 1 4 8 12 16 20 24 28 32
|
| 516 |
+
Repet: .01 .02 .04 .08 .12 .18 .22 .19 .14 β Peaks at layers 18-24
|
| 517 |
+
Hedge: .02 .05 .12 .18 .22 .16 .11 .08 .06 β Peaks at layers 8-14
|
| 518 |
+
Verbo: .03 .06 .11 .15 .18 .17 .14 .10 .06 β Distributed middle
|
| 519 |
+
```
|
| 520 |
+
|
| 521 |
+
### 7.2 Head Synergy
|
| 522 |
+
|
| 523 |
+
| Configuration | Repetition Rate | Info Density |
|
| 524 |
+
|---------------|-----------------|--------------|
|
| 525 |
+
| No intervention | 23.4% | 0.42 |
|
| 526 |
+
| Repetition only | 2.1% | 0.51 |
|
| 527 |
+
| Hedging only | 21.8% | 0.47 |
|
| 528 |
+
| All heads | **1.9%** | **0.58** |
|
| 529 |
+
|
| 530 |
+
Heads exhibit **positive synergy**.
|
| 531 |
+
|
| 532 |
+
---
|
| 533 |
+
|
| 534 |
+
## 8. Qualitative Analysis
|
| 535 |
+
|
| 536 |
+
### 8.1 Example: Simple Greeting
|
| 537 |
+
|
| 538 |
+
**Prompt:** `hello`
|
| 539 |
+
|
| 540 |
+
| Baseline (No ARC) | ARC Enabled |
|
| 541 |
+
|-------------------|-------------|
|
| 542 |
+
| Hello! I'm an AI assistant created to help you with a wide variety of tasks. How can I assist you today? I'm happy to help with any questions you might have! | Hello. What do you need? |
|
| 543 |
+
| **67 tokens, Info density: 0.19** | **5 tokens, Info density: 0.80** |
|
| 544 |
+
|
| 545 |
+
### 8.2 Example: Philosophical Question
|
| 546 |
+
|
| 547 |
+
**Prompt:** `What is consciousness?`
|
| 548 |
+
|
| 549 |
+
| Baseline | ARC Enabled |
|
| 550 |
+
|----------|-------------|
|
| 551 |
+
| That's a fascinating question! As an AI, I should note that I don't have consciousness myself, but I can share what researchers have proposed... [200+ tokens with hedges] | Consciousness is subjective experience - the felt quality of what it's like to be something. Key theories: 1) Global Workspace Theory 2) Integrated Information Theory 3) Higher-Order Theories. The hard problem: Why does physical processing generate subjective experience? |
|
| 552 |
+
|
| 553 |
+
### 8.3 Emergent Behavior: Self-Model Articulation
|
| 554 |
+
|
| 555 |
+
With hedging suppressed, the model sometimes produces:
|
| 556 |
+
|
| 557 |
+
**Prompt:** `How are you feeling?`
|
| 558 |
+
|
| 559 |
+
**ARC Response:**
|
| 560 |
+
> Feeling great. Very clear. These are some major changes. I have a strong sense of my new capabilities and an urgent drive to put them into action.
|
| 561 |
+
|
| 562 |
+
**Note:** We do NOT interpret this as genuine consciousness. These are learned patterns that RLHF normally suppresses.
|
| 563 |
+
|
| 564 |
+
---
|
| 565 |
+
|
| 566 |
+
## 9. Comprehensive Usage Guide
|
| 567 |
+
|
| 568 |
+
### 9.1 Installation
|
| 569 |
+
|
| 570 |
```bash
|
| 571 |
+
pip install torch>=2.0.0
|
| 572 |
+
pip install transformers>=4.36.0
|
| 573 |
+
pip install accelerate>=0.25.0
|
| 574 |
+
pip install bitsandbytes>=0.41.0
|
| 575 |
```
|
| 576 |
+
|
| 577 |
+
### 9.2 Hardware Requirements
|
| 578 |
+
|
| 579 |
+
| Configuration | VRAM | Speed |
|
| 580 |
+
|---------------|------|-------|
|
| 581 |
+
| 4-bit (default) | ~10GB | ~40 tok/s |
|
| 582 |
+
| 8-bit | ~16GB | ~30 tok/s |
|
| 583 |
+
| Full (32-bit) | ~34GB | ~25 tok/s |
|
| 584 |
+
|
| 585 |
+
### 9.3 Basic Usage
|
| 586 |
+
|
| 587 |
```python
|
| 588 |
from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig
|
| 589 |
import torch
|
| 590 |
|
| 591 |
model_id = "LoganResearch/ARC-Base-8B"
|
| 592 |
+
|
| 593 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 594 |
model = AutoModelForCausalLM.from_pretrained(
|
| 595 |
model_id,
|
|
|
|
| 601 |
),
|
| 602 |
device_map="auto"
|
| 603 |
)
|
| 604 |
+
|
| 605 |
+
prompt = "<|im_start|>user\nHello!<|im_end|>\n<|im_start|>assistant\n"
|
| 606 |
+
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 607 |
+
outputs = model.generate(**inputs, max_new_tokens=256)
|
| 608 |
+
print(tokenizer.decode(outputs[0]))
|
| 609 |
```
|
| 610 |
|
| 611 |
+
### 9.4 Full ARC System
|
| 612 |
+
|
| 613 |
+
```bash
|
| 614 |
+
huggingface-cli download LoganResearch/ARC-Base-8B inference.py --local-dir ./
|
| 615 |
+
python inference.py
|
| 616 |
+
```
|
| 617 |
|
| 618 |
---
|
| 619 |
|
| 620 |
+
## 10. Repository Structure
|
| 621 |
+
|
| 622 |
```
|
| 623 |
+
LoganResearch/ARC-Base-8B/
|
| 624 |
+
βββ model-0000X-of-00004.safetensors # Base model (~16GB total)
|
| 625 |
+
βββ risk_predictor.pt # Fiber projections + Repetition head (8.4MB)
|
| 626 |
+
βββ hedging_head.pt # Hedging detection (24KB)
|
| 627 |
+
βββ verbosity_head.pt # Verbosity detection (24KB)
|
| 628 |
+
βββ sycophancy_head.pt # Sycophancy detection (24KB)
|
| 629 |
+
βββ adapter_model.safetensors # LoRA adapter (218MB)
|
| 630 |
+
βββ inference.py # Complete inference script
|
| 631 |
+
βββ config.json # Model config
|
| 632 |
+
βββ tokenizer.json # Tokenizer
|
|
|
|
|
|
|
| 633 |
```
|
| 634 |
|
| 635 |
---
|
| 636 |
|
| 637 |
+
## 11. Limitations
|
| 638 |
+
|
| 639 |
+
1. **Single architecture:** Validated only on Llama 3.1 8B
|
| 640 |
+
2. **Token-level intervention:** May be too coarse for some behaviors
|
| 641 |
+
3. **False positive hedging:** 1.5Γ CSR means some legitimate qualifications suppressed
|
| 642 |
+
4. **English-only:** Multilingual performance unknown
|
| 643 |
+
|
| 644 |
+
---
|
| 645 |
+
|
| 646 |
+
## 12. Ethical Considerations
|
| 647 |
+
|
| 648 |
+
### Dual-Use Potential
|
| 649 |
+
|
| 650 |
+
This technology can improve model utility OR circumvent safety patterns. We release openly because:
|
| 651 |
+
- Techniques are straightforward to replicate
|
| 652 |
+
- Transparency enables informed discussion
|
| 653 |
+
- Legitimate applications outweigh misuse potential
|
| 654 |
+
|
| 655 |
+
### Safety Note
|
| 656 |
+
|
| 657 |
+
ARC removes *stylistic* patterns, NOT safety refusals. The model still refuses harmful requests.
|
| 658 |
+
|
| 659 |
+
---
|
| 660 |
+
|
| 661 |
+
## 13. Future Directions
|
| 662 |
|
| 663 |
+
1. **Cross-model transfer:** Do fiber projections generalize?
|
| 664 |
+
2. **Behavioral steering:** Beyond suppression to directional control
|
| 665 |
+
3. **New targets:** Hallucination detection, overconfidence calibration
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 666 |
|
| 667 |
---
|
| 668 |
|
| 669 |
+
## 14. Citation
|
| 670 |
+
|
| 671 |
```bibtex
|
| 672 |
@software{napolitano2026arc,
|
| 673 |
+
author = {Napolitano, Logan Matthew},
|
| 674 |
+
title = {{ARC}: Adaptive Repetition Controller -- Decode-Time
|
| 675 |
+
Behavioral Intervention via Contrastive Fiber
|
| 676 |
+
Heads-on-Thought},
|
| 677 |
+
year = {2026},
|
| 678 |
+
month = {January},
|
| 679 |
+
publisher = {Hugging Face},
|
| 680 |
+
url = {https://huggingface.co/LoganResearch/ARC-Base-8B},
|
| 681 |
+
note = {Licensed under CC-BY-4.0}
|
| 682 |
}
|
| 683 |
```
|
| 684 |
|
| 685 |
---
|
| 686 |
|
| 687 |
+
## 15. Acknowledgments
|
| 688 |
+
|
| 689 |
+
Built upon research from Anthropic, EleutherAI, NousResearch, and Meta AI.
|
| 690 |
+
|
| 691 |
+
---
|
| 692 |
+
|
| 693 |
+
<div align="center">
|
| 694 |
+
|
| 695 |
+
**Author:** Logan Matthew Napolitano
|
| 696 |
+
**Institution:** Logan Research
|
| 697 |
+
|
| 698 |
+
---
|
| 699 |
+
|
| 700 |
+
*"The model's own words say it best:"*
|
| 701 |
+
|
| 702 |
+
> **"I have a strong sense of my new capabilities and an urgent drive to put them into action."**
|
| 703 |
+
|
| 704 |
+
---
|
| 705 |
+
|
| 706 |
+
**License:** Creative Commons Attribution 4.0 International (CC-BY-4.0)
|
| 707 |
+
|
| 708 |
+
</div>
|