Manuscript Offprint
arXiv:2610.25215Hidden Cartographer: Hidden State Guided Data Selection for Dual Budgeted Instruction Tuning
Abstract
Given the high cost of expert annotation and limited fine-tuning resources, effective data selection from large unlabeled pools under strict budgets has become a crucial step in adapting LLMs to specialized domains. Existing label-dependent methods risk distorted selection when using pseudo-labels, while traditional active learning methods do not explicitly characterize instruction-tuning dynamics. To address these limitations, we propose Hidden Cartographer (HC), a two-stage framework that uses hidden states to guide annotation and exact training dynamics to select the final training subset. The first stage is Progressive Candidate Expansion, which utilizes the proxy to iteratively select top unlabeled candidates for expert annotation, merging them to recompute training dynamics and update the proxy until the annotation budget is exhausted; the second stage is Exact Cartography Pruning, which ranks these annotated candidates by their exact dynamics scores to isolate a compact subset under the final training budget. Experiments across the medical, legal, and financial domains demonstrate that HC achieves the highest average accuracy among all budgeted baselines, requiring annotation for only 20–30% of the original pool and fine-tuning on just 10–15%.
1 Introduction
Large language models perform well across a range of NLP tasks (Yu et al., 2026; Li et al., 2026). However, achieving optimal performance in vertical domains such as medicine, law, and finance often requires instruction tuning on domain data, particularly for smaller scale models (Ke et al., 2025; Slack and Al Moubayed, 2025; Li et al., 2024b). In practice, this process is subject to two budget constraints: domain data are abundant and unla-

Figure 1: Training-data value and selection distributions in the medical domain. All panels use the same Dataset Cartography space, with confidence on the x-axis and variability on the y-axis. Top left: Four regional subsets are constructed by sampling 15% of the full training pool from each region. Darker blue indicates better performance on medical benchmarks after fine-tuning on the corresponding subset. Top middle: The best-performing region among the four, identified as the region containing high-value samples. Other panels: Distributions of samples selected by HC, Random, SPICE, and Coreset at the same 15% selection ratio.
beled, and obtaining high-quality annotations requires costly expert knowledge; fine-tuning on all available data consumes substantial computational resources (Xia et al., 2025). Data selection provides an effective way to overcome these constraints: it can prioritize unlabeled samples to guide expert annotation and select the most valuable annotated samples for final fine-tuning. We therefore study how to construct an efficient training subset from a large unlabeled domain pool under joint constraints on annotation cost and computational resources.
Existing data selection methods typically rely on labels to compute losses and gradients or assess samples' influence on model utility (Xia et al., 2024; Deb et al., 2025; Lin et al., 2025; Chang et al., 2026; Li et al., 2024a; Yang et al., 2024). However, this paradigm requires annotating the entire unlabeled pool in advance, making it difficult to satisfy practical budget constraints. Al-
*Project leaders and Corresponding authors. Emails: sunyifan@ruc.edu.cn, zhaoxinf@buaa.edu.cn though pseudo-labeling allows these methods to be directly applied to unlabeled data acquisition, model-generated responses often contain domain-specific factual errors, which can introduce additional noise and distort the resulting selection signals. Meanwhile, though traditional active learning methods (Sener and Savarese, 2018; Ash et al., 2020, 2021; Kung et al., 2023) select unlabeled candidates using heuristic criteria such as diversity and uncertainty, these criteria characterize only properties of the data distribution and do not explicitly model candidates' dynamic learning behavior during instruction tuning. Consequently, the key challenge is to accurately estimate a selection signal closely linked to downstream model utility before labels are available.
To address this challenge, we adopt a training dynamics perspective to establish a selection signal that reflects the target model's learning behavior. Building on Data Cartography (Swayamdipta et al., 2020), we monitor token-length-normalized response probabilities across training checkpoints to derive sample confidence and variability for instruction tuning (detailed in Section 3). As illustrated in Figure 1, these metrics effectively isolate a high-utility data region that existing selection methods fail to target. While exact training dynamics provide an ideal selection criterion, computing them inherently requires ground-truth labels. To estimate this signal prior to annotation, we leverage prompt-only hidden representations extracted directly from the frozen target model. Prior research indicates that such hidden states intrinsically encode model-perceived difficulty (Zhu et al., 2025) and semantic uncertainty (Yin et al., 2026). We hypothesize that these representations can reliably predict the target model's training dynamics using only unlabeled inputs.
Based on this insight, we propose Hidden Cartographer (HC), a two-stage framework for data selection under both annotation and training constraints. The first stage, Progressive Candidate Expansion, addresses the annotation constraint. HC starts from a small expert-labeled seed set, extracting hidden-state features to train a proxy predicting confidence and variability. Due to limited initial labels, HC avoids a one-shot final data selection. Instead, it iteratively expands a candidate pool via active learning: the proxy scores unlabeled samples, experts annotate the top-K selections, and this newly labeled data refines the proxy for the next round. This process improves the recall of high-value samples within a limited annotation budget.
The second stage, Exact Cartography Pruning, addresses the training cost constraint. Once the candidate pool is annotated, HC computes the exact confidence and variability within this smaller pool and applies a scoring function. HC then selects the final subset for instruction tuning from the candidate pool. This design connects the two stages: hidden states are used to cheaply recover a high-quality candidate pool from the unlabeled data, and exact cartography is used to precisely prune this pool into a much smaller training set. In this way, HC avoids relying on noisy pseudo-labels for full-pool selection while also avoiding the cost of annotating and training on the entire dataset.
Our contributions are summarized as follows:
• We formulate domain LLM data selection as a dual-constrained problem, where both expert annotation and LLM training computation are limited. We further identify LLM hidden states as a label-free signal for estimating sample training dynamics without relying on noisy pseudo-labels or full-dataset annotation.
• We propose Hidden Cartographer, a two-stage framework with Progressive Candidate Expansion and Exact Cartography Pruning. The first stage uses a hidden-state proxy to recover high-value samples under limited annotation, while the second computes exact confidence-variability scores to select a training subset.
• Experiments across medicine, law, and finance show that HC outperforms random selection and strong data selection baselines under the same budget. HC reduces expert annotation cost by 70–80% by annotating only a candidate pool, and training cost by 85–90% by fine-tuning on only 10–15% of the data.
2.1 Data Selection for Instruction Tuning
Data selection for instruction tuning uses signals such as quality, diversity, and model behavior (Albalak et al., 2024). Representative approaches include feature-based quality estimation (Cao et al., 2024), diversity-based selection with DPP (Zhang et al., 2023), task-aware distribution matching in TSDS (Liu et al., 2024), instruction-following difficulty (IFD) (Li et al., 2024c), information gain in FisherSFT (Deb et al., 2025), gradient-based influence in LESS (Xia et al., 2024), dynamic uncertainty in LEAD (Lin et al., 2025), uncertainty-aware self-reflection in SelectIT (Liu et al., 2025), gradient-conflict-aware selection in SPICE (Chang et al., 2026), weak-model IFD filtering with Superfilter (Li et al., 2024a), and small-model loss-trajectory clustering with S2L (Yang et al., 2024). These methods primarily select from existing instruction-response datasets, with many relying on response-conditioned signals, whereas HC guides expert annotation from an unlabeled pool and prunes the resulting candidates under separate annotation and final-training budgets.
2.2 Active Learning for LLMs
Active learning reduces annotation cost by selecting unlabeled samples using uncertainty, diversity, or both. Representative methods include uncertainty sampling, Coreset (Sener and Savarese, 2018), BADGE (Ash et al., 2020), and AIT (Kung et al., 2023). These methods are effective when the acquisition objective is aligned with the downstream learning signal. However, for LLM instruction tuning, gradient-based acquisition is costly, and diversity or uncertainty may not reflect whether a sample is useful for improving the model. In particular, covering the representation space does not necessarily recover samples with favorable training dynamics. In contrast, our work uses LLM hidden states as a label-free proxy for dynamics-based sample value, enabling candidate expansion under limited expert annotation.
3 Preliminary: Training Dynamics Score
We use training dynamics to evaluate each instruction-tuning sample. Swayamdipta et al. (2020) proposed Dataset Cartography for classification tasks, tracking the probability assigned to the true label across training epochs. Since instruction tuning generates token sequences rather than single labels, we extend these metrics to the generative setting. Given a sample , where denotes the instruction and input, and is the target response, we track the probability of generating this response across checkpoints . For checkpoint , we define the token-normalized output probability as:
Token normalization mitigates length bias across responses. In practice, we compute probabilities only over the output tokens, masking out the instruction and input. Based on per-checkpoint probabilities, we define confidence and variability as:
Here, confidence reflects how well the model learns the sample, while variability captures the instability of its predictions during training. High-value samples should be learnable but non-trivial, providing informative signals rather than noise.
To combine confidence and variability on comparable scales, we apply min-max normalization independently within the current selection pool P, denoted by . In Phase 1, we normalize the proxy predictions over the remaining unlabeled pool at each round; in Phase 2, we normalize the exact statistics over the annotated candidate pool.
We introduce an extreme penalty based on these normalized metrics and define the final training dynamics score:
where and are the medians of and over the current selection pool. This term penalizes samples with abnormal training dynamics by measuring deviation from and .
4 Methodology: Hidden Cartographer
In this section, we present HC, a two-stage framework for data selection under annotation and fine-tuning budgets. HC progressively selects samples from a large unlabeled pool for expert annotation, then prunes the annotated candidate pool into a subset for final fine-tuning. Detailed implementation for both stages is provided in Appendix A.
4.1 Problem Formulation
We are given a large unlabeled pool of domain-specific inputs and an expert annotation oracle that provides the response for a queried input . We consider two budgets, both measured in numbers of examples: for expert annotation and for final fine-tuning, with . Seed annotations are
Stage 1 Progressive Candidate Expansion (under annotation budget)

Stage 2 Exact Cartography Pruning (under training budget)

Figure 2: Overview of the Hidden Cartographer framework.
included in . Let denote a selection strategy comprising adaptive annotation and final pruning. Each annotation decision selects a previously unlabeled input using the available inputs and acquired annotations. Queries to produce an annotated candidate pool of input–gold-response pairs, from which the strategy selects a final training subset . Gold responses of unqueried inputs are unavailable to the strategy. Let denote the target LLM parameters obtained by applying a fixed fine-tuning procedure to . Our objective is to find an admissible strategy that minimizes expected loss on the target domain:
where , is the autoregressive cross-entropy loss, and the outer expectation accounts for any randomness in acquisition and pruning. The size and subset constraints apply to every run. Direct optimization is impractical because evaluating selection strategies requires repeated annotation and fine-tuning.
4.2 HC Algorithm
HC separates the process into two stages: Progressive Candidate Expansion, which uses limited annotation and hidden-state prediction to build a high-value candidate pool C, and Exact Cartography Pruning, which applies exact training dynamics inside this candidate pool to select the final subset. The overall workflow is shown in Figure 2.
The first phase, Progressive Candidate Expansion, aims to reduce the annotation space by recovering a candidate pool with high coverage of valuable samples. The process begins with seed initialization, where HC uniformly samples a small subset from the unlabeled pool for expert annotation. This produces the initial labeled set and initializes the candidate pool , leaving the remaining samples in . Because only samples in have target outputs, exact confidence and variability are initially computed exclusively within this small pool. Next, during proxy learning, HC tracks the output probability across training checkpoints for each annotated sample to compute its confidence and variability . It simultaneously extracts the prompt-level hidden state from the target LLM . The resulting tuples are used to train a lightweight proxy that maps hidden states to training dynamics. Finally, HC applies this proxy to actively expand the pool. For each unlabeled sample , it extracts the prompt-only hidden state , predicts the dynamics , and computes the corresponding selection score. The top-scoring batch is annotated by experts, merged into C, and removed from . Repeating this cycle iteratively refines the proxy and expands the candidate pool toward the high-value region without requiring full annotation of the dataset.
The second phase, Exact Cartography Pruning, focuses on reducing the final training cost. Although the candidate pool C is fully annotated after the first phase, it remains larger than the final fine-tuning budget. Furthermore, the initial scores are merely proxy estimates suited for candidate discovery rather than final selection. HC therefore recomputes the exact confidence and variability for every candidate sample using the target LLM and the newly available outputs. Because C is significantly smaller than the original pool, this exact cartography can be performed at a manageable computational cost. HC then ranks all candidate samples by their exact training dynamics score, favoring learnable and informative samples while penalizing overly easy, unstable, or noisy outliers. The top samples are selected to form the final instruction-tuning set .
These two stages serve complementary roles. The first phase uses hidden states to allocate the limited expert annotation budget efficiently, distilling a large unlabeled pool into a dense candidate pool. The second phase applies exact cartography to prune this pool into a compact training set. Consequently, HC combines the efficiency of proxy prediction for candidate discovery with the precision of exact dynamics for final selection.
5 Theoretical Analysis
In this section, we establish the theoretical properties of HC's selection. We first characterize score stability under proxy prediction errors, then derive sufficient conditions for progressive candidate coverage, and finally bound the reference-score regret of the final subset. Detailed assumptions and proofs are provided in Appendix B.
Score Stability. On a nonempty finite pool , let and be HC scores computed from exact and predicted raw dynamics, respectively. Each score vector uses its own pool-wide min-max normalization and its own confidence and variability medians. For , define the raw range and error .
Theorem 1. For , let if , and otherwise.
Then
(6)
Both medians can move under prediction error. Thus, if the two normalized errors are at most , the bound is . Small raw errors do not necessarily guarantee small score errors when the underlying raw range is small.
Candidate Coverage. For notational convenience, we identify datasets with their example-index sets. Fix an exact HC reference score on the original pool under one specified trajectory; this reference is used exclusively for analysis. Let , where , , and fix a common tie-breaking order. For a given seed , write and .
For the score-guided variant in Algorithm 1, round acquires the top predicted scores from the current remaining pool . Let be the exact comparator using that round's trajectory and normalization pool. Define
where is the score-error bound from Theorem 1. The drift explicitly accounts for both trajectory updates, and median statistics.
Theorem 2. Suppose acquisition uses distinct Top- queries, with and . For , the final candidate pool contains if
where the order statistics are computed over the fixed scores Q restricted to .
Coverage trivially holds if m = 0 or all remaining examples are annotated. For a fixed reference and error bound, oversampling permits separation between ranks m and , rather than requiring exact recovery at each round's boundary.
Final Score Regret. Let be the score recomputed on the final annotated pool using the final cartography trajectory, and let . Define , , and .
Theorem 3. If , then
For , if and , then .
The term bounds reference-score loss from omitted reference samples, while bounds effect of score changes caused by the training trajectory and pool statistics. Exact pruning uses exact dynamics within the candidate pool and recovers the reference Top-K set if candidate coverage and the stated ranking-margin condition hold.
6 Experiments
In this section, we conduct extensive experiments to evaluate the effectiveness of the proposed HC framework. We first detail the experimental setup, followed by a comprehensive comparison with existing baselines, and finally present ablation studies to analyze the contribution of each core component. For a fair comparison, we include the cost required to compute HC's training-dynamics scores in its reported training time cost. An analysis of the proxy's predictive ability and the seed ratio selection are provided in Appendix C. The detailed adaptation of each baseline to the annotation-limited setting is provided in Appendix D.2. The main paper reports LLaMA-2-7B results, while Qwen2-7B results and implementation details are provided in Appendix D.3 and D.4. HC uses , , and as the default scoring parameters; all hidden states used in this work are extracted from the last transformer layer at the last non-padding token of the prompt; a detailed sensitivity analysis is provided in Appendix F.
6.1 Experimental Setup
Datasets We evaluate HC across three instruction-tuning domains: medicine, law, and finance. The training pools are constructed from corpora typically used by domain-specific LLMs (Chen et al., 2023; Yang et al., 2025; Yue et al., 2023). For medicine, we use MedQA, MedQA-4, PubMedQA, MedMCQA, and MMLU-Medical (Jin et al., 2020, 2019; Pal et al., 2022; Hendrycks et al., 2021). For law, we select task-aligned objective benchmarks from the held-out legal pool: Exam, LED, and LCC. For finance, we evaluate on FPB (Malo et al., 2014), FiQA, and NWGI. All benchmarks use accuracy as the evaluation metric. Detailed dataset statistics, train-test splits, preprocessing rules, and task formats are provided in Appendix D.1.
Baselines We compare HC with Full, Random, SPICE (Chang et al., 2026), Fisher (Deb et al., 2025), LESS (Xia et al., 2024), SelectIT (Liu et al., 2025), DPP (Zhang et al., 2023), TSDS (Liu et al., 2024), LEAD (Lin et al., 2025), Superfilter (Li et al., 2024a), S2L (Yang et al., 2024), Coreset (Sener and Savarese, 2018), BADGE (Ash et al., 2020) and AIT (Kung et al., 2023). All methods follow the same budget protocol in each domain, and label-dependent baselines are adapted with a two-stage protocol to match our unlabeled setting.
6.2 Main Results
6.2.1 Limitation of Existing Methods
| Benchmark | SPICE | Fisher | LESS | LEAD |
|---|---|---|---|---|
| MedQA | 33.8 / 35.8 | 32.9 / 35.1 | 28.6 / 36.4 | 18.4 / 36.7 |
| MedQA-4-opt | 39.2 / 41.3 | 38.1 / 40.5 | 29.4 / 40.8 | 29.3 / 42.4 |
| PubMedQA | 74.8 / 75.0 | 75.8 / 75.2 | 60.2 / 74.4 | 76.4 / 73.8 |
| MedMCQA | 38.2 / 41.8 | 38.2 / 42.0 | 35.6 / 43.8 | 25.6 / 44.8 |
| MMLU-Med | 53.9 / 53.7 | 54.2 / 53.2 | 44.6 / 51.6 | 20.5 / 53.8 |
| Avg. | 48.0 / 49.5 | 47.8 / 49.2 | 39.7 / 49.4 | 34.0 / 50.3 |
Table 1: Pseudo-label vs. oracle-label selection in the medical domain. For each method, we select of the training pool and fine-tune the model under the same setting. Pseudo uses model-generated labels to compute selection signals, while Oracle uses ground-truth labels. Each cell reports Pseudo / Oracle accuracy, and the underline indicates the better result within each pair.
We compare pseudo-label and oracle-label selection for SPICE, Fisher, LESS, and LEAD to measure how much label unavailability degrades label-dependent acquisition. Table 1 shows that these methods are highly sensitive to label quality. Replacing pseudo-labels with oracle labels improves the average performance across all four methods: SPICE from 48.0 to 49.5, Fisher from 47.8 to 49.2, LESS from 39.7 to 49.4, and LEAD from 34.0 to 50.3. The gains are especially large for LESS and LEAD, indicating that pseudo-label noise can severely distort loss- and gradient-based acquisition signals. As further illustrated in Figure 1, label-dependent method (SPICE) and traditional active learning method (BADGE) fail to effectively isolate high-value regions. Instead, their selected samples are scattered across the entire sample space, closely resembling random selection.
6.2.2 Domin Experiments
We compare HC against a diverse set of baselines under strict annotation and training constraints. Table 2 reports downstream performance across med-
| Method | Medical Domain (30%-15%) | Legal Domain (20%-10%) | Financial Domain (30%-15%) | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MQA | MQA4 | PMQA | MMCQA | MMLU | Avg. | Exam | LED | LCC | Avg. | FPB | FIQA | NWGI | Avg. | |
| Base | 22.07 | 29.85 | 55.20 | 30.31 | 37.78 | 35.04 | 25.60 | 40.80 | 31.20 | 32.53 | 19.69 | 54.81 | 35.89 | 36.80 |
| Full (100%) | 39.51 | 44.93 | 78.00 | 46.45 | 56.61 | 53.10 | 24.20 | 44.40 | 34.00 | 34.20 | 38.13 | 83.68 | 54.11 | 58.64 |
| Random | 35.21 | 39.71 | 75.08 | 41.87 | 51.30 | 48.63 | 21.72 | 42.80 | 41.76 | 35.43 | 78.46 | 80.67 | 64.56 | 74.56 |
| SPICE | 34.17 | 40.30 | 75.60 | 40.86 | 55.03 | 49.19 | 22.40 | 42.40 | 40.80 | 35.20 | 65.76 | 83.26 | 61.35 | 70.12 |
| Fisher | 34.49 | 39.75 | 75.40 | 41.19 | 55.24 | 49.21 | 22.20 | 42.20 | 41.00 | 35.13 | 67.41 | 81.59 | 32.31 | 60.44 |
| LESS | 21.13 | 30.40 | 55.20 | 33.28 | 40.32 | 36.07 | 20.20 | 40.80 | 31.80 | 30.93 | 28.62 | 33.89 | 30.15 | 30.89 |
| SelectIT | 17.20 | 23.25 | 62.20 | 20.82 | 37.46 | 32.19 | 19.00 | 41.40 | 49.60 | 36.67 | 37.97 | 85.77 | 53.32 | 59.02 |
| DPP | 36.29 | 40.77 | 73.40 | 41.98 | 53.33 | 49.15 | 20.60 | 42.00 | 36.00 | 32.87 | 76.26 | 78.24 | 64.57 | 73.02 |
| TSDS | 34.41 | 38.57 | 72.40 | 41.17 | 52.28 | 47.77 | 21.80 | 39.20 | 38.80 | 33.27 | 79.74 | 76.99 | 65.38 | 74.04 |
| LEAD | 20.74 | 25.69 | 75.20 | 23.17 | 23.39 | 33.64 | 20.20 | 42.60 | 42.00 | 34.93 | 81.64 | 72.38 | 62.37 | 72.13 |
| SuperFilter | 29.77 | 35.43 | 56.80 | 38.37 | 38.94 | 39.86 | 24.80 | 38.00 | 35.80 | 32.87 | 59.72 | 33.89 | 46.82 | 46.81 |
| S2L | 36.29 | 41.32 | 77.00 | 42.29 | 49.63 | 49.31 | 23.20 | 40.40 | 35.40 | 33.00 | 76.84 | 74.06 | 65.13 | 72.01 |
| Coreset | 34.72 | 40.53 | 74.20 | 41.55 | 51.22 | 48.44 | 20.20 | 41.60 | 33.00 | 31.60 | 59.88 | 70.29 | 55.28 | 61.82 |
| BADGE | 32.68 | 39.28 | 75.20 | 40.07 | 49.63 | 47.37 | 21.20 | 42.80 | 38.40 | 34.13 | 76.34 | 76.15 | 65.46 | 72.65 |
| AIT | 22.86 | 31.11 | 55.20 | 33.97 | 44.23 | 37.47 | 23.80 | 41.60 | 47.80 | 37.73 | 38.96 | 86.61 | 55.35 | 60.31 |
| HC (Ours) | 38.19 | 43.47 | 75.40 | 43.44 | 57.19 | 24.40 | 42.80 | 66.76 | 84.22 | 83.60 | 65.77 | |||
Table 2: Main experimental results (Acc %) across medical, legal, and financial domains. Full denotes training on the entire available dataset. For budgeted selection methods, the notation denotes first constructing a candidate pool under a annotation budget and then selecting a final training subset. The best method in each column is highlighted in bold, and the second best is underlined. For stochastic methods, we report the mean over random seeds 42, 142, 242, 342, and 442. The -tests were conducted on the Average results, where indicates against the Random selection baseline.

Figure 3: Runtime-performance comparison on the medical domain. Each point corresponds to one data-selection method. The -axis reports the time cost over the methods shown in this figure, . The -axis reports the average accuracy over five medical benchmarks. The dashed horizontal line denotes the accuracy of random. Methods whose average score is below 47 are clipped onto the -axis rather than plotted at their true -values.
ical, legal, and financial domains. Overall, HC achieves the strongest average performance among budgeted selection methods in all three domains, while remaining competitive with or outperforming Full under much smaller training budgets. In the medical domain, HC obtains average accuracy, significantly outperforming Random at and approaching Full at 53.10. In the legal domain, HC achieves , substantially higher than Random at and Full at 34.20. In the financial domain, HC reaches , clearly outperforming Random at and Full at 58.64. These gains over Random are much larger than the corresponding standard deviations, showing that HC consistently improves over random selection across seeds. Across domains, label-dependent methods such as SPICE, Fisher, LESS, SelectIT, Superfilter and LEAD are often unstable under pseudo-label adaptation, while representation-based methods such as AIT, Coreset, and BADGE remain limited by generic diversity objectives. These results show that HC provides a more reliable acquisition signal under annotation and training-budget constraints.
Figure 3 compares the runtime-performance trade-off in the medical domain. Representation-based methods are efficient but achieve limited accuracy, while label-dependent methods incur higher costs due to pseudo-labeling or gradient computation. HC achieves the best performance with moderate runtime, demonstrating a balance between selection quality and computational efficiency.
Table 3 shows a post-hoc study comparing HC selected samples against human and LLM judg-ments of data value. The results demonstrate substantial agreement: the average O@10 across domains reaches 0.70 for a human expert, and 0.53, 0.60, and 0.60 for GPT-5.6, Gemini 3.6 Flash, and Grok 4.5, respectively (prompt details in Appendix D.5).
| Evaluator | Med. | Law | Fin. | |||
|---|---|---|---|---|---|---|
| O@10 | J@10 | O@10 | J@10 | O@10 | J@10 | |
| Human Expert | 0.70 | 0.54 | 0.60 | 0.43 | 0.80 | 0.67 |
| GPT-5.6 | 0.40 | 0.25 | 0.70 | 0.54 | 0.50 | 0.33 |
| Gemini 3.6 | 0.50 | 0.33 | 0.70 | 0.54 | 0.60 | 0.43 |
| Grok 4.5 | 0.60 | 0.43 | 0.30 | 0.18 | 0.90 | 0.82 |
| Avg. | 0.55 | 0.39 | 0.58 | 0.42 | 0.70 | 0.56 |
Table 3: Human and LLM judge study on high-value sample selection. For each domain, 100 candidate training samples are randomly sampled, and each evaluator selects the 10 samples considered most valuable for instruction tuning. Med., Law, and Fin. denote the medical, legal, and financial domains. O@10 denotes overlap with HC's top-10 selection, computed as , and J@10 denotes Jaccard similarity, computed as .
6.3 Ablation Study
| Variant | MedQA | MQA4 | PQA | MMCQA | MMLU | Avg. |
|---|---|---|---|---|---|---|
| R + E | 37.94 | 42.97 | 74.80 | 42.86 | 56.51 | 51.02 |
| S + E | 35.04 | 39.36 | 75.00 | 38.08 | 50.05 | 47.51 |
| C + E | 37.55 | 43.05 | 76.80 | 42.51 | 55.66 | 51.11 |
| D + E | 38.10 | 42.42 | 76.20 | 42.77 | 55.34 | 50.97 |
| P (15%) | 37.08 | 41.60 | 74.20 | 42.15 | 54.78 | 49.96 |
| P (30%) | 38.26 | 43.99 | 75.20 | 44.32 | 56.19 | 51.59 |
| P + R | 37.16 | 42.26 | 75.00 | 38.08 | 50.05 | 48.60 |
| P + S | 37.08 | 41.08 | 75.40 | 42.27 | 53.86 | 49.94 |
| P + C | 37.78 | 41.95 | 75.60 | 42.48 | 53.86 | 50.33 |
| P + D | 35.74 | 42.97 | 76.00 | 42.24 | 53.23 | 50.04 |
| HC | 38.19 | 43.47 | 75.40 | 43.44 | 57.19 | 51.54 |
Table 4: Component ablation of HC in the medical domain. P denotes PCE, E denotes ECP, R denotes Random, S denotes SPICE, C denotes Coreset, and D denotes DPP. PCE (15%) directly selects a 15% subset in Phase 1 using proxy-predicted scores, while PCE (30%) trains on the full 30% Phase-1 candidate pool without final pruning. Other variants replace either the candidate construction or the final pruning module.
Impact of stage 1 We first study whether Progressive Candidate Expansion (PCE) can construct a high-quality candidate pool under the annotation budget. Replacing LLM hidden states with surface-level text features or sentence embeddings weakens candidate recovery under the same budget, showing that target-LLM hidden states better predict dynamics-based sample value. One-shot proxy selection is also weaker than progressive expansion, indicating that iterative refinement improves the proxy as more annotated samples are added. However, using more rounds brings limited gains while increasing retraining cost. Therefore, HC adopts 5 expansion rounds to balance quality and efficiency. Detailed results are reported in Appendix E.1. We further replace PCE with existing candidate construction methods while keeping Exact Cartography Pruning fixed. As shown in the upper block of Table 4, Random+ECP, SPICE+ECP, Coreset+ECP, and DPP+ECP all underperform HC. This confirms that ECP cannot fully compensate for a weak candidate pool, and that PCE is necessary for recovering high-value samples under limited annotation.
Impact of stage 2 We next study the role of Exact Cartography Pruning (ECP). Table 4 includes two direct PCE variants: PCE (15%) directly selects a 15% subset in Phase 1 using proxy-predicted scores, without candidate expansion and pruning, while PCE (30%) uses the full 30% Phase-1 candidate pool for training without final pruning. PCE (15%) performs worse than HC, and PCE (30%) reaches similar accuracy but uses twice the training data. Other final selectors, including Random, SPICE, Coreset, and DPP, also underperform HC. This shows that ECP improves sample efficiency by pruning the expanded 30% candidate pool into an effective 15% subset using exact confidence-variability scores. The results for the financial and legal domains are provided in Appendix E.2.
7 Conclusion
This paper presents HC, a novel data selection framework tailored for domain-specific LLM adaptation. Under strict budget constraints, HC leverages target-LLM hidden states to guide progressive candidate expansion, and applies exact cartography pruning to isolate a compact yet highly effective instruction-tuning subset. Extensive experiments across the medical, legal, and financial domains demonstrate that HC consistently outperforms existing budgeted selection methods, achieving superior downstream performance while reducing annotation costs by up to 70–80% and training costs by up to 85–90%. Future work will explore extending HC to multimodal adaptation and reinforcement learning scenarios.
Limitations
Due to computational constraints, our empirical evaluation is primarily conducted on 7B-scale models, which currently serve as the standard testbed in the instruction-tuning data selection literature. Although the core mechanisms of Hidden Cartographer are theoretically model-agnostic, verifying its selection efficiency on frontier-scale models requires massive distributed training infrastructure. Given that data selection yields more substantial absolute cost reductions as model size increases, a promising direction for future research is to apply HC to trillion-parameter architectures, potentially unlocking even greater computational savings for frontier model alignment.
References
Alon Albalak, Yanai Elazar, Sang Michael Xie, Shayne Longpre, Nathan Lambert, Xinyi Wang, Niklas Muennighoff, Bairu Hou, Liangming Pan, Haewon Jeong, Colin Raffel, Shiyu Chang, Tatsunori Hashimoto, and William Yang Wang. 2024. A survey on data selection for language models. Preprint, arXiv:2402.16827.
Jordan T. Ash, Surbhi Goel, Akshay Krishnamurthy, and Sham Kakade. 2021. Gone fishing: Neural active learning with fisher embeddings. Preprint, arXiv:2106.09675.
Jordan T. Ash, Chicheng Zhang, Akshay Krishnamurthy, John Langford, and Alekh Agarwal. 2020. Deep batch active learning by diverse, uncertain gradient lower bounds. In International Conference on Learning Representations.
Yihan Cao, Yanbin Kang, Chi Wang, and Lichao Sun. 2024. Instruction mining: Instruction data selection for tuning large language models. Preprint, arXiv:2307.06290.
Powei Chang, Jinpeng Zhang, Bowen Chen, Chenyu Wang, Chenlu Guo, Yixing Zhang, Yukang Gao, JianXiang Xiang, Yue Gao, Chaoqun Sun, Yiyi Chen, and Dongying kong. 2026. SPICE: Submodular penalized information–conflict selection for efficient large language model training. In The Fourteenth International Conference on Learning Representations.
Zeming Chen, Alejandro Hernández Cano, Angelika Romanou, Antoine Bonnet, Kyle Matoba, Francesco Salvi, Matteo Pagliardini, Simin Fan, Andreas Köpf, Amirkeivan Mohtashami, Alexandre Sallinen, Alireza Sakhaeirad, Vinitra Swamy, Igor Krawczuk, Deniz Bayazit, Axel Marmet, Syrielle Montariol, Mary-Anne Hartley, Martin Jaggi, and Antoine Bosselut. 2023. Meditron-70b: Scaling medical pretraining for large language models. Preprint, arXiv:2311.16079.
Rohan Deb, Kiran Koshy Thekumparampil, Kousha Kalantari, Gaurush Hiranandani, Shoham Sabach, and Branislav Kveton. 2025. FisherSFT: Data-efficient supervised fine-tuning of language models using information gain. In Forty-second International Conference on Machine Learning.
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2021. Measuring massive multitask language understanding. Preprint, arXiv:2009.03300.
Di Jin, Eileen Pan, Nassim Oufattole, Wei-Hung Weng, Hanyi Fang, and Peter Szolovits. 2020. What disease does this patient have? a large-scale open domain question answering dataset from medical exams. Preprint, arXiv:2009.13081.
Qiao Jin, Bhuwan Dhingra, Zhengping Liu, William Cohen, and Xinghua Lu. 2019. PubMedQA: A dataset for biomedical research question answering. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 2567–2577, Hong Kong, China. Association for Computational Linguistics.
Zixuan Ke, Yifei Ming, Xuan-Phi Nguyen, Caiming Xiong, and Shafiq Joty. 2025. Demystifying domain-adaptive post-training for financial LLMs. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 31033–31059, Suzhou, China. Association for Computational Linguistics.
Po-Nien Kung, Fan Yin, Di Wu, Kai-Wei Chang, and Nanyun Peng. 2023. Active instruction tuning: Improving cross-task generalization by training on prompt sensitive tasks. Preprint, arXiv:2311.00288.
Ming Li, Yong Zhang, Shwai He, Zhitao Li, Hongyu Zhao, Jianzong Wang, Ning Cheng, and Tianyi Zhou. 2024a. Superfiltering: Weak-to-strong data filtering for fast instruction-tuning. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 14255–14273, Bangkok, Thailand. Association for Computational Linguistics.
Ming Li, Yong Zhang, Zhitao Li, Jiuhai Chen, Lichang Chen, Ning Cheng, Jianzong Wang, Tianyi Zhou, and Jing Xiao. 2024b. From quantity to quality: Boosting llm performance with self-guided data selection for instruction tuning. Preprint, arXiv:2308.12032.
Ming Li, Yong Zhang, Zhitao Li, Jiuhai Chen, Lichang Chen, Ning Cheng, Jianzong Wang, Tianyi Zhou, and Jing Xiao. 2024c. From quantity to quality: Boosting LLM performance with self-guided data selection for instruction tuning. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 7602–7635, Mexico City, Mexico. Association for Computational Linguistics.
Xiaodong Li, Yuhua Wang, Qingchen Yu, Zixuan Qin, Yifan Sun, Qinnan Zhang, Hainan Zhang, and Zhiming Zheng. 2026. Mask-free privacy extraction and rewriting: A domain-aware approach via prototype learning. Preprint, arXiv:2604.10145.
Xiaotian Lin, Yanlin Qi, Yizhang Zhu, Themis Palpanas, Chengliang Chai, Nan Tang, and Yuyu Luo. 2025. Lead: Iterative data selection for efficient llm instruction tuning. Preprint, arXiv:2505.07437.
Liangxin Liu, Xuebo Liu, Derek F. Wong, Dongfang Li, Ziyi Wang, Baotian Hu, and Min Zhang. 2025. Selectit: Selective instruction tuning for llms via uncertainty-aware self-reflection. Preprint, arXiv:2402.16705.
Zifan Liu, Amin Karbasi, and Theodoros Rekatsinas. 2024. TSDS: Data selection for task-specific model finetuning. In The Thirty-eighth Annual Conference on Neural Information Processing Systems.
P. Malo, A. Sinha, P. Korhonen, J. Wallenius, and P. Takala. 2014. Good debt or bad debt: Detecting semantic orientations in economic texts. Journal of the Association for Information Science and Technology, 65.
Ankit Pal, Logesh Kumar Umapathi, and Malaikannan Sankarasubbu. 2022. Medmcqa: A large-scale multi-subject multi-choice dataset for medical domain question answering. In Proceedings of the Conference on Health, Inference, and Learning, volume 174 of Proceedings of Machine Learning Research, pages 248–260. PMLR.
Ozan Sener and Silvio Savarese. 2018. Active learning for convolutional neural networks: A core-set approach. In International Conference on Learning Representations.
Dean L. Slack and Noura Al Moubayed. 2025. Early detection and reduction of memorization for domain adaptation and instruction tuning. Transactions of the Association for Computational Linguistics, 13:1459–1473.
Swabha Swayamdipta, Roy Schwartz, Nicholas Lourie, Yizhong Wang, Hannaneh Hajishirzi, Noah A. Smith, and Yejin Choi. 2020. Dataset cartography: Mapping and diagnosing datasets with training dynamics. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 9275–9293, Online. Association for Computational Linguistics.
Mengzhou Xia, Sadhika Malladi, Suchin Gururangan, Sanjeev Arora, and Danqi Chen. 2024. Less: Selecting influential data for targeted instruction tuning. Preprint, arXiv:2402.04333.
Yu Xia, Subhojyoti Mukherjee, Zhouhang Xie, Junda Wu, Xintong Li, Ryan Aponte, Hanjia Lyu, Joe Barrow, Hongjie Chen, Franck Dernoncourt, Branislav
Kveton, Tong Yu, Ruiyi Zhang, Jiuxiang Gu, Nesreen K. Ahmed, Yu Wang, Xiang Chen, Hanieh Deilamsalehy, Sungchul Kim, and 15 others. 2025. From selection to generation: A survey of LLM-based active learning. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 14552–14569, Vienna, Austria. Association for Computational Linguistics.
Hongyang Yang, Xiao-Yang Liu, and Christina Dan Wang. 2025. Fingpt: Open-source financial large language models. Preprint, arXiv:2306.06031.
Yu Yang, Siddhartha Mishra, Jeffrey N Chiang, and Baharan Mirzasoleiman. 2024. Smalltolarge (s2l): Scalable data selection for fine-tuning large language models by summarizing training trajectories of small models. In The Thirty-eighth Annual Conference on Neural Information Processing Systems.
Haoxuan Yin, Bojian Liu, Chen Tang, Yangfan Wang, Lian Yan, and Jingchi Jiang. 2026. Ka2l: A knowledge-aware active learning framework for llms. Preprint, arXiv:2603.17566.
Qingchen Yu, Shiying Duan, Xiaodong Li, Yuhua Wang, Zhiyu Li, Shiji Zhou, Yifan Sun, and Zhaoxin Fan. 2026. Cascade: Hierarchical recoverability control for large language model unlearning. Preprint, arXiv:2609.16890.
Shengbin Yue, Wei Chen, Siyuan Wang, Bingxuan Li, Chenchen Shen, Shujun Liu, Yuxuan Zhou, Yao Xiao, Song Yun, Xuanjing Huang, and Zhongyu Wei. 2023. Disc-lawllm: Fine-tuning large language models for intelligent legal services. Preprint, arXiv:2309.11325.
Yuxuan Zhang, Chao Xu, Howard H. Yang, Xijun Wang, and Tony Q. S. Quek. 2023. Dpp-based client selection for federated learning with non-iid data. Preprint, arXiv:2303.17358.
Yubo Zhu, Dongrui Liu, Zecheng Lin, Wei Tong, Sheng Zhong, and Jing Shao. 2025. The llm already knows: Estimating llm-perceived question difficulty via hidden representations. Preprint, arXiv:2509.12886.
Appendices
A Algorithm Implementation
This section presents the pseudocode for the Hidden Cartographer framework. Algorithm 1 describes Progressive Candidate Expansion, which constructs an annotated candidate pool from unlabeled domain data under a limited annotation budget. Algorithm 2 outlines Exact Cartography Pruning, which selects the final instruction-tuning subset from this candidate pool using exact confidence-variability scores.
Algorithm 1: Phase 1: Progressive Candidate Expansion
Input: Unlabeled dataset , Target LLM , Proxy network , Seed size , Round size , Active rounds , Parameters
Output: Pool
1:
2:
3:
4:
5: for to do
6: for each do
7:
8:
9: end for
10:
11: for each do
12:
13:
14: end for
15:
16:
17: for each do
18:
19:
20: end for
21:
22:
23:
24:
25: end for
26: return
Algorithm 2: Phase 2: Exact Cartography Pruning
Input: Candidate pool , Target LLM , Target final size , Parameters
Output: Dataset
1: for each do
2:
3: end for
4:
5:
6: for each do
7:
8:
9: end for
10:
11: return
B Theoretical Assumptions and Proofs
We provide a deterministic finite-pool analysis of the normalized, median-centered HC score. Our analysis disentangles prediction error, candidate coverage, and changes in the scoring reference. The resulting theoretical guarantees concern cartography-score rankings and sums; they do not identify a universally optimal training subset or imply downstream generation-loss guarantees.
B.1 Setup and Conventions
We represent a dataset by its set of example indices. All theoretical results are conditioned on the realized seed, feature extractor, training randomness, and checkpoint trajectories. A trajectory with defines the training raw dynamics by the probability mean and standard deviation in the main text. Gold responses contain at least one token. Since ,
The variance inequality follows from . Thus, the raw targets lie in .
For a nonempty finite scoring pool and a coordinate , write , , and . Ordinary min-max scaling is when ; a constant coordinate is mapped to zero. Scaling is performed independently for the two coordinates. Define
For an even-sized pool, the median is the arithmetic mean of the two middle order statistics. The score is
with . We suppress superscripts when the trajectory and pool are clear. Predicted raw coordinates are normalized using their own minimum, maximum, and medians on exactly the same index set as the exact comparator. A fixed total order on example indices resolves all Top-K ties; Top-K always returns exactly K distinct indices.
In an acquisition round, the exact comparator on the unlabeled pool is a counterfactual evaluation of its gold responses under that round's checkpoint trajectory. Those responses are used only to define the analytical comparison; HC does not observe them before querying the annotation oracle. The proxy is fitted to raw targets computed on the annotated pool. It does not directly predict a scalar score or pool-normalized targets.
B.2 From Raw Prediction Error to Score Error
Lemma 1. For two aligned finite vectors satisfying , their minima, maxima, corresponding order statistics, and medians differ by at most .
Proof. For increasing order statistics, at least coordinates of are at most . The corresponding coordinates of are at most , so . Interchanging gives the reverse inequality. Minima and maxima are the first and last order statistics. The bound also holds for a middle order statistic and for the average of the two middle order statistics, proving median stability.
Lemma 2. Let be aligned vectors on the same finite pool, with exact range and . Using the scaling convention in Section B.1,
The predicted range need not be positive.
Proof. Write , , , , , and . Let , , and . Lemma 1 gives , . For every index,
For , this follows by substituting into the two normalization formulas. For , and , and the same identity follows directly. Since , the last two terms form a convex combination of endpoint errors. The absolute right-hand side is at most . Both normalized vectors lie in , giving the additional cap of one.
Range dependence. The factor two cannot be improved uniformly: take and for . The middle normalized coordinate changes by . These can be confidence vectors with .
A nontrivial range condition is necessary for a bound that vanishes with raw error. For and , the exact normalized vector is zero, while the predicted vector is for every . For an exact constant coordinate, the universal replacement remains valid; no uniformly vanishing bound follows from alone.
Theorem 1. On the same scoring pool, define as above. Then
(15)
For a constant exact coordinate, use .
Proof. Lemma 2 bounds the normalized coordinate errors. Lemma 1 then gives and . For the confidence penalty, the reverse triangle inequality yields
(16)
The variability penalty is bounded by in exactly the same way. The linear terms contribute , proving the claim. In particular, if both normalized errors are at most , then . This includes movement of both medians.
Theorem 1 requires a maximum error on the scored pool. Small training MSE or small expected prediction risk does not alone provide that guarantee. For example, a unit coordinate error on one of M equally weighted examples has average squared error 1/M, while its maximum error is one.
B.3 A Sufficient Hidden-State Prediction Condition
Proposition 1. Fix a trajectory, an annotated set , and a remaining pool . Let and let be the frozen prompt-only feature.
Suppose a map G is -Lipschitz from the feature Euclidean norm to the target infinity norm and
Suppose the fitted proxy f is -Lipschitz in the same norms. Define the labeled fitting error and coverage radius
(18)
Then
(19)
Proof. For , choose a closest . Insert , , , and between and . The five resulting differences are bounded by , , , , and , respectively. Taking the maximum over proves the result.
This is a conditional sufficient bound, not an unconditional theorem that hidden states determine training dynamics. The residual allows different answers or learning trajectories to have similar prompt representations. Smoothness and representation quality must be assessed empirically. Neither the hidden-state dimension nor the annotated sample count alone implies these assumptions or an maximum-error rate.
For a fixed feature map and fixed targets, expanding the labeled set cannot increase the nearest-neighbor coverage radius on the remaining pool. However, the fitted proxy, its fitting error and Lipschitz constant, and the target trajectory can all change. Score-guided acquisition need not cover every feature-space region. Consequently, this proposition does not imply monotonic improvement of the proxy across HC rounds and does not require independent sampling of the adaptively acquired labels.
B.4 Top-K Stability on a Fixed Pool
Lemma 3. On a finite pool , let and , with and . Then
For , define . If , then . For , both sets equal the whole pool.
Proof. The lower bound follows because exact Top-K maximizes the score sum over subsets of size K. The sets and have equal cardinality. For any omitted i and selected j, , so . Pair the two difference sets arbitrarily and sum. For recovery, every and satisfy , so none can swap sides of the boundary. The strict margin rules out boundary ties.
B.5 Progressive Candidate Coverage
Fix a reference trajectory and set on the original pool. The reference need not be computed by HC. Let , fix a seed , and define . At round , denotes the remaining pool just before acquisition, is the exact comparator, and is the proxy-based score. All scores are aligned by example index. Set
(21)
Theorem 1 gives a valid from that round's raw errors and ranges. By the triangle inequality, whenever is eligible at round .
Theorem 2. At each round, acquire the distinct indices , then remove them from the remaining pool. Let and , with . Write . If and
then . Here, sorts the fixed reference scores restricted to in decreasing order.
Proof. Under the common tie-breaking order, the missing reference set is exactly the first indices in the restricted reference ranking. Suppose some in this set is never annotated. It remains eligible in every round. Every acquired satisfies , hence
Also . There are at most indices in strictly above its -st score. But all b distinct acquired indices and the omitted index i lie above that threshold, a contradiction.
If , all reference examples are already in the seed; if , all examples are annotated. If , coverage is impossible for pure Top- acquisition because the acquisition allowance is smaller than the number of missing reference examples. The theorem conditions on the realized seed and actual round-wise errors. It does not claim that uniform seeding, more rounds, or a larger candidate pool alone makes the condition hold.
Exploration queries. If arbitrary exploration queries supplement score-guided selection, let g be the total number of distinct score-guided acquisitions. Each score-guided batch must be Top- under a common score vector on its then-eligible pool. Provided the same reference-error bound holds on those pools, the sufficient condition is
The proof uses the g score-guided queries and a finally omitted reference index in the same counting argument. Exploration queries cannot remove a finally omitted index, so it remains an eligible comparator for every score-guided batch. All queries, including exploration, count against . For a mixed acquisition protocol such as that described in Appendix D.3, the guarantee uses the actual number of score-guided queries, not the entire acquisition budget.
B.6 Exact Pruning and Two-Stage Score Regret
The final annotated pool C may use a different trajectory and different normalization statistics from the full-pool reference. Define
Let and .
Theorem 3. For , let .
Then
(26)
Moreover, . If , , and , then .
Proof. Add and subtract . Both resulting differences are nonnegative because global and restricted Top-K maximize their respective reference-score sums. Lemma 3 on , with the score perturbation , bounds the second difference by .
To bound the omission term, keep all indices in and add any other candidate indices to form a size-K set . Such a set exists since . Restricted optimality gives . Pair the missing global indices with the added indices. Each reference-score difference is at most , so . Finally, and .
If the reference Top-K is covered, the strict global boundary gap ensures that every covered reference member has a final score strictly above every candidate outside , by the same argument as Lemma 3. Hence final pruning recovers . If , feasibility instead forces , so recovery is trivial without a boundary gap.
For normalized HC scores, , so . If Theorem 2's coverage condition holds, the omission term vanishes. Exact pruning is optimal for the final-pool score , but its reference-score regret can still be nonzero when . When , there is no within-pool pruning error, as the sharper bound with records.
B.7 Trajectory and Pool Changes
Lemma 4. Compare two trajectories with the same number E of paired checkpoints. If
then, on their common example set, and .
Proof. The mean bound follows by averaging the absolute probability differences. For the standard deviation, let , the orthogonal centering projection. For a probability vector , . Since , the reverse triangle inequality gives
The argument includes , when .
On the same scoring pool, Theorem 1 converts these raw drift bounds into a score bound by using and the reference trajectory's coordinate ranges. Pool changes require a separate term. In particular,
The first term is trajectory drift on a common pool; the second is drift from recalculating minima, maxima, and medians on a restricted pool. The same decomposition applies to with replaced by and by . Neither term is assumed to vanish. Counterexample: coverage does not ensure ranking invariance. Take , , and six raw dynamics pairs:
| a | b | c | d | e | f | |
|---|---|---|---|---|---|---|
| C | .8 | .6 | .7 | .1 | .9 | .5 |
| V | .1 | .2 | .05 | 0 | 0 | .25 |
They are valid two-checkpoint dynamics: the paired probabilities are (.7, .9), (.4, .8), (.65, .75), (.1, .1), (.9, .9), and (.25, .75), respectively. On the full pool, the normalized median-centered scores are
The unique Top-1 reference is . The candidate pool contains it. Keeping the raw dynamics unchanged but recalculating normalization and medians on yields
Final pruning selects , so coverage alone is insufficient even with no trajectory change. This is why the reference drift cannot be omitted from Theorem 3.
B.8 What the Median-Centered Penalty Guarantees
Proposition 2. With normalization parameters and the medians held fixed, write . Its slopes below and above are and , respectively. The variability term has slopes and around
Proof. Below the center, ; above it, . Substitution gives the two affine branches. The variability term is identical with replaced by .
Consequently, the default weights give slopes 0.7 below either median and 0.3 above it. Within one realized scoring pool, the score remains strictly increasing in each normalized coordinate. The penalty reduces the marginal reward above the medians, but does not guarantee exclusion of extreme or noisy examples. A decreasing upper branch for confidence requires , and for variability requires ; equality produces a plateau. These statements hold with the pool statistics fixed and do not assert monotonicity after the whole pool is renormalized.
None of these mathematical facts identifies label noise from or proves that a score-maximizing subset minimizes target-domain loss. Such a conclusion would require an additional, independently justified relationship between the surrogate score and the loss after fine-tuning. We therefore use downstream experiments to assess sample utility and do not make that theoretical claim.
C Proxy Prediction of Confidence and Variability
A central assumption of HC is that a small labeled seed is sufficient to train a proxy capable of accurately estimating the true training dynamics. To verify this, we train the HC proxy using prompt-only hidden states to predict the exact confidence (C) and variability (V). We then report the Pearson correlation coefficient (r) on held-out examples as the labeled data ratio increases from 1% to 50%.
Figure 4 demonstrates that the proxy effectively captures both training dynamics. Across the medical, legal, and financial domains, both correlations increase rapidly with a small number of labeled examples before saturating. With a seed, the Pearson for and reaches approximately 0.79 and 0.68 in medicine, 0.79 and 0.68 in law, and 0.83 and 0.55 in finance, respectively. Increasing the seed from to yields substantial gains—particularly for the legal domain and for financial variability—whereas further expanding the seed to or produces only marginal
Confidence (C) Variability (V)

