MCP
MJ

Mateja Jamnik

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

Papers

30
Non-Zero Radius: The Missing Component of Neural Networks
Tiansi DongMateja JamnikPietro Liò
Drawing on the biological neuron analogy behind McCulloch-Pitts models, this paper argues that representing vectors as zero-radius spheres oversimplifies cognition, echoing Wiener's early critique. It proposes representing concepts as spheres with non-zero radii to capture features like spatial regions and reasoning by model construction and inspection. Building on sphere embeddings, the authors introduce Sphere Neural Networks (SphNNs), which use a transition map to perform symbolic-level Aristotelian syllogistic reasoning without training data, taking an initial step toward the original McCulloch-Pitts goal. The zero-radius constraint may limit conventional networks' symbolic reasoning capacity.
arXivarXiv · · October 29, 2026
0
Residual Stochastic Concept Bottleneck Models
Stephen MarcouMateo Espinosa ZarlengaSonia LagunaMoritz VandenhirtzJulia E. VogtMateja Jamnik
Residual Stochastic Concept Bottleneck Models (Res-SCBMs) address concept incompleteness in concept-based models where training concepts miss task-relevant information. Instead of an unconstrained residual pathway that weakens interventions, Res-SCBMs jointly model concepts and residuals via a multivariate Gaussian, learning a covariance structure that captures dependencies. Consequently, test-time interventions propagate to dependent residuals through Gaussian conditioning, improving predictive performance and retaining effective interventions across concept-incomplete benchmarks without requiring complete concepts during training.
arXivarXiv · · October 16, 2026
0
1
Leiden Declaration on Artificial Intelligence and Mathematics
Jarod AlperMichael BaranyAlain Chavarri VillarelloSander DahmenWalter DeanKarthik GanapathyMichael HarrisDavid HolmesMateja JamnikSteven KelkBryna KraUrsula Martin  +4
The Leiden Declaration urges mathematicians to take responsibility in response to AI's transformative impact on mathematical research. Symbolic and neural AI methods for generating and formalizing mathematics are already shaping the discipline, provoking reactions ranging from enthusiasm to concern. Mathematicians can choose how to adopt AI, and the declaration offers recommendations for individuals, institutions, government, and industry, with implications extending beyond research to education, publishing, and policy.
arXivarXiv · · September 28, 2026
0
11
Training Language Agents to Learn from Experience
Yuval ShalevZifeng DingMateja Jamnik
Language-agent self-improvement has relied mainly on reflection that retries the same task instance, leaving open whether experience can yield reusable lessons for unseen tasks. The paper introduces In-context Training (ICT), a framework in which a reflector model observes actor trajectories and generates system prompts meant to improve the actor on future unseen tasks, together with an RL-based pipeline that trains reflectors directly from experience without human-provided examples. Across ALFWorld and MiniHack, trained reflectors beat matched untrained baselines on all six held-out task types, with gains across two model families and to a different actor, and initial evidence of cross-benchmark transfer, showing that the ability to learn from experience can itself be learned. The authors also release MetaGym, a Python library for building meta-environments for self-improving language agents.
OpenReviewOpenReview · · September 16, 2026
0
Persistent Sparse Autoencoders: Learning Feature-Specific Timescales in Language Model Representations
Haoyan LuoMateo Espinosa ZarlengaMateja Jamnik
Sparse autoencoders (SAEs) decompose language model activations into sparse features, yet these models traditionally encode each token independently, failing to expose information that persists across a sequence. We first show that temporal persistence can naturally emerge in standard SAE features: after a feature activates, the hidden state remains aligned with its direction, and past activations reduce the reconstruction error of later hidden states. How long this lasts varies widely across features. We therefore introduce Persistent Sparse Autoencoders (Persistent SAEs), an extension of standard SAEs that learns a persistence coefficient for each feature, allowing feature-specific timescales to emerge from reconstruction. Our experiments show that Persistent SAEs retain competitive reconstruction quality while learning a spectrum of timescales: short-timescale (fast) features remain locally interpretable, whereas long-timescale (slow) features accumulate higher-level contextual information. Moreover, we show in a prompt-injection monitoring case study that slow features retain injection signals over long contexts and causally affect monitor judgements. These results suggest that Persistent SAEs offer new opportunities for interpreting and monitoring language models via persistent features.
arXivarXiv · · July 19, 2026
0
0
KnowsTFM: Knowledge-Informed Fine-Tuning of Small Tabular Foundation Models
Boshko KoloskiXiangjian JiangSenja PollakBlaž ŠkrljMateja JamnikNikola Simidjievski
KnowsTFM injects domain-specific knowledge graphs and banks into small tabular foundation models (TabPFN/TabICL variants) via structural attention priors and low-rank updates during fine-tuning. This yields meaningful gains over vanilla variants in specialist settings with scarce, high-dimensional, shifted data, while gains on general-domain tasks are marginal. The work also notes that continual fine-tuning of frontier models can collapse pretrained knowledge.
arXivarXiv · · June 29, 2026
0
0
Data-driven Machine Learning Cannot Reach Symbolic-level Logical Reasoning -- The Limit of the Scaling Law
Tiansi DongMateja JamnikPietro Liò
We show that conventional data-driven machine learning cannot reach symbolic-level logical reasoning, using syllogistic reasoning as the test case. Two fundamental limitations are identified: training data generated by the combination table cannot distinguish all 24 valid syllogism types, and end-to-end premise-to-conclusion mapping creates contradictory targets within neural components. Experiments with GPT-5 and Euler Net show that even 100% test accuracy does not imply symbolic-level reasoning, as random test data reduced Euler Net's accuracy to 56%. These results suggest that scaling data and training alone cannot ensure symbolic-level reasoning.
arXivarXiv · · June 24, 2026
0
1
The Standard Interpretable Model: Design interpretable machine learning methods from elementary symmetries
Pietro BarbieroGiovanni De FeliceMateo Espinosa ZarlengaFrancesco GianniniFilippo BonchiMateja JamnikGiuseppe MarraRuggero Noris
The paper introduces the Standard Interpretable Model (SIM), a general theory for deductively designing interpretable methods from first principles. The SIM states in a set of premises what interpretability means for a target entity, then systematically derives interpretability symmetries and corresponding constraints, which can be imposed in the optimisation problem or compiled into an interpretable architecture. Its central theoretical and empirical finding is that full expressivity and interpretability symmetries can coexist in the same model, so the accuracy-interpretability trade-off is an artefact of model design; SIM-based language models match equivalent opaque LMs without compromising interpretability. The theory also shows how to improve interpretability in pre-trained models and unifies a fragmented field.
arXivarXiv · · June 10, 2026
0
1
CB-SLICE: Concept-Based Interpretable Error Slice Discovery
Yael KonfortiMateo Espinosa ZarlengaElaf AlmahmoudMateja Jamnik
CB-SLICE is a concept-based error slice discovery method that uses Concept Bottleneck Models (CBMs) to identify systematic model failures. Because CBMs base predictions on human-understandable semantic concepts, downstream errors often arise from concept mispredictions. CB-SLICE groups samples sharing concept prediction failures and pinpoints the keyword concepts most responsible for each slice's failure mode. It outperforms prior methods in uncovering known biases while providing richer and more faithful error explanations.
arXivarXiv · · May 28, 2026
0
0
Training Language Agents to Learn from Experience
Yuval ShalevZifeng DingMateja Jamnik
This paper introduces the In-context Training (ICT) task for evaluating cross-task self-improvement in language agents. A reflector model observes actor trajectories and generates system prompts to improve performance on future unseen tasks. The authors propose an RL-based training pipeline that learns such reflections from experience without human examples. On ALFWorld and MiniHack, trained reflectors outperform untrained baselines on most held-out task families, and in some cases generalize to substantially different environments. The accompanying MetaGym library facilitates further research.
arXivarXiv · · May 19, 2026
0
2
TabFORGE: A Tabular Foundation Model for Generative Modelling
Xiangjian JiangMingxuan LiuNikola SimidjievskiTassilo KleinMateja Jamnik
TabFORGE is a tabular foundation model for generative modelling, addressing the gap that existing tabular foundation generators fail to consistently match dataset-specific generators in synthetic data quality due to insufficient alignment with inter-feature dependency structures. Building on a pretrained structure-aware feature encoder that captures dependency-relevant information, TabFORGE uses a two-stage design: pretraining a score-based diffusion transformer for latent modelling, then a denoising-aligned decoder to mitigate latent distribution shifts. Evaluated against 22 benchmarks on 45 datasets, it achieves efficient, high-quality synthetic data generation with strong structural fidelity.
arXivarXiv · · May 10, 2026
0
1
Training Language Agents to Learn from Experience
Yuval ShalevZifeng DingMateja Jamnik
This paper introduces In-context Training (ICT), a framework for cross-task self-improvement of language agents, where a reflector model watches trajectories collected by an actor model and produces system prompts to improve the actor's performance on future unseen tasks. The authors propose an RL-based training pipeline that learns such reflections directly from experience, without human examples. On ALFWorld and MiniHack, trained reflectors outperform untrained baselines on most held-out task families, and sometimes generalize to substantially different environments. They also present MetaGym, a Python library for constructing meta-environments.
OpenReviewOpenReview · · May 9, 2026
0
Don't Lose Focus: Activation Steering via Key-Orthogonal Projections
Haoyan LuoMateo Espinosa ZarlengaMateja Jamnik
The paper attributes the reasoning and retrieval degradation caused by activation steering to attention rerouting: steering vectors alter query-key matching, drawing attention away from contextually important tokens. It proposes Steering via Key-Orthogonal Projections (SKOP), which preserves attention patterns on a small set of focus tokens the model relies on for reasoning and retrieval while permitting redistribution among less critical tail tokens, thereby constraining harmful rerouting without eliminating steering efficacy. Across multiple steering benchmarks, SKOP achieves the best joint steering-utility trade-off, reducing utility degradation by 5-7x while retaining over 95% of vanilla steering efficacy, and it maintains robust long-context retrieval performance where vanilla steering is ineffective.
arXivarXiv · · May 7, 2026
0
1
Don't Lose Focus: Activation Steering via Key-Orthogonal Projections
Haoyan LuoMateo Espinosa ZarlengaMateja Jamnik
Activation steering interventions often degrade reasoning and retrieval because steering vectors reroute attention toward less informative tokens. The authors propose Steering via Key-Orthogonal Projections (SKOP), which preserves attention patterns on a small set of focus tokens critical for reasoning while allowing redistribution among tail tokens. Across steering benchmarks, SKOP achieves the best joint steering-utility trade-off, reducing utility degradation by 5–7× while retaining over 95% of vanilla steering efficacy, and remains robust in long-context retrieval where vanilla steering fails.
OpenReviewOpenReview · · May 7, 2026
0
Don't Lose Focus: Activation Steering via Key-Orthogonal Projections
Haoyan LuoMateo Espinosa ZarlengaMateja Jamnik
This paper argues that a main cause of the reasoning and retrieval degradation seen in query-space activation steering is attention rerouting: steering vectors alter query-key matching and shift attention away from contextually important tokens toward less informative ones. To counter this, the authors propose Steering via Key-Orthogonal Projections (SKOP), which constrains harmful rerouting without eliminating steering efficacy by preventing attention on a small set of focus tokens from moving to less critical tail tokens while still allowing redistribution within each set. Across multiple steering benchmarks, SKOP achieves the best joint steering-utility trade-off, reducing utility degradation by 5-7 times while retaining over 95% of vanilla steering efficacy, and it maintains more robust long-context retrieval where vanilla steering is ineffective.
OpenReviewOpenReview · · May 4, 2026
0
A Matter of Interest: Understanding Interestingness Judgments of Math Problems in Humans and Language Models
Shubhra MishraYuka MachinoGabriel PoesiaAlbert Q. JiangJoy HsuAdrian WellerChallenger MishraJoshua B. TenenbaumDavid BromanMateja JamnikCedegao E. ZhangKatherine M. Collins
This paper examines how closely large language models' judgments of mathematical interestingness align with those of humans from different mathematical backgrounds, comparing LLM ratings with those of crowdsourced participants with college math experience and International Math Olympiad competitors. Although many LLMs broadly agree with human notions of interestingness, they largely fail to match the distribution of human judgments and align only weakly with the rationales humans select for finding problems interesting. When LLMs generate problems, those passing validity filtering can still be engaging, leading the authors to call for multi-LLM human-AI collaborative systems that reflect both the promise and current limits of LLMs as partners in mathematical reasoning.
OpenReviewOpenReview · May 3, 2026
0
Actionable Interpretability Must Be Defined in Terms of Symmetries: A Compositional Probabilistic Approach
Pietro BarbieroMateo Espinosa ZarlengaFrancesco GianniniAlberto TermineFilippo BonchiMateja JamnikGiuseppe Marra
This paper argues that AI interpretability research is ill-posed because existing definitions lack formal testability. It posits that actionable definitions must be formulated in terms of symmetries, hypothesizing that four symmetries—inference equivariance, information invariance, concept-closure invariance, and structural invariance—suffice under a compositional view to formalize interpretable models as a subclass of probabilistic models, to unify interpretable inference (alignment, interventions, counterfactuals) as Bayesian inversion, and to enable verification against safety standards.
OpenReviewOpenReview · April 30, 2026
0
Boltz-1 as a force field -- why co-folding models struggle with learning physics and how to fix it
Urszula Julia KomorowskaVsevolod ViliugaLeif SeutePietro LioMateja Jamnik
The paper investigates why co-folding models struggle to learn physics, focusing on architecture rather than data. Evaluating Boltz-1 as a machine learning interatomic potential, it finds underperformance on energy surface learning. The analysis shows that accurate energy learning requires inter-atomic distances encoded properly in the attention pair bias, which Boltz-1 fails to do. The authors introduce simple architectural modifications, including a revised pair bias encoding, that significantly improve energy landscape learning.
OpenReviewOpenReview · April 30, 2026
0
0
A Generative Foundation Model for Heterogeneous Tabular Data
Xiangjian JiangMingxuan LiuNikola SimidjievskiTassilo KleinMateja Jamnik
TabFORGE is a generative foundation model for heterogeneous tabular data. It addresses the poor synthetic data quality of prior tabular generators by aligning with the causal structure of tabular data. TabFORGE uses a pretrained causality-aware feature encoder to map diverse datasets into a unified latent space, then decouples latent modeling from decoding via two-stage pretraining: a score-based diffusion transformer for latent denoising, followed by a denoising-aligned decoder. This mitigates latent distribution shifts between training and inference. Evaluated against 22 baselines on 45 datasets, TabFORGE produces high-quality synthetic data with strong structural fidelity.
OpenReviewOpenReview · April 27, 2026
0
0
TabFORGE: A Tabular Foundation Model for Generative Modelling
Xiangjian JiangMingxuan LiuNikola SimidjievskiTassilo KleinMateja Jamnik
TabFORGE is a generative tabular foundation model that builds on pretrained Tabular FOundational Representations for GEneration, using a structure-aware pretrained feature encoder to capture transferable representations of inter-feature dependencies. A two-stage design decouples latent modelling from decoding: a score-based diffusion transformer is pretrained first, then a denoising-aligned decoder is pretrained on the denoised latent embeddings, mitigating the latent distribution shift between training and inference. Evaluated against 22 benchmark methods on 45 real-world datasets, TabFORGE generates high-quality synthetic tabular data with strong structural fidelity.
OpenReviewOpenReview · · April 16, 2026
0
Shaping the Future of Mathematics in the Age of AI
Johan CommelinMateja JamnikRodrigo OchigameLenny TaelmanAkshay Venkatesh
The paper argues that the mathematical community must actively shape the impact of AI on mathematics. It identifies five pressing areas—values, practice, teaching, technology, and ethics—and offers recommendations for safeguarding intellectual autonomy, rethinking practice, broadening curricula, building academic infrastructure, and developing shared ethical principles, so that the community itself, not external forces, determines the future of mathematics.
arXivarXiv · · March 26, 2026
0
2
Digging Deeper: Learning Multi-Level Concept Hierarchies
Oscar HillMateo Espinosa ZarlengaMateja Jamnik
Multi-Level Concept Splitting (MLCS) discovers multi-level concept hierarchies from only top-level supervision, overcoming the shallow-hierarchy limitation of prior methods. Deep-HiCEMs then represent these hierarchies and enable interventions at multiple abstraction levels. Experiments show MLCS discovers human-interpretable concepts absent during training, and Deep-HiCEMs maintain high accuracy while supporting test-time concept interventions that can improve task performance.
arXivarXiv · · March 10, 2026
0
0
Hierarchical Concept-based Interpretable Models
Oscar HillMateo Espinosa ZarlengaMateja Jamnik
Hierarchical Concept Embedding Models (HiCEMs) explicitly model inter-concept relationships through hierarchical structures, extending Concept Embedding Models (CEMs). To reduce annotation burden, Concept Splitting automatically discovers finer-grained sub-concepts from a pretrained CEM's embedding space without additional labels. HiCEMs enable test-time concept interventions at multiple granularities, yielding improved task accuracy across datasets, including a new 3D kitchen renders dataset.
arXivarXiv · · February 27, 2026
0
1
Towards Spatial Transcriptomics-driven Pathology Foundation Models
Konstantin HemkerAndrew H. SongCristina Almagro-PérezGuillaume JaumeSophia J. WagnerAnurag VaidyaNikola SimidjievskiMateja JamnikFaisal Mahmood
SEAL (Spatial Expression-Aligned Learning) is a parameter-efficient vision-omics self-supervised finetuning method that infuses localized spatial transcriptomics (ST) gene expression into existing pathology foundation models. Trained on over 700,000 paired gene expression spot–tissue region examples from 14 organs, SEAL provides a drop-in replacement that consistently improves performance on slide-level molecular status, pathway activity, and treatment response prediction, as well as patch-level gene expression prediction. It also enables cross-modal tasks like gene-to-image retrieval and shows robust domain generalization on out-of-distribution evaluations.
arXivarXiv · · February 15, 2026
0
6
Digging Deeper: Learning Multi-Level Concept Hierarchies
Oscar HillMateo Espinosa ZarlengaMateja Jamnik
Multi-Level Concept Splitting (MLCS) discovers multi-level concept hierarchies from only top-level supervision, extending prior shallow hierarchical concept models. Combined with Deep-HiCEMs, an architecture representing these hierarchies, it enables test-time interventions at multiple abstraction levels. Experiments show MLCS finds human-interpretable concepts absent from training, and Deep-HiCEMs retain high accuracy while supporting interventions that improve task performance.
OpenReviewOpenReview · · February 2, 2026
0
Digging Deeper: Learning Multi-Level Concept Hierarchies
Oscar HillMateo Espinosa ZarlengaMateja Jamnik
This paper introduces Multi-Level Concept Splitting (MLCS) and Deep-HiCEMs to overcome the shallow-hierarchy restriction of prior hierarchical concept models. MLCS discovers multi-level concept hierarchies using only top-level supervision, while Deep-HiCEMs represent these hierarchies and support concept interventions at multiple abstraction levels. Experiments across datasets show MLCS finds human-interpretable concepts absent during training and Deep-HiCEMs preserve accuracy while improving task performance through test-time interventions.
OpenReviewOpenReview · · February 2, 2026
0
Actionable Interpretability Must Be Defined in Terms of Symmetries
Pietro BarbieroMateo Espinosa ZarlengaFrancesco GianniniAlberto TermineFilippo BonchiMateja JamnikGiuseppe Marra
This paper argues that interpretability in AI must be defined through symmetries to be actionable. It hypothesizes that four symmetries—inference equivariance, information invariance, concept-closure invariance, and structural invariance—suffice to formalize interpretable models as a subclass of probabilistic models, unify interpretable inference (e.g., alignment, interventions, counterfactuals) as Bayesian inversion, and provide a framework for verifying compliance with safety standards.
arXivarXiv · · January 19, 2026
0
3
CB-SLICE: Concept-Based Interpretable Error Slice Discovery
Yael KonfortiMateo Espinosa ZarlengaElaf AlmahmoudMateja Jamnik
CB-SLICE introduces a concept-based error slice discovery method that groups samples according to shared concept prediction failures in Concept Bottleneck Models (CBMs), where downstream errors stem from concept mispredictions. It identifies the keyword-concepts most responsible for each slice's failure mode. Across benchmarks, CB-SLICE outperforms state-of-the-art methods in uncovering known biases and provides richer, more faithful explanations directly tied to the model's inference process, unlike prior approaches that approximate error sources.
OpenReviewOpenReview · · January 19, 2026
0
An AI Monkey Gets Grapes for Sure -- Sphere Neural Networks for Reliable Decision-Making
Tiansi DongHenry HePietro LiòMateja Jamnik
Sphere Neural Networks embed concepts as circles on an $n$-dimensional sphere, using complement circles to represent negation and filtering out illogical statements that form unsatisfiable circular configurations. This enables reliable disjunctive syllogistic reasoning without catastrophic forgetting, mastering 16 syllogistic tasks while preserving classical syllogistic rigour, outperforming supervised learning and LLM reasoning.
arXivarXiv · · January 1, 2026
0
0
A Matter of Interest: Understanding Interestingness of Math Problems in Humans and Language Models
Shubhra MishraYuka MachinoGabriel PoesiaAlbert JiangJoy HsuAdrian WellerChallenger MishraDavid BromanJoshua B. TenenbaumMateja JamnikCedegao E. ZhangKatherine M. Collins
This paper studies how well language models' judgments of mathematical interestingness align with human judgments. Through two studies involving crowdworkers and International Math Olympiad competitors, the authors find that LLMs broadly agree with human notions of interestingness but fail to capture the full distribution of human ratings. LLMs also show only weak correlation with humans' stated rationales for why problems are interesting, revealing both promise and limitation in current AI-human thought partnerships for mathematics.
arXivarXiv · · November 11, 2025
0
4
Frequent collaborators
Nikola Simidjievski (39)
Mateo Espinosa Zarlenga (36)
Pietro Lio (23)
Xiangjian Jiang (17)
Andrei Margeloiu (17)
Zohreh Shams (15)
Pietro Liò (14)
Pietro Barbiero (14)
Albert Q. Jiang (13)
Adrian Weller (13)
Wenda Li (13)
Konstantin Hemker (11)