Papers
Topics
Authors
Recent
Search
2000 character limit reached

Alchemist: History and Modern Transformations

Updated 4 July 2026
  • Alchemist is defined as both a historical figure in the Art of Memory—using stratified differentiation and prima materia—and a modern metaphor for systematic transformation.
  • Modern research repurposes the term for diverse systems in automated labeling, HPC, continual learning, generative media, and quantum algorithms, emphasizing representation transmutation.
  • Recent applications demonstrate alchemist frameworks improving efficiency, reducing computational costs, and enabling innovative approaches in quantum chemistry and data-centric AI.

Alchemist denotes both the historical practitioner of alchemy and, in contemporary research literature, a recurrent title for systems that reformulate costly, opaque, or combinatorially large problems as controllable transformations. In one historical account, alchemists are treated as contributors to the evolution of the Art of Memory and to the structural principle called “differentiation with stratification,” a nucleus-and-differentiation design that the authors trace from Llull and Bruno to Newton and Leibniz (Pombo, 2015). In current arXiv usage, “Alchemist” names unrelated frameworks in automated labeling, high-performance computing, continual learning, generative media, material design, artificial chemistry, and quantum algorithms, rather than a single technical lineage (Huang et al., 2024).

1. Historical alchemist and the memory-art lineage

In the historical-philosophical treatment of alchemy, the alchemist is not presented merely as a proto-chemist, but as a figure embedded in the Art of Memory and in a broader architecture for organizing knowledge. The Art of Memory is said to begin with Aristotle’s questions on memory, to be influenced by alchemists and associated figures including Augustine of Hippo, Albertus Magnus, Thomas Aquinas, Ramon Llull, and Giordano Bruno, and to culminate in a late-stage formulation that the authors call “differentiation with stratification” (Pombo, 2015).

Within that account, alchemy contributes two linked motifs. The first is a stratified model of matter; the second is the unifying idea of “prima materia.” Llull is described as introducing the alchemical paradigm of matter into the memory art and making it a basis for the Llullian art, while Bruno is described as one of the greatest and last practitioners of the art of memory, transmitting this knowledge to Isaac Newton and G. Leibniz. The resulting principle proposes a nucleus differentiating from other elements, “similar to the paradigm of the unification of the matter in the tradition of alchemy” (Pombo, 2015).

The same paper extends this historical claim into the structure of modern theory. Classical mechanics is interpreted through an observational nucleus and theoretical differentiations from it; the observational law is given as d=vtd = vt, while forces specify deviations from uniform rectilinear motion. Newton is said to introduce the “alchemical space of influence to physics,” and Leibniz’s differential calculus is described as taking the straight line as a nucleus from which curved lines deviate, with “differentiation” measuring those deviations. This interpretation is not standard historiography, but it establishes an important feature of the term in later technical usage: alchemical language is repeatedly attached to systems that transmute or interpolate between forms while preserving an explicit structural logic (Pombo, 2015).

2. Polysemy in modern research usage

In modern arXiv literature, the identical title names multiple independent systems. A common misconception is that “Alchemist” refers to one framework or one research program. The record instead shows a polysemous label applied to unrelated architectures, services, and theories.

Name in paper Domain Core mechanism
ALCHEmist (Huang et al., 2024) Automated labeling LLM-generated labeling programs, weak supervision, distillation
Alchemist (Gittens et al., 2018) SparkMPI computing Offload large-scale linear algebra from Spark to MPI libraries
Alchemist (Huang et al., 3 Mar 2025) Online continual learning Reuse serving activations and KV cache during training
Video Alchemist (Chen et al., 10 Jan 2025) Text-to-video generation Multi-subject open-set personalization with dual cross-attention
Graph Neural Alchemist (Coelho et al., 2024) Time series classification Directed visibility graphs with in-degree and PageRank features
Fullqubit alchemist (Huang et al., 22 Aug 2025) Quantum chemistry Fully quantum thermodynamic integration for free energies

This distribution suggests a recurring naming logic rather than a shared implementation. The term is repeatedly attached to methods that “transmute” one representation into another: labels into code, row-distributed data into MPI kernels, reference images into personalized video, time series into graphs, or discrete chemical choices into continuous alchemical variables.

3. Data-centric AI systems