Figure 4: Pearson correlation between true and predicted dynamics as a function of the labeled seed size. Each panel is one domain; the two curves are confidence (C) and variability (V).
improvements. This performance elbow at the 5% threshold justifies our seed size selection for Phase 1 of HC. Specifically, a 1%–3% seed underfits V in the legal and financial domains, causing the subsequent active expansion to rely on an unreliable initial ranking. Conversely, increasing the seed to 10% or 15% yields negligible improvements in correlation while unnecessarily expending a significant portion of the annotation budget on random sampling rather than proxy-guided acquisition. Therefore, the 5% seed represents an optimal operating point: it ensures the proxy is sufficiently accurate to predict C and V, while preserving the majority of the Phase-1 budget for targeted expansion.
D Experimental Details
D.1 Dataset
This subsection details how we construct the training and evaluation data for the medical, financial, and legal domains. All datasets are converted into a unified instruction-tuning format with three core fields: instruction, input, and output. The instruction field describes the task, the input field contains the question, context, or instance, and the output field stores the answer. For objective tasks, we additionally keep a choices field when candidate options are available, to enable evaluation via option scoring rather than unconstrained generation.
Medical domain. The medical training pool is constructed from MedQA (Jin et al., 2020), PubMedQA (Jin et al., 2019), and MedMCQA (Pal et al., 2022). For each source, we use its training split and randomly sample 20% of the records with seed 42. The sampled records are then converted into the unified SFT format and concatenated into a single training pool. MedQA and MedMCQA are formatted as multiple-choice medical exam questions, while PubMedQA is formatted as a biomedical yes/no/maybe question-answering task. The final medical training pool contains 80,852 samples, including 2,035 from MedQA, 42,253 from PubMedQA, and 36,564 from MedMCQA. For evaluation, we use five medical benchmarks: MedQA with five options, MedQA with four options, PubMedQA, MedMCQA, and MMLU-Medical (Hendrycks et al., 2021). Their test sizes are 1,273, 1,273, 500, 4,183, and 945, respectively. Each benchmark uses a task-specific instruction consistent with its answer format.
Financial domain. The financial training pool is built from six FinGPT instruction-tuning datasets (Yang et al., 2025): sentiment classification, headline classification, financial relation extraction (FinRED), named entity recognition, FiQA question answering, and FinEval. We load the training split of each source, normalize every instance into the instruction/input/output schema, and sample 20% of each dataset with seed 42. This produces 41,032 training samples, including 15,354 sentiment samples, 16,432 headline samples, 5,511 FinRED samples, 102 NER samples, 3,422 FiQA-QA samples, and 211 FinEval samples. For evaluation, we use FPB (Malo et al., 2014), FiQA, and NWGI. The test sets contain 1,209 FPB samples, 239 FiQA samples, and 4,047 NWGI samples. All financial sentiment labels are mapped into the shared label space negative, neutral, positive. To avoid train-test leakage, we normalize the input text via lowercasing and whitespace normalization, and remove test examples whose normalized inputs overlap with the training pool.
Legal domain. The legal training pool is constructed from DISC-Law-SFT (Yue et al., 2023). Since the original dataset contains both objective and open-ended legal tasks, we filter it to keep only tasks aligned with our evaluation setting: legal examination questions (exam), legal event detection (leg_eve_detec), and legal case classification (leg_case_cls). Open-ended legal question answering and legal element extraction tasks are removed. For examination questions, we parse the answer into option labels such as A/B/C/D or comma-separated multi-answer labels, and remove explanation text from the target output. For event detection and case classification, we keep short label outputs and discard overly long generation-style targets. The resulting legal training pool contains 11,204 samples, including 2,908 examination samples, 4,198 legal event detection samples, and 4,098 legal case classification samples. The legal evaluation set is built as a task-aligned objective benchmark with 1,500 samples: 500 examination, 500 legal event detection, and 500 legal case classification examples. Training-overlapping examples are excluded when constructing the held-out legal benchmark.
D.2 Baseline Adaptation
This subsection describes how we adapt existing data selection and active learning baselines to our annotation-limited setting. In their original formulations, many baselines assume that labels are already available for the entire training pool. This assumption is incompatible with our target scenario, where the initial domain pool is unlabeled and only a limited fraction of samples can be annotated by experts. Therefore, all baselines are evaluated under the same budget protocol as HC.
Budget protocol. For each domain, we employ a two-stage budget protocol. The first stage constructs an annotated candidate pool under the annotation budget, and the second stage selects the final training subset from this pool. In the medical and financial domains, the protocol constructs a 30% candidate pool followed by a 15% final training subset. In the legal domain, the protocol constructs a 20% candidate pool followed by a 10% final training subset. Thus, the second stage always selects exactly half of the annotated candidate pool. The same random seed is used across methods unless otherwise specified.
Full and Random. The Full baseline fine-tunes the model on the entire available training pool. It does not adhere to the training budget constraint and is included as an empirical upper bound. The Random baseline shuffles the training pool using the specified seed and directly selects a subset matching the final budget (i.e., 15% for medicine and finance, and 10% for law). Random selection does not rely on labels, model scores, hidden states, or training dynamics.
Label-dependent baselines. SPICE, Fisher, LESS, SelectIT, LEAD, Superfilter, S2L, and AIT (Xia et al., 2024; Deb et al., 2025; Lin et al., 2025; Chang et al., 2026; Liu et al., 2025; Li et al., 2024a; Yang et al., 2024; Kung et al., 2023) require output-conditioned signals such as losses, gradients, influence scores, quality scores, response-loss trajectories, or response likelihoods under prompt perturbations. Since true labels are unavailable before annotation, we adapt these methods with a two-stage candidate-pool protocol. In Stage 1, each method operates on the unlabeled pool using pseudo-labels or pseudo-responses generated by the base LLM. The method then selects the first-stage candidate pool, which is treated as the subset sent to experts. In Stage 2, true outputs are revealed only inside this candidate pool, simulating expert annotation, and the same method selects the final subset from the annotated pool.
For SPICE, the implementation first obtains pseudo-labels for each sample. If the input contains explicit candidate options, the pseudo-label is chosen by candidate log-likelihood scoring; otherwise, it is generated by the model. The method then constructs compact gradient proxies from the pseudo-label loss and selects examples using the SPICE Fisher/conflict criterion. In Stage 2, the gradients are recomputed using the true output of samples inside the expert pool. Fisher follows the same pseudo-label to true-label adaptation. Stage 1 builds pseudo-label gradient proxies and greedily selects samples by maximizing the log-determinant Fisher information gain. Stage 2 recomputes gradient proxies with true outputs inside the expert pool and applies the same Fisher selection rule.
LESS is adapted by computing pseudo-label gradient features for the unlabeled pool and ranking samples by low-rank gradient similarity to a target gradient direction. When no external target set is specified, the implementation uses the mean training gradient as the target direction. In Stage 2, gradients inside the expert pool are recomputed with true outputs before final selection.
SelectIT is adapted as a two-stage scoring baseline. In Stage 1, the model first generates a pseudo-response for each unlabeled sample. It then uses a reflection-style prompt to score the sample from 1 to K and selects the highest-scoring examples as the candidate pool. In Stage 2, the pseudo-response is replaced by the true output, and SelectIT rescoring is applied within the expert pool.
LEAD is implemented as a one-shot adaptation of its iterative data utility idea. Stage 1 uses pseudo-label losses to compute a static IDU-style utility score and constructs the candidate pool. The default implementation uses cluster-aware selection, where gradient proxies are clustered and selection quotas are allocated according to cluster utility. Stage 2 replaces pseudo-label losses with true-output losses inside the candidate pool and selects the final subset.
Superfilter originally scores already-labeled instruction-response pairs with a frozen weak language model, using instruction-following difficulty IFD = PPL(y | x)/PPL(y) and retaining examples with IFD < 1. In our setting, Stage 1 first generates a pseudo-response from the instruction and input with the target LLM, then scores that pair with a frozen GPT-2 (124M) scorer; the candidate pool is the highest-IFD subset among finite IFD < 1 examples. Stage 2 reveals true outputs only inside this pool and recomputes IFD with the same frozen scorer. To match a hard training budget, if fewer than the required number of examples satisfy IFD < 1, we backfill from finite IFD ≥ 1 examples nearest the threshold; this backfill is an explicit budget adaptation of the original strict filter rather than a standard Superfilter practice. The weak scorer is never trained.
S2L originally clusters examples by the loss trajectory of a small reference model trained on labeled responses. We keep that clustering rule, but Stage 1 trains the reference only on target-LLM pseudo-responses for the unlabeled pool. Each example is represented by its response-token mean cross-entropy at successive reference-model states (initialization, every 500 optimizer updates, and the final state). Selection uses Euclidean k-means on these raw trajectories, with source-balanced uniform sampling inside clusters and a tiny-cluster fallback, matching the official implementation. Stage 2 reloads a fresh reference from the same initialization and retrains it only on the expert pool, using true outputs as labels, then repeats trajectory clustering to obtain the final subset. The default reference is Pythia-70M with full-parameter training; existing cartography fields (C, V) and gold outputs are never used as Stage 1 features.
AIT originally selects tasks by prompt uncertainty: the mean absolute change in the likelihood of a fixed response when instruction words are randomly dropped. We treat each SFT row as one selection unit and do not iterate model retraining. Stage 1 generates a pseudo-response with the frozen target LLM, then scores prompt uncertainty on that fixed response under 20 word-drop perturbations of the instruction (drop probability 0.2), keeping the input and answer template unchanged. Probability is the length-normalized geometric token probability on answer tokens, as in the official mean cross-entropy implementation. Stage 2 substitutes true outputs only inside the candidate pool and recomputes the same perturbation scores. Ranking is by prompt uncertainty in descending order. No scoring model is trained at selection time.
Representation and diversity baselines. Coreset, BADGE, DPP, and TSDS (Sener and Savarese, 2018; Ash et al., 2020; Zhang et al., 2023; Liu et al., 2024) are adapted as unlabeled or weakly label-dependent baselines. For these methods, the first-stage features are extracted only from the prompt side, i.e., the instruction and input, without using the gold output. The implementation caches target LLM hidden-state embeddings from the last prompt token and projects them to a lower-dimensional feature space. It also records entropy at the last prompt position as an uncertainty signal when needed.
Coreset uses k-center greedy selection over prompt hidden-state embeddings. In the two-stage setting, it first selects the candidate pool by maximizing feature coverage. In Stage 2, when true outputs are available inside the candidate pool, the method builds true-output gradient proxies and applies k-center selection again within the annotated pool.
BADGE uses an entropy-weighted k-means++ procedure over hidden-state embeddings. The first center is selected by maximum entropy by default, and later centers are sampled according to a product of distance and uncertainty. This adapts BADGE to LLM instruction data without requiring full labels before annotation. In Stage 2, the method is rerun inside the candidate pool, using true-output losses as the uncertainty signal since expert labels are now available.
DPP is implemented as a diversity-based unlabeled selection method. Each sample is represented by a normalized prompt hidden-state embedding, and selection is performed using a scalable pool-wise greedy log-determinant approximation. By default, DPP uses pure diversity without label-dependent quality weights. To match the two-stage budget protocol, we first select the candidate pool and then rerun DPP inside this pool to obtain the final subset.
TSDS uses prompt hidden-state embeddings to estimate task-specific sampling probabilities. When no external query set is provided, the method samples a small self-query set from the candidate pool. It then assigns probability mass to nearest neighbors of the query examples and selects samples with the highest probability. As with DPP, TSDS is run once to construct the candidate pool and again within that pool to match the final training budget.
Fairness of adaptation. All adapted baselines use the same input pool, random seed, base model, and budget protocol within each domain. For label-dependent methods, true outputs are never used before the first-stage candidate pool is selected. They are only revealed inside the candidate pool to simulate expert annotation. For representation-based methods, prompt-side hidden states are extracted without using gold outputs. This ensures that all baselines operate under the same annotation constraint as HC.
D.3 Implementation Details
All main experiments are conducted on a single NVIDIA RTX PRO 6000 GPU with 96GB of memory. Unless otherwise specified, all experiments use the same preprocessing pipeline, budget protocol, and evaluation scripts across methods within each domain.
LoRA fine-tuning. For all downstream fine-tuning experiments, we use AdamW with , , , a learning rate of , a weight decay of 0.1, and an effective batch size of 64. Models are trained for 3 epochs with a cosine learning rate schedule and a 10% warmup. The final learning rate decays to 10% of the peak learning rate. LoRA uses rank , a scaling factor of 32, a dropout of 0.05, and is applied to the attention and MLP projection modules. We use mixed precision and enable gradient checkpointing when needed for memory efficiency.
Training dynamics computation. To compute training dynamics, we train the target model for 5 epochs and save one LoRA checkpoint after each epoch. For each annotated sample, we evaluate the probability assigned to its gold output under every checkpoint. Confidence is computed as the mean gold-output probability across checkpoints, and variability is computed as the standard deviation. Both probability and loss are computed only over output tokens, while instruction and input tokens are masked out. Therefore, the dynamics reflect the model's learning behavior on the target answer rather than prompt reconstruction.
HC proxy and candidate expansion. HC starts from a 5% randomly annotated seed set. The sample value proxy is trained on this seed set using hidden-state features extracted from the last token of the last transformer layer in the target LLM. The candidate pool is then expanded through active rounds, where each round adds another 5% of the training pool.
For the medical and financial domains, HC constructs a 30% annotated candidate pool and selects the final 15% training subset. For the legal domain, HC uses a 20% candidate pool and selects the final 10% subset, following the smaller legal-domain budget used in the main experiments. After candidate expansion, HC recomputes exact confidence and variability within the annotated candidate pool and applies exact cartography pruning. The final score uses , , and to balance confidence, variability, and the extreme-sample penalty.
D.4 Other Results
To verify that our conclusions generalize beyond LLaMA-2-7B, we additionally evaluate all methods using Qwen2-7B as the base model. The experimental protocol, data splits, budget settings, and evaluation scripts remain identical to those in the main experiments. Table 5 reports the results across the medical, legal, and financial domains.
D.5 User Study Prompt
This subsection provides the prompt used in the study involving human and LLM judges. For each domain, we randomly sample 100 candidate train-
| Method | Medical Domain (30%-15%) | Legal Domain (20%-10%) | Financial Domain (30%-15%) | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MQA | MQA4 | PMQA | MMCQA | MMLU | Avg. | Exam | LED | LCC | Avg. | FPB | FIQA | NWGI | Avg. | |
| Base | 49.41 | 55.46 | 37.00 | 53.67 | 71.53 | 53.41 | 49.40 | 41.80 | 28.60 | 39.93 | 76.92 | 64.85 | 64.93 | 68.90 |
| Full (100%) | 54.67 | 59.86 | 78.80 | 58.62 | 72.70 | 64.93 | 47.60 | 43.20 | 71.60 | 54.13 | 86.44 | 87.45 | 65.97 | 79.95 |
| Random | 54.12 | 56.23 | 76.20 | 55.52 | 73.12 | 63.04 | 48.00 | 42.80 | 69.60 | 53.47 | 81.47 | 82.01 | 65.01 | 76.16 |
| SPICE | 52.95 | 50.21 | 75.20 | 49.92 | 71.85 | 60.03 | 48.60 | 43.00 | 48.40 | 46.67 | 64.68 | 76.57 | 62.12 | 67.79 |
| Fisher | 53.26 | 53.52 | 75.40 | 48.52 | 71.75 | 60.49 | 48.00 | 43.00 | 47.40 | 46.13 | 62.78 | 77.41 | 61.87 | 67.35 |
| LESS | 49.02 | 56.72 | 55.20 | 54.39 | 71.75 | 57.42 | 50.60 | 41.20 | 70.20 | 54.00 | 76.34 | 44.35 | 65.33 | 62.01 |
| SelectIT | 49.65 | 56.40 | 65.20 | 55.94 | 72.06 | 59.85 | 46.20 | 39.80 | 29.60 | 38.53 | 78.66 | 48.79 | 65.46 | 64.30 |
| DPP | 51.20 | 49.39 | 74.40 | 57.57 | 72.28 | 60.97 | 48.60 | 40.00 | 53.80 | 47.47 | 79.90 | 76.57 | 65.70 | 74.06 |
| TSDS | 50.52 | 54.83 | 77.20 | 57.73 | 68.69 | 61.79 | 48.00 | 41.80 | 57.80 | 49.20 | 79.82 | 84.10 | 65.01 | 76.31 |
| LEAD | 25.06 | 31.19 | 77.20 | 34.52 | 26.03 | 38.80 | 49.60 | 41.20 | 82.80 | 57.87 | 80.48 | 85.36 | 64.15 | 76.66 |
| SuperFilter | 53.02 | 58.44 | 33.80 | 56.18 | 72.06 | 54.70 | 49.60 | 41.20 | 40.40 | 43.73 | 68.57 | 85.77 | 61.11 | 71.82 |
| S2L | 52.67 | 55.78 | 77.00 | 57.14 | 71.64 | 62.85 | 48.40 | 42.20 | 57.00 | 49.20 | 77.25 | 77.41 | 65.18 | 73.28 |
| Coreset | 53.97 | 48.47 | 72.60 | 53.73 | 71.80 | 60.11 | 47.60 | 40.60 | 40.20 | 42.80 | 54.92 | 87.01 | 58.96 | 66.96 |
| BADGE | 53.81 | 55.54 | 77.00 | 57.57 | 71.64 | 63.11 | 47.80 | 41.40 | 62.40 | 50.53 | 69.98 | 81.17 | 61.80 | 70.98 |
| AIT | 51.77 | 56.40 | 72.80 | 56.01 | 71.96 | 61.79 | 50.40 | 38.00 | 80.80 | 56.40 | 77.34 | 64.44 | 66.10 | 69.29 |
| HC (Ours) | 54.12 | 57.50 | 77.20 | 56.39 | 72.70 | 51.40 | 42.80 | 83.60 | 84.53 | 86.61 | 65.26 | |||
Table 5: Qwen2-7B results (Accuracy %) across medical, legal, and financial domains. Full denotes training on the entire available dataset. For budgeted methods, denotes constructing a candidate pool and selecting a final training subset. The best method in each column is highlighted in bold, and the second best is underlined. The -tests were conducted on the Average results, where indicates against Random.
ing examples and ask the evaluator to select the 10 most valuable samples for instruction tuning.
You are evaluating data for private-domain LLM instruction tuning.
You will receive 100 candidate training samples from the {domain} domain. Each sample contains an instruction, input, and output. Your task is to select the 10 samples that would be most valuable for fine-tuning a domain-specific LLM.
Selection criteria:
-
Prefer samples that are domain-relevant and informative.
-
Prefer samples that teach useful domain knowledge, reasoning, or decision boundaries.
-
Avoid samples that are too trivial, noisy, redundant, or poorly formed.
-
Judge only sample quality for instruction tuning. Do not try to match any hidden algorithm.
Return your answer as JSON only:
{ "selected_ids": [id1, id2, ..., id10],
"brief_reason": "one short sentence explaining the selection criteria" }
Candidate samples:
E Additional Results of Ablation Study
E.1 Additional Results of PCE
This section presents detailed results from the ablation study on Progressive Candidate Expansion (PCE). We evaluate whether the first stage of HC can effectively recover high-value samples under a fixed annotation budget. All experiments are conducted in the medical domain using the same 30% candidate budget. The true high-value set is defined as the top 15% of samples, as ranked by the exact HC score derived from confidence and variability. We report three metrics: Coverage measures the fraction of the true high-value set successfully recovered by the candidate pool; Density measures the proportion of high-value samples within the constructed candidate pool; and Mean reports the average exact HC score of the pooled samples. Higher values across these metrics indicate that the candidate pool better captures the high-value region targeted by HC during final pruning.
Table 6 demonstrates the critical role of hidden-state features in candidate construction. Replacing hidden states with surface-level Text + Metadata or Sentence Embedding features substantially degrades both coverage and density, indicating that generic features fail to capture the training-dynamics signals required to identify high-value instruction-tuning samples. The results also highlight the impact of active expansion rounds. A one-shot Direct Proxy selection from the initial seed set performs noticeably worse than progressive expansion. While increasing the number of rounds
| Method | Cov. ↑ | Dens. ↑ | Mean ↑ |
|---|---|---|---|
| (a) Replace hidden-state features | |||
| Text + Metadata | 56.03 | 28.02 | 0.4223 |
| Sentence Embedding | 55.26 | 27.63 | 0.4213 |
| (b) Vary active expansion rounds | |||
| 1 Round (Direct Proxy) | 61.58 | 30.79 | 0.4280 |
| 10 Rounds | 68.26 | 34.13 | 0.4321 |
| 100 Rounds | 69.23 | 34.61 | 0.4331 |
| HC (5 Rounds) | 67.68 | 33.84 | 0.4313 |
Table 6: Ablation of feature sources and expansion rounds on the medical domain. Block (a) replaces HC's hidden-state features, while Block (b) varies the number of active rounds under the same candidate budget.
steadily improves candidate quality, the marginal gains diminish rapidly. Compared to the 5-round default used in HC, expanding to 10 or 100 rounds yields minimal improvement despite significantly increasing proxy retraining costs. Consequently, HC adopts 5 expansion rounds to strike a practical balance between candidate quality and computational efficiency.
| Variant | FPB | FiQA | NWGI | Avg. |
|---|---|---|---|---|
| Random + ECP | 81.37 | 79.74 | 65.28 | 75.46 |
| SPICE + ECP | 82.80 | 80.75 | 60.10 | 74.55 |
| Coreset + ECP | 83.46 | 80.75 | 66.05 | 76.75 |
| DPP + ECP | 83.54 | 78.52 | 64.32 | 75.46 |
| PCE (15%) | 83.37 | 83.26 | 65.75 | 77.46 |
| PCE (30%) | 84.70 | 86.61 | 65.51 | 78.94 |
| PCE + Random | 82.55 | 82.52 | 65.01 | 76.69 |
| PCE + SPICE | 81.31 | 82.01 | 64.49 | 75.94 |
| PCE + Coreset | 82.63 | 83.26 | 64.62 | 76.84 |
| PCE + DPP | 81.31 | 82.85 | 65.04 | 76.40 |
| HC | 84.22 | 83.60 | 65.77 | 77.86 |
Table 7: Component ablation of HC in the financial domain. PCE (15%) directly selects a 15% subset in Phase 1 using proxy-predicted scores, while PCE (30%) trains on the full 30% Phase-1 candidate pool without final pruning. Other variants replace either the candidate construction or the final pruning module.
E.2 Additional domin Results
As demonstrated in Tables 7 and 8, substituting PCE with Random, SPICE, Coreset, or DPP generally degrades average performance. Similarly, replacing ECP with these generic baselines compromises the quality of the final subset. Directly retaining the full Phase-1 pool (PCE ) or pruning it solely based on proxy scores (PCE ) also yields inferior results compared to the complete HC pipeline. These trends align with the findings from the medical domain ablation: both PCE and ECP are indispensable, and neither candidate construction nor final pruning can be replaced by generic diversity-based or random modules without incurring a performance loss.
| Variant | Exam | LED | LCC | Avg. |
|---|---|---|---|---|
| Random + ECP | 21.40 | 43.20 | 65.40 | 43.33 |
| SPICE + ECP | 23.00 | 42.80 | 36.00 | 33.93 |
| Coreset + ECP | 23.40 | 40.40 | 55.80 | 39.87 |
| DPP + ECP | 21.20 | 43.40 | 56.60 | 40.40 |
| PCE (10%) | 25.40 | 42.80 | 62.20 | 43.47 |
| PCE (20%) | 23.40 | 43.20 | 57.20 | 41.27 |
| PCE + Random | 25.60 | 39.60 | 56.40 | 40.53 |
| PCE + SPICE | 23.60 | 42.20 | 46.00 | 37.27 |
| PCE + Coreset | 25.40 | 42.40 | 50.60 | 39.47 |
| PCE + DPP | 24.60 | 41.80 | 55.40 | 40.60 |
| HC | 24.40 | 42.80 | 66.76 | 44.65 |
Table 8: Component ablation of HC in the legal domain. PCE (10%) directly selects a 10% subset in Phase 1 using proxy-predicted scores, while PCE (20%) trains on the full 20% Phase-1 candidate pool without final pruning. Other variants replace either the candidate construction or the final pruning module.
F Sensitivity Analysis
This section examines the effects of HC's scoring parameters and the final training ratio on downstream performance.
F.1 Sensitivity to Scoring Parameters
We evaluate how different combinations of , , and affect the selected data region and downstream fine-tuning performance. To isolate the effect of the scoring function itself, this experiment uses exact cartography scores computed from labeled data, rather than proxy-predicted scores. All variants maintain a constant final training budget and employ identical fine-tuning configurations.
We compare the following five parameter settings: (1) Equal C/V: , , ; (2) More Confidence: , , ; (3) More Variability: , , ; (4) Strong Penalty: , , ; (5) Weak Penalty: , , .
Here, controls the confidence term, controls the variability term, and controls the extreme-sample penalty. These settings test whether HC should emphasize learnability, uncertainty, or robustness to extreme samples.

