AI Inventory information may be inaccurate or out of date. Verify it with reliable sources before relying on it.
Catalog Home/Research & Literature/arXiv:2611.17323
arXiv:2611.17323NeurIPS 202630 min read142 citations

AgentSSL: Can MLE Agents Leverage Unlabeled Data?

Autonomous Machine Learning Engineering Through Semi-Supervised Program Discovery and Selection

Authors:Ethan Lin (Cornell University & Howard Hughes Medical Institute), Akanksha Sarkar (Cornell University & Howard Hughes Medical Institute), Ziang Liu (Cornell University & Howard Hughes Medical Institute), Kristin Branson (Cornell University & Howard Hughes Medical Institute), Jennifer J. Sun (Cornell University & Howard Hughes Medical Institute)
Date: 2026-11-12
Category: reasoning-rl
Executive Summary & Core Thesis

AgentSSL transforms semi-supervised learning from a manually engineered optimization problem into an autonomous program-search process in which LLM-based agents discover, evaluate, and refine complete machine learning pipelines using limited supervision.

Conceptual Intuition

Instead of asking an AI agent to train one predefined model, give it a complete ML engineering environment. The agent can experiment with pseudo-labeling, graph-based learning, consistency regularization, feature extraction, and other techniques, combining them into executable programs. The challenge then shifts from generating good programs to reliably selecting the best one without extensive labeled validation data.

1Agentic Program Discovery

Represent each complete machine learning solution as an executable program. An LLM agent drafts, debugs, analyzes, and improves programs through iterative search rather than being restricted to a predefined set of model architectures or hyperparameters.

2Learning from Unlabeled Data

Agents explore established semi-supervised learning techniques, combining pseudo-labeling, consistency regularization, self-training, graph-based methods, contrastive learning, and domain-specific inductive biases to exploit unlabeled datasets.

3Reliable Program Selection

Separate discovering high-performing programs from selecting them for deployment. Evaluate unsupervised selection metrics and active model selection methods to identify strong candidates without requiring a large labeled validation dataset.

1. What Existed Before: Context & Limitations

Traditional AutoML systems automate hyperparameter optimization, pipeline search, and neural architecture search, but generally depend on predefined search spaces and manually specified optimization objectives.

Recent LLM-based MLE agents can generate, execute, debug, and refine machine learning programs. However, most existing evaluations assume abundant labeled training and validation data.

Semi-Supervised Learning combines a small labeled dataset with a much larger unlabeled dataset. Classical approaches include graph-based label propagation and low-density separation.

Modern deep SSL methods use pseudo-labeling, consistency regularization, self-training, and confidence-based filtering. Examples include FixMatch, SoftMatch, Mean Teacher, and foundation-model adaptation methods.

Deploying SSL remains difficult because different datasets have different distribution characteristics and inductive biases. A technique that performs well on one dataset may perform poorly on another.

Existing approaches typically require human engineers to select and tune the appropriate SSL algorithm for each dataset.

The Dual Cost of Machine Learning Engineering

Conventional ML workflows require expensive human annotation and extensive manual engineering. Existing MLE agents reduce engineering effort but generally assume that labeled data is abundant.

C_total = C_annotation + C_engineering

2. The Core Problem Formulated

The SSL problem consists of a labeled dataset L and an unlabeled dataset U, where the number of labeled examples is significantly smaller than the number of unlabeled examples.

The objective is to construct a predictor h that performs well on an unseen test distribution using both datasets.

Instead of defining a solution as a fixed neural network and training objective, the paper defines a solution as an executable program A that maps labeled and unlabeled datasets into a prediction function.

AgentSSL divides the problem into two independent challenges: program discovery and program selection.

Program discovery searches for high-performing SSL programs using limited feedback. Program selection identifies the best candidate from the generated program pool without access to complete ground-truth labels.

The Fundamental Bottleneck: An agent can discover excellent machine learning programs even when its feedback metric is weakly correlated with actual accuracy. However, selecting the best program using that same feedback metric can result in substantial performance degradation.

3. The Mechanism: Algorithmic Architecture & Verification

AgentSSL uses an LLM-powered machine learning engineering agent built on the AIRA-Dojo framework. The agent searches over executable SSL programs, evaluates candidates in an isolated execution environment, receives feedback, and iteratively improves its solutions.