In automated annotation, ALCHEmist replaces per-example querying with program synthesis. Instead of asking an LLM to label every example, it asks the model once to generate labeling functions that can be stored, audited, modified, and reapplied locally. The workflow comprises program generation via prompting, program execution and aggregation with weak supervision, and distillation into a local model. Prompt templates include Task Description, Labeling Instructions, and Function Signature; programs return class indices or abstain with 1-1 when uncertain. Alchemist uses Snorkel by default and supports Weighted Majority Vote, Dawid–Skene, and FlyingSquid. Across eight text datasets and one image dataset, the paper reports that “on average, improvements amount to a 12.9% enhancement” and that “the total labeling costs across all datasets are reduced by a factor of approximately 500×”; in the cancer example, GPT-4 calls drop from 7,569 to 10 and cost falls from approximately $1,200 to approximately$0.70, a 1,700× decrease (Huang et al., 2024).

The same name is used for an online continual learning system for LLMs that co-locates serving and training on the same GPU(s) and reuses serving activations during training. Its two central techniques are recording and storing activations and KV cache only during the prefill phase, and smart activation offloading and hedging. The paper measures redundant recomputation at 30–42% of total training time in separated serving/training deployments and reports that Alchemist improves training throughput by up to 1.72×, reduces peak training memory by up to 47%, supports up to 2× longer samples before OOM, and keeps average time-per-token increases to at most approximately 3% at higher load. The design, however, assumes PEFT such as LoRA and serving GPUs with idle headroom (Huang et al., 3 Mar 2025).

A third data-centric use appears in text-to-image training. Here Alchemist is a meta-gradient-based data selection framework that learns a lightweight rater to assign continuous per-sample weights and then prunes with Shift-Gsampling. The method is explicitly positioned against heuristic filtering based on aesthetic scores or resolution thresholds. On LAION with STAR-0.3B, the paper reports that training on an Alchemist-selected 15M subset, i.e. 50% of the data, improves FID from 17.48 to 16.20 relative to the full 30M set, while a 6M subset outperforms 15M random selection. The authors further report training-time reductions of about 2.33× at 20% retention and 5× at 50% retention, and state that training on an Alchemist-selected 50% subset can surpass training on the full dataset under the same epoch budget (Ding et al., 18 Dec 2025).

Graph Neural Alchemist extends the label into representation learning for time series. It converts a univariate series into a directed visibility graph, orients edges left-to-right to preserve the arrow of time, encodes nodes with in-degree and PageRank, processes the graph with a 4-layer GraphSAGE encoder, and applies mean pooling followed by a Multilayer Pooling Perceptron. The visibility graph construction is stated to admit O(nlogn)O(n \log n) time, while the GNN-plus-classifier pipeline is described as O(M×(E+N))O(M \times (E + N)). The paper emphasizes robustness in low-data and noisy settings, and argues that the combination of directed visibility graphs, PageRank, and multi-hop message passing captures long-range temporal dependencies that short local operators may miss (Coelho et al., 2024).

4. High-performance computing, distributed execution, and simulation

In HPC and data analytics, Alchemist is a server-style bridge between Spark and MPI-based libraries. The core architecture comprises the Alchemist-Client Interface (ACI), used inside the Spark application, and the Alchemist-Library Interface (ALI), a per-library shared object dynamically loaded at runtime. Distributed data move directly from Spark executors to Alchemist workers through asynchronous TCP sockets and are stored on the MPI side as Elemental DistMatrix objects; the AlMatrix abstraction lets Spark retain proxy handles and avoid moving matrices back until needed. Across conjugate gradient and truncated SVD case studies, the papers report order-of-magnitude runtime reductions for iterative linear algebra, including per-iteration CG time dropping from 55.9 ± 8.7 s in Spark to 1.5 ± 0.1 s with Alchemist at 30 nodes, total compute dropping from 29,443 s to 789 s in that setting, a truncated SVD speedup of up to 7.9× on a 400GB ocean-temperature dataset, and weak scaling to data sizes up to 17.6TB (Gittens et al., 2018, Gittens et al., 2018).

