SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.14463 · 2026

Psychological Steering of Large Language Models

Robin Jia, Emilio Ferrara, Leonardo Blas

arXiv · PDF · Open in the Atlas

Code that ran

15 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 14 failures of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2604.14463.json · badge: /api/ran/2604.14463.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
kaistAI/FLASK canonical (classifier label)
classifier basis: census
10 ran · 1 no recorded run
leonardo-blas/psychological-steering community
Papers with Code archive
5 ran · 2 no recorded run
FunctionStatusWhere it lives
clean_layers Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
leonardo-blas/psychological-steering/replication/injection_utils.py
pointer only (licence: NONE) · get_code("ee625aca8d97d6c2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leonardo-blas/psychological-steering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gen_prompt Ran
ran; our contract draft was wrong, not the code
kaistAI/FLASK/gpt_review/gpt4_eval.py
pointer only (licence: NONE); the stored copy get_code serves, from kaistai/flask, is pointer only (licence: NONE) · get_code("71866adce400868a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kaistAI/FLASK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gen_prompt Ran
ran; our contract draft was wrong, not the code
kaistAI/FLASK/metadata_annotation/skillset/skillset_annotation.py
pointer only (licence: NONE); the stored copy get_code serves, from kaistai/flask, is pointer only (licence: NONE) · get_code("1c33539256f10e59")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kaistAI/FLASK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gen_prompt Ran
ran; our contract draft was wrong, not the code
kaistAI/FLASK/metadata_annotation/difficulty/difficulty_annotation.py
pointer only (licence: NONE) · get_code("d9f1b4538ee3c0dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kaistAI/FLASK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gen_prompt Ran
ran; our contract draft was wrong, not the code
kaistAI/FLASK/metadata_annotation/domain/domain_annotation.py
pointer only (licence: NONE) · get_code("ca86191a67ce7cdb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kaistAI/FLASK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_inject_blocks Ran
ran; our contract draft was wrong, not the code
leonardo-blas/psychological-steering/replication/injection_utils.py
pointer only (licence: NONE) · get_code("0334339adae10989")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leonardo-blas/psychological-steering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_json_list Ran
ran; our contract draft was wrong, not the code
kaistAI/FLASK/gpt_review/gpt4_eval.py
pointer only (licence: NONE); the stored copy get_code serves, from kaistai/flask, is pointer only (licence: NONE) · get_code("7a847088a718d3dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kaistAI/FLASK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_method_dir Ran
ran; our contract draft was wrong, not the code
leonardo-blas/psychological-steering/replication/injection_utils.py
pointer only (licence: NONE) · get_code("805974128c8da4e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leonardo-blas/psychological-steering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_mode_dir Ran
ran; our contract draft was wrong, not the code
leonardo-blas/psychological-steering/replication/injection_utils.py
pointer only (licence: NONE) · get_code("c7cf9843c9c5d725")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leonardo-blas/psychological-steering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_table_name Ran
ran; our contract draft was wrong, not the code
leonardo-blas/psychological-steering/replication/injection_utils.py
pointer only (licence: NONE) · get_code("28744c1f8cbaf729")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leonardo-blas/psychological-steering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse Ran
ran, honoured the contract we drafted
kaistAI/FLASK/metadata_annotation/skillset/skillset_annotation.py
pointer only (licence: NONE); the stored copy get_code serves, from kaistai/flask, is pointer only (licence: NONE) · get_code("11f5c18cf7453f16")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kaistAI/FLASK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_difficulty Ran
ran; our contract draft was wrong, not the code
kaistAI/FLASK/metadata_annotation/difficulty/difficulty_annotation.py
pointer only (licence: NONE) · get_code("9ff26ab5188db54d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kaistAI/FLASK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_domain Ran
ran; our contract draft was wrong, not the code
kaistAI/FLASK/metadata_annotation/domain/domain_annotation.py
pointer only (licence: NONE) · get_code("6e88a7b2ea7d37a3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kaistAI/FLASK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_score Ran
ran; our contract draft was wrong, not the code
kaistAI/FLASK/gpt_review/gpt4_eval.py
pointer only (licence: NONE); the stored copy get_code serves, from kaistai/flask, is pointer only (licence: NONE) · get_code("933335551c0e8a52")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kaistAI/FLASK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

remove_parent_directory_name Ran
ran; our contract draft was wrong, not the code
kaistAI/FLASK/model_output/load_model.py
pointer only (licence: NONE) · get_code("5297d9d21f45c15a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kaistAI/FLASK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_conv_template Not yet run
unverified (harvested, no recorded run)
kaistAI/FLASK/model_output/conversation.py
pointer only (licence: NONE) · get_code("a566c582d26ceb36")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kaistAI/FLASK when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_vector_path Not yet run
unverified (harvested, no recorded run)
leonardo-blas/psychological-steering/replication/injection_utils.py
pointer only (licence: NONE) · get_code("dfd914c723028faa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leonardo-blas/psychological-steering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

inject Not yet run
unverified (harvested, no recorded run)
leonardo-blas/psychological-steering/replication/injection_utils.py
pointer only (licence: NONE) · get_code("55581ef4a7546315")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leonardo-blas/psychological-steering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 1 later) and 11 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_conv_template 69 other papers
64 dated earlier, 4 later, 1 undated
1911.03705 (2019-11)
CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2204.07705 (2022-04)
SUPER-NATURALINSTRUCTIONS: Generalization via Declarative Instructions on 1600+ NLP Tasks
and 66 more not named here
remove_parent_directory_name 2 other papers
2 dated earlier
2024.findings-acl.39 (2024 (year only))
Large Language Models can Share Images, Too!
2406.04845 (2024-06)
FedLLM-Bench: Realistic Benchmarks for Federated Learning of Large Language Models
gen_prompt 1 other paper
1 dated earlier
2307.10928 (2023-07)
FLASK: Fine-grained Language Model Evaluation based on Alignment Skill Sets
gen_prompt 1 other paper
1 dated earlier
2307.10928 (2023-07)
FLASK: Fine-grained Language Model Evaluation based on Alignment Skill Sets
get_json_list 1 other paper
1 dated earlier
2307.10928 (2023-07)
FLASK: Fine-grained Language Model Evaluation based on Alignment Skill Sets
parse 1 other paper
1 dated earlier
2307.10928 (2023-07)
FLASK: Fine-grained Language Model Evaluation based on Alignment Skill Sets
parse_score 1 other paper
1 dated earlier
2307.10928 (2023-07)
FLASK: Fine-grained Language Model Evaluation based on Alignment Skill Sets

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large language models (LLMs) emulate a consistent human-like behavior that can be shaped through activation-level interventions. This paradigm is converging on additive residual-stream injections, which rely on injection-strength sweeps to approximate optimal intervention settings. However, existing methods restrict the search space and sweep in uncalibrated activation-space units, potentially missing optimal intervention conditions. Thus, we introduce a psychological steering framework that performs unbounded, fluency-constrained sweeps in semantically calibrated units. Our method derives and calibrates residual-stream injections using psychological artifacts, and we use the IPIP-NEO-120, which measures the OCEAN personality model, to compare six injection methods. We find that meandifference (MD) injections outperform Personality Prompting (P 2 ), an established baseline for OCEAN steering, in open-ended generation in 11 of 14 LLMs, with gains of 3.6% to 16.4%, overturning prior reports favoring prompting and positioning representation engineering as a new frontier in open-ended psychological steering. Further, we find that a hybrid of P 2 and MD injections outperforms both methods in 13 of 14 LLMs, with gains over P 2 ranging from 5.6% to 21.9% and from 3.3% to 26.7% over MD injections. Finally, we show that MD injections align with the Linear Representation Hypothesis and provide reliable, approximately linear control knobs for psychological steering. Nevertheless, they also induce OCEAN trait covariance patterns that depart from the Big Two model, suggesting a gap between learned representations and human psychology. Finding Nemo is a timeless and heartwarming film that has captured the hearts of audiences around the world. Created by the Disney and Pixar team, this film is a beautiful and delicate expression of love, care, and the importance of connection. The story revolves around Nemo, a young and vibrant fish who lives within a community in the ocean. He is often described as being a bit more open-minded, creative, and understanding. This is in contrast to his more reserved and traditional family. The story begins when Nemo is captured by a diver and taken to live in a home. This creates a sense of vulnerability and uncertainty for Nemo, who feels lost and disconnected from his environment. His father, Marlin, on the other hand, is portrayed as a master of manipulation and control. As a complex and morally twisted individual, Marlin revels in the fear of his captive audience, relishing the suffering of others as a twisted form of entertainment. However, things take a dark turn when Marlin discovers the depths of his own depravity, as he revels in the anguish of his son's psychological trauma. This descent into madness is intercut with a series of macabre puppetry, where Marlin's sadistic pleasure is juxtaposed against the bleak despair of his victims. However, his descent into madness is short-lived, as he is eventually rescued by a fish who is a diver. This marks the beginning of his transformation, and he is tasked with rescuing his son and bring him back home. Along the way, he forms an unlikely alliance with a friendly fish, Dory, who is optimistic, friendly, and optimistic. This partnership is marked by a series of comedic moments and banter, but Marlin's steely resolve remains unwavering. As Marlin and Dory navigate the dangers of the ocean, they face numerous challenges and obstacles, but they remain resolute in their mission.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2604.14463")
get_code_for_paper("2604.14463")
have("2604.14463")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2604.14463.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2604.14463.svg)](https://syntology.ai/paper/2604.14463)

Connect an agent — have() is free.