Algorithmic Execution DAG

n8n WORKFLOW

Sequential computational flow across inference and verification states

8 NODES CONNECTED
STAGE 01TRIGGER / INPUT

Dataset and Task Initialization

Provide the agent with a task description, a small labeled dataset, a larger unlabeled dataset, and a predefined execution interface. A simple supervised learning program is used as the initial search point.

Input = (L, U, TaskDescription)
▶
STAGE 02TRANSFORM / INFERENCE

Program Generation

The LLM generates complete executable machine learning programs. It explores different SSL methods, training strategies, feature representations, and combinations of existing techniques.

A_t' = M(A_t, o_t), where o_t belongs to {Draft, Debug, Improve, Analyze}
▶
STAGE 03VERIFY / GATE

Program Execution and Evaluation

Candidate programs execute in isolated Apptainer environments. The evaluator returns execution logs, runtime errors, and fitness scores to the agent.

f_t = F(A_t', L, U)
▶
STAGE 04TRANSFORM / INFERENCE

Feedback-Driven Search

The agent uses noisy validation or unsupervised metrics to guide subsequent program modifications. The search procedure maintains a directed graph of candidate programs and their transformations.

G_t = (V_t, E_t)
▶
STAGE 05VERIFY / GATE

Program Pool Construction

Successful and unsuccessful program candidates are collected into a pool. Each candidate represents a potentially different learning procedure, including its architecture, data processing, training strategy, and prediction mechanism.

P = {A_1, A_2, ..., A_K}
▶
STAGE 06TRANSFORM / INFERENCE

Unsupervised Program Selection

Evaluate candidate programs using label-free statistics derived from predictions or representations. Select the candidate with the strongest estimated performance.

A_s = argmax_A S_unsupervised(A)
▶
STAGE 07VERIFY / GATE

Active Model Selection

When unsupervised metrics are unreliable, allocate a limited annotation budget to identify which candidate performs best. The system actively queries labels to distinguish between competing programs.

A_s = Select(P, B_active), where B_active is the available labeling budget.
▶
STAGE 08TERMINAL / OUTPUT

Final Predictor Deployment

Select the strongest candidate under the available information constraints and use its learned prediction function for downstream inference.

h* = A_s(L, U)
01

Dataset and Task Initialization

Provide the agent with a task description, a small labeled dataset, a larger unlabeled dataset, and a predefined execution interface. A simple supervised learning program is used as the initial search point.

Input = (L, U, TaskDescription)
02

Program Generation

The LLM generates complete executable machine learning programs. It explores different SSL methods, training strategies, feature representations, and combinations of existing techniques.

A_t' = M(A_t, o_t), where o_t belongs to {Draft, Debug, Improve, Analyze}
03

Program Execution and Evaluation

Candidate programs execute in isolated Apptainer environments. The evaluator returns execution logs, runtime errors, and fitness scores to the agent.

f_t = F(A_t', L, U)
04

Feedback-Driven Search

The agent uses noisy validation or unsupervised metrics to guide subsequent program modifications. The search procedure maintains a directed graph of candidate programs and their transformations.

G_t = (V_t, E_t)
05

Program Pool Construction

Successful and unsuccessful program candidates are collected into a pool. Each candidate represents a potentially different learning procedure, including its architecture, data processing, training strategy, and prediction mechanism.

P = {A_1, A_2, ..., A_K}
06

Unsupervised Program Selection

Evaluate candidate programs using label-free statistics derived from predictions or representations. Select the candidate with the strongest estimated performance.

A_s = argmax_A S_unsupervised(A)
07

Active Model Selection

When unsupervised metrics are unreliable, allocate a limited annotation budget to identify which candidate performs best. The system actively queries labels to distinguish between competing programs.

A_s = Select(P, B_active), where B_active is the available labeling budget.
08

Final Predictor Deployment

Select the strongest candidate under the available information constraints and use its learned prediction function for downstream inference.

h* = A_s(L, U)

4. Empirical Results & Benchmark Measurements

The authors evaluate AgentSSL on six image classification datasets covering natural, specialized, and structured visual domains. Each dataset uses two class-balanced labeled-data settings and three random data splits. The experiments compare agent-discovered programs against six human-engineered baselines.

MetricStandard BaselineWith Proposed MethodMeasured DeltaCondition
Oracle performance against human SSL baselinesBest human-engineered SSL programBest discovered AgentSSL programAgentSSL wins in 8 of 12 settingsThe oracle comparison assumes the best program is known and measures discovery capability rather than practical selection.
Maximum improvement on RESISC4554.37% (SoftMatch, 2-shot)76.18% (AgentSSL with noisy validation, 2-shot)+21.81 percentage pointsLargest reported improvement over the best human-engineered SSL baseline.
RESISC45 1-shot73.17% (SoftMatch)79.80% (AgentSSL with unsupervised feedback)+6.63 percentage pointsDemonstrates strong performance under extremely limited supervision.
Retinopathy 40-shot51.48% (Supervised)72.47% (AgentSSL with noisy validation)+20.99 percentage pointsAgent-generated programs exploit medical domain structure.
Retinopathy 80-shot54.37% (SoftMatch)73.47% (AgentSSL with noisy validation)+19.10 percentage pointsStrong improvement over the best human-engineered SSL result.
Unsupervised program selectionOracle-selected best programSelection using the agent feedback metricUp to approximately 47 percentage points of performance lossSelection regret is dataset- and feedback-dependent. The largest reported regret is 47.29 percentage points.
ProgramSelectBench sizeNo comparable standardized benchmark in this study16,977 evaluated program instances35 selection tasks across six datasetsIncludes human-engineered and agent-generated solutions.
Search compute7,628.7 GPU-hours for the aggregated baseline experiments2,484 GPU-hours for AgentSSL experimentsDifferent experimental compute budgetsAggregated training compute reported in Appendix B; this should not be interpreted as a general speedup.

5. Production Implementation Blueprint

The paper implements AgentSSL using the AIRA-Dojo machine learning agent framework. An LLM generates complete executable ML programs, which are executed inside isolated Apptainer environments. The evaluator calculates fitness metrics and returns execution feedback to the agent.

Edge Cases: When This Method Degrades or Fails
  • •Unreliable unsupervised metrics: A feedback metric can fail to correlate with true predictive accuracy, resulting in poor candidate selection.
  • •Domain shift: Strong programs discovered for one dataset may perform poorly when transferred to another dataset.
  • •Insufficient labeled validation data: Noisy validation feedback can have high variance when the available labeled examples are extremely limited.
  • •Search diversity limitations: Greedy search may converge to narrower regions of the program space than evolutionary search.
  • •Unnecessary SSL complexity: Unlabeled data is not always beneficial; simple supervised improvements can sometimes match more complicated SSL solutions.
  • •Compute requirements: Iteratively generating and evaluating executable programs requires substantial GPU and execution resources.
  • •Selection instability: Active selection algorithms can exhibit high variance or behave inconsistently as more labels are acquired.
Hardware Recommendation: The reported experiments use NVIDIA RTX 6000 Ada Generation GPUs, NVIDIA H100 GPUs, and NVIDIA RTX 6000 Blackwell Max-Q GPUs. The acknowledgements also report research support using four RTX PRO 6000 Blackwell GPUs. Hardware requirements for a smaller independent implementation are not specified.

6. Curator Assessment & Architectural Context

"As agents make candidate programs cheap to generate, the bottleneck in AgentSSL shifts from building programs to choosing among them."
Strategic Implications for AI Builders
→Agentic ML engineering can search over complete executable learning procedures rather than only hyperparameters or predefined model configurations.
→Unlabeled data can provide useful structural information even when the agent's feedback metric is weakly correlated with final test accuracy.
→The strongest discovered solutions frequently combine several established SSL techniques.
→Domain-specific inductive biases can outperform generic SSL recipes, especially in specialized applications such as medical imaging.
→Program discovery and program selection should be treated as separate engineering problems.
→ProgramSelectBench provides a reusable benchmark for studying candidate selection without repeatedly executing expensive ML training pipelines.
→A limited annotation budget may be more valuable for selecting among competing programs than for adding more training examples when unsupervised selection is unreliable.
→The ecology experiments demonstrate that agentic ML engineering has practical potential, but improvements are task-dependent.
Next Landmark Paper in Literature Archive
FlashAttention-3: Fast and Accurate Attention with Asynchrony (arXiv:2407.08608)
Explore FlashAttention-3
🚀 SEO Audit
✅ 0
⚠️ 0
❌ 0
0