Later work broadens this Spark–MPI system through containerized deployment and new client interfaces. Running on Cray XC with Shifter, on Cray CS with Singularity, and on Kubernetes, Alchemist is extended with ACIPython, ACIDask, and ACIPySpark, enabling NumPy arrays, Dask arrays, and PySpark distributed matrices to call HPC libraries through the same service. That work also emphasizes that data transfer is the principal overhead and characterizes the dependence on message buffer size, matrix aspect ratio, and Elemental layout; larger buffers around 100 MB and row-aligned layouts such as [VC, STAR] are reported to reduce transfer time and variance for row-based inputs (Rothauge et al., 2019).

A different Alchemist, developed internally at Apple, is a production-grade distributed deep learning service built around containerization, gang scheduling, a decoupled control plane, a custom autoscaler, and integrated observability. It supports TensorFlow, PyTorch, Keras, Horovod, parameter-server and all-reduce modes, and both synchronous and asynchronous training. On internal autonomous-systems workloads, the paper reports order-of-magnitude reductions in training time, with specific cases of 10×, 11×, and 14× speedups, and argues that synchronous all-reduce via Horovod and NCCL scaled better than parameter-server configurations on the tested CNN workloads (Ma et al., 2018).

Alchemist also appears as a discrete-event simulation engine for testing BDI-based multi-agent systems. In that setting it is integrated natively with JaKtA on the JVM, so the same agent specification can run either in simulation or in a concurrent deployment. The paper maps the agent control loop onto discrete events at different granularities—AMA, ACLI, ACLP, and ABE—and argues that fidelity improves with finer granularity because implicit synchronization decreases. In the UAV formation case study, coarse mappings appear overly optimistic, while ACLP exposes timing-dependent failures unless responsiveness is sufficiently high, and the non-simulated multithreaded deployment mirrors the ACLP trend rather than the coarser alternatives (Baiardi et al., 14 Feb 2026).

5. Generative media, video personalization, and material editing

In video generation, Video Alchemist is a text-to-video diffusion model with built-in multi-subject, open-set personalization. Its central architectural claim is explicit subject-level binding: each reference image is linked to its corresponding subject-level text token and fused into a latent Diffusion Transformer through a separate personalization cross-attention stream, distinct from full-text cross-attention. The system is trained in two stages, uses a CogVideoX-style autoencoder, and adopts a modified dual-CFG sampler with sT=8s_T = 8 and sI=3s_I = 3. Because paired reference-image/video datasets are scarce, the authors construct training pairs automatically from 86.8M raw videos filtered to 37.8M high-quality single-shot clips and introduce identity-focused augmentations to avoid “copy-and-paste” overfitting. On the MSRVTT-Personalization benchmark of 2,130 clips, the model is reported to outperform prior personalization baselines in both quantitative metrics and human studies; in subject mode with a single reference, example scores include Text-S 0.269\approx 0.269, Vid-S 0.732\approx 0.732, Subj-S 0.617\approx 0.617, and Dync-D 1-10, while human raters preferred it 96.5% for quality and 98.1% for fidelity against ELITE, VideoBooth, and DreamVideo (Chen et al., 10 Jan 2025).

A separate diffusion-based Alchemist targets material editing in images. Starting from Stable Diffusion 1.5 initialized with InstructPix2Pix weights, it concatenates a spatially constant scalar control signal 1-11 with the noised target latent and the context-image latent, and conditions textually with prompts of the form “Change the <attribute_name> of the <object_class>.” The system edits roughness, metallic, albedo, and transparency, and is trained on a synthetic dataset rendered in Blender Cycles from 100 unique meshes, 1200 PBR materials, and 400 environment maps. The design is intended to preserve geometry, lighting, and non-target attributes while providing smooth parametric control. On held-out synthetic scenes, it reports improvements over a prompt-only InstructPix2Pix baseline, including LPIPS reductions for roughness from 0.13 to 0.09 and for albedo from 0.14 to 0.10, while a user study reports the edited outputs chosen as more photorealistic 69.6% of the time and strongly preferred overall 70.2% of the time. The paper also notes limitations: roughness and metallic edits can be subtle, and transparency can be physically inconsistent (Sharma et al., 2023).

The alchemical metaphor is used more literally in “Alchymical Mirror,” an interactive Jitter/Max/MSP work organized as a staged rite. A participant faces a mirror-like screen, progresses through transformations by sustaining a stable sound, and at the final stage controls an FFT-based sparkle between brightly colored gloves tracked in real time. The patch structure comprises mirroring, a burning or bug-like stage using a logistic-map-derived expression and fractal noise, calcination in motion, and a final dissolution/solvent stage that preserves A+R+G while discarding B. Sound stability is analyzed every 200 ms through pitch~, the progression percentage reddens the image through the R channel, and the star’s size scales with hand separation while its position follows the tracked hands. The work explicitly frames the participant as the “alchemist” who extracts the final sparkle or quintessence (Eidelman et al., 2011).

