TL;DR Manifold embedding for data visualisation is dominated by a small set of hand-designed state-of-the-art (SOTA) algorithms. Their design targets are fixed at development time, resulting in inflexible algorithmic behaviour that cannot be readily steered towards user-specified structural priorities...
Authors: Burak Susam, Ruiyuan Kang, Tingting Mu
Published: 2026-11-16
Categories: cs.AI
arXiv: 2611.13710
License: cc-by-4.0
PDF: download · download markdown
:material-format-quote: Cite this paper
AutoManifold: Agentic Design of Data Visualisation Algorithms via Manifold Embedding¶
Burak Susam¶
Department of Computer Science University of Manchester Manchester, M13 9PT, UK [email protected]
Ruiyuan Kang X32 Studio¶
Abu Dhabi, UAE [email protected]
Tingting Mu¶
Department of Computer Science University of Manchester Manchester, M13 9PT, UK [email protected]
Abstract¶
Manifold embedding for data visualisation is dominated by a small set of handdesigned state-of-the-art (SOTA) algorithms. Their design targets are fixed at development time, resulting in inflexible algorithmic behaviour that cannot be readily steered towards user-specified structural priorities. Hand-designing new embedding algorithms to address user priority requires highly specialised expertise and is time consuming. To address autonomous algorithm design tailored to user preference, we introduce an agentic algorithm generation pipeline AutoManifold. It composes new manifold embedding algorithms from a constrained vocabulary of affinity, cost, and optimisation primitives, supported by multi-agent large-language-model (LLM) orchestration. AutoManifold conditions every stage of its design on user-specified structural preservation preferences, and iteratively refines the algorithm configuration through an LLM-guided, metric-grounded iterative loop. We compare the generated algorithms against the three strongest and most frequently used SOTA methods (t-SNE, UMAP, and PaCMAP) on realworld datasets spanning different difficulty regimes under identical evaluation infrastructure. The results demonstrate that LLM-driven, priority-conditioned algorithm synthesis can move beyond hyperparameter tuning, producing genuinely new algorithms that outperform traditional hand-designed methods in their ability to steer towards user-specified properties without compromising the intrinsic structure in the original data. The code of AutoManifold is available at https://github.com/buraksusam/AutoManifold\_NeurIPS2026.
1 Introduction¶
Manifold embedding is widely used in modern data analysis, underpinning exploratory visualisation, e.g., in single-cell genomics, neuroscience, and the inspection of learned representations in deep neural networks. However, the research has shifted from a proliferation of new algorithms towards convergence on a small set of hand-designed methods. Nowadays, the field is dominated principally by t-SNE 1, UMAP 2, and PaCMAP 3, whose algorithmic targets and mechanisms are fixed at design time 4–6. Each of these methods encodes a specific, immutable trade-off between local neighbourhood fidelity and global structural properties such as pairwise distance preservation and cluster separation 3, 7. Such trade-off directly impacts the usefulness of the computed embeddings
in downstream data visualisation. The practitioner's only lever for steering this trade-off is through hyperparameter tuning over a narrow, algorithm-specific parameter space. An expert-driven process of hand-designing a new embedding algorithm to better handle such trade-off is time consuming, due to the large design space and the difficulty of anticipating effects of new designs without extensive trial-and-error experimentation.
Recent work has begun to explore whether large language models (LLMs) can act as autonomous designers of numerical algorithms. However, naive use of LLMs as code generators is insufficient. Effective algorithm design requires a more structured agentic pipeline. Despite promising results in program synthesis, scientific code generation, and automated machine learning 8, 9, LLM-emitted algorithms are prone to numerical pathologies, miscalibrated objectives, and silent correctness failures. Moreover, there is no systematic mechanism to ensure that the generated methods can faithfully reflect the user-specified design priorities rather than LLM training bias.
We explore the use of LLMs to design new manifold embedding algorithms for data visualisation, which can improve upon user-specified quality metrics. Our contributions include the following: (1) We introduce a unified embedding framework that identifies core computational components governing embedding quality and provides structured formulation templates for data- and metricaware adaptation. (2) We propose AutoManifold, an LLM-driven multi-agent system that uses the embedding framework as algorithm skeleton, and enables effective, reliable, and controllable algorithm generation with compositional novelty. AutoManifold is capable of handling nested tasks of novel function design, model configuration search, and hyperparameter optimisation, through creative and analytical reasoning capacity of LLMs. (3) We conduct comprehensive experiments to compare AutoManifold-generated algorithms with strong hand-designed baselines, evaluated from multiple complementary perspectives through global, local, and outlier lenses. Results show that AutoManifold without priority constraint can design algorithms with more balanced and stronger performance than existing baselines, while priority-driven AutoManifold can steer synthesised algorithms towards target metrics with the other properties remaining within an acceptable range.
2 Related Work¶
Manifold Embedding for Data Visualisation: The modern landscape of manifold embedding for data visualisation is shaped by a small number of influential algorithms, e.g., t-SNE 1 by minimising the mismatch between similarity distributions, UMAP 2 by aligning fuzzy topological structures, and PaCMAP 3 by explicitly separating mid-near pairs and far pairs to improve trade-off between local and global fidelity. Earlier methods such as Laplacian Eigenmaps 10, Isomap 11, and LargeVis 12 introduced key designs, such as k-nearest-neighbour (kNN) graphs, geodesic distances, and negative-sampling gradients, which recur in later algorithms. Despite their differences, these methods hardcode specific ways for neighbourhood modelling, objective formulation, and optimisation, meaning that their inductive biases are fixed at design time.
LLM for Data Visualisation: Recent research has begun to explore the use of LLMs in data visualisation, focusing on generating, interpreting, and interacting with visual representations. Systems like LIDA 13, MatPlotAgent 14, and PlotGen 15 generate visualisations, while Charts-of-Thought 16 and LLM4Vis 17 interpret and recommend visualisations. Survey studies 18, 19 further investigate interactions between LLMs and visualisation. However, in all such work, the embedding step that computes the visualisation coordinates is treated as a black box, where an off-the-shelf algorithm is called with default or lightly tuned parameters. The role of LLMs begins only after embedding computation. Our earlier work 20 uses an LLM agent to iteratively refine the hyperparameters of an existing embedding algorithm with explanations, but leaves the algorithm itself unchanged.
LLM-Driven Algorithm Design: A rapidly growing body of work explores LLMs as autonomous designers of numerical algorithms 21. Existing frameworks span a spectrum of decreasing LLM autonomy, from unconstrained code generation to tightly scoped component optimisation. At the highautonomy end, the LLMs generate entire algorithms from scratch, as in OPRO 22 for optimisation, LLaMEA 23 for metaheuristic design, and EvoTune 24 for enhancing evolutionary search. At the low-autonomy end, humans design fixed algorithmic structure, while LLMs optimise specific components within the structure. For instance, FunSearch 8 evolves a critical function by using LLMs within a provided algorithm skeleton for improving cap-set construction and bin-packing heuristics, ReEvo 25 introduces "verbal gradients" for improving combinatorial optimisation, and Eureka [26] applies the same paradigm to improve reward design in reinforcement learning. LLMs have also made progress in symbolic discovery [27] and automated feature engineering [28]. However, most existing LLM-driven design frameworks optimise a single fixed objective, with limited mechanism to steer the design process towards user-specified metrics.
3 A Unified Manifold Embedding Design Framework¶
We focus on computing low-dimensional embeddings \(\{\mathbf{z}_i \in \mathcal{R}^d\}_{i=1}^n\) for a given set of high-dimensional data points \(\{\mathbf{x}_i \in \mathcal{R}^D\}_{i=1}^n\) , where d=2,3 is used for data visualisation. We seek low-dimensional embeddings that preserve local neighbourhood relationships among the high-dimensional data points, assuming an underlying manifold structure. Embedding quality is examined by reliability scores denoted by score \((\{(\mathbf{x}_i,\mathbf{z}_i)\}_{i=1}^n)\) . Encouraged by the rapid growth of LLMs with their increasingly powerful search and knowledge-driven reasoning capacity, we revisit manifold embedding algorithm design, and propose a unified, high-capacity embedding framework, integrating a broad range of key factors and computational steps that influence the embedding quality to formulate a challenging optimisation problem. This problem provides a testbed to agentic AI on novel function design, model configuration search, and hyperparameter optimisation. This framework serves as an algorithmic skeleton for algorithm synthesis, guiding the autonomous LLM designer. Below we explain the proposed embedding framework component by component.
Embedding Difficulty Analysis: Significant dimensionality reduction inevitably introduces information distortion when representing complex high-dimensional data patterns. Local positioning of high-dimensional data points strongly influences the embedding difficulty, which can vary across different regions of the data manifold. Motivated by this, we introduce a regional strategy that distinguishes data patches with varying levels of embedding difficulty, and adapts the model design accordingly. Specifically, we assign data points into groups that are "hard-to-embed" (H), "moderately difficult to embed" (M), and "easy-to-embed" (E), and use the resulting difficulty labels as inputs to guide the formulation of relevant framework components.
Starting from clustering \(\{\mathbf{x}_i\}_{i=1}^n\) into local patches (e.g., by k-means clustering), we embed each patch through a standard embedding algorithm (e.g., t-SNE or UMAP) with its default hyperparameter setting. Subsequently, we compute a set of reliability scores \(\{\mathrm{score}_l\}_{l=1}^L\) for each patch, and then assign each patch a difficulty level based on the aggregated score. This process can be exemplified by the function \(\mathrm{diff}(\mathbf{x}_i): \mathcal{R}^D \to \{\mathrm{H}, \mathrm{M}, \mathrm{E}\},\) given as
Here, the difficulty assignment function is to be designed, of which an example design is a simple thresholding function, assigning "H" to low values of the aggregated score, while "E" to high values and "M" to middle values. The cluster partition clust \(ID(\mathbf{x})\) , the standard embedding computation, and the used reliability scores \(\{score_l\}_{l=1}^L\) are implemented as fixed framework components. Difficulty is assigned per patch rather than per point, since embedding difficulty arises from the relative distance relationships within a neighbourhood rather than from individual points.
Affinity Matrix Construction: A common representation of a neighbourhood graph is the affinity matrix \(\mathbf{A} = [a_{ij}] \in \mathcal{R}^{n \times n}\) , where \(a_{ij}\) measures the similarity between points i and j, and \(a_{ij} = 0\) indicates the absence of a neighbouring relationship. Construction of such affinity matrix usually depends on choices of similarity measures (e.g., Euclidean distance, cosine similarity or geodesic distance), and definition of neighbourhood relationships based on these similarities (e.g., mutual or directed kNNs, or probabilistic neighbourhoods). Letting Q denote the total number of affinity matrix configurations resulting from these choices, each configuration is defined by model choices stored in \(\mathrm{Opt}A_l\) associated with fixed hyperparameters stored in \(\theta_l^{(A)}\) . We construct an ensemble of affinity matrices computed under different configurations. The aggregated affinity value between a target point i and its potential neighbouring point j is computed by
$\(a_{ij} = \sum_{l=1}^{Q} w_l \left( \mathbf{x}_i, \mathbf{f}^{(A)}(\mathbf{x}_i), \operatorname{diff}(\mathbf{x}_i), \mathbf{g}\left( \{\mathbf{x}_i\}_{i=1}^n \right) \right) a_l \left( \mathbf{x}_i, \mathbf{x}_j, \operatorname{OptA}_l, \theta_l^{(A)} \right). \tag{2}\)$
When each weight \(0 \le w_l \le 1\) is a constant that does not change over data points, the affinity ensemble is simply a weighted sum of some base affinity matrices, referred to as hybrid affinity.
More generally, we introduce adaptive weighting, allowing each weight to change over data points. Given a high-dimensional point \(\mathbf{x}_i\) , the weight functions adapt to its embedding difficulty level diff( \(\mathbf{x}_i\) ) and its geometric and distributional features extracted by the feature mapping function \(\mathbf{f}^{(A)}(\mathbf{x}): \mathcal{R}^D \to \mathcal{R}^{h_A}\) . They also take into account the overall data characteristics, represented by features describing the geometry, density and cluster imbalance issues of the input data. These features are extracted by a characteristic function \(\mathbf{g}: \mathcal{R}^{n \times D} \to \mathcal{R}^h\) , for which a pre-defined feature list is suggested. The adaptive weight, feature mapping, and characteristic functions are to be designed. Each affinity function \(a_l\) under a given configuration is implemented as fixed framework components, while the configuration options \(\{\mathrm{OptA}_l\}_{l=1}^Q\) are pre-defined, with their corresponding hyperparameters \(\{\theta_l^{(A)}\}_{l=1}^Q\) to be determined.
Embedding Optimisation Formulation: In general, distortion of neighbourhood relationships can be quantified by comparing two affinity matrices, of which one is constructed in the original space (e.g., by Eq. 2) while the other in the embedding space (typically derived from Euclidean distances). This motivates constructing local objective functions for embedding optimisation (e.g., similarity distribution based in t-SNE and fuzzy topological structure based in UMAP). To balance local fidelity with global structure preservation, additional global objective functions are introduced to capture large-scale geometry or distributional properties (e.g., variance-based in PCA, and mutual information or statistical dependence based).
Given the multi-faceted nature of these objectives, we formulate embedding optimisation as a multi-objective problem, combining a set of H objective functions, each of which is denoted at point level by \(O_l(\mathbf{x}_i, \mathbf{z}_i, \mathsf{OptC}_l)\) for \(l \in \{1, 2 \dots, H\}\) , with pre-defined objective configurations \(\{\mathsf{OptC}_l\}_{l=1}^H\) . This results in a standard multi-objective problem, as
$\(\min_{\{\mathbf{z}_i\}_{i=1}^n} \left( \delta_1 \sum_{i=1}^n O_1(\mathbf{x}_i, \mathbf{z}_i, \mathsf{OptC}_1), \dots, \delta_H \sum_{i=1}^n O_H(\mathbf{x}_i, \mathbf{z}_i, \mathsf{OptC}_H) \right), \tag{3}\)$
where \(\delta_l \in \{0,1\}\) is a binary selector, deciding the inclusion/exclusion of an objective function. A solver usually seeks the Pareto front of the problem. An alternative formulation is to optimise the weighted sum of these objective functions, resulting in the following unconstrained problem:
where we adopt the similar adaptive weighting scheme as in affinity construction, for combining objective functions. Each weight \(0 \le \lambda_l \le 1\) can either be a constant unchanging over data points, or a function depending on the embedding difficulty level and feature characteristics of a given point, as well as data characteristics of the whole input data and the embedding quality metrics of interest. We adopt the same characteristic function as used for affinity matrix construction, but use a different instance-level feature mapping function \(\mathbf{f}^{(O)}(\mathbf{x}_i): \mathcal{R}^D \to \mathcal{R}^{h_O}\) . For example, a density feature \(f_{\text{density}}(\mathbf{x}_i)\) normalised between 0 and 1 can be extracted for each data point. An adaptive weight function in the form of \(\lambda_l = 1 - f_{\text{density}}(\mathbf{x}_i)\) can then enforce stronger local neighbourhood preservation for points from sparse regions.
Typically, the primary objective of manifold embedding is to learn a low-dimensional representation that preserves the local geometry around each data point. Therefore, objective functions that emphasise local structure often play a dominant role in embedding calculation. Global structure preservation is often incorporated to maintain large-scale geometry, acting as a complementary constraint or regularisation term. This encourages us to introduce a constrained formulation, emphasising primary objective optimisation while treating the complementary objectives as optimisation constraints. We distinguish the index sets of the primary and complementary objective functions by \(I_p\) and \(I_c\) , and optimise the embeddings by
$\(\min_{\{\mathbf{z}_i\}_{i=1}^n} \sum_{l \in I_p} \sum_{i=1}^n \lambda_l \left( \mathbf{x}_i, \mathbf{f}^{(O)}(\mathbf{x}_i), \operatorname{diff}(\mathbf{x}_i), \mathbf{g} \left( \{\mathbf{x}_i\}_{i=1}^n \right), \{\operatorname{score}_l\}_{l=1}^L \right) O_l(\mathbf{x}_i, \mathbf{z}_i, \operatorname{OptC}_l), \quad (5)\)$ s.t. $\(\sum_{i=1}^n O_l(\mathbf{x}_i, \mathbf{z}_i, \operatorname{OptC}_l) \leq \theta_l, \text{ for } l \in I_c.\)$
We can also formulate a multi-objective problem with the same constraints as an alternative to the above weighted sum. By introducing constraints, we do not enforce the minimisation of complementary objective functions, but restrict their values to be sufficiently small controlled by hyperparameters \(\{\theta_l\}_{l=1}^H\) . The choice of which optimisation formulations in Eqs. (3) to (5) to use and which objective functions to consider indicated by \(\delta_l\) for Eq. (3) are to be searched. Both the weights \(\{\lambda_l\}_{l=1}^H\) and feature mapping function \(\mathbf{f}^{(O)}\) are to be designed. Although the formulation logic of each individual embedding objective function \(O_l\) is specified by its configuration, its exact function form still needs to be calibrated accordingly.
Model Configuration Determination: To construct the affinity matrix and optimisation formulation, configuration choices are searched from the candidate pools \(\{\operatorname{OptA}_l\}_{l=1}^Q\) and \(\{\operatorname{OptC}_l\}_{l=1}^H\) . We introduce a two-stage decision making, where the final configuration choice depends on an initial configuration guess informed by input data characteristics. This results in
$\(OptC = F_{OptC} \left( OptC^{(0)}, \{ OptC_l \}_{l=1}^H, \{ \mathbf{x}_i \}_{i=1}^n, \{ score_l \}_{l=1}^L \right).\)$ (7)
We let Eq. (7) take extra input \(\{score_l\}_{l=1}^L\) , allowing prior knowledge on embedding quality metrics to influence the objective configuration for embedding optimisation. The initial choices of affinity and objective configurations are informed by data characteristics of the high-dimensional data represented by \(\mathbf{g}\) , such as
$\(\left(\operatorname{OptA}^{(0)}, \operatorname{OptC}^{(0)}\right) = F_{\text{O-ini}}(\mathbf{g}\left(\left\{\mathbf{x}_{i}\right\}_{i=1}^{n}\right)). \tag{8}\)$
The configuration functions \(F_{\text{OptA}}\) and \(F_{\text{OptC}}\) and the initialisation function \(F_{\text{O-ini}}\) are to be designed.
Embedding and Hyperparameter Optimisation: Regarding to solving the three numerical optimisation problems in Eqs. (3) to (5), well-established solvers (e.g., gradient-based methods and their accelerated versions, pareto-based methods) are available. We provide a pre-defined list of solvers for the framework to choose. Regarding hyperparameter optimisation, we introduce an iterative refinement process, building on the LLM-agent refinement architecture of our earlier work [20]. Starting from an initial hyperparameter guess \(\theta^{(0)}\) , it iteratively updates by
$\(\theta^{(t+1)} = F_{\text{update}}\left(\theta^{(t)}, \{\text{score}_l\left(\{(\mathbf{x}_i, \mathbf{z}_i)\}_{i=1}^n\right)\}_{l=1}^L\right). \tag{9}\)$
Here, the updating function \(F_{\text{update}}\) refines the current hyperparameters by considering reliability scores of the current embedding results. The updating function is to be designed.
4 Multi-Agent Algorithm Synthesis¶
The proposed manifold embedding framework in Section 3 has high modelling capacity and adapts to the data, but it introduces a large search space of model configurations and hyperparameters. Moreover, it introduces novel design tasks of specifying functions, which may be given as explicit analytical formulas, described by explicit heuristic rules, or implemented as implicit black-box models. These include design cases of difficulty assignment function (explicit), weight functions \(w_l\) and \(\lambda_l\) (explicit), feature mapping functions \(\mathbf{f}^{(A)}\) , \(\mathbf{f}^{(O)}\) and \(\mathbf{g}\) (explicit), also configuration, initialisation, and hyperparameter updating functions \(F_{\text{OptA}}\) , \(F_{\text{OptC}}\) , \(F_{\text{O-ini}}\) and \(F_{\text{update}}\) (implicit), as well as the calibration of \(O_l\) (explicit). Such a complex combination of nested search and design tasks poses a significant challenge for human algorithm developers to complete within a short time frame. To address this challenge, we present AutoManifold, a principled algorithm synthesis pipeline, driven by an LLM based multi-agent system. We delegate creative and analytical reasoning to LLM agents while measuring quantitative performance objectively by pre-implemented, deterministic, non-LLM engines. We strictly follow the central design principle of "agents propose, engines measure". AutoManifold allows explicit user control on which embedding metrics for the algorithm to improve over. Specifically, the user is asked to select one of the eight pre-defined priority options as listed in Table 5 of Appendix B. AutoManifold generates executable code of the designed algorithm, underpinned by mathematical formulation of embedding optimisation based on templates provided in Eqs. (3) to (5) and by structured pseudo-code at the granularity of algorithmic steps. Orchestrated Architecture: AutoManifold is organised into three independent layers: The orchestration layer

Figure 1: Overview of the multi-agent LLM pipeline for manifold embedding algorithm design.
contains a planner agent, which codes the phase-by-phase workflow logic, manages pipeline state, and enforces convergence criteria for the iterative refinement. The agent layer contains specialised LLMbacked worker agents, each constrained to a narrow task scope through a structured system prompt and a required JSON output schema. The compute engine layer contains pre-implemented deterministic engines, computing embeddings and reliability scores for a given embedding algorithm and a dataset. These engines serve as objective validators for every LLM-generated output. Each worker is a single-shot, schema-constrained LLM call that performs no embedding, metric computation or tool call of its own. The planner invokes the engines and injects their outputs verbatim into the context of the next agent, so that agents cannot fabricate metrics. The phase graph is fixed by design, as a reliability choice over a dynamically orchestrated controller. More details on our adopted agentic workflow are provided in Appendix E.4. The system operates through a pre-analysis phase, followed by six processing phases including (1) baseline analysis, (2) data characterisation, (3) data structure analysis, (4) algorithm design, (5) algorithm synthesis, and (6) iterative hyperparameter refinement, post analysis and output, which are implemented by the planner agent with the assistance of multiple worker agents.
Agent Role Distribution: Each agent independently decides its goals or actions, with its decision making informed by other agents when needed. The planner agent takes as input the user-specified embedding quality metrics, the JSON output returned by the worker agents, implements actions by generating code and calling compute engines, and runs the code to calculate embeddings and evaluate their performance. In phase 1, the DR-visualisation and quantitative analyst engines run baseline embedding methods (e.g., PCA, t-SNE, UMAP, etc.) on the data, to determine the best baseline and the targets of the optimisation loop. The scores of the best baseline are passed to the algorithm synthesiser. In phase 2, Agent 1 designs the data characteristic function g, the implicit configuration initialisation function FO-ini based on g, and recommends a data pre-processing option (e.g., by PCA to reduce dimensionality to d < m < D). In phase 3, Agent 2 designs the difficulty assignment function diff(x), and Agent 3 performs neighbourhood analysis on the pre-processed data. Phases 2 and 3 together constitute a pre-processing and pre-analysis stage. Phase 4 conducts the main design task, supported by Agent 4 for designing the affinity matrix based on Eq. 2, Agent 5 for designing the optimisation formulation based on Eqs. 3 to 5, and Agent Planner for autoselecting a solver for the composed optimisation problem. We separate the options of determining constant weights from designing adaptive weight functions, to encourage the agents to pursue both routes. As a by-product result, Agents 4 and 5 implicitly design FOptA and FOptC. In phase 5 for algorithm synthesis, Agent 8 is the synthesiser, assisted by an independent Agent 10 for recovering execution failures. Agent 12 validates the novelty of the designed algorithm, determining the most similar method by comparing with the mathematical specifications of existing embedding methods (e.g., t-SNE, UMAP, PaCMAP, LargeVis 12, Spectral Embedding 10, and ForceAtlas2 29) and analysing the fundamental differences. The next phase constitutes the algorithm refinement, post-analysis and output stage. In phase 6, Agent 6 takes the synthesised embedding algorithm and iteratively refines its hyperparameters following Eq. 9, based on performance evaluation conducted by Agent 7, who is provided with a list of embedding reliability scores of interest. Next, Agent 11 prepares the mathematical formulation, executable code, and pseudo-code for the designed algorithm, and Agent 9 performs a post-hoc visual forensics. This workflow is illustrated in Figure 1.
Algorithm Novelty: AutoManifold generates genuinely novel manifold embedding algorithms through a composition of algorithmic components guided by an algorithm skeleton, i.e., the unified embedding framework. LLMs are provided with a fixed set of configuration options, referred to as a primitive vocabulary, while being free to combine primitives in novel ways under a set of suggested composition patterns. Therefore, we consider the novelty aimed by AutoManifold as compositional novelty, meaning new algorithms mostly built from novel combinations of known components. It is worth to mention that, although the prompt files provide primitives covering design choices for affinity formulations, optimisation objectives, constraints and solvers, these only serve as guidance rather than hard constraints. In practice, LLM agents can depart from the provided choices and generate novel formulations when they better optimise the target metrics, reflecting the non-deterministic nature of LLM-based design.
5 Experiments and Result Analysis¶
We compare the new algorithms designed by AutoManifold against three strong SOTA manifold embedding algorithms, including t-SNE, UMAP and PaCMAP with their hyperparameters tuned by random-search [30] to maximise a balanced objective (a weighted sum of multiple scores) as detailed in Appendix E.10. They are evaluated on six real-world datasets spanning different difficulty regimes, including one easy dataset (iris), three moderately difficult datasets (aging, kidney, pbmc3k), and two hard datasets (fashion-mnist, cortex). All agents use Gemini-3.1-Pro as the LLM backbone; alternative backbones are compared in Appendix D.4.
Embedding Evaluation: We assess algorithm performance using six reliability scores common for benchmarking embedding quality, which also act as \(\{score_l\}_{l=1}^L\) in the embedding framework. They are implemented as deterministic code for evaluation, while provided as text input to agents for driving algorithm design. These include Spearman rank correlation \((\rho)\) and stress (S) for assessing global preservation of pairwise distances, silhouette score for measuring cluster separation \((C_{\rm sil})\) , trustworthiness \((T_{\rm area})\) and continuity \((C_{\rm area})\) for examining local fidelity over varying neighbourhood sizes, and median local outlier factor (LOF) (L) for examining outlier amount in embedding space. Four additional scores, which are never provided to the agents, are used in held-out, stability and ablation experiments, including Shepard correlation (Shep) for distance preservation, normalised mutual information (NMI) for cluster agreement with ground-truth labels, RNX for local neighbour preservation, and kNN classification accuracy for local neighbour consistency. All scores are defined in Appendix A.
Primitive Vocabulary: We define primitive vocabulary to communicate model configuration options to agents in natural language. These include six primitives \(\{\operatorname{OptA}_i\}_{i=1}^6\) for constructing affinity matrix, five primitives \(\{\operatorname{OptC}_i\}_{i=1}^5\) for specifying objective function, and four primitives \(\{\operatorname{OptS}_i\}_{i=1}^4\) for optimisation solvers. Further details on datasets, difficulty definition, reliability scores, primitive vocabulary, and implementation are provided in the appendix, along with the complete prompt files for each agent.
5.1 Comparative Analysis¶
In this experiment, we study two questions: Q1. Can generated algorithms outperform hand-designed SOTA algorithms? and Q2. Can generated algorithms address effectively user-specified structural priorities? To investigate this, we first ask AutoManifold to design separate algorithms to improve specifically on each of the trustworthiness ( \(T_{\rm area}\) ), continuity ( \(C_{\rm area}\) ), Spearman ( \(\rho\) ), stress (S), silhouette ( \(C_{\rm sil}\) ) and LOF (L) scores, with the corresponding designed algorithms referred to as Auto-T, Auto-C, Auto- \(\rho\) , Auto-S, Auto-Sil, and Auto-L, respectively. We then instruct AutoManifold to design algorithms that address a general preference for preserving local structure, followed by global structure, without specifying any particular metrics. This yields Auto-local and Auto-global algorithm variants. Additionally, we let AutoManifold generate algorithms without specifying any preference, expecting a balanced performance across all criteria, referred to as Auto (w).
Table 1 compares performance of AutoManifold-generated and hand-designed algorithms. In general, AutoManifold without priority constraint can design algorithms with more balanced and stronger performance than existing baselines. For priority-driven AutoManifold, the prioritised structural property can steer the synthesised algorithm towards the target metric, while the other properties
Table 1: Priority-controlled algorithm synthesis. Bold indicates the best across all methods on that dataset/score. Underline flags all AutoManifold-generated algorithms (Auto-*) that outperform the best SOTA baseline (t-SNE, UMAP or PaCMAP).↑/↓: higher/lower is better.
| Dataset | Score | t-SNE | UMAP | PaCMAP | Auto (w/o) | Auto-T | Auto-C | \(\text{Auto-}\rho\) | Auto-Sil | Auto-S | Auto-L | Auto-local | Auto-global |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| T area ↑ | 0.9848 | 0.9810 | 0.9483 | 0.9865 | 0.9838 | 0.9858 | 0.9918 | 0.9200 | 0.9899 | 0.9866 | 0.9804 | 0.9907 | |
| \(C_{\text{area}} \uparrow\) | 0.9842 | 0.9837 | 0.9689 | 0.9888 | 0.9816 | 0.9843 | 0.9946 | 0.9247 | 0.9922 | 0.9883 | 0.9858 | 0.9930 | |
| iris[31] | Spearman \((\rho)\uparrow\) | 0.8077 | 0.9602 | 0.7332 | 0.9629 | 0.9967 | 0.8535 | 0.9945 | 0.9297 | 0.9438 | 0.9927 | ||
| 1115[31] | Silhouette \((C_{sil})\uparrow\) | 0.6383 | 0.3978 | 0.6000 | 0.6031 | 0.7810 | 0.5274 | 0.6320 | 0.6454 | 0.5402 | |||
| Stress \((S)\downarrow\) | 0.5164 | 0.5408 | 0.1689 | 0.4769 | 0.4730 | 0.0458 | 0.4527 | 0.2870 | 0.0734 | ||||
| \(LOF(L)\downarrow\) | 1.0088 | 1.0093 | 1.0155 | 1.0131 | 1.0106 | 1.0129 | 1.0162 | 1.0146 | 1.0163 | 1.0080 | 1.0100 | 1.0166 | |
| \(T_{\text{area}} \uparrow\) | 0.9783 | 0.9710 | 0.9170 | 0.9793 | 0.8013 | 0.8127 | 0.9708 | 0.9797 | 0.8521 | ||||
| \(C_{\text{area}} \uparrow\) | 0.9744 | 0.9727 | 0.9477 | 0.9727 | 0.9759 | 0.9482 | 0.9070 | 0.8791 | 0.9684 | 0.9731 | 0.8359 | ||
| aging [32] | Spearman \((\rho)\uparrow\) | 0.4830 | 0.5203 | 0.5464 | 0.4447 | 0.9075 | 0.0757 | 0.6440 | 0.4038 | 0.4617 | 0.3164 | ||
| -00 [] | Silhouette \((C_{sil})\uparrow\) | 0.2345 | 0.0893 | -0.1309 | 0.1987 | -0.1293 | 0.1683 | -0.3474 | |||||
| Stress \((S) \downarrow\) | 0.4882 | 0.4746 | 0.5929 | 0.5477 | 0.1956 | 0.7022 | 0.3825 | 0.5327 | 0.4904 | 0.4839 | |||
| \(LOF(L)\downarrow\) | 1.0162 | 1.0118 | 1.0192 | 1.0595 | 1.0157 | 1.0186 | 1.0092 | 1.0062 | 1.0078 | 1.0156 | 1.0403 | 1.0178 | |
| \(T_{\text{area}} \uparrow\) | 0.8727 | 0.8627 | 0.8757 | 0.8794 | 0.8645 | 0.8659 | 0.8570 | 0.8820 | 0.8680 | 0.8589 | |||
| pbmc3k[33] | \(C_{\text{area}} \uparrow\) | 0.8978 | 0.8953 | 0.9185 | 0.8924 | 0.8983 | 0.9056 | 0.8970 | 0.9004 | 0.9034 | 0.8889 | 0.9011 | |
| Spearman \((\rho)\uparrow\) | 0.6812 | 0.6907 | 0.6978 | 0.7092 | 0.6233 | 0.6659 | 0.8552 | 0.5838 | 0.8365 | 0.6632 | 0.6680 | 0.8370 | |
| 0.3707 | 0.5320 | 0.5269 | 0.3311 | 0.7090 | 0.5520 | 0.2409 | 0.4911 | 0.3585 | 0.2418 | ||||
| Stress \((S) \downarrow\) | 0.4089 | 0.4074 | 1.2913 | 1.0298 | 1.3026 | 0.3191 | 0.9763 | 0.2901 | 1.1310 | 0.8945 | 0.3501 | ||
| \(LOF(L)\downarrow\) | 1.0087 | 1.0060 | 1.0133 | 1.0165 | 1.0090 | 1.0477 | 1.0135 | 1.0110 | 1.0067 | 1.0112 | 1.0129 | 1.0063 | |
| \(T_{\text{area}} \uparrow\) | 0.9774 | 0.9730 | 0.9843 | 0.9831 | 0.9817 | 0.9194 | 0.9199 | 0.9269 | 0.9841 | 0.9810 | 0.9273 | ||
| \(C_{\text{area}} \uparrow\) | 0.9761 | 0.9857 | 0.9723 | 0.9812 | 0.9794 | 0.9775 | 0.9611 | 0.9637 | 0.9639 | 0.9860 | 0.9807 | 0.9663 | |
| kidney [34] | Spearman \((\rho)\uparrow\) | 0.5387 | 0.6399 | 0.5377 | 0.5183 | 0.5230 | 0.5345 | 0.8962 | 0.1990 | 0.9467 | 0.7210 | 0.4457 | 0.9467 |
| kiuney [54] | Silhouette \((C_{sil})\uparrow\) | 0.1461 | 0.0404 | 0.2306 | 0.1064 | -0.2111 | 0.1330 | -0.0376 | -0.2500 | ||||
| Stress \((S)\downarrow\) | 0.3836 | 0.4037 | 0.4544 | 0.4339 | 0.4465 | 0.8035 | 0.1930 | 0.3645 | 0.4443 | 0.1747 | |||
| \(LOF(L)\downarrow\) | 1.0127 | 1.0112 | 1.0213 | 1.0162 | 1.0155 | 1.0187 | 1.0138 | 1.0272 | 1.0130 | 1.0132 | 1.0219 | 1.0127 | |
| \(T_{\text{area}} \uparrow\) | 0.9627 | 0.9656 | 0.9562 | 0.9342 | 0.8050 | 0.9196 | 0.9442 | 0.9700 | 0.9285 | ||||
| \(C_{\text{area}} \uparrow\) | 0.9647 | 0.9661 | 0.9710 | 0.9520 | 0.7087 | 0.9528 | 0.9543 | 0.9668 | 0.9620 | ||||
| cortex [35] | Spearman \((\rho)\uparrow\) | 0.6536 | 0.6894 | 0.7353 | 0.6154 | 0.1578 | 0.9077 | 0.6561 | 0.9107 | ||||
| COI GEY [33] | -0.0154 | -0.0413 | -0.0097 | 0.5723 | -0.1730 | -0.0008 | -0.1501 | ||||||
| Stress \((S)\downarrow\) | 0.3556 | 0.3372 | 0.3445 | 0.4918 | 0.3950 | 0.3633 | 0.2587 | ||||||
| \(LOF(L)\downarrow\) | 1.0118 | 1.0110 | 1.0199 | 1.0036 | 1.0037 | 1.0130 | 1.0068 | 1.0150 | 1.0067 | 1.0015 | 1.0133 | 1.0122 | |
| \(T_{\text{area}} \uparrow\) | 0.9771 | 0.9345 | 0.9675 | 0.9078 | 0.9699 | 0.9250 | 0.9170 | 0.9295 | 0.9758 | 0.9666 | 0.9370 | ||
| \(C_{\text{area}} \uparrow\) | 0.9740 | 0.9693 | 0.9742 | 0.9670 | 0.8211 | 0.9684 | 0.9687 | 0.9767 | |||||
| fashion [36] | Spearman \((\rho)\uparrow\) | 0.7179 | 0.8690 | 0.6949 | 0.9329 | 0.2825 | 0.9239 | 0.6305 | 0.6089 | 0.8766 | |||
| 1 april 1011 [20] | 0.1776 | -0.0074 | 0.1718 | 0.1704 | 0.1973 | -0.0059 | 0.1577 | 0.0384 | |||||
| Stress \((S)\downarrow\) | 0.3248 | 0.3071 | 0.2730 | 0.3601 | 0.4774 | 0.4428 | 0.6943 | 0.3131 | 0.3531 | 0.3543 | 0.2690 | ||
| \(LOF(L)\downarrow\) | 1.0159 | 1.0060 | 1.0292 | 1.0173 | 1.0180 | 1.0318 | 1.0146 | 1.0361 | 1.0091 | 1.0114 | 1.0235 | 1.0097 |
remain within an acceptable range. These observations are supported by scores that are either better than or lower, yet still acceptable, relative to baseline performance on respective metrics.
Existing methods t-SNE, UMAP and PaCMAP are designed to address local fidelity. Their performance on preserving global data structure is controlled via their hyperparameters. As a result, they can achieve high local scores like \(T_{\rm area}\) and \(C_{\rm area}\) , but less satisfactory global scores, e.g., low or negative \(C_{\rm sil}\) indicating poor cluster separation. In contrast, taking Auto-Sil as an example, by steering towards better cluster separation, it generates algorithms that help viewers to observe a clearer underlying cluster distribution, while still maintaining satisfactory local fidelity (mostly over 80%). In Appendix D.1, we demonstrate visualisation results for Auto-Sil and Auto-L.
For further comparison, we tune hyperparameters of t-SNE, UMAP and PaCMAP for individual metrics and compare AutoManifold against the tuned baselines optimised for the same objectives and their default configuration. Results on the PBMC3k dataset are reported in Appendix D.2. We observe the following from both Table 1 and the additional experiments. Optimising local metrics (T, C, or both) yields only modest gains for both AutoManifold and tuned baselines, indicating limited headroom for improving local neighbourhood preservation. Optimising local metrics affects global metrics differently across datasets and methods. AutoManifold exhibits the largest global changes, followed by PaCMAP, while t-SNE and UMAP change the least, likely reflecting their progressively less flexible design spaces. A consistent trade-off exists between distance preservation \((\rho, S)\) and cluster separation (Sil). Overly enforcing cluster separation distorts the original distance relationships. When optimising a single global metric \((\rho, S \text{ or Sil})\) , AutoManifold consistently delivers larger improvements than hyperparameter tuning, often outperforming the strongest baseline. The observed trade-offs reflect conflicting objectives between preserving distance ( \(\rho\) and S) and enhancing cluster separation (Sil) rather than algorithm limitation. When optimising outlier reduction (L), tuned t-SNE and UMAP tend to overfit L, substantially degrading other metrics. In contrast, AutoManifold and tuned PaCMAP preserve strong local scores with less degradation in \(\rho\) , S and Sil. Under balanced objectives, hyperparameter tuning offers only limited gains over the defaults. In contrast, AutoManifold consistently maintains competitive local performance, while improving one or more global properties (typically \(\rho/S\) or Sil, and occasionally L, depending on the datasets).
Table 2: Monte Carlo experiments over 5 runs.
| T ↑ | C ↑ | ρ ↑ | Sil↑ | S ↓ | L ↓ | RNX↑ | Shep↑ | kNN↑ | NMI↑ | |
|---|---|---|---|---|---|---|---|---|---|---|
| Auto-T | 0.874 | 0.896 | 0.639 | 0.428 | 0.446 | 1.011 | 0.281 | 0.460 | 0.967 | 0.709 |
| ±std | .005 | .010 | .022 | .067 | .016 | .001 | .019 | .019 | .008 | .020 |
| Auto-ρ | 0.858 | 0.898 | 0.806 | 0.303 | 0.509 | 1.013 | 0.229 | 0.734 | 0.900 | 0.531 |
| ±std | .013 | .010 | .104 | .097 | .241 | .008 | .015 | .152 | .028 | .251 |
5.2 Held-out Experiments¶
Table 1 evaluates various versions of AutoManifold, each optimised on a single metric or a subset of metrics, where metrics not used during the design serve as held-out metrics. In addition, we let AutoManifold design algorithms using PBMC3k and evaluate the designed algorithms on the held-out datasets of Kidney and Cortex. The design is optimised on an individual metric (ρ or Sil) and then evaluated using a richer set of held-out metrics. Results are reported in Table 9 along with its analysis in Appendix D.3. Consistent behaviour across held-out datasets and metrics has been observed for AutoManifold.
5.3 Stability Analysis¶
We examine the stability of AutoManifold by repeating independently each design (driven by a given priority choice) 5 times on PBMC3k for individual metrics. Overall, designs targeting local metrics are highly stable, while those targeting global metrics vary more. Table 2 reports performance variance of Auto-T and Auto-ρ across different metrics. Auto-T consistently achieves low std across all metrics. In contrast, Auto-ρ shows noticeably larger std on global metrics (e.g., ρ, S, Shepard, NMI), while remaining stable on local metrics (T, C, RNX) and on kNN accuracy. This difference may reflect the larger and more flexible design space available for optimising global structures than local neighbourhood preservation. Overall, the results show that AutoManifold offers greater modelling flexibility than hyperparameter tuning of existing embedding algorithms. The observed trade-offs arise primarily from incompatible objectives rather than limitations of the generated algorithms. AutoManifold achieves local preservation comparable to t-SNE and UMAP, while providing flexibility comparable to, often exceeding, PaCMAP, with stronger local performance.
5.4 Ablation Studies¶
We conduct an ablation study of Auto-T on Iris dataset by removing individual design components, including embedding difficulty analysis (Agent 2), neighbourhood analysis (Agent 3), affinity design (Agent 4), objective design (Agent 5), hyperparameter refinement (Agent 6), primitive library, and optimisation formulation guidance in Eqs. 3-5. Table 3 reports performance changes across metrics. It indicates that difficulty and neighbourhood analyses, and optimisation guidance contribute the most to AutoManifold performance. In contrast, hyperparameter refinement and primitive library have mixed effects, suggesting they are less critical. Notably, the limited effect of primitives seems to be consistent with the non-deterministic behaviour of LLMs, which can generate designs beyond the provided choices.
Additionally, we conduct system-level ablation on LLM backbone and skeleton contribution and report results in Appendix D.4, and observe the following: Removing the whole skeleton degrades the prioritised metric in 12 of 15 dataset-priority pairs. Single-LLM and skeleton-free multi-agent designs are inconsistent across priorities. Replacing Gemini-3.1-Pro by GPT-5.4 or Claude-Opus-4.8 lowers performance on most datasets.
We also experiment with two alternative ways to synthesise algorithms using LLMs in Appendix D.5. One is to directly prompt a single LLM, while the other is a skeleton-free multi-agent system that does not rely on any embedding design framework. They both have more design freedom, but less agentic structure. Results show that these two alternatives are much less effective and less robust for non-target metrics in priority-conditioned embedding algorithm design.
Table 3: Component-wise ablation with degradation flagged by − for ↑ and + for ↓. N denotes insignificant changes and non-degrading results are underlined.
| removed | ∆T ↑ | ∆C ↑ | ∆ρ ↑ | ∆Sil↑ | ∆S ↓ | ∆L ↓ | ∆RNX↑ | ∆Shep↑ | ∆kNN↑ | ∆NMI↑ |
|---|---|---|---|---|---|---|---|---|---|---|
| full | 0.988 | 0.987 | 0.968 | 0.652 | 0.308 | 1.008 | 0.700 | 0.906 | 0.973 | 0.806 |
| Difficulty | -0.007 | -0.008 | -0.140 | -0.064 | +0.007 | +0.004 | -0.013 | -0.093 | -0.007 | +0.079 |
| Neighbourhood | -0.012 | -0.010 | -0.023 | -0.088 | +0.032 | +0.006 | -0.109 | -0.022 | N | -0.101 |
| Affinity | -0.003 | -0.002 | -0.003 | -0.074 | -0.160 | +0.002 | +0.033 | +0.056 | N | N |
| Objective | -0.004 | -0.002 | -0.003 | -0.097 | -0.166 | +0.007 | +0.042 | +0.059 | N | N |
| Hyperparam-opt | N | +0.002 | +0.008 | -0.048 | -0.183 | -0.001 | -0.015 | +0.070 | N | -0.012 |
| Primitive-lib | N | +0.001 | +0.004 | -0.016 | +0.012 | -0.001 | +0.011 | -0.007 | N | -0.020 |
| Opt-Guide | -0.018 | -0.019 | -0.249 | -0.158 | +0.091 | +0.002 | -0.050 | -0.228 | -0.013 | N |
6 Conclusion and Discussion¶
We have introduced AutoManifold, an LLM-orchestrated multi-agent system for designing manifold embedding algorithms tailored to user-specified structural priorities. By (1) defining structured design template and mathematical formulation for core algorithmic components and steps and (2) constructing a primitive vocabulary of affinity matrix, objective function, and optimisation solver, we have transformed LLM agents from unconstrained code generators into reliable, priority-conditioned designers of new algorithms with compositional novelty. Comprehensive evaluations across datasets of varying difficulty demonstrate that AutoManifold advances beyond hand-designed algorithms and their traditional hyperparameter tuning. Results in Table 1 show that the synthesised algorithms outperform strong hand-designed SOTA baselines on the prioritised properties, while keeping the remaining properties within acceptable ranges.
Our LLM-driven design pipeline is skeleton-based. It follows guidance of the embedding design framework in Section 3 to ease creation and search challenges, and constrains the design within a fixed primitive library to ensure numerical stability and mathematical correctness during the synthesis phase. We intentionally adopt a structured and interpretable design space to guide the agents, as this work represents an initial exploration of LLM-driven embedding algorithm design. By restricting the primitives, we aim to reduce unproductive exploration, while retaining sufficient flexibility for discovering novel algorithmic variants. Nevertheless, we acknowledge that these constraints may limit the overall design freedom and restrict the exploration of potentially promising solutions.
Although the search space contains formulations and configurations that could recover methods such as t-SNE, UMAP, or PaCMAP, it is highly unlikely that the LLM agents would reproduce such algorithms exactly, but generating similar algorithms with similar skeleton configurations. As seen in results, AutoManifold is more effective at prioritising global properties than local ones. One key reason is that existing baselines are difficult to outperform under certain evaluation metrics, particularly the local metrics. We also observe that local performance is much more prone to changes in algorithm design. Therefore, when working on datasets for which maintaining local properties does not compromise much global properties, the generated algorithms often possess lower local scores than strong baselines like t-SNE, UMAP and PaCMAP, while yielding only modest improvement in global scores. In future work, we will explore more flexible and adventurous formulations of algorithmic skeleton to broaden design space, discover new design perspective, and encourage fromscratch algorithmic novelty, and develop more effective agentic workflow to tackle more creative design tasks of higher challenge. Building on the insights gained from this controlled design of AutoManifold, another important future research direction is to study the trade-offs between design freedom, algorithm quality, interpretability, and reliability, driven by more open-ended design space investigation.
So far, all the generated algorithms by AutoManifold are one-shot with optimised hyperparameters. During the iterative refinement phase, a worker agent takes the implemented algorithm and tunes its parameters, but it does not make any functional changes within the algorithm. This prevents AutoManifold from evolving its algorithmic design in an ad-hoc manner. To overcome this limitation, future work will extend the iterative refinement phase, shifting from hyperparameter refinement to systematic algorithmic revision. Another promising future direction is to explore iterative user interaction, allowing the user to dynamically adjust their priorities during the design process.
Acknowledgments and Disclosure of Funding¶
We thank the anonymous reviewers for their constructive feedback and valuable suggestions, which helped improve the quality and clarity of the paper. This work is supported by the Bicentenary PhD Studentship from Faculty of Science and Engineering, University of Manchester.
References¶
- [1] Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-SNE. Journal of Machine Learning Research, 9(86):2579–2605, 2008.
- [2] Leland McInnes, John Healy, and James Melville. UMAP: Uniform manifold approximation and projection for dimension reduction. arXiv preprint arXiv:1802.03426, 2018.
- [3] Yingfan Wang, Haiyang Huang, Cynthia Rudin, and Yaron Shaposhnik. Understanding how dimension reduction tools work: An empirical approach to deciphering t-SNE, UMAP, TriMAP, and PaCMAP for data visualization. Journal of Machine Learning Research, 22(201):1–73, 2021.
- [4] Dmitry Kobak and Philipp Berens. The art of using t-SNE for single-cell transcriptomics. Nature Communications, 10:5416, 2019.
- [5] Etienne Becht, Leland McInnes, John Healy, Charles-Antoine Dutertre, Immanuel W. H. Kwok, Lai Guan Ng, Florent Ginhoux, and Evan W. Newell. Dimensionality reduction for visualizing single-cell data using UMAP. Nature Biotechnology, 37(1):38–44, 2019.
- [6] Haiyang Huang, Yingfan Wang, Cynthia Rudin, and Edward P. Browne. Towards a comprehensive evaluation of dimension reduction methods for transcriptomic data visualization. Communications Biology, 5:719, 2022.
- [7] Tingting Mu, John Yannis Goulermas, and Sophia Ananiadou. Data visualization with structural control of global cohort and local data neighborhoods. IEEE transactions on pattern analysis and machine intelligence, 40(6):1323–1337, 2017.
- [8] Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, M. Pawan Kumar, Emilien Dupont, Francisco J. R. Ruiz, Jordan Ellenberg, Pengming Wang, Omar Fawzi, Pushmeet Kohli, and Alhussein Fawzi. Mathematical discoveries from program search with large language models. Nature, 625:468–475, 2024. doi: 10.1038/s41586-023-06924-6.
- [9] Angelica Chen, David Dohan, and David So. EvoPrompting: Language models for code-level neural architecture search. In Advances in Neural Information Processing Systems, 2023.
- [10] Mikhail Belkin and Partha Niyogi. Laplacian eigenmaps for dimensionality reduction and data representation. Neural Computation, 15(6):1373–1396, 2003.
- [11] Joshua B. Tenenbaum, Vin de Silva, and John C. Langford. A global geometric framework for nonlinear dimensionality reduction. Science, 290(5500):2319–2323, 2000.
- [12] Jian Tang, Jingzhou Liu, Ming Zhang, and Qiaozhu Mei. Visualizing large-scale and highdimensional data. In Proceedings of the 25th International Conference on World Wide Web, pages 287–297, 2016.
- [13] Victor Dibia. LIDA: A tool for automatic generation of grammar-agnostic visualizations and infographics using large language models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics: System Demonstrations, 2023.
-
[14] Zhiyu Yang, Zihan Zhou, Shuo Wang, Xin Cong, Xu Han, Yukun Yan, Zhenghao Liu, Zhixing Tan, Pengyuan Liu, Dong Yu, Zhiyuan Liu, Xiaodong Shi, and Maosong Sun. MatPlotAgent: Method and evaluation for LLM-based agentic scientific data visualization. In Findings of the Association for Computational Linguistics: ACL 2024, pages 11789–11804, 2024.
-
[15] Kanika Goswami, Puneet Mathur, Ryan Rossi, and Franck Dernoncourt. PlotGen: Multi-agent LLM-based scientific data visualization via multimodal retrieval feedback. In Companion Proceedings of the ACM Web Conference 2025, 2025. doi: 10.1145/3701716.3716888.
- [16] Amit Kumar Das, Mohammad Tarun, and Klaus Mueller. Charts-of-thought: Enhancing llm visualization literacy through structured data extraction. IEEE Transactions on Visualization and Computer Graphics, 2025.
- [17] Lei Wang, Songheng Zhang, Yun Wang, Ee-Peng Lim, and Yong Wang. LLM4Vis: Explainable visualization recommendation using ChatGPT. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: Industry Track, 2023.
- [18] Enamul Hoque et al. LLM4Vis: Large language models for information visualization (tutorial at IEEE VIS 2024). https://nlp4vis.github.io/, 2024.
- [19] Mathis Brossier, Tobias Isenberg, Konrad Schönborn, Jonas Unger, Mario Romero, Johanna Björklund, Anders Ynnerman, and Lonni Besançon. State of the art of LLM-enabled interaction with visualization. arXiv preprint arXiv:2601.14943, 2026.
- [20] Burak Susam and Tingting Mu. Explainable iterative data visualisation refinement via an LLM agent. arXiv preprint arXiv:2604.15319, 2026.
- [21] Fei Liu, Xialiang Tong, Mingxuan Yuan, and Qingfu Zhang. A systematic survey on large language models for algorithm design. arXiv preprint arXiv:2410.14716, 2024.
- [22] Chengrun Yang, Xuezhi Wang, Yifeng Lu, Hanxiao Liu, Quoc V. Le, Denny Zhou, and Xinyun Chen. Large language models as optimizers. In International Conference on Learning Representations, 2024.
- [23] Niki van Stein and Thomas Bäck. LLaMEA: A large language model evolutionary algorithm for automatically generating metaheuristics. IEEE Transactions on Evolutionary Computation, 2024. doi: 10.1109/TEVC.2024.3497793.
- [24] Anja Surina, Amin Mansouri, Lars C.P.M. Meijdam, et al. Algorithm discovery with LLMs: Evolutionary search meets reinforcement learning. arXiv preprint arXiv:2504.05108, 2025.
- [25] Haoran Ye, Jiarui Wang, Zhiguang Cao, Federico Berto, Chuanbo Hua, Haeyeon Kim, Jinkyoo Park, and Guojie Song. ReEvo: Large language models as hyper-heuristics with reflective evolution. In Advances in Neural Information Processing Systems, 2024.
- [26] Yecheng Jason Ma, William Liang, Guanzhi Wang, De-An Huang, Osbert Bastani, Dinesh Jayaraman, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Eureka: Human-level reward design via coding large language models. In International Conference on Learning Representations, 2024.
- [27] Parshin Shojaee, Kazem Meidani, Shashank Gupta, Amir Barati Farimani, and Chandan K. Reddy. LLM-SR: Scientific equation discovery via programming with large language models. In International Conference on Learning Representations, 2025. Oral.
- [28] Noah Hollmann, Samuel Müller, and Frank Hutter. Large language models for automated data science: Introducing CAAFE for context-aware automated feature engineering. In Advances in Neural Information Processing Systems, 2023.
- [29] Mathieu Jacomy, Tommaso Venturini, Sebastien Heymann, and Mathieu Bastian. ForceAtlas2, a continuous graph layout algorithm for handy network visualization designed for the Gephi software. PLoS ONE, 9(6):e98679, 2014.
- [30] James Bergstra and Yoshua Bengio. Random search for hyper-parameter optimization. Journal of machine learning research, 13(2), 2012.
-
[31] Antony Unwin and Kim Kleinman. The iris data set: In search of the source of virginica. Significance, 18, 2021. URL https://api.semanticscholar.org/CorpusID:244763032.
-
[32] Llorenç Solé-Boldo, Günter Raddatz, Sabrina Schütz, Jan-Philipp Mallm, Karsten Rippe, Anke S Lonsdorf, Manuel Rodríguez-Paredes, and Frank Lyko. Single-cell transcriptomes of the human skin reveal age-related loss of fibroblast priming. Communications biology, 3(1): 188, 2020.
- [33] Jinguo Chen, Foo Cheung, Rongye Shi, Huizhi Zhou, Wenrui Lu, and CHI Consortium Candia Julián julian. candia@ nih. gov Kotliarov Yuri yuri. kotliarov@ nih. gov Stagliano Katie R. staglianoke@ mail. nih. gov Tsang John S. john. tsang@ nih. gov. Pbmc fixation and processing for chromium single-cell rna sequencing. Journal of translational medicine, 16(1):198, 2018.
- [34] Matthew L Speir, Aparna Bhaduri, Nikolay S Markov, Pablo Moreno, Tomasz J Nowakowski, Irene Papatheodorou, Alex A Pollen, Brian J Raney, Lucas Seninge, W James Kent, and Maximilian Haeussler. Ucsc cell browser: visualize your single-cell data. Bioinformatics, 37(23):4578–4580, 12 2021. ISSN 1367-4803. doi: 10.1093/bioinformatics/btab503. URL https://doi.org/10.1093/bioinformatics/btab503.
- [35] Tomasz J Nowakowski, Aparna Bhaduri, Alex A Pollen, Beatriz Alvarado, Mohammed A Mostajo-Radji, Elizabeth Di Lullo, Maximilian Haeussler, Carmen Sandoval-Espinosa, Siyuan John Liu, Dmitry Velmeshev, et al. Spatiotemporal gene expression trajectories reveal developmental hierarchies of the human cortex. Science, 358(6368):1318–1323, 2017.
- [36] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
- [37] Charles Spearman. The proof and measurement of association between two things. 1961.
- [38] Jarkko Venna and Samuel Kaski. Local multidimensional scaling. Neural Networks, 19(6-7): 889–899, 2006.
- [39] Roger N Shepard. The analysis of proximities: Multidimensional scaling with an unknown distance function. i. Psychometrika, 27(2):125–140, 1962.
- [40] Peter J Rousseeuw. Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. Journal of computational and applied mathematics, 20:53–65, 1987.
- [41] Alexander Strehl and Joydeep Ghosh. Cluster ensembles—a knowledge reuse framework for combining multiple partitions. Journal of machine learning research, 3(Dec):583–617, 2002.
- [42] John A Lee and Michel Verleysen. Quality assessment of dimensionality reduction: Rank-based criteria. Neurocomputing, 72(7-9):1431–1443, 2009.
- [43] John A Lee, Diego H Peluffo-Ordóñez, and Michel Verleysen. Multi-scale similarities in stochastic neighbour embedding: Reducing dimensionality while preserving both local and global structure. Neurocomputing, 169:246–261, 2015.
- [44] Markus M. Breunig, Hans-Peter Kriegel, Raymond T. Ng, and Jörg Sander. LOF: Identifying density-based local outliers. In Proceedings of the ACM SIGMOD International Conference on Management of Data, pages 93–104, 2000.
- [45] Jesse Vincent. Superpowers. https://github.com/obra/superpowers, 2025.
- [46] Tanwe AI. Pua. https://github.com/tanweai/pua, 2026.
A Embedding Evaluation¶
We evaluate embeddings through global, local and outlier lenses. Global scores assess the preservation of pairwise relationships across the whole dataset and the cluster-level organisation of the embedding. Local scores assess the fidelity of the neighbourhood around each embedded point. The outlier score tracks isolated points in the embedding space. Table 4 summarises all scores, where the six design scores are provided to the agents as text and drive algorithm design, while the four held-out scores are never provided to the agents and are used only for the held-out, stability and ablation analyses. All scores are computed by the deterministic Quantitative Analyst engine (Appendix E.2). In the following, we use \(d_{ij}^{HD} = \|\mathbf{x}_i - \mathbf{x}_j\|_2\) and \(d_{ij}^{LD} = \|\mathbf{z}_i - \mathbf{z}_j\|_2\) to denote pairwise distances in the high-and low-dimensional spaces, and \(\mathcal{N}_k^{HD}(i)\) and \(\mathcal{N}_k^{LD}(i)\) to denote the sets of k nearest neighbours of point i in the two spaces.
Table 4: Summary of evaluation scores. ↑/↓: higher/lower is better. "Design": provided to the agents during design; "Held-out": used only for evaluation.
| Score | Symbol | Lens | Direction | Role |
|---|---|---|---|---|
| Spearman rank correlation Stress-1 Silhouette Trustworthiness area Continuity area Median local outlier factor | \(\begin{array}{c} \rho \ S \ C_{\rm sil} \ (\rm Sil) \ T_{\rm area} \ C_{\rm area} \ L \ \end{array}\) | global (distance) global (distance) global (cluster) local local outlier | † † † | design design design design design design |
| Shepard correlation Normalised mutual information Area under the \(R_{NX}\) curve \(k\) NN classification accuracy | Shep NMI RNX kNN | global (distance) global (cluster) local label (local) | † † † | held-out held-out held-out |
Global Distance Preservation: The Spearman distance score [37] is the Spearman rank correlation between the high- and low-dimensional pairwise distances,
where \(r_{ij}^{HD}\) and \(r_{ij}^{LD}\) are the ranks of \(d_{ij}^{HD}\) and \(d_{ij}^{LD}\) among all \(N_p=n(n-1)/2\) pairs. The stress score [38] quantifies the distortion of pairwise distances,
$\(S = \sqrt{\frac{\sum_{i < j} \left(\tilde{d}_{ij}^{LD} - \tilde{d}_{ij}^{HD}\right)^2}{\sum_{i < j} \left(\tilde{d}_{ij}^{HD}\right)^2}},\)$ (11)
where \(\tilde{d}_{ij}^{HD}\) and \(\tilde{d}_{ij}^{LD}\) are the normalised pairwise distances. The held-out Shepard score summarises the Shepard diagram [39], i.e., the scatter of \(d_{ij}^{LD}\) against \(d_{ij}^{HD}\) over all pairs, by the Pearson correlation coefficient
Shep = $\(\frac{\sum_{i < j} \left( d_{ij}^{HD} - \bar{d}^{HD} \right) \left( d_{ij}^{LD} - \bar{d}^{LD} \right)}{\sqrt{\sum_{i < j} \left( d_{ij}^{HD} - \bar{d}^{HD} \right)^2} \sqrt{\sum_{i < j} \left( d_{ij}^{LD} - \bar{d}^{LD} \right)^2}},\)$ (12)
where \(\bar{d}^{HD}\) and \(\bar{d}^{LD}\) are the mean pairwise distances. Unlike \(\rho\) , which only rewards a monotone relationship between the two sets of distances, Shep also rewards a linear one. Higher \(\rho\) and Shep and lower S indicate better preservation of global pairwise distances.
Cluster Separation: The silhouette score [40] measures cluster separation in the embedding space with respect to the ground-truth class labels. For point i in class clust \(_i\) , let \(d_i = \frac{1}{|\operatorname{clust}_i|-1} \sum_{j \in \operatorname{clust}_i, j \neq i} \|\mathbf{z}_i - \mathbf{z}_j\|_2\) be its mean distance to its own class and \(d_i^n = \frac{1}{|\operatorname{clust}_i^n|} \sum_{j \in \operatorname{clust}_i^n} \|\mathbf{z}_i - \mathbf{z}_j\|_2\) its mean distance to the nearest other class clust \(_i^n\) . The score is given as
$\(C_{\text{sil}} = \frac{1}{n} \sum_{i=1}^{n} \frac{d_i^n - d_i}{\max(d_i^n, d_i)} \in [-1, 1].\)$ (13)
It is computed on a random subsample of at most 5,000 points. Higher values indicate better separation, while negative values indicate strongly overlapping classes. The held-out NMI score measures the agreement between a clustering of the embedding and the ground-truth labels [41]. We partition \(\{\mathbf{z}_i\}_{i=1}^n\) into K clusters by k-means, with K equal to the number of classes, and compute
where \(\mathcal Y\) and \(\mathcal C\) are the label and cluster assignments, \(I(\cdot\,;\cdot\,)\) is their mutual information and \(H(\cdot)\) is entropy. Unlike \(C_{\mathrm{sil}}\) , NMI does not depend on the geometry of the clusters, only on whether the embedding groups points consistently with their labels.
Local Neighbourhood Preservation: We employ two typical local fidelity scores, i.e., trustworthiness and continuity. Trustworthiness [38] measures how many of the nearest neighbours in the low-dimensional space are not neighbours in the original high-dimensional space, computed by
where \(U_i^k\) is the set of points that are among the k-NNs of i in the low-dimensional space but not in the high-dimensional space, and \(r_{i,j}^{HD}\) denotes the rank of the point j in the high-dimensional ordering around i. Continuity [38] complements the trustworthiness, measuring how many of the true neighbours in the high-dimensional space remain neighbours in the low-dimensional space. It computes the recall of neighbourhood preservation, given as
$\(C(k) = 1 - \frac{2}{nk(2n - 3k - 1)} \sum_{i=1}^{n} \sum_{j \in V_i^k} (r_{i,j}^{LD} - k),\)$ (16)
where \(V_i^k\) is the set of points that are among the k-nearest neighbours of i in the high-dimensional space but not in the low-dimensional space, and \(r_{i,j}^{LD}\) is the rank of j in the low-dimensional neighbourhood of i. To account for varying neighbourhood sizes, we evaluate both scores on the grid \(\mathcal{K} = \{5, 10, 20, 50, 100, 200\}\) , retaining the values \(k_1 < \cdots < k_m\) that satisfy 2k < n-1 (e.g., \(k \le 50\) for Iris), and summarise each curve by its trapezoidal area over k, normalised by the range of retained values:
and analogously \(C_{\text{area}}\) ; both lie in [0,1]. As the integration is over k rather than \(\log k\) , larger neighbourhoods carry more weight: on the full grid, \(k \geq 100\) accounts for about 64% of the area. The held-out RNX score is based on the co-ranking framework [42]. With \(Q_{NX}(K) = \frac{1}{nK} \sum_{i=1}^n |\mathcal{N}_K^{HD}(i) \cap \mathcal{N}_K^{LD}(i)|\) the average fraction of preserved K nearest neighbours,
$\(R_{NX}(K) = \frac{(n-1)Q_{NX}(K) - K}{n-1-K}\)$ (18)
rescales \(Q_{NX}\) so that a random embedding scores 0 and perfect neighbourhood preservation scores 1. We report the area under the \(R_{NX}(K)\) curve on a log-K scale [43],
$\(RNX = \frac{\sum_{K=1}^{n-2} R_{NX}(K)/K}{\sum_{K=1}^{n-2} 1/K},\)$ (19)
which summarises all neighbourhood sizes and gives most weight to small neighbourhoods; for n>1500, it is computed on a fixed random subsample of 1,500 points. Higher \(T_{\rm area}\) , \(C_{\rm area}\) and RNX indicate better preservation of the original neighbourhoods. The held-out kNN score is the accuracy of a k-nearest-neighbour classifier (k=10) that predicts the class label of each point by majority vote over its neighbours in the embedding, evaluated by leave-one-out; it measures whether local neighbourhoods in the embedding are label-consistent, and higher values are better.
Outlier Examination: We employ the local outlier factor (LOF) [44] to measure how isolated each embedded point is compared to its neighbours, denoted by \(LOF(\mathbf{z}_i)\) . Values like \(LOF(\mathbf{z}_i) \approx 1\) indicate normal points, \(LOF(\mathbf{z}_i) > 1\) suggest potential outlier, whereas \(LOF(\mathbf{z}_i) \gg 1\) flag strong outliers. We compute the median of the factors of all the embedded points, i.e., \(L = \text{median}(\{LOF(\mathbf{z}_i)\}_{i=1}^n)\) . A higher value of L indicates the existence of a higher amount of outliers in the embedding space.
B User Interaction¶
AutoManifold allows explicit user control on which embedding metrics for the algorithm to improve over. It asks the user to select one of the eight pre-defined priority options as listed in Table 5. The corresponding prompt is passed verbatim to the LLM agents as the design directive, and is separately parsed into a discrete intent that determines the matching design metrics. This priority is selected once at the start of the design process, with no iterative user interaction. Exploring iterative interactive refinement of the priority during the design process is an interesting direction for future work.
Table 5: The eight user-selectable priorities and their corresponding prompts.
| Option (label) | Prompt passed to the agents |
|---|---|
| Balance local & global | optimize a balance of Trustworthiness@k, Continuity@k, Spearman, Silhouette, LOF outlier %, Stress; no single metric prioritized |
| Prioritise local | optimize Trustworthiness@ \(k\) and Continuity@ \(k\) above all else; others secondary |
| Prioritise global | optimize Spearman and Stress above all else; others secondary |
| Maximum Trustworthi- | optimize Trustworthiness@ \(k\) above all else; others secondary |
| ness Maximum Continuity | optimize Continuity@ \(k\) above all else; others secondary |
| Maximum Spearman | optimize Spearman above all else; others secondary |
| Maximum Silhouette | optimize cluster separation (Silhouette) above all else; others secondary |
| Maximum LOF preserva- | minimize embedding outlier rate (LOF) above all else; others secondary |
| tion | • |
C Used Datasets and Difficulty Bracketing¶
We evaluate on six datasets from the data catalogue exposed by pipeline/datasets.py, spanning genomics, botany, and vision sectors. Each dataset is assigned to a difficulty bracket, i.e., Easy, Moderate, or Hard, based on the metrics achieved by the three reference methods PCA, UMAP, and t-SNE on that dataset. A summary of dataset information is reported in Table 7. The bracket assignment is intended to let us report where on the difficulty spectrum LLM-designed gains concentrate. For each dataset we report the reference-metric profile achieved by UMAP, and t-SNE under their default settings; the bracket assignment in Table 7 is justified by these reference profiles. Easy datasets are those where all three baselines achieve trustworthiness greater than 0.95 and silhouette score greater than 0.4. Hard datasets are those where t-SNE achieves silhouette score less than 0.2 or trustworthiness less than 0.85. Although PBMC3K differentiates from its bracket in terms of Trustworthiness score, its marginally high Silhoutte score keeps it in moderate bracket.
Table 6: Difficulty calibration via reference baselines (UMAP, t-SNE). T(k) is trustworthiness at k=50 on the 2-D embedding; "Sil." is the silhouette score on ground-truth labels in the 2-D embedding.
| Dataset | Bracket | UMAP \(T(k=50)\) | t-SNE \(T(k=50)\) | UMAP Sil. | t-SNE Sil. |
|---|---|---|---|---|---|
| Iris | Easy | 0.981 | 0.985 | 0.654 | 0.640 |
| Aging Human Skin | Moderate | 0.982 | 0.985 | 0.291 | 0.223 |
| Human Kidney | Moderate | 0.991 | 0.993 | 0.333 | 0.176 |
| PBMC 3k | Moderate | 0.859 | 0.872 | 0.567 | 0.440 |
| Cortex Development | Hard | 0.972 | 0.976 | -0.023 | -0.001 |
| Fashion-MNIST | Hard | 0.975 | 0.979 | 0.188 | 0.182 |
D Further Experiments and Results¶
D.1 Visualisation Results Demonstration¶
Figure 2 demonstrates the visualisation results of Auto-Sil for cortex dataset. Although the baselines achieve high local scores with \(T_{\rm area}\) and \(C_{\rm area}\) above 96%, they compress the data into overlapping ribbons with poor cluster separation, e.g., \(C_{\rm sil}\) between -0.023 and -0.015. It is hard to read the underlying cell-type structure from the plot. We let Auto-Sil explicitly steer the algorithm design
Table 7: Dataset suite, grouped by difficulty bracket. n = samples, d = features, K = classes.
| Bracket | Dataset | n | d | K | Domain |
|---|---|---|---|---|---|
| Easy | Iris | 150 | 4 | 3 | botany |
| Moderate | Aging Human Skin (scRNA-seq) | 8,000 | 50 | 13 | genomics |
| Moderate | Human Kidney (scRNA-seq) | 8,000 | 50 | 13 | genomics |
| Moderate | PBMC 3k scRNA-seq | 2,700 | 50 | 8 | genomics |
| Hard | Cortex Development (scRNA-seq) | 4,129 | 50 | 47 | genomics |
| Hard | Fashion-MNIST (sub.) | 5,000 | 784 | 10 | vision |
towards cluster separation. The agents design a new affinity graph and objective function so that the synthesised algorithm pulls the same cells into compact, visibly disjoint groups, while keeping reasonable local fidelity, e.g., \(T_{\rm area}\) above 80%.

Figure 2: Visualising cortex dataset by the algorithm designed by Auto-Sil, which achieves the highest \(C_{\rm sil}\) (best cluster separation) in Table 1 among all evaluated methods on this dataset, as well as the three baselines t-SNE, UMAP and PaCMAP at default hyperparameters.
We demonstrate another visualisation example in Figure 3 using pbmc3k dataset, comparing baselines with an algorithm generated by Auto-L that aims to reduce outliers. It is very interesting to observe that a priority on reducing outliers has led to improvement on local fidelity, indicated by its high underlined \(T_{\rm area}\) and \(C_{\rm area}\) in Table 1. Such phenomenon is also observed for PBMC3K, fashion, and kidney datasets as in Auto-L column of Table 1. It seems that Auto-L might not improve LOF score in all cases despite being conditioned to, but it has the potential to boost local scores. Moreover, the visualisation produced by Auto-L in Figure 3 reveals clearer and more highlighted sub-cluster structure, which may facilitate pattern discovery.

Figure 3: Visualising pbmc3k dataset by the algorithm designed by Auto-L, and the three baselines.
D.2 Comparison with Priority-driven Baseline Tuning¶
AutoManifold designs algorithms that prioritise one or multiple structural properties each characterised by a score. We evaluate two categories of structures: local neighbourhood preservation (T and T), and global structures measured by distance preservation (T0 and T1, cluster separation (Sil), and outlier reduction (T2). These objectives are not fully compatible, e.g., improving Sil often degrades T2 and T3 by distorting relative distances. For a more fine-grained comparison, we tune hyperparameters of t-SNE, UMAP and PaCMAP for individual metrics. Table 8 exemplifies results on the PBMC3k dataset, where AutoManifold improves the global metric T3 without sacrificing local performance, while illustrating the inherent trade-off between distance preservation and cluster separation.
Table 8: Optimising single metric S for PBMC3k.
| method | \(T\uparrow\) | \(C \uparrow\) | \(\rho \uparrow\) | Sil↑ | \(S\downarrow\) | \(L\downarrow\) |
|---|---|---|---|---|---|---|
| t-SNE (default) | 0.875 | 0.901 | 0.661 | 0.440 | 0.444 | 1.011 |
| t-SNE-S UMAP-S PaCMAP-S Auto-S | 0.857 0.848 0.846 0.857 | 0.879 0.883 0.863 0.900 | 0.654 0.669 0.587 0.837 | 0.318 0.481 0.132 0.241 | 0.385 0.389 0.393 0.290 | 1.007 1.014 1.005 1.007 |
D.3 Held-out Experiments¶
We let AutoManifold design algorithms on PBMC3k and evaluate them on the held-out datasets Kidney (K) and Cortex (C). The designs target a single score, either \(\rho\) for distance preservation (Auto- \(\rho\) ) or Sil for cluster separation (Auto-Sil), and are evaluated on all design scores together with the four held-out scores of Appendix A. We compare against t-SNE with default hyperparameters and t-SNE tuned on PBMC3k for the same target (t-SNE- \(\rho\) , t-SNE-Sil).
Table 9 shows consistent behaviour across held-out datasets and metrics. Auto- \(\rho\) achieves strong distance preservation as reflected by \(\rho\) , S and Shepard, while Auto-Sil achieves competitive cluster separation as reflected by Sil and NMI. Auto-Sil improves cluster separation more on the Kidney dataset (moderate difficulty) than on Cortex (hard), likely because the design data PBMC3k has a similar level of difficulty to Kidney (see Table 6 on data information). The results illustrate the expected trade-off between preserving global distances ( \(\rho\) , S, Shepard) and producing well-separated clusters (Sil, NMI).
Table 9: Held-out experiments on datasets and scores. Algorithms are designed on PBMC3k and evaluated on Kidney (K) and Cortex (C).
| . (-). | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| \(T \uparrow\) | RNX ↑ | \(C\uparrow\) | kNN↑ | \(\rho\uparrow\) | Shep↑ | Sil↑ | NMI↑ | \(S\downarrow\) | \(L\downarrow\) | |
| K, t-SNE | 0.984 | 0.491 | 0.979 | 0.961 | 0.508 | 0.504 | 0.175 | 0.706 | 0.423 | 1.015 |
| K, t-SNE- \(\rho\) | 0.985 | 0.495 | 0.981 | 0.962 | 0.525 | 0.522 | 0.180 | 0.690 | 0.415 | 1.017 |
| K, Auto- \(\rho\) | 0.952 | 0.376 | 0.963 | 0.784 | 0.931 | 0.910 | -0.360 | 0.366 | 0.284 | 1.018 |
| C, t-SNE | 0.969 | 0.467 | 0.961 | 0.711 | 0.621 | 0.602 | -0.001 | 0.672 | 0.358 | 1.011 |
| C, t-SNE- \(\rho\) | 0.972 | 0.466 | 0.964 | 0.625 | 0.649 | 0.726 | -0.005 | 0.666 | 0.359 | 1.012 |
| C, Auto- \(\rho\) | 0.947 | 0.354 | 0.958 | 0.390 | 0.883 | 0.873 | -0.209 | 0.488 | 0.296 | 1.028 |
| K, t-SNE | 0.984 | 0.491 | 0.979 | 0.961 | 0.508 | 0.504 | 0.175 | 0.706 | 0.423 | 1.015 |
| K, t-SNE-Sil | 0.984 | 0.495 | 0.981 | 0.961 | 0.521 | 0.515 | 0.270 | 0.733 | 0.418 | 1.015 |
| K, Auto-Sil | 0.971 | 0.408 | 0.973 | 0.958 | 0.357 | 0.342 | 0.381 | 0.718 | 0.517 | 1.015 |
| C, t-SNE | 0.969 | 0.467 | 0.961 | 0.711 | 0.621 | 0.602 | -0.001 | 0.672 | 0.358 | 1.011 |
| C, t-SNE-Sil | 0.964 | 0.459 | 0.951 | 0.705 | 0.605 | 0.565 | 0.002 | 0.664 | 0.367 | 1.011 |
| C, Auto-Sil | 0.962 | 0.388 | 0.958 | 0.657 | 0.663 | 0.589 | -0.007 | 0.653 | 0.479 | 1.009 |
D.4 LLM Backbone and Skeleton Ablation¶
AutoManifold builds on Google Gemini-3.1-Pro. We report an ablation study on LLM backbone in Table 10 by replacing it with OpenAI GPT-5.4 and Claude Opus-4-8, using the version of AutoManifold that optimises all metrics without hyperparameter refinement. Gemini-3.1-Pro achieves the strongest and most stable performance across datasets.
To evaluate the contribution of the proposed skeleton, we remove all specialist agents and their associated instructions, leaving a blank-canvas multi-agent design system that spawns its self-defined base-agent workers. Table 11 compares the performance difference (no-skeleton vs. AutoManifold) for algorithms optimised under different metrics on Iris, PBMC3k, and Kidney datasets. The substantial performance degradation demonstrates the important role of the proposed skeleton in guiding effective design of embedding algorithms.
D.5 Alternative LLM Usage Ablation¶
We experiment with two alternative ways to synthesise algorithms using LLMs: One is to directly prompt a single LLM (SingleLLM), while the other is a skeleton-free multi-agent system (NoSke-
Table 10: LLM backbone ablation (balanced priority, without hyperparameter refinement). Bold: best backbone per dataset and score.
| Dataset | Backbone | Tarea ↑ | Carea ↑ | ρ ↑ | Sil↑ | S ↓ | L ↓ |
|---|---|---|---|---|---|---|---|
| GPT-5.4 | 0.9583 | 0.9690 | 0.9311 | 0.4619 | 0.2166 | 1.0131 | |
| Iris | Gemini-3.1-Pro | 0.9620 | 0.9709 | 0.8239 | 0.4229 | 0.3427 | 1.0139 |
| Claude-Opus-4.8 | 0.9261 | 0.8962 | 0.7110 | 0.3483 | 0.4214 | 1.0440 | |
| GPT-5.4 | 0.5673 | 0.4992 | −0.1919 | −0.3797 | 0.9149 | 1.0148 | |
| Aging | Gemini-3.1-Pro | 0.9661 | 0.9733 | 0.4250 | 0.1455 | 0.5128 | 1.0179 |
| Claude-Opus-4.8 | 0.5293 | 0.5322 | −0.0272 | −0.6660 | 0.9774 | 1.0127 | |
| GPT-5.4 | 0.5483 | 0.6153 | 0.1961 | −0.0422 | 0.6591 | 1.0154 | |
| PBMC3k | Gemini-3.1-Pro | 0.8634 | 0.8809 | 0.5449 | 0.4922 | 0.4372 | 1.0235 |
| Claude-Opus-4.8 | 0.7287 | 0.7029 | 0.4206 | −0.0836 | 0.7514 | 1.0391 | |
| GPT-5.4 | 0.5040 | 0.5078 | 0.0317 | −0.3740 | 0.9418 | 1.0186 | |
| Kidney | Gemini-3.1-Pro | 0.9507 | 0.9792 | 0.3992 | 0.0589 | 0.4658 | 1.0262 |
| Claude-Opus-4.8 | 0.5470 | 0.5684 | 0.0292 | −0.7829 | 0.9504 | 1.0121 | |
| GPT-5.4 | 0.5421 | 0.5292 | 0.1536 | −0.2337 | 0.8076 | 1.0168 | |
| Cortex | Gemini-3.1-Pro | 0.9596 | 0.9691 | 0.6721 | −0.0095 | 0.3495 | 1.0211 |
| Claude-Opus-4.8 | 0.5335 | 0.5398 | 0.1516 | −0.5710 | 0.9462 | 1.0140 | |
| GPT-5.4 | 0.9658 | 0.9746 | 0.6687 | 0.1624 | 0.3257 | 1.0272 | |
| Fashion | Gemini-3.1-Pro | 0.9549 | 0.9753 | 0.7429 | 0.0975 | 0.3124 | 1.0145 |
| Claude-Opus-4.8 | 0.9123 | 0.9289 | 0.5679 | 0.1331 | 0.3526 | 1.0230 |
Table 11: Skeleton ablation, reported as no-skeleton minus AutoManifold. Bold: performance drop after skeleton removal (negative for ↑, positive for ↓). Underline: the prioritised score of each column.
| Dataset | Score | Auto (w/o) | Auto-T | Auto-C | Auto-ρ | Auto-Sil | Auto-S |
|---|---|---|---|---|---|---|---|
| ↑ Tarea Carea ↑ | −0.0568 −0.0560 | −0.1201 −0.1168 | −0.0072 −0.0021 | −0.0248 −0.0245 | −0.3610 −0.3680 | +0.0016 +0.0023 | |
| Iris | ρ ↑ | −0.0636 | −0.0366 | −0.0950 | −0.2143 | −0.8029 | +0.0020 |
| Sil↑ | −0.1036 | −0.2787 | +0.0497 | −0.0036 | −0.8109 | −0.0013 | |
| S ↓ L ↓ | +0.1063 −0.0141 | −0.0987 +0.0700 | −0.1143 −0.0003 | +0.3324 −0.0019 | +0.1876 +0.0248 | −0.0124 −0.0008 | |
| Tarea ↑ | −0.0580 | −0.3119 | −0.0293 | −0.0079 | −0.0255 | −0.0394 | |
| ↑ Carea | −0.0784 | −0.3255 | −0.0323 | −0.0056 | −0.0032 | −0.1521 | |
| ρ ↑ | −0.0434 | −0.4470 | +0.0951 | +0.0849 | +0.2393 | −0.4040 | |
| PBMC3k | Sil↑ | −1.3619 | −0.4538 | +0.0154 | −0.0254 | −0.1235 | +0.0392 |
| S ↓ | −0.3253 | −0.5351 | −0.8072 | +0.0909 | −0.5500 | +0.1382 | |
| L ↓ | +0.0041 | +0.0079 | +0.0358 | +0.0301 | +0.0090 | +0.0067 | |
| Tarea ↑ | −0.0007 | −0.0121 | −0.0364 | −0.0342 | +0.0636 | −0.0068 | |
| Kidney | Carea ↑ | −0.0023 | +0.0047 | −0.0093 | −0.0358 | +0.0153 | −0.0260 |
| ρ ↑ | −0.0107 | +0.1084 | +0.2962 | −0.0011 | +0.3135 | −0.0037 | |
| Sil↑ | −0.0552 | −0.3019 | −0.4189 | −0.0239 | −0.7665 | +0.0092 | |
| S ↓ | −0.0318 | −0.0728 | −0.1677 | −0.0175 | −0.3832 | −0.0104 | |
| L ↓ | −0.0012 | +0.0029 | −0.0038 | −0.0002 | −0.0121 | −0.0027 |
Table 12: Alternative LLM usage on PBMC3k. Each priority (ρ or S) is targeted by SingleLLM, NoSkelAgents and AutoManifold. Bold: best within each priority block.
| ρ-focused | S-focused | ||||||
|---|---|---|---|---|---|---|---|
| Score | SingleLLM-ρ | NoSkelAgents-ρ | Auto-ρ | SingleLLM-S | NoSkelAgents-S | Auto-S | |
| Tarea ↑ | 0.8614 | 0.8433 | 0.8645 | 0.8075 | 0.8584 | 0.8570 | |
| ↑ Carea | 0.9140 | 0.8786 | 0.9056 | 0.8174 | 0.9012 | 0.9004 | |
| ρ ↑ | 0.8766 | 0.7944 | 0.8552 | 0.6750 | 0.8362 | 0.8365 | |
| S ↓ | 0.8175 | 0.4450 | 0.3191 | 0.5162 | 0.2904 | 0.2901 | |
| Sil↑ | 0.3443 | 0.4240 | 0.3876 | 0.1762 | 0.2414 | 0.2409 | |
| L ↓ | 1.0176 | 1.0350 | 1.0135 | 1.0249 | 1.0067 | 1.0067 |
lAgents) that does not rely on any embedding design framework. As compared to AutoManifold, they both have more design freedom, but less agentic structure. Single LLM: The most intuitive while naive way for synthesise embedding algorithm is to prompt a single LLM by a task description written in natural language. For instance, the LLM is prompted by "design a 2D manifold embedding algorithm for this dataset and emit the mathematical formulation, pseudo-code, and a self-contained custom_embedding() Python function", together with high-level metadata about the dataset (number of samples, number of features, optional class count). Under this setting, there is no upstream data characterisation, no multi-agent decomposition, no primitive vocabulary, no sub-agent spawning, and no iterative refinement. The LLM emits an algorithm in one shot, populating all three representation layers (Section 4). The code is then validated, executed in the sandbox, and evaluated by the deterministic engines. This setting has maximum LLM freedom (no constraints) but minimum agentic structure.
Skeleton-free Multi-Agent System: The system is allowed to invent freely any embedding algorithm using any mathematics, without following any embedding design framework. It dynamically spawns new specialised sub-agents to gather analyses before finalising its design. The designer must emit mathematics, pseudo-code, and executable code coherently. In this case, the LLM freedom is maximum, while the novelty target is unconstrained. This is equivalent to giving the LLM a blank canvas with no primitive vocabulary constraints. Its planner agent subclasses the planner agent of AutoManifold, inheriting all code-execution helpers, iterative optimisation, visual forensics, and baseline-comparison machinery. Only the design and synthesis phases are overridden, ensuring fair comparison across methodologies under identical evaluation infrastructure. It implements a unique multi-turn protocol:
-
- Up to three rounds of LLM interaction.
-
- Per round, the LLM may take one of two actions: (a) spawn_agents: specifying role, system_message, and task_prompt for one or more sub-agents, which the planner instantiates as DynamicAgent instances, executes, and whose results are appended to the design context; or (b) finalize_design: emitting the final algorithm specification in all three layers.
-
- Safety mechanisms: a hard 3-round limit; if no finalisation occurs after three rounds, finalisation is forced via a direct LLM call; each sub-agent invocation is wrapped in try/except, returning {"error": ...} as feedback rather than crashing the loop; and a fallback minimal "Adaptive DR" specification is provided if all else fails.
Compared to AutoManifold, it allows three focused code-generation retries (vs. one), allocates five Agents and 10 recovery attempts (vs. two), and falls back to t-SNE if all attempts fail.
We ask all three LLM-based methods to prioritise the global scores ρ and Stress-1 separately, and tune hyperparameters of baselines to optimise ρ and Stress-1 one at a time as well. The obtained results are compared in Table 12. Both single LLM and multi-agent LLMs without the algorithmic skeleton do not perform as consistently as AutoManifold. For instance, SingleLLM-S performs poorly when optimising S, while NoSkelAgents-ρ is similarly less effective at improving ρ. In contrast, SingleLLM-ρ, NoSkelAgents-S and AutoManifold all achieve strong performance across most evaluation metrics.
D.6 Difficulty Labelling Sensitivity¶
Difficulty is assigned per patch rather than per point, since embedding difficulty arises from the relative distance relationships within a local neighbourhood rather than from individual points. A patch containing outliers receives a higher difficulty level only when the baseline scores indicate that the outliers substantially increase the embedding challenge. The number of patches is k=n/m for a fixed patch size \(m\approx 100\) , so k scales with n; each patch is labelled Easy, Moderate or Hard by the rank of its aggregated reliability score at the 33rd and 67th percentiles. The labels act as a coarse prior that biases primitive and weight selection, and are subsequently refined by the evaluation and iterative-optimisation stages. Several generated algorithms also develop their own point-wise difficulty estimate, e.g., by thresholding the distance to the k-th nearest neighbour as in DAS-SNE (Appendix F).
Table 13 compares the labelling at \(m \in \{50, 200, 300\}\) with the default m=100 on four datasets. Only 35–70% of points keep their exact three-level label, but this movement is almost entirely reshuffling through the Moderate bucket at the fixed percentile cutoffs. For the decision-relevant distinction between Easy and Hard, 82–99% of points (typically above 90%) keep their classification across all patch sizes. Patch granularity therefore affects which points lie in the middle band, but not which regions are clearly easy or clearly hard to embed.
| Table 13. Agreement of difficulty labels with the default patent size \(m = 100\) | ||||||
|---|---|---|---|---|---|---|
| Dataset | Easy-Hard agreement | Exact {E, M, H} agreement | ||||
| m=50 | m=200 | m=300 | m=50 | m=200 | m=300 | |
| PBMC3k | 0.952 | 0.987 | 0.978 | 0.45 | 0.70 | 0.53 |
| Kidney | 0.862 | 0.896 | 0.817 | 0.38 | 0.38 | 0.35 |
| Cortex Fashion | 0.914 0.900 | 0.958 0.983 | 0.952 0.940 | 0.46 0.44 | 0.52 0.58 | 0.61 0.50 |
Table 13: Agreement of difficulty labels with the default patch size m = 100.
E Further Implementation Details¶
E.1 Primitive Vocabulary¶
We define primitive vocabulary to communicate model configuration options to agents, including six primitives \(\{\operatorname{OptA}_i\}_{i=1}^6\) for constructing affinity matrix, five primitives \(\{\operatorname{OptC}_i\}_{i=1}^5\) for specifying objective function, and four primitives \(\{\operatorname{OptS}_i\}_{i=1}^4\) for optimisation solvers. These are all defined through natural language. Specifically, the affinity primitives include euclidean_knn (standard k-NN graph; easy regions), mutual_knn (symmetric k-NN; noise-robust), snn (shared nearest neighbour; hard or noisy regions), geodesic (graph shortest-path distances; curved manifolds), lof_weighted (LOF-downweighted edges; outlier-heavy regions), and learnable (a neural network metric for complex non-Euclidean structure). The objective primitives include kl_divergence (KL(P||Q)) as in t-SNE; local), cross_entropy (binary cross-entropy as in UMAP; local with implicit negative sampling), spectral (Laplacian trace; global), force_directed (spring-electrical model; visual interpretability), and mutual_information (statistical dependence). The optimisation solver primitives include sgd, adam, spectral_eigen (eigendecomposition for spectral costs), and fft_accelerated (FFT-approximated gradients for large-scale data). We use hybrid affinity and multi-scale cost to distinguish constant weights from weight functions (indicated by adaptive weighting), in affinity matrix and objective function construction, respectively. This together with the other two options of constrained multi-objective optimisation for Eq. (5) and iterative refinement for Eq. (9) constitute the composition primitives, controlling both affinity and optimisation formulation.
E.2 Compute Engines¶
A core contribution is the separation of creative / analytical tasks (delegated to LLM agents) from objective measurement (performed by deterministic engines). LLM agents are (a) constrained to a narrow role via targeted system prompts (e.g. Agent 7 is purely diagnostic and is explicitly forbidden to propose parameter changes); (b) schema-bound, with required JSON output structures validated per
agent; (c) grounded, in that they receive deterministic metric outputs verbatim and cannot fabricate or manipulate computed metrics; and (d) auditable through mandatory chain-of-thought fields (e.g. Agent 6 must populate the dendrogram_comparison and visual_inspection fields before the recommendations field).
Embedding & Visualisation engine: DRVisualizationEngine supports t-SNE (sklearn), UMAP, PaCMAP, and PCA, with an optional n_pcs pre-reduction parameter, and renders publication-quality scatter plots with a 12-colour palette, per-class legends, and the quality-score badge. It produces deterministic embeddings, serves as the fallback when LLM-generated code fails, and renders all visualisation outputs.
Quantitative Analyst engine: QuantitativeAnalystEngine computes global preservation (Spearman ρ and stress S), local preservation (Tarea, Carea), cluster separation (silhouette, sub-sampled to 5,000 points), outlier statistics (LOF median), and pointwise metrics (per-point trustworthiness, continuity, stress, and a composite distortion weighted as 0.35 T + 0.35 C + 0.30 S). All values are passed verbatim to agents, so agents cannot fabricate metrics.
Clustering engine: ClusteringEngine constructs UPGMA dendrograms on per-class centroids (or a sub-sampled raw-data fallback when no labels are present), represents them as Newick strings with branch lengths and scipy linkage matrices, and computes Robinson–Foulds distance, cophenetic correlation, and topology-change detectors (closest-pair changes, nearest-neighbour inversions, merge-order disruptions with ∆ ≥ 2 steps), together with DR-method-aware calibration notes.
E.3 Shared Infrastructure¶
All worker agents inherit from a common BaseAgent that enforces: (i) structured JSON-only LLM communication, (ii) multi-strategy JSON parsing with retry, (iii) coercion of malformed responses, (iv) optional schema validation hooks, and (v) skill / plugin usage tracking. A unified LLMClient interface supports OpenAI, Anthropic (Claude), and Google Gemini providers, with provider-level enforcement of JSON output (response_format for OpenAI, assistant-prefill for Anthropic, response_mime_type for Gemini), exponential-backoff retry up to three attempts, and base64-image vision support. A central PipelineConfig centralises all hyperparameter defaults, convergence thresholds (target implicit score ≥ 8.0/10, patience = 2 non-improving iterations, hard cap of 10 iterations), metric parameters (k = 10 neighbours, LOF threshold 1.5), and per-mode settings.
E.4 Workflow¶
Each worker is a single-shot, schema-constrained language-model call, a stateless mapping from context to a validated specification, which performs no embedding, no metric computation, and no tool calls of its own. Control flow and state are handled by a finite-state Planner (with a languagemodel backbone for context management): a deterministic phase graph fixes what runs and in what order, and the Planner owns and invokes the deterministic engines, injecting their outputs verbatim into the next agent's context. This enforces grounding: an agent can reason about a metric only because it was measured deterministically and placed in its context, and cannot recompute or fabricate it. The only feedback loops are at the orchestration level: a propose/execute/measure/feed-back refinement cycle, and a bounded error-recovery loop with baseline fallback. This fixed workflow is a deliberate reliability choice.
E.5 Code Validation and Correction Pipeline¶
We introduce a code validation and correction pipeline operating on executable code, ensuring fair comparison and addressing the fundamental challenge of LLM-generated code reliability. These include the following: Generation Requirements: Agent 8 must produce a complete def custom_embedding(data, labels, params) function that returns an np.ndarray of shape (n, 2), contains all imports inside the function body, handles labels=None gracefully, and uses max_iter (not the deprecated n_iter) for sklearn t-SNE. Automated Pre-execution Correction: Before execution, the pipeline applies regex-based fixes for persistent LLM hallucination patterns, notably the n_iter → max_iter substitution. Sandboxed execution. Code is executed in an isolated namespace, with a ThreadPoolExecutor-based timeout (60 s for small-sample validation, 300 s for production), and the output is validated for type, shape, NaN/Inf, and row-count consistency. Small-sample validation. Before running on the full dataset, the function is executed on a 500-row stratified subsample with a 60-second timeout. A binary pass/fail decision with a diagnostic message is produced. Error-recovery loop. On failure, Agent 10 receives the failing code, the traceback, the data shape, and the list of previous attempts; it emits diagnosis, fix_summary, fixed_code, fixed_params, and confidence. The fix is validated on the small sample; if it fails, the new error is fed back to Agent 10 (cascading diagnosis). The loop runs up to two attempts in SingleLLM, Optimize, and Novel modes and up to five in NoSkelAgents mode. If all attempts fail, the planner falls back to a deterministic engine: the standard DR engine in Optimize mode, and t-SNE in SingleLLM, Novel, and NoSkelAgents modes. Runtime code updates during optimisation. Agent 6 may propose a code_update field during the optimisation loop: the proposed function replaces the current one only after passing small-sample validation; otherwise the previous code is kept. These updates are limited to hyperparameter related changes, for the cases Agent 6 needs to modify an existing hyperparameter that is not declared in the code. Stale iterations (no parameter or code change) are flagged in history to prompt bolder changes.
E.6 Iterative Optimisation Loop¶
Loop structure: For each iteration up to a maximum of ten:
-
- Compute the embedding (custom code or the standard embedding engine).
-
- Compute deterministic metrics (QuantitativeAnalystEngine).
-
- Compute hierarchical-clustering dendrograms (ClusteringEngine).
-
- Render the scatter plot with a quality-score badge.
-
- Agent 7 produces an independent diagnostic score (no recommendations).
-
- Agent 6 produces implicit_score, explicit_score (inherited from Agent 7), recommendations, and an optional code_update.
-
- Check convergence; if not met, apply recommendations and continue.
Dual scoring: Agent 6 evaluates two independent assessments: the implicit score ∈ [0, 10] is a holistic quality judgement; the explicit score is a weighted composite O = P i wiOi over individual metric components, with the weights wi themselves modulated by the user-supplied priority π (e.g. a silhouette-priority run upweights wsil). The explicit_score is calculated by Agent 7 and the implicit_score is emitted by Agent 6, and convergence is driven by the average of two, ensuring both qualitative and quantitative satisfaction of the success criteria.
Termination criteria: The loop terminates when the implicit score reaches ≥ 9.0, when patience = 2 consecutive non-improving iterations is observed, or when maximum iterations (set to 5) have elapsed.
Anti-stagnation: If Agent 6's recommendations produce no parameter change and no code update, the iteration is marked as stale in history. Agent 6 is provided with the full optimisation history including ∆-scores, tried parameter combinations, skipped recommendations, and stale flags, and its prompt explicitly instructs: "must try BOLD changes if plateauing, must NOT repeat tried combinations."
E.7 Plugins and Skills System¶
The framework includes a Superpowers45/PUA46 plugin system (MIT License) for tracking agent capabilities. A thread-safe singleton SkillTracker with run-level lifecycle management auto-maps each agent to a skill category: data-characterisation and design agents to brainstorming, optimisation, novelty-validation, and error-recovery agents to systematic_debugging, and the visualisation evaluator to verification_before_completion. A context-triggered PUA mode escalates agent effort through pressure-based prompting. Each skill invocation logs the agent name and ID, timestamp, duration, parameters, success/failure status, and error messages; logs are autosaved to outputs/skill_logs/{run_id}_skills.json on run completion. Skills are tracked via a Python context manager that automatically measures duration and catches exceptions. In
NoSkelAgents mode, the designer can additionally spawn arbitrary DynamicAgent instances at runtime, each inheriting BaseAgent infrastructure and the same skill-tracking machinery.
E.8 Graceful-Completion Guarantees¶
All methodologies are designed to degrade gracefully and return an output embedding rather than crashing the pipeline. Agent-level: a JSON parse failure triggers retry parsing followed by an LLM JSON-repair call, ultimately returning an empty dictionary. Code-level: compilation failures invoke Agent 10 recovery (2–5 attempts) before falling back to the deterministic engine. Runtime-level: thread-based timeouts (60 s / 300 s) trigger the same recovery. Phase-level (NoSkelAgents): every phase is wrapped in try/except and continues with degraded state. Design-level (NoSkelAgents): the designer loop's hard 3-round limit forces finalisation, falling back to a minimal specification if necessary. Final fallback: mode-specific deterministic logic is always available. The standard DR engine for Optimize, and t-SNE for SingleLLM, Novel, and NoSkelAgents. The result dictionary records used_fallback and fallback_reason so that downstream reporting can distinguish LLMdesigned from fallback embeddings.
E.9 Output Artefacts¶
Each pipeline run produces structured per-agent JSON traces (agent{N}_{name}.json), including the three-layer algorithm description (LaTeX formulation, pseudo-code, executable function); per-iteration scatter plots (PNG); the optimisation history and convergence curve (optimization_history.json, convergence_curve.png); five visual-forensics diagnostic plots and visual_forensics.json; in SingleLLM, Novel, and NoSkelAgents modes, a baseline comparison (baseline_comparison.json plus side-by-side plots versus t-SNE, UMAP, and PaCMAP); the final executable algorithm (custom_algorithm_final.py); the skillinvocation audit log (skill_logs/{run_id}_skills.json); and a complete run summary (final_{mode}_report.json).
E.10 Others¶
Computational Resources: All experiments ran on iMac (2017 4.2 GHz Quad-Core Intel Core i7). The total storage required for all datasets is approximately 250MB.
Schema Validation: Agent 4 outputs are validated for the presence of affinity_design.primary_primitive, is_hybrid, and neighborhood_specification; Agent 5 outputs are validated for cost_design.primary_objective, is_multiobjective, components, and cost_design.formulation.
Baseline Comparison: Novel mode automatically runs t-SNE, UMAP, and PaCMAP as baselines on the same data and emits a side-by-side embedding comparison with a metrics table where each column highlights the best-performing method. This is the harness against which novelty is empirically validated.
Baseline Hyperparameters: Default runs use scikit-learn / library defaults (t-SNE: perplexity = 30, learning_rate = 200, max_iter = 1000; UMAP: n_neighbors = 15, min_dist = 0.1; PaCMAP: n_neighbors = 10, MN_ratio = 0.5, FP_ratio = 2.0) with random_state = 42. Tuned runs perform a 10-trial seeded random search per method with the balanced objective 0.2 Tarea + 0.2 Carea + 0.3 ρ + 0.3 (1−S) over the standard knobs (t-SNE: perplexity, learning_rate, early_exaggeration, max_iter; UMAP: n_neighbors, min_dist, spread, repulsion_strength, learning_rate; PaCMAP: n_neighbors, MN_ratio, FP_ratio, lr).
Cross-layer Consistency: The synthesiser agent (Agent 8) is required, in a single response, to emit all three layers and an explicit cross-layer mapping linking each mathematical symbol in Layer 1 to a pseudo-code symbol in Layer 2 and a variable name in Layer 3. The novelty validator (Agent 12) operates on Layers 1 and 2 (not on the source code), so that classification of novelty cannot be gamed by superficial code differences.
Algorithm 1 Difficulty-Adaptive Silhouette t-SNE (DAS-SNE)¶
iterations T
Ensure: 2-D embedding Y \in \mathbb{R}^{n \times 2}
1: Standardize X; if d > 20 apply PCA to 20 components; L_2-normalize.
2: Compute the k-nearest neighbours and their distances for every point of X.
3: Compute Gaussian affinities P<sub>gauss</sub> by binary search to match the target perplexity over the kNN
4: Build the unweighted kNN adjacency A and the SNN affinities SNN = \frac{1}{k} AA^{\mathsf{T}}, setting the
5: For each i compute the distance to its k-th neighbour d_i^{(k)}, and let p_{50}, p_{85} be its 50th and 85th
percentiles.
6: Set per-point blend weight w_i \leftarrow \begin{cases} 0.15 & d_i^{(k)} > p_{85} \\ 0.05 & p_{50} < d_i^{(k)} \le p_{85} \end{cases}
7: Blend affinities P_{\text{hyb}} \leftarrow (I - W) P_{\text{gauss}} + W \text{SNN}.
8: Symmetrize and normalize: P \leftarrow \max(P_{\text{hyb}}, P_{\text{hyb}}^{\top}), P \leftarrow P / \sum_{kl} P_{kl}.
⊳ eq. 21
⊳ eq. 22
9: Initialize Y from PCA, rescaled by 10^{-4}/\operatorname{std}(Y_{:,0})
10: if labels are not provided then
Generate pseudo-labels with KMeans (K = 15).
12: end if
13: Multiply P by 12 (early exaggeration); initialize Adam moments m \leftarrow 0, v \leftarrow 0.
14: for t = 1, ..., T do
if t = 250 then
15:
16:
Divide P by 12 (end early exaggeration).
17:
Compute Student-t affinities Q_{ij} \leftarrow \frac{(1 + ||y_i - y_j||^2)^{-1}}{\sum_{k \neq l} (1 + ||y_k - y_l||^2)^{-1}}.
18:
Compute KL gradient \nabla_{KL}Y from eq. 2.
19:
\nabla_{\rm sil} Y \leftarrow 0.
20:
21:
if t > 250 and \lambda > 0 then
22:
Recompute cluster centroids c_{\ell} from Y and (pseudo-)labels.
For every i: a_i \leftarrow ||y_i - c_{\ell_i}||, b_i \leftarrow \min_{\ell \neq \ell_i} ||y_i - c_{\ell}||, k_i^* \leftarrow \arg \min.
23:
for each active point i with a_i - b_i + m > 0 do
24:
\nabla_{\text{sil}} y_i \leftarrow \frac{y_i - c_{\ell_i}}{a_i + \varepsilon} - \frac{y_i - c_{k_i^*}}{b_i + \varepsilon}.
⊳ eq. 24
25:
26:
if \|\nabla_{\rm sil} Y\| > 10^{-8} then
27:
Rescale \nabla_{\text{sil}} Y \leftarrow \nabla_{\text{sil}} Y \cdot \|\nabla_{KL} Y\| / \|\nabla_{\text{sil}} Y\|
28:
29:
end if
30:
Total gradient g \leftarrow \nabla_{KL} Y + \lambda \nabla_{sil} Y.
⊳ eq. 25
31:
Update Y with Adam(q); recenter Y \leftarrow Y - \overline{Y}.
33: end for
34: return Y
Require: Data \(X \in \mathbb{R}^{n \times d}\) ; optional labels; perplexity, k, silhouette weight \(\lambda\) , margin m, max
F AutoManifold Output Demonstration¶
In general, the outputs of AutoManifold include (1) the mathematical formulation underpinning the generated algorithm, (2) pseudo-code of the generated algorithm, and (3) visual forensics of the output plot. In this section, we demonstrate the AutoManifold outputs returned by running Auto-Sil on the Cortex Development dataset. The designed algorithm is named as Difficulty-Adaptive Silhouette t-SNE (DAS-SNE), which improves cluster separation while maintaining reasonable local neighbourhood preservation.

Figure 4: Score changes of Auto-Sil on Cortex Development dataset over 5 iterations of hyperparameter tuning by Agent 6.
Mathematical Formulations and Pseudo-code: We list the original machine-generated mathematical formulations of DAS-SNE as below.
$\(P_{ij} = \frac{\max(P_{\text{hyb},ij}, P_{\text{hyb},ji})}{\sum_{k,l} \max(P_{\text{hyb},kl}, P_{\text{hyb},lk})},\)$ (22)
$\(\nabla_{KL} y_i = 4 \sum_{j} (P_{ij} - Q_{ij}) (1 + ||y_i - y_j||^2)^{-1} (y_i - y_j),\)$ (23)
$\(\nabla_{\text{sil}} y_i = \frac{y_i - c_{\ell_i}}{a_i + \varepsilon} - \frac{y_i - c_{k_i^*}}{b_i + \varepsilon}, \quad \text{if } a_i - b_i + m > 0,\)$ (24)
$\(g = \nabla_{KL} Y + \lambda \nabla_{sil} Y \cdot \frac{\|\nabla_{KL} Y\|}{\|\nabla_{sil} Y\|}.\)$ (25)
The original machine-generated pseudo-code of DAS-SNE is provided as Algorithm 1.
Intuitive Explanation: We further translate the above mathematical formulations and pseudocode into intuitive explanation of DAS-SNE. Starting from the standard t-SNE objective minY KL(P(X), Q(Y )), DAS-SNE augments P(X) by a second-order neighbouring adjacency matrix A(X)AT (X). It constructs the new P(X) by symmetrising and normalising, given as
$\(\tilde{P}(X) = W(X) \circ P(X) + (1 - W(X)) \circ A(X)A^{T}(X),\)$ (26)
where W(X) is a data-dependent weighting function. Each row of W(X) is assigned a single weight of 0.15 (far), 0.05 (medium) or 0 (close) determined by embedding difficulty. Points with distant neighbours are treated as hard to embed, and their neighbourhood connectivity is strengthened through A(X)AT (X). To encourage cluster separation, DAS-SNE introduces a Silhouette-inspired objective that simultaneously increases within-cluster compactness and between-cluster separation computed based on cluster centers:
$\(S(Y) = \sum_{i=1}^{n} \left( \frac{\|y_i - c_i\|_2^2}{\sum_{k \in I_i} \|y_k - c_i\|_2^2} - \frac{\min_{l \neq clust_i} \|y_i - c_l\|_2^2}{\sum_{l=1}^{K} \|y_i - c_l\|_2^2} \right).\)$ (27)
The final optimisation problem becomes


Figure 5: Visual forensics result by Agent 9.
which is solved using Adam. To balance the two objectives, the Silhouette gradient is normalised by the gradient norm ratio. As a result, the Adam updates become
Interestingly, we observe that, in most generated algorithms, the LLM does not explicitly formulate optimisation objectives or constraints, but directly designs the gradient update rules together with optimisation solvers. The corresponding optimisation objective can often be inferred from the update rules afterwards.
Hyperparameter Search: The hyperparameter setting recommended by Agent 6 is provided in Listing 1. Figure 4 demonstrates the score changes over 5 iterations of hyperparameter search by Agent 6. The best result, which is the one retained, is achieved at the fourth iteration in line with the silhouette priority. The implicit score, i.e., the holistic judgement of Agent 6, and the explicit score, i.e., the priority-weighted metric composite computed by Agent 7 (Appendix E.6), agree on this choice, indicating that the qualitative assessment of the agents is consistent with the quantitative metrics.
Listing 1: Agent 6 best-iteration hyperparameters for the synthesised algorithm Difficulty-Adaptive Silhouette t-SNE (DAS-SNE) on cortex_development under the max_silhouette priority. Selected at iteration 4/5 of the iterative-optimisation loop. Verbatim contents of final_novel_algorithm_report.json → implementation_result.optimization_history[best_iteration].hyperparameters.
1 {
2 " affinity_k ": 50 ,
3 " perplexity ": 50 ,
4 " learning_rate ": 10.0 ,
5 " max_iterations ": 2000 ,
6 " silhouette_weight ": 50.0 ,
7 " silhouette_margin ": 50.0
8 }
Visual Forensics: The visual forensics output produced by Agent 9 is presented in Figure 5. It illustrates a distortion heatmap and Agent-9 marked areas, visualising highly distorted, well-preserved and hierarchy-breaking areas on the plot.
Novelty Analysis: Agent 12 identifies DAS-SNE as a novel variant of t-SNE. A detailed novelty analysis produced by Agent 12 is illustrated in Listing 2.
Listing 2: Agent 12 novelty validation output for the synthesised algorithm Difficulty-Adaptive Silhouette t-SNE (DAS-SNE) on cortex_development under the max_silhouette priority. Verbatim contents of agent7_novelty_validation.json.
1 {
2 " most_similar_method ": "t- SNE ",
3 " theoretical_differences ": " While standard t- SNE relies purely on Gaussian perplexity
for high - dimensional affinities and optimizes a strict KL divergence , this
algorithm introduces a topology - aware hybrid approach . In the high - dimensional
space , it blends the Gaussian probabilities with Shared Nearest Neighbor (SNN )
similarities , dynamically increasing the SNN weight in 'hard ' or 'medium '
difficulty regions to bridge sparse components . In the low - dimensional
optimization , it alters the gradient landscape by adding a silhouette surrogate
term to the KL divergence , explicitly forcing tighter intra - cluster cohesion and
wider inter - cluster separation where the local manifold is difficult to resolve .",
4 " suggested_name ": " Difficulty - Adaptive Silhouette t- SNE (DAS - SNE )",
5 " tagline ": "A t- SNE variant that dynamically blends Shared Nearest Neighbors and a
silhouette surrogate cost to enhance cluster separation in topologically
difficult regions .",
6 " is_genuinely_novel ": true ,
7 " recommendations ": {
8 " next_steps ": [
9 " Formally define the 'difficulty ' heuristic (e.g., local intrinsic dimensionality
or density variance ) used to classify H, M, and E regions .",
10 " Develop a differentiable , computationally efficient approximation for the
silhouette surrogate , as exact silhouette scores scale quadratically O(N ^2)
and are non - smooth .",
11 " Analyze the gradient interactions between the KL divergence term and the
silhouette surrogate to ensure they do not cause oscillatory behavior during
Adam optimization ."
12 ] ,
13 " potential_limitations ": [
14 " Calculating Shared Nearest Neighbors ( SNN ) and the silhouette surrogate
significantly increases the computational complexity compared to standard
t- SNE .",
15 " The adaptive weighting scheme introduces multiple new hyperparameters ( thresholds
for H/M/E regions ) that may be highly dataset - dependent .",
16 " Forcing cluster separation via a silhouette surrogate might artificially fracture
continuous manifolds or trajectories ."
17 ] ,
18 " comparison_baselines ": [
19 "t-SNE ",
20 " UMAP ",
21 " PaCMAP ",
22 "SNN -t-SNE (if available , or a baseline t- SNE with SNN affinities )"
23 ]
24 }
25 }
G Insight Illustration¶
Beyond the reported quantitative scores, AutoManifold includes Agent 9 which performs post-hoc visual forensics by inspecting and analysing the embeddings produced by the generated algorithm (see Figure 5 as an example). In general, these diagnostics identify which structures are faithfully preserved, where distortion occurs, and which regions of an embedding can be trusted for downstream usage, etc. We illustrate this analysis for three generated algorithms: Constrained Adaptive Geodesic Mapping (CAGM) generated by Auto-ρ on the PBMC3k dataset, Region-Adaptive Spectral t-SNE (RAS-t-SNE) generated by Auto (w/o) under balanced objectives on the Iris dataset, and Outlier-Stabilised t-SNE (OS-tSNE) generated by Auto-L on the Kidney dataset.
The insight summary along with the machine-generated mathematical formulations and pseudo-code summary for these three algorithms are illustrated below.
RAS-t-SNE: "Formulations: P = 2N (P˜ + P˜⊤), P˜ = wgP gauss + wgeoP geo , L = wkl KL(P∥Q) + wspec tr(Y ⊤L Y ), L = diag(P1) − P. Gradient ∇Y L = wkl4 P j (P opt ij − Qij )(1 + ∥yi − yj∥ 2 ) −1 (yi − yj ) + wspec2LY ; complexity O(N2 )/iter. Pseudocode: (1) perplexitycalibrate P gauss; (2) kNN(k=15)→ shortest-paths Dgeo → P geo; (3) hybrid P˜, symmetrize, L; (4) PCA-init Y ; (5) t=1..T: early-exaggerate (4P, t≤250), Q, KL grad, spectral grad 2LY , combine, Adam, re-center". On Iris, RAS-t-SNE achieves exact hierarchy preservation, with versicolor and virginica forming a clade before merging with setosa exactly as in the original space, so inter-cluster
distances in 2D can be interpreted directly. The diagnostic nevertheless flags residual local distortion concentrated within setosa, indicating that point-level distances inside that cluster should be read with more caution than the between-cluster geometry.
CAGM: "Formulations: \(D_{\text{target}} = (1 - W)D_{\text{geo}} + WD_{\text{snn}}, W_{ij} = \frac{0.15}{2}(c_i + c_j), G_i = 2\sum_{j \neq i} \left[ \alpha \operatorname{clip} \left( 1 - \frac{D_{\text{target},ij}}{\|y_i - y_j\| + 10^{-4}}, -10, 1 \right) + \beta^{(t)} \frac{P_{ij}}{1 + \|y_i - y_j\|^2} \right] (y_i - y_j), \beta^{(t+1)} = \beta^{(t)} + \lambda_{lr} \max(0, L - D_{\text{target\_knn}}).\) Complexity \(O(N^2 \log N + TN^2)\) . Pseudocode: PCA \(\rightarrow c_i \rightarrow \text{geodesic+SNN}\) blend \(D_{\text{target}} \rightarrow \text{affinity } P \rightarrow \text{Adam descent of } G_i\) ; every 10 steps raise \(\beta\) if local kNN spread exceeds target". On PBMC3k, CAGM recovers a structural diagnostic the baselines do not report: it identifies which parts of the embedding preserve the underlying cell hierarchy and which do not. The monocyte lineage is faithfully rendered, with the two monocyte subtypes remaining correctly paired, whereas the T- and B-cell compartments are distorted, since nearby populations are pulled together and the merge order among them is inverted. The practical consequence is concrete. An analyst can trust sub-clustering within the monocyte lineage in that embedding, but should not read fine structure in the T and B compartments as biologically meaningful. The baseline embeddings expose no such distinction.
OS-tSNE: "Formulations: \(D_i = \frac{s_i - \min s}{\max s - \min s}\) (normalized LOF score), \(\tilde{P} = (1 - W) \odot P + W \odot L^{\text{lof}}\) , \(W_{ij} = 0.15 \max(D_i, D_j)\) , \(L^{\text{lof}}_{ij} \propto P_{ij} e^{-|D_i - D_j|}\) , \(\mathcal{L} = \text{KL}(\tilde{P} \| Q) + \lambda \sum_i D_i \| y_i \|^2\) . Gradient \(\nabla_{y_i} \mathcal{L} = 4 \sum_j (\tilde{P}_{ij} - Q_{ij}) (1 + \| y_i - y_j \|^2)^{-1} (y_i - y_j) + 2\lambda D_i y_i\) ; complexity \(O(N^2 D + TN^2)\) . Pseudocode: (1) LOF \((k=20) \rightarrow D_i\) ; (2) per-point \(k_i \in \{15, 30, 50\}\) by \(D_i \rightarrow \text{perplexity-calibrated}\) P, symmetrize; (3) LOF affinity, blend \(\rightarrow \tilde{P}\) ; (4) PCA-init Y; (5) t=1...T: early-exaggerate ( \(12\tilde{P}\) , \(t \leq 250\) ), Q, KL grad, tether grad \(2\lambda D_i y_i\) , Adam, re-center". On Kidney, OS-tSNE preserves the hierarchy only moderately but achieves strong local fidelity with very few outlying points. This makes its outlier-stabilising behaviour explicit and quantified rather than implicit: the analyst learns that local neighbourhoods are dependable while the global arrangement of clusters is not.
Across all three cases, the per-point forensic map answers a question the fixed baselines leave unanswered, namely which regions of this particular embedding can be trusted, and for what kind of claim. These insights are not incidental to the algorithms designed; they follow from what the design pipeline is allowed to see. Baseline methods are optimised against embedding coordinates alone, so the objectives they can express are limited to what coordinates encode. Our pipeline instead receives hierarchy information, the rendered visualisation, and quantitative fidelity metrics alongside the embedding points. Because the design loop has access to the same evidence a domain analyst would consult, the algorithms it produces optimise for, and report on, properties an analyst actually acts upon: which cluster relationships survive projection, where local structure is trustworthy, and where it is not. Richer context at design time is what converts a dimensionality-reduction method into a diagnostic one.
NeurIPS Paper Checklist¶
The checklist is designed to encourage best practices for responsible machine learning research, addressing issues of reproducibility, transparency, research ethics, and societal impact. Do not remove the checklist: The papers not including the checklist will be desk rejected. The checklist should follow the references and follow the (optional) supplemental material. The checklist does NOT count towards the page limit.
Please read the checklist guidelines carefully for information on how to answer these questions. For each question in the checklist:
- You should answer [Yes], [No], or [N/A].
- [N/A] means either that the question is Not Applicable for that particular paper or the relevant information is Not Available.
- Please provide a short (1–2 sentence) justification right after your answer (even for [N/A]).
The checklist answers are an integral part of your paper submission. They are visible to the reviewers, area chairs, senior area chairs, and ethics reviewers. You will also be asked to include it (after eventual revisions) with the final version of your paper, and its final version will be published with the paper.
The reviewers of your paper will be asked to use the checklist as one of the factors in their evaluation. While [Yes] is generally preferable to [No], it is perfectly acceptable to answer [No] provided a proper justification is given (e.g., error bars are not reported because it would be too computationally expensive" or "we were unable to find the license for the dataset we used"). In general, answering [No] or [N/A] is not grounds for rejection. While the questions are phrased in a binary way, we acknowledge that the true answer is often more nuanced, so please just use your best judgment and write a justification to elaborate. All supporting evidence can appear either in the main paper or the supplemental material, provided in appendix. If you answer [Yes] to a question, in the justification please point to the section(s) where related material for the question can be found.
IMPORTANT, please:¶
- Delete this instruction block, but keep the section heading "NeurIPS Paper Checklist",
- Keep the checklist subsection headings, questions/answers and guidelines below.
- Do not modify the questions and only use the provided macros for your answers.
1. Claims¶
Question: Do the main claims made in the abstract and introduction accurately reflect the paper's contributions and scope?
Answer: [Yes]
Justification: We support our claims and contributions with extensive experiments on various datasets and present results clearly.
Guidelines:¶
- The answer [N/A] means that the abstract and introduction do not include the claims made in the paper.
- The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers.
- The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings.
- It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper.
2. Limitations¶
Question: Does the paper discuss the limitations of the work performed by the authors?
Answer: [Yes]
Justification: We discuss limitations under Conclusion and Discussion section and address related experiments with these limitations.
Guidelines:¶
- The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper.
- The authors are encouraged to create a separate "Limitations" section in their paper.
- The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be.
- The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated.
- The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon.
- The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size.
- If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness.
- While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren't acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.
3. Theory assumptions and proofs¶
Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?
Answer: [N/A]
Justification: Paper does not include any theoretical results.
Guidelines:¶
- The answer [N/A] means that the paper does not include theoretical results.
- All the theorems, formulas, and proofs in the paper should be numbered and crossreferenced.
- All assumptions should be clearly stated or referenced in the statement of any theorems.
- The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition.
- Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material.
- Theorems and Lemmas that the proof relies upon should be properly referenced.
4. Experimental result reproducibility¶
Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?
Answer: [Yes]
Justification: All agent configurations, main architecture and prompt structures provided in the appendix. All datasets used in the experiments are open-source and referenced properly.
- The answer [N/A] means that the paper does not include experiments.
- If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not.
- If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable.
- Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general. releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed.
- While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example
- (a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm.
- (b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully.
- (c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset).
- (d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results.
5. Open access to data and code¶
Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
Answer: [Yes]
Justification: Codebase for the paper will be made open-source upon acceptance, but all the necessary files to reproduce is included with submission. All datasets used in the experiments are open-source and referenced properly.
- The answer [N/A] means that paper does not include experiments requiring code.
- Please see the NeurIPS code and data submission guidelines (https://neurips.cc/ public/guides/CodeSubmissionPolicy) for more details.
- While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark).
- The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https: //neurips.cc/public/guides/CodeSubmissionPolicy) for more details.
- The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc.
-
The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why.
-
At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable).
- Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted.
6. Experimental setting/details¶
Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results?
Answer: [Yes]
Justification: Hyper-parameter settings for dimension-reduction models are included in appendix. AutoManifold model hyperparameters are not user defined or chosen, and they are middle results of the algorithm generation framework, so they are not added.
Guidelines:¶
- The answer [N/A] means that the paper does not include experiments.
- The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them.
- The full details can be provided either with the code, in appendix, or as supplemental material.
7. Experiment statistical significance¶
Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
Answer: [No]
Justification: Provoding error bars and running statistical significance tests require multiple full runs of AutoManifold pipeline to capture variance, which is currently too computationally expensive. Taking the number of experiments and configurations we have, our evaluation focuses on a direct demonstration of the framework's capability to generate algorithms that outperform baselines on standard, fixed benchmark datasets. We used a fixed random seed for reproducibility.
Guidelines:¶
- The answer [N/A] means that the paper does not include experiments.
- The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper.
- The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions).
- The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.)
- The assumptions made should be given (e.g., Normally distributed errors).
- It should be clear whether the error bar is the standard deviation or the standard error of the mean.
- It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified.
- For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates).
- If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text.
8. Experiments compute resources¶
Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?
Answer: [Yes]
Justification: Resources used to run experiments is declared in Appendix.
Guidelines:¶
- The answer [N/A] means that the paper does not include experiments.
- The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage.
- The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute.
- The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn't make it into the paper).
9. Code of ethics¶
Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?
Answer: [Yes]
Justification: We reviwed the NeurIPS Code of Ethics and we hereby confirm there is nothing violating it within this paper.
Guidelines:¶
- The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics.
- If the authors answer [No], they should explain the special circumstances that require a deviation from the Code of Ethics.
- The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).
10. Broader impacts¶
Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
Answer: [N/A]
Justification: The paper is on algorithm design and does not propose any method, framework or platform that might have a societal impact. The experiments have been done to generate data visualisation algorithms on open-source datasets which do not relate to societal subjects.
- The answer [N/A] means that there is no societal impact of the work performed.
- If the authors answer [N/A] or [No], they should explain why their work has no societal impact or why the paper does not address societal impact.
- Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations.
- The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster.
- The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology.
• If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).
11. Safeguards¶
Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)?
Answer: [N/A]
Justification: We use open-source datasets along with public LLMs in our framework, not posing such risks.
Guidelines:¶
- The answer [N/A] means that the paper poses no such risks.
- Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters.
- Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images.
- We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.
12. Licenses for existing assets¶
Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
Answer: [Yes]
Justification: Licenses for large language models and datasets are explicitly mentioned in the submission.
Guidelines:¶
- The answer [N/A] means that the paper does not use existing assets.
- The authors should cite the original paper that produced the code package or dataset.
- The authors should state which version of the asset is used and, if possible, include a URL.
- The name of the license (e.g., CC-BY 4.0) should be included for each asset.
- For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided.
- If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets,
has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset. - For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided.
- If this information is not available online, the authors are encouraged to reach out to the asset's creators.
13. New assets¶
Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
Answer: [Yes]
Justification: Paper explicitly defines introduced architecture and codebase will be released upon acceptance. All agent files are included in supplementary materials.
- The answer [N/A] means that the paper does not release new assets.
- Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc.
- The paper should discuss whether and how consent was obtained from people whose asset is used.
- At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.
14. Crowdsourcing and research with human subjects¶
Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?
Answer: [N/A]
Justification: The paper does not involve crowdsourcing nor research with human subjects. Guidelines:
- The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.
- Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper.
- According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.
15. Institutional review board (IRB) approvals or equivalent for research with human subjects¶
Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?
Answer: [N/A]
Justification: The paper does not involve crowdsourcing nor research with human subjects. Guidelines:
- The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.
- Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper.
- We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution.
- For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.
16. Declaration of LLM usage¶
Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required.
Answer: [Yes]
Justification: The paper itself introduces a framework to generate algorithms using LLM agents so usage of those LLMs described in detail.
- The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components.
- Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.