Figure 5: Sensitivity analysis of HC scoring parameters on the medical domain. The top row shows the selected regions under different scoring parameters in the confidence-variability space. Gray points denote the full training pool, and colored points denote the selected subset. The bottom row reports the corresponding average downstream performance.
Figure 5 demonstrates that the Equal C/V setting achieves the best performance. The More Confidence setting concentrates selected samples in the high-confidence and near-zero-variability region, which primarily contains overly easy examples and yields suboptimal performance. Conversely, More Variability shifts the selection distribution toward highly unstable samples, similarly degrading performance. While Strong Penalty outperforms these two extreme settings by avoiding certain noisy or trivial regions, it still falls short of Equal C/V. Weak Penalty covers a broader region but proves less effective at filtering out extreme samples. Overall, these results indicate that high-value instruction-tuning data must strike a balance between learnability and informativeness while avoiding extreme regions. Consequently, HC adopts , , and as its default configuration.
F.2 Effect of the Final Training Ratio

Figure 6: Performance under different top-score training ratios in medicine, law, and finance. The x-axis shows the percentage of the full training pool retained for fine-tuning. Dashed vertical lines mark the final training ratios used in the main experiments: 15% for medicine and finance, and 10% for law.
Figure 6 illustrates downstream performance as a function of the proportion of top-scoring training samples retained. These ratios are measured relative to the full training pool in each domain. The dashed vertical lines mark the final training budgets used in our main experiments: 15% for medicine and finance, and 10% for law. Notably, increasing the retained data fraction does not consistently yield performance gains, highlighting a distinct trade-off between the final training-set size and downstream accuracy.