6. Artificial chemistry, materials design, and quantum alchemy

In artificial life and theoretical computer science, AlChemy is an artificial chemistry based on 1-12-expressions. Molecules are untyped lambda terms, a collision applies one term to another, and the product is reduced under 1-13-reduction and 1-14-substitution subject to a fixed reduction-step limit. The canonical reaction is catalytic and non-commutative, 1-15 with 1-16. A recent re-examination reproduces Fontana and Buss’s original organizational levels but reports that complex, stable organizations emerge more frequently than previously expected, are robust against collapse into trivial fixed-points, yet are difficult to combine into higher-order entities. The paper further shows that different random expression generators materially alter the accessibility of inert states and provides a constructive typed-1-17 proof that AlChemy-like collisions can simulate arbitrary state transitions of any chemical reaction network (Mathis et al., 2024).

A categorical reformulation of this program separates syntax, semantics, and dynamics. In that treatment, a single-sorted Lawvere theory 1-18 supplies the syntax, a 1-19-algebra supplies semantics, and a protocol is a morphism $1,200 to approximately$0. The paper defines a functor

$1,200 to approximately$1

which maps algebraic structure to a Markov process on multisets by sampling ordered tuples without replacement, applying the semantic interpretation $1,200 to approximately$2, and updating the multiset state. This construction generalizes Minimal Chemistry Zero and recasts AlChemy as a compositional “algebraic artificial chemistry” in which reaction rules are induced by algebraic operations rather than listed explicitly (Pratt-Johns et al., 10 Mar 2026).

In materials science, “digital alchemy” gives the term a thermodynamic meaning. Controllable colloidal attributes $1,200 to approximately$3 are treated as thermodynamic variables with conjugate alchemical potentials $1,200 to approximately$4, so that

$1,200 to approximately$5

and

$1,200 to approximately$6

The framework is used to optimize building blocks for target self-assembled structures and to define alchemical moduli and susceptibilities. For truncated tetrahedra assembling diamond at packing fraction $1,200 to approximately$7, the paper reports an optimal truncation $1,200 to approximately$8 and an alchemical modulus $1,200 to approximately$9, interpreting the result as a balance between maintaining tetrahedral entropic valence and avoiding steric frustration (Anders et al., 2015).

Quantum work extends the same metaphor in two directions. One proposal represents candidate molecules as a superposition of atomic compositions through continuous “alchemical” weights in a Hamiltonian, then jointly optimizes the electronic wavefunction and those weights with VQE to target a property such as binding energy in an external field. The one-electron Hamiltonian is a convex mixture over species-specific nuclear potentials and effective core potentials, and candidate molecules are recovered from the optimized site-wise propensities. Simulations and IBM Quantum hardware runs are reported for diatomics and for a hemeprotein-pocket model, with the method selecting SO as the top binder in the H-NOX setting (Barkoutsos et al., 2020).

A later quantum algorithm, “Fullqubit alchemist,” targets alchemical free energy calculations directly. It block-encodes the full Liouvillian for Born–Oppenheimer quantum–classical dynamics, applies QSVT rather than Suzuki–Trotter splitting, and encodes electronic forces through a coherent Hellmann–Feynman construction. Free energy differences are then computed through a fully quantum implementation of thermodynamic integration along an alchemical path,

O(nlogn)O(n \log n)0

without the entropy-estimation subroutines used in prior work. The paper claims super-polynomial runtime-scaling improvements in precision, quadratic improvements in scaling with the number of particles, and removal of the dependence on the nuclear phase-space dimension that had bottlenecked previous entropy-based methods (Huang et al., 22 Aug 2025).

Across these modern usages, the word retains a stable conceptual function even as the implementations diverge. It marks procedures that modify attributes, interpolate between forms, or transmute one computational object into another while keeping the transformation itself explicit—whether as code, cross-attention bindings, thermodynamic conjugates, Markovian reaction rules, or block-encoded generators.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (18)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Alchemist.