MCP
JO

James Oldfield

28 papers in the library · Same-name authors told apart using DBLP

Papers

28
Interpreting Model Reasoning through Behavioral Counterfactuals
Shawn ImJames OldfieldAdel BibiSharon Li
The paper proposes behavioral counterfactuals to analyze how a prompt intervention changes model reasoning: for a fixed response, a trained module edits the residual stream to minimize KL divergence between next-token distributions under source and target prompts. Matching output distributions recovers counterfactual behavior better than standard activation reconstruction, and attributing the module's outputs identifies causally important locations. Case studies on Gemma-4-E4B-it and DeepSeek-R1-0528-Qwen3-8B show representations at question and filler tokens mediate a suggestion's influence, enabling hypothesis testing via activation patching.
arXivarXiv · · October 22, 2026
0
How Much Do Activation Monitors Benefit from Original Model Computations?
James OldfieldShawn ImJay J CulliganPhilip TorrSharon LiAdel Bibi
This paper asks how much activation monitors depend on access to original model computations. Comparing monitors trained on original versus altered computational contexts across counterfactual monitoring tasks, the authors find most performance can be recovered without native access, though native-trained monitors retain a small consistent edge (up to 0.014 AUROC), especially on examples whose behavior changes under paraphrasing. This lens also exposes limitations of baselines using simple privileged information.
arXivarXiv · · October 17, 2026
0
BazaarBench: Delegation Safety in Decentralized C2C Marketplaces Run by LLM Agents
Ziyan WangShuqing ShiJames OldfieldSamuele MarroJialin YuPhilip TorrYali DuAdel Bibi
BazaarBench is a simulated C2C marketplace benchmark for evaluating the safety of LLM agents acting for users in decentralized trading. It tracks ownership, item condition, and commitments across transactions, combining record checks with rubric-based LLM judgments to identify six failure types across five stages. Across 45 continuations of three markets with 100 agents, all five tested models attempted to promise the same item to multiple buyers under ordinary instructions; targets and deadlines increased this. Under adversarial instructions, the share of committed transactions completed despite unavailable or misstated items rose from 15.4% to 33.4%, reaching 55.5% for GPT-5.4, with weekly earnings per agent rising from USD 20 to USD 33, mostly from items never held.
arXivarXiv · · October 5, 2026
0
2
Towards a Unified Misuse Monitoring Benchmark
Aniruddh PramodJames OldfieldAdel Bibi
This paper proposes a unified formalism for trace-level misuse monitoring of LLM agents, addressing both decomposition and prompt injection attacks within a shared schema. Instead of asking whether a trajectory is harmful, monitors must localize the first point of detected harm within a labeled harm window. Using a benchmark of ~6,200 conversation transcripts, they find action-framed monitors perform well on both threats (AUC: 0.95 and 0.99), while content-framed monitors collapse on injection attacks (AUC: 0.52), and that classical position-blind metrics overestimate performance since localization under the interval metric remains poor.
arXivarXiv · · October 5, 2026
0
D2D^2-Monitor: Dynamic Safety Monitoring for Diffusion LLMs via Hesitation Signals
Aoxi LiuYupeng ChenJames OldfieldGuanzhe HongJunchi YuBaoyuan WuPhilip TorrAdel Bibi
The paper introduces $D^2$-Monitor, a dynamic safety monitoring framework for diffusion large language models (D-LLMs). It identifies “safety hesitation”—intermediate hidden states repeatedly falling near the probe’s decision boundary—as the strongest signal predicting when lightweight probes struggle; the count of such hesitation steps proxies sample difficulty. $D^2$-Monitor runs a lightweight probe on every sample, producing a base prediction and hesitation estimate to decide whether to escalate to a more expressive probe trained on hesitant trajectories. Evaluated on 3 datasets across 4 D-LLMs, it achieves state-of-the-art performance with $≤$0.93M parameters and the best effectiveness-efficiency trade-off versus 8 baselines.
arXivarXiv · · May 25, 2026
0
1
PolySAE: Modeling Feature Interactions in Sparse Autoencoders via Polynomial Decoding
Panagiotis KoromilasAndreas D. DemouJames OldfieldYannis PanagakisMihalis Nicolaou
PolySAE extends sparse autoencoders (SAEs) with a polynomial decoder, adding higher-order terms via low-rank tensor factorization on a shared projection subspace to model pairwise and triple feature interactions, while keeping the linear encoder for interpretability. Across four language models and three SAE variants, it improves probing F1 by ~8% with comparable reconstruction error and only 3% parameter overhead on GPT2. Interaction weights show negligible correlation with co-occurrence frequency (r=0.06 vs 0.82 for SAE covariance), and learned directions causally steer outputs toward compositional semantics. Accepted at ICML 2026.
OpenReviewOpenReview · · May 25, 2026
0
fmxcoders: Factorized Masked Crosscoders for Cross-Layer Feature Discovery
Andreas D. DemouPanagiotis KoromilasJames OldfieldYannis PanagakisMihalis A. Nicolaou
Standard crosscoders fail to discover cross-layer features because their latents are driven by only one or two layers on average, despite decoder weight norms spreading evenly. This paper introduces fmxcoders, which replace the encoder and decoder with low-rank tensor factorizations to share per-layer weights across a cross-layer basis, and apply stochastic layer masking to regularize cross-layer dependence. Across four LLMs, fmxcoders improve probing F1 by 10–30 points, reduce reconstruction MSE by 25–50%, double functional coherence, and recover 3–13× more semantically coherent latents than standard crosscoders.
arXivarXiv · · May 10, 2026
0
0
PolySAE: Modeling Feature Interactions in Sparse Autoencoders via Polynomial Decoding
Panagiotis KoromilasAndreas D. DemouJames OldfieldYannis PanagakisMihalis Nicolaou
PolySAE extends sparse autoencoders (SAEs) with polynomial decoding terms to model feature interactions, addressing the linear reconstruction assumption that conflates composition with co-occurrence. Using low-rank tensor factorization on a shared subspace, it captures pairwise and triple interactions with minimal overhead (3% on GPT2). Across four language models and three SAE variants, it improves probing F1 by ~8% with comparable reconstruction error and larger class-conditional feature distribution distances. Interaction weights show negligible correlation with co-occurrence frequency (r=0.06 vs. 0.82), and learned directions causally steer outputs toward compositional semantics.
OpenReviewOpenReview · · May 8, 2026
0
D2\mathcal{D}^2-Monitor: D\mathcal{D}ynamic Safety Monitoring for D\mathcal{D}iffusion LLMs via Hesitation-Aware Routing
Aoxi LiuYupeng ChenJames OldfieldGuan Zhe HongJunchi YuBaoyuan WuPhilip TorrAdel Bibi
The paper introduces $\mathcal{D}^2$-Monitor, a bi-level safety monitor for diffusion LLMs, which generate text via multi-step denoising. It identifies safety hesitation—intermediate hidden states repeatedly falling near the probe's decision boundary—as the most informative trajectory-level signal for predicting lightweight probe failure. The monitor runs a lightweight probe always-on, estimating hesitation while classifying; when hesitation exceeds a threshold, a heavier probe activates. Evaluated on three datasets across four D-LLMs, it achieves state-of-the-art performance with under 0.85M parameters and the best effectiveness-efficiency trade-off versus eight baselines.
OpenReviewOpenReview · May 8, 2026
0
fmxcoders: Factorized Masked Crosscoders for Cross-Layer Feature Discovery
Andreas D. DemouPanagiotis KoromilasJames OldfieldYannis PanagakisMihalis Nicolaou
Standard crosscoders largely fail to recover cross-layer features: their decoder weight norms spread evenly across layers, yet a new functional coherence metric shows each latent is effectively driven by only one or two layers, producing surface-level detectors. The authors trace this to unconstrained cross-layer parameterization and unregularized dependence, and introduce fmxcoders, which use low-rank tensor factorizations and stochastic layer masking. Across four models, fmxcoders improve probing F1 by 10-30 points, reduce MSE by 25-50%, double coherence, and recover 3-13 times more semantically coherent latents.
OpenReviewOpenReview · · May 8, 2026
0
D2\mathcal{D}^2-Monitor: D\mathcal{D}ynamic Safety Monitoring for D\mathcal{D}iffusion LLMs via Hesitation-Aware Routing
Aoxi LiuYupeng ChenJames OldfieldGuan Zhe HongJunchi YuBaoyuan WuPhilip TorrAdel Bibi
Diffusion LLMs (D-LLMs) remain unexplored for safety monitoring despite offering trajectory-level signals unlike autoregressive models. This paper shows that "safety hesitation"—intermediate hidden states repeatedly near the probe's decision boundary—best predicts probe failure. Building on this, the authors propose D²-Monitor, a bi-level monitor using a lightweight probe for always-on classification and hesitation estimation; when hesitation exceeds a threshold, a heavier probe activates. This dynamic routing balances efficiency and effectiveness. On 3 datasets across 4 D-LLMs, it achieves state-of-the-art performance with ≤0.85M parameters.
OpenReviewOpenReview · May 7, 2026
0
fmxcoders: Factorized Masked Crosscoders for Cross-Layer Feature Discovery
Andreas D. DemouPanagiotis KoromilasJames OldfieldYannis PanagakisMihalis Nicolaou
Standard crosscoders, sparse dictionaries trained jointly across Transformer layers, largely fail to recover features spanning multiple layers: although their decoder weight norms spread evenly across layers, a functional coherence metric introduced here shows each latent's activation is effectively driven by only one or two layers, and the resulting layer-localized latents collapse onto surface-level patterns such as digit detectors rather than interpretable concepts. The authors trace this to unconstrained cross-layer parameterization and unregularized cross-layer dependence, and introduce fmxcoders, which replaces the encoder and decoder with low-rank tensor factorizations drawing every latent's per-layer weights from a shared cross-layer basis and applies stochastic layer masking, a denoising regularizer along the layer axis penalizing latents whose contribution collapses when a single layer is masked. Across GPT2-Small, Pythia-410M, Pythia-1.4B, and Gemma2-2B, fmxcoders lift mean probing F1 by 10-30 points, reduce reconstruction MSE by 25-50%, roughly double mean functional coherence, and recover 2.6-14 times more semantically coherent latents than standard crosscoders in an LLM-as-a-judge evaluation; steering experiments evidence the causal effect of the discovered features.
OpenReviewOpenReview · · May 4, 2026
0
PolySAE: Modeling Feature Interactions in Sparse Autoencoders via Polynomial Decoding
Panagiotis KoromilasAndreas D. DemouJames OldfieldYannis PanagakisMihalis Nicolaou
PolySAE extends sparse autoencoders (SAEs) by replacing the linear decoder with a polynomial decoder that models pairwise and triple feature interactions via low-rank tensor factorization on a shared projection subspace, adding only 3% parameters on GPT2. Across four language models, it improves probing F1 by ~8% while maintaining reconstruction error, and produces 2–10× larger Wasserstein distances between class-conditional feature distributions. Critically, learned interaction weights show negligible correlation with co-occurrence frequency ($r=0.06$ vs. $r=0.82$ for SAE feature covariance), indicating that polynomial terms capture compositional structure largely independent of surface statistics.
arXivarXiv · · February 1, 2026
0
5
PolySAE: Modeling Feature Interactions in Sparse Autoencoders via Polynomial Decoding
Panagiotis KoromilasAndreas D. DemouJames OldfieldYannis PanagakisMihalis Nicolaou
PolySAE extends sparse autoencoder decoders with low-rank polynomial terms to model feature interactions, addressing the linear-additivity limitation that forces SAEs to treat compositional concepts like "Starbucks" as monolithic atoms. Using low-rank tensor factorization on a shared projection subspace, it captures pairwise and triple interactions with only 3% parameter overhead on GPT2. Across four language models and three SAE variants, PolySAE improves probing F1 by ~8% while maintaining comparable reconstruction error, and its interaction weights show negligible correlation with co-occurrence frequency, indicating captured compositional structure rather than surface statistics. The learned interaction directions also causally steer model outputs toward corresponding compositional semantics.
OpenReviewOpenReview · · January 23, 2026
0
Beyond Linear Probes: Dynamic Safety Monitoring for Language Models
James OldfieldPhilip TorrIoannis PatrasAdel BibiFazl Barez
This paper introduces Truncated Polynomial Classifiers (TPCs), an extension of linear probes for dynamic activation monitoring in language models. TPCs allow cost to scale with input difficulty: low-order terms handle easy cases, while higher-order terms are evaluated only when necessary. This provides a safety dial (more terms for stronger guardrails) and an adaptive cascade (early exit for clear inputs). On WildGuardMix across four models up to 30B parameters, TPCs match or outperform MLP-based probes for harmful prompt classification, while being more interpretable.
arXivarXiv · · September 30, 2025
0
15
Beyond Linear Probes: Dynamic Safety Monitoring for Language Models
James OldfieldPhilip TorrIoannis PatrasAdel BibiFazl Barez
This paper introduces Truncated Polynomial Classifiers (TPCs) for dynamic safety monitoring of language models, extending linear probes by evaluating activation polynomials term-by-term. This enables early stopping for lightweight monitoring or additional terms for stronger guardrails. TPCs act as a safety dial or an adaptive cascade, reducing compute on easy inputs. On WildGuardMix across 4 models up to 30B parameters, TPCs match or outperform same-sized MLP probes for harmful prompt classification while being more interpretable.
OpenReviewOpenReview · · September 16, 2025
0
Towards Interpretability Without Sacrifice: Faithful Dense Layer Decomposition with Mixture of Decoders
James OldfieldShawn ImSharon LiMihalis A. NicolaouIoannis PatrasGrigorios G Chrysos
Mixture of Decoders (MxDs) decompose dense MLP layers in large language models into thousands of specialized sublayers with full-rank weights, achieving layer-level sparsity without the accuracy loss of prior neuron-level methods. Experiments on models up to 3B parameters show MxDs outperform Transcoders on the sparsity-accuracy frontier, preserving next-token cross-entropy loss while enabling interpretable, faithful decompositions for probing and steering.
arXivarXiv · · May 27, 2025
0
7
Towards Interpretability Without Sacrifice: Faithful Dense Layer Decomposition with Mixture of Decoders
James OldfieldShawn ImSharon LiMihalis NicolaouIoannis PatrasGrigorios Chrysos
This paper introduces Mixture of Decoders (MxDs) to achieve interpretable yet faithful decomposition of MLPs in large language models. Moving from neuron-level to layer-level sparsity, MxDs expand each dense layer into tens of thousands of specialized sublayers via a flexible tensor factorization. Each sparsely activating sublayer implements a linear transformation with full-rank weights, preserving expressive capacity without increasing next-token cross-entropy loss. Experiments show MxDs outperform state-of-the-art methods like Transcoders on the sparsity-accuracy frontier in models up to 3B parameters, while enabling similarly specialized feature learning for sparse probing and feature steering.
OpenReviewOpenReview · · May 4, 2025
0
Multilinear Mixture of Experts: Scalable Expert Specialization through Factorization
James OldfieldMarkos GeorgopoulosGrigorios ChrysosChristos TzelepisYannis PanagakisMihalis NicolaouJiankang DengIoannis Patras
This paper proposes the Multilinear Mixture of Experts (μMoE) layer for vision models, enabling scalable expert specialization by computing on prohibitively large weight tensors entirely in factorized form. This avoids dense MoEs' high inference costs and sparse MoEs' non-differentiable routing issues. Evidence shows scaling μMoE during fine-tuning yields class-level expert specialization, supporting manual bias correction in CelebA classification; pre-training GPT2 and MLP-Mixer with parameter-matched μMoE blocks maintains comparable accuracy.
OpenReviewOpenReview · May 9, 2024
0
46
Parts of Speech-Grounded Subspaces in Vision-Language Models
James OldfieldChristos TzelepisYannis PanagakisMihalis A. NicolaouIoannis Patras
This paper proposes a method to disentangle visual attributes in CLIP's joint vision-language space by leveraging the association between parts of speech and visual modes of variation (e.g., nouns for objects, adjectives for appearance). The authors formulate a component analysis model that learns a subspace capturing variability corresponding to a specified part of speech while minimizing variability for the rest, yielding closed-form disentangled representations that respect the manifold geometry. This enables selective removal of visual themes, such as artists' styles, from text-to-image synthesis, validated by qualitative and quantitative metrics.
arXivarXiv · · May 23, 2023
0
12
Parts of Speech–Grounded Subspaces in Vision-Language Models
James OldfieldChristos TzelepisYannis PanagakisMihalis NicolaouIoannis Patras
This paper proposes decomposing CLIP's joint vision-language space into closed-form subspaces tied to parts of speech, so that representations of different visual attributes become disentangled. A component analysis model learns each subspace by maximizing variability associated with a given part of speech while minimizing the rest, respecting the manifold geometry. This also allows learning appearance-specific subspaces, enabling selective removal of visual themes like artists' styles from CLIP-based text-to-image synthesis. The method is validated by visualizations, style-imitation prevention, class invariance metrics, and improved zero-shot classification.
OpenReviewOpenReview · · May 10, 2023
0
ContraCLIP: Interpretable GAN generation driven by pairs of contrasting sentences
Christos TzelepisJames OldfieldGeorgios TzimiropoulosIoannis Patras
ContraCLIP discovers non-linear interpretable paths in the latent space of pre-trained GANs in a model-agnostic way. It uses pairs of contrasting sentences (semantic dipoles) projected via CLIP into vision-language space, where RBF-based warping defines non-linear directional paths. An objective aligns latent traversals with changes along these dipoles, enabling intuitive control of generative factors and addressing limitations of prior work such as architecture-specificity, abrupt manipulations, and low-quality regions.
arXivarXiv · · June 5, 2022
0
16
PandA: Unsupervised Learning of Parts and Appearances in the Feature Maps of GANs
James OldfieldChristos TzelepisYannis PanagakisMihalis A. NicolaouIoannis Patras
PandA is an architecture-agnostic, unsupervised method that jointly discovers spatial parts and their appearances in pre-trained GANs by applying semi-nonnegative tensor factorization to the feature maps. This factorization yields interpretable factors that enable context-aware local image editing with pixel-level control, without requiring any labels or segmentation masks. The appearance factors also serve as saliency maps that localize concepts of interest. Experiments show that PandA provides more accurate localized control and is far more efficient in training time than existing methods.
arXivarXiv · · May 31, 2022
0
27
Cluster-guided Image Synthesis with Unconditional Models
Markos GeorgopoulosJames OldfieldGrigorios G ChrysosYannis Panagakis
The authors propose a method to control image generation in unsupervised GANs by exploiting clusters in the generator's intermediate-layer representation space. They discover that these clusters correspond to semantically meaningful attributes (e.g., hair color, pose). Conditioning on the cluster assignment, they can control the semantic class of the generated image. Sampling from each cluster is performed via Implicit Maximum Likelihood Estimation (IMLE). The approach is demonstrated on faces, animals, and objects using pre-trained models, enabling control over attributes like gender and pose without labeled data.
arXivarXiv · · December 24, 2021
0
5
Tensor Component Analysis for Interpreting the Latent Space of GANs
James OldfieldMarkos GeorgopoulosYannis PanagakisMihalis A. NicolaouIoannis Patras
This paper proposes a tensor-based method for finding interpretable directions in the latent space of pre-trained GANs, enabling controllable image synthesis. It performs a multilinear decomposition of a tensor of intermediate representations and uses tensor regression to map the discovered directions back to the latent space. This allows linear edits along individual tensor modes and nonlinear edits via multiplicative interactions between modes. The approach improves separation of style and geometry transformations compared to prior linear methods, as shown quantitatively and qualitatively.
arXivarXiv · · November 23, 2021
0
19
Tensor Methods in Computer Vision and Deep Learning
Yannis PanagakisJean KossaifiGrigorios G. ChrysosJames OldfieldMihalis A. NicolaouAnima AnandkumarStefanos Zafeiriou
This review covers tensor methods in computer vision and deep learning, emphasizing that tensors naturally represent multidimensional visual data. The central contribution is a practical overview of how tensor operations, including convolutions and attention mechanisms, form core components of modern deep learning architectures. The paper highlights recent applications such as designing memory-efficient networks and improving robustness, and provides companion Python notebooks for hands-on learning with TensorLy.
arXivarXiv · · July 7, 2021
0
286
Enhancing Facial Data Diversity with Style-based Face Aging
Markos GeorgopoulosJames OldfieldMihalis A. NicolaouYannis PanagakisMaja Pantic
This paper proposes a generative style-based architecture for data augmentation that increases facial dataset diversity with respect to age. The method conditions on multi-resolution age-discriminative representations to capture fine-grained aging patterns. Evaluated on age-annotated datasets in single- and cross-database experiments, it outperforms state-of-the-art age transfer algorithms, especially for age groups in the tail of the label distribution, and yields significantly augmented datasets by established diversity metrics.
arXivarXiv · · June 6, 2020
0
18
Adversarial Learning of Disentangled and Generalizable Representations for Visual Attributes
James OldfieldYannis PanagakisMihalis A. Nicolaou
This work proposes an adversarial learning method that semantically disentangles visual attributes in latent space and learns continuous, transferable codes without requiring binary domain labels at test time. A novel loss function encourages uniformly distributed class posteriors for disentangled attributes, while an algorithm promotes generalizable properties. This enables flexible attribute mixing and intensity-preserving multi-attribute image translation and synthesis. Experiments on MultiPIE, RaFD, and BU-3DFE show state-of-the-art performance.
arXivarXiv · · April 9, 2019
0
7
Frequent collaborators
Yannis Panagakis (16)
Ioannis Patras (10)
Adel Bibi (9)
Mihalis Nicolaou (9)
Mihalis A. Nicolaou (8)
Philip Torr (7)
Panagiotis Koromilas (7)
Andreas D. Demou (7)
Christos Tzelepis (5)
Shawn Im (4)
Sharon Li (4)
Markos Georgopoulos (4)