SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.15601 · 2026

Quantum Models with Multi-Stage Training for Compositional Concept Generalization

Mehrnoosh Sadrzadeh, Martha Lewis, Mina Abbaszadeh, Matilda Karabina

arXiv · PDF · Open in the Atlas

Code that ran

13 of 14 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; 12 failures of our instrument; 1 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/2608.15601.json · badge: /api/ran/2608.15601.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
Mina-Abbaszade/Quantum-Multimodality canonical (classifier label)
classifier basis: census
13 ran · 1 no recorded run
FunctionStatusWhere it lives
binary_accuracy Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/common/binary_metrics.py
pointer only (licence: NONE) · get_code("93b7a9ad79da59d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

binary_loss Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/common/binary_metrics.py
pointer only (licence: NONE) · get_code("15f703b9957b3d41")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

build_caption_image_pairs Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/common/data.py
pointer only (licence: NONE) · get_code("73f28554f2ee1e3f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

build_dataset_pairs Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/common/data.py
pointer only (licence: NONE) · get_code("4a45de9fc8da3f82")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

build_relational_image_circuits Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/models/quantum/relational/angle_encoder.py
pointer only (licence: NONE) · get_code("9cbf4dfcdd8f848e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

build_relational_sentence_circuits Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/models/quantum/relational/angle_encoder.py
pointer only (licence: NONE) · get_code("a345dfbffe102045")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

clean_caption Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/common/data.py
pointer only (licence: NONE) · get_code("977d148aeb980fec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

encode_image_split_onehot Ran
ran, honoured the contract we drafted
Mina-Abbaszade/Quantum-Multimodality/src/models/quantum/ohe_encoder.py
pointer only (licence: NONE) · get_code("75baa69f464d5def")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

freeze_circuit_from_dict Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/models/quantum/relational/freezing.py
pointer only (licence: NONE) · get_code("e50170548496523c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

load_param_dict Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/models/quantum/relational/freezing.py
pointer only (licence: NONE) · get_code("0718da35aa8383be")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

supcon_acc Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/common/losses.py
pointer only (licence: NONE) · get_code("4a14884372fd3590")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

supcon_loss Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/common/losses.py
pointer only (licence: NONE) · get_code("d82b65e734329cd4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

to_dataframe Ran
ran; our contract draft was wrong, not the code
Mina-Abbaszade/Quantum-Multimodality/src/models/quantum/ohe_encoder.py
pointer only (licence: NONE) · get_code("f437e0bee3a8c75a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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.

supcon_acc Not yet run
unverified (harvested, no recorded run)
Mina-Abbaszade/Quantum-Multimodality/src/common/metrics.py
pointer only (licence: NONE) · get_code("288c7d005b30ce7e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mina-Abbaszade/Quantum-Multimodality 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 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 14 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.

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

Compositional Concept Generalization (CoCoGen), the ability to systematically recombine learned primitives in novel contexts, is a key challenge for multimodal learning. In this work, we provide a solution using a compositional model of meaning that separates nouns from relations and uses tensors and variational quantum circuits to train them on data. This model enables us to employ a multi-stage training paradigm, one that first learns object representations from single-object image-caption pairs, then subsequently transfers these to the relational stage where object parameters are frozen and optimisation is only applied to relational components. This design explicitly enforces compositional factorisation at the circuit, ensuring that relations are learned as transformations over stable primitives. The training paradigm is tested on the CLEVR dataset developed specificially for CoCoGen. For text, we work with vector representations of nouns and higher order tensor representations of relations using a set of different ansatz. For images, we work with quantum encodings of image embeddings dervied from Open AI's Vision-Language tool CLIP and contrast amplitude encoding, which preserves the original embedding geometry, with angle encoding, which introduces nonlinear feature transformations. Our results show that multi-staged training combined with structured encodings significantly improves outof-distribution relational generalisation, while using orders of magnitude fewer trainable parameters than classical baselines. We find that performance gains arise from the interaction between representation and encoding, with nonlinear quantum encodings enhancing the separability of compositional structure. These findings demonstrate that structured quantum representations and staged learning provide an effective framework for compositional generalisation in multimodal quantum machine learning.

For agents

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

get_harvested_code_for_paper("2608.15601")
get_code_for_paper("2608.15601")
have("2608.15601")

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

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

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

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

Connect an agent — have() is free.