← Latest papers
🤖 machine learning

LUCoS: Latent Unsupervised Context Selection for Tabular Foundation Models

The paper proposes LUCoS, an unsupervised method for selecting labeled instances in low-label tabular learning by leveraging the latent geometry of unsupervised embeddings rather than unreliable raw feature spaces, which achieves state-of-the-art performance across 67 datasets by ensuring effective coverage and representation quality.

Original authors: Oroel Ipas, Guillermo Gomez-Trenado, Rocío Romero-Zaliz, Isaac Triguero

Published 2026-05-27
📖 5 min read🧠 Deep dive

Original authors: Oroel Ipas, Guillermo Gomez-Trenado, Rocío Romero-Zaliz, Isaac Triguero

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: The "Blank Canvas" Dilemma

Imagine you are a chef (the AI model) who is incredibly talented at cooking, but you only have a tiny amount of ingredients (labeled data) to work with. You have a massive pantry full of raw, unmarked vegetables and spices (the unlabeled data).

In the world of Tabular Foundation Models (like TabPFN), the chef doesn't learn by cooking a thousand meals and adjusting the recipe. Instead, the chef learns by In-Context Learning (ICL). This means the chef looks at a small "tasting menu" of a few examples (the context set) and immediately figures out how to cook the rest of the meal based on those examples.

The Catch: The chef is extremely sensitive to which examples you put on that tasting menu.

  • If you give the chef 5 random examples, they might guess the recipe is "Spicy."
  • If you give the chef 5 carefully chosen examples, they might guess "Sweet and Savory."
  • Both sets have the same number of items, but one leads to a delicious meal, and the other leads to a disaster.

The paper asks: How do we pick the best 5 examples to show the chef when we don't know the answers (labels) yet? This is called the "cold-start" problem.

The Old Way: Guessing in the Dark

Usually, when people try to pick these examples without knowing the answers, they look at the raw data.

  • The Analogy: Imagine trying to pick the best 5 fruits from a crate by looking at them in a dark room where the lights are off and the fruits are mixed up (apples next to rocks, bananas next to soup cans).
  • The Problem: Tabular data is messy. It has numbers, categories, missing values, and weird scales. Measuring "distance" between two rows of data in this raw state is like trying to measure the distance between a rock and a banana using a ruler meant for soup. It doesn't make sense.
  • The Result: The paper found that if you just pick random fruits or try to pick "different" fruits based on this messy view, you often do worse than just picking them completely at random.

The Solution: LUCoS (The "Magic Translator")

The authors propose a new method called LUCoS (Latent Unsupervised Context Selection).

Step 1: The Magic Translator (The Embedding)
Instead of looking at the raw, messy data, LUCoS uses a special "translator" (an unsupervised AI model called TabClustPFN).

  • The Analogy: This translator takes all the messy fruits and vegetables and rearranges them into a perfectly organized, high-tech warehouse. In this new warehouse, similar items are grouped together naturally. Apples are near apples, bananas near bananas, and rocks are far away from soup.
  • Why it works: This "latent space" (the new warehouse) creates a geometry where "distance" actually makes sense. Items that are close together in this new space are actually similar in a way that matters for the task.

Step 2: The Smart Picker (K-Medoids)
Once the data is in this organized warehouse, LUCoS uses a simple geometric rule to pick the examples.

  • The Analogy: Imagine you need to pick 5 representatives to show the chef. In the organized warehouse, you simply pick the 5 fruits that are most "central" to their groups. You pick the apple that is right in the middle of the apple pile, the banana in the middle of the banana pile, etc.
  • The Rule: This is called K-Medoids. It ensures you have good coverage of the whole warehouse without picking duplicates.

Step 3: The Labeling
You take those 5 specific fruits from the warehouse, map them back to the real world, and ask an expert to label them (e.g., "This is an apple"). Now you have your "tasting menu."

Step 4: The Prediction
You feed this perfect tasting menu to the TabPFN chef. The chef looks at these high-quality examples and predicts the rest of the data with amazing accuracy.

What the Experiments Showed

The authors tested this on 67 different datasets (like healthcare records, financial data, etc.) with very few labels (from 1 example per category up to 32).

  1. The "Oracle" Test: They first proved that if you could magically know the answers and pick the absolute best 5 examples, the model would perform much better. This proved there was a huge "gap" to fill.
  2. LUCoS vs. Random: LUCoS closed a significant chunk of that gap without ever seeing the labels.
  3. The "Rescue" Effect:
    • At very low budgets (1-2 examples): The simple act of picking any structured examples (coverage) helped.
    • At medium budgets (4-16 examples): This is where LUCoS shined. The old method (picking from the messy raw data) actually started to fail and performed worse than random guessing. LUCoS, however, kept performing well because it was using the "organized warehouse" (the latent space).
    • The Takeaway: The paper found that the geometry of the space matters more than the complexity of the picker. Using a simple picker in a smart space (LUCoS) beats a complex picker in a dumb space.

Summary in One Sentence

LUCoS solves the problem of picking the best training examples for AI by first translating messy data into a clean, organized "mental map" where similar things naturally group together, allowing a simple geometric rule to pick the perfect examples for the AI to learn from, even when no labels are available yet.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →