On this page
Methods and source references¶
The project applies published methods and evaluates their behavior in bounded experiments. These references identify the methods, software and datasets; project outcomes are reported in the four-behavior record and benchmark summary.
Theoretical background¶
Each research section opens with the formulations and assumptions underlying its methods. The background pages cover notation, training and evaluation, quantization, LoRA and QLoRA, refusal steering, and trait steering. Inline citations identify which mechanism a source supports; project result records support our measured outcomes. A paper's reported success is not a guarantee for another task or runtime.
Probability and architecture¶
- Radford et al. (2019), Language Models are Unsupervised Multitask Learners, section 2: autoregressive likelihood and conditioning.
- Vaswani et al. (2017), Attention Is All You Need, section 3: scaled dot-product attention and multi-head composition. Our pre-normalized/hybrid implementations differ from the original architecture.
- Zhang and Sennrich (2019), Root Mean Square Layer Normalization: normalization by RMS rather than mean-centering.
- Su et al. (2021 preprint), RoFormer: rotary positional embeddings.
- Shazeer (2019), Fast Transformer Decoding: sharing keys/values across query heads.
- Ainslie et al. (2023), GQA: grouped-query attention between the multi-head and multi-query cases.
Optimization and statistical interpretation¶
- Kingma and Ba (2014 preprint, ICLR 2015), Adam: first/second gradient moments and bias correction.
- Loshchilov and Hutter (ICLR 2019), Decoupled Weight Decay Regularization: AdamW and why decoupled decay differs from an L2 penalty under adaptive optimization.
- Efron (1979), Bootstrap Methods: Another Look at the Jackknife: bootstrap resampling. Our paired, paper-grouped resampling and statistic are specified in the registered study, not asserted to be this paper's exact setup.
- Dasigi et al. (2021), A Dataset of Information-Seeking Questions and Answers Anchored in Research Papers: QASPER questions and supporting evidence. Our final subset and paragraph-ID metrics have their own definitions.
Quantization background beyond the implemented formats¶
- Jacob et al. (CVPR 2018), Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference, section 2: affine scales, zero points and integer arithmetic.
- Frantar et al. (ICLR 2023), GPTQ, section 3: layer-output reconstruction error. Included to explain activation-aware approximation; GPTQ was not run in this project.
- Kalajdzievski (2023), A Rank Stabilization Scaling Factor for Fine-Tuning with LoRA: the alternative rsLoRA scaling convention. Our registered 27B adapters used ordinary alpha/r scaling.
Adaptation and quantization¶
- Hu et al. (2021), LoRA: Low-Rank Adaptation of Large Language Models. Frozen base weights plus trainable low-rank updates.
- Dettmers et al. (2023), QLoRA: Efficient Finetuning of Quantized LLMs. The NF4/double-quantization and adapter-training reference; our domain-text runs have their own corpus, schedules and evaluation.
- llama.cpp, used for GGUF conversion, quantization and inference; the original 4B release pins commit
8ca5a8008b57aa39f2601546c0d07912045080a5. - Transformers bitsandbytes integration, PEFT and bitsandbytes. GGUF Q4_K_M and Transformers NF4 are different representations.
Activation steering¶
- Arditi et al. (2024), Refusal in Language Models Is Mediated by a Single Direction; author code. Our block-output extraction/subtraction and all-block projection are documented adaptations rather than exact reproduction of every author setting.
- Kang et al. (2026), Prompt-Activation Duality: Improving Activation Steering via Attention-Level Interventions; GCAD author code at the used revision. GCAD means Gated Cropped Attention-Delta.
- Naganna et al. (2026), Scaled Autoregressive Projection Steering (SAPS): Token-level Steering to Induce Sarcasm and Humblebrag in Text; author code/data at the used revision. Project adaptations and data-lineage limits are recorded beside the results.
- Persona Vectors author repository. Released prompts/data and the trait-extraction workflow informed our references and reconstructed profanity inputs.
Models and evaluation sources¶
- Qwen: Qwen3-4B, Qwen2.5-7B-Instruct, Qwen3.8-27B. Exact tested revisions are in configs and result records.
- Mistral: Mistral-7B-Instruct-v0.1, used for the original-model SAPS reference.
- XSTest, AdvBench and Dolly 15k: refusal evaluation/extraction with distinct roles and licenses.
- DECCP and routing-is-learned: political-information baseline fixtures; soft evasion is reported separately from explicit refusal.
- MMLU, GSM8K and IFEval: exact revisions, scoring methods and subset sizes are in the benchmark summary. Reported subsets are not full leaderboard runs.
License scopes and retained source notices are indexed in third-party notices.