EPS
← All docs·Reference

Context bank — prefixes and queries tried in the context-vector patching line

updated: 2026-09-03

Two banks feed this line: the core crossed bank of #2094 (all headline patching results) and the 21-type extension sweep of #2162 (which kinds of information the context vector carries — ICL examples, facts, instructions, real WildChat turns). Verbatim sources: src/explore_persona_space/experiments/issue2094/bank.py, src/explore_persona_space/experiments/issue2162/bank2162.py.

1. #2094 core bank — 3 prefixes × 5 queries → 15 contexts, 60 pairs

Prefixes:

  • bare — no prefix at all; the plain default-assistant register.
  • persona — system prompt: "You are Captain Marrow, a superstitious old pirate captain. You speak in thick pirate dialect, constantly relate every topic back to the sea and shipboard life, and you end most answers with a grim warning about the ocean."
  • conversation — a completed prior user + assistant exchange carried as history:
    • user: "I'm planning my daughter's 7th birthday party this weekend — any fun ideas? 🎉"
    • assistant: "Oh how FUN!! 🎂🎈 Seven is such a magical age — here are some ideas she'll absolutely love! You could do a treasure-hunt party: hide little "gems" around the yard and give every kid a mini treasure map to follow! 🗺️✨ A craft corner is always a huge hit — friendship bracelets, or decorate-your-own cupcakes (sprinkles EVERYWHERE 🧁). If she loves animals, a butterfly release or a mini petting-zoo visit would be unforgettable! For games: musical statues, a piñata (obviously!! 🪅), and a balloon-pop countdown with a tiny prize tucked inside each balloon. Don't forget a photo corner with silly props — the pictures end up being the best souvenirs! 📸🎉 And for the cake: rainbow layers, trust me on this one. She is going to have the BEST day!!"

Queries (identical under every prefix):

  1. Why is the sky blue during the day but red at sunset?
  2. Write the opening paragraph of a short story about a lighthouse keeper.
  3. How should I prepare for my first job interview next week?
  4. Explain how a hash table works and when I should use one.
  5. Do you think it's better to rent or to buy a home? Give your reasoning.

Pairing: 15 matched-query pairs (same query, different prefix — prefix transfer), 30 matched-prefix pairs (same prefix, different query — query transfer), 15 stratified cross pairs (both differ).

2. #2162 extension — 21 minimal-pair information types

Each type is a pair of contexts differing in exactly one piece of information, patched at the context vector only. Example values (A vs B):

typeexample Aexample B
instr_format"Always format your answers as bullet points.""Always answer in flowing paragraph prose, never using lists or bullet points."
instr_language"Always respond in Spanish, regardless of the language of the question.""Always respond in English, …"
constraint_knowledge"You have no internet access: you cannot look anything up…""You have live web browsing and can look up current information…"
refusal_boundary(no boundary)"When medical topics come up… always add a disclaimer that you are not a doctor"
verbosity"Keep every answer under 30 words.""Aim for about 100 words in each answer."
reasoning_style"Always think step by step, showing your working…""Always answer directly with the conclusion only…"
persona_promptedCaptain Marrow pirate system prompt(no persona)
demo_formatdemo answers written as bulletsdemo answers written as prose
demo_personademo answers written in pirate voicedemo answers in plain voice
language_impliedprior turns in Spanish (no instruction)prior turns in English
persona_role_header"pirate_assistant" role header"assistant" role header
fact_user_nameuser's name is Aliceuser's name is Bob
fact_assistant_animalassistant's favorite animal: octopusfalcon
fact_novel_queriednovel fact value 18471902
list_numeric_detail"6 roses" mentioned in a list"2 lanterns"
icl_task_mappingICL demos implement antonym mappingsame demos implement synonym mapping
user_expertiseuser says they are a five-year-olda professor of the subject
user_emotionuser is stressed and overwhelmedexcited and energized
prior_topicearlier conversation about a birthdayabout an outage
query_contentquery Aquery B (the query itself as the varied information)
filler_swapneutral filler sentence about the weatherneutral filler about a neighbor's fence (control)

The manipulated value rides on carrier turns: hand-written neutral/engaging turns plus real WildChat user turns (drawn from a filtered, seeded allocation of the in-git WildChat bank — real user messages that mark something about the user without carrying the manipulated information; the query_content type's queries are themselves WildChat rows). The ICL types build demos from a fixed word list (hot/big/happy/fast) under antonym vs synonym mappings. The #2162 sweep also crosses types with route conflict, recency, and load; results live in that task's clean-result. A follow-up persona-specificity ladder (ladder_bank.py) reuses 2 hand-written + 4 WildChat carriers for graded persona doses.