Skip to content
Back to skills

Cpt Merging Eval

ASecurity

Evaluates the effectiveness of merging Continual Pretraining (CPT) models to build domain-specialized financial LLMs. It probes the model's ability to recover lost general knowledge, exhibit cross-domain complementarity, and demonstrate emergent reasoning capabilities through weight-space integration. Use when the user wants to benchmark on Financial Benchmark, or asks about evaluating this task. Reports Macro-Gain.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 11, 2026
researchpythonperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill cpt-merging-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cpt Merging Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cpt Merging Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-cpt-merging-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-cpt-merging-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cpt-merging-eval
description: Evaluates the effectiveness of merging Continual Pretraining (CPT) models to build domain-specialized financial LLMs. It probes the model's ability to recover lost general knowledge, exhibit cross-domain complementarity, and demonstrate emergent reasoning capabilities through weight-space integration. Use when the user wants to benchmark on Financial Benchmark, or asks about evaluating this task. Reports Macro-Gain.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2511.02451
  bibtex_key: ueda2025merging
  confidence: high
---

# cpt-merging-eval

> Merging Continual Pretraining Models for Domain-Specialized LLMs: A Case Study in Finance — Ueda et al. (2025) (arXiv:2511.02451, 2025)

## What this evaluates

Evaluates the effectiveness of merging Continual Pretraining (CPT) models to build domain-specialized financial LLMs. It probes the model's ability to recover lost general knowledge, exhibit cross-domain complementarity, and demonstrate emergent reasoning capabilities through weight-space integration.

## Datasets

- **Financial Benchmark** — total 18; splits: test (-1)

## Metrics

- `Macro-Gain` **(primary)** — range: percent
  - The average performance improvement of the merged model over the arithmetic mean of its two constituent models across all tasks.
- `Macro-OG` — range: percent
  - The average margin by which the merged model outperforms the best of its two constituent models across all tasks.

## Input / output format

**Input**: Task prompts from a curated 18-task financial benchmark.

**Output**: Model-generated predictions or answers for each benchmark task.

## Scoring recipe

```python
def compute_metrics(merged_scores, c1_scores, c2_scores):
    avg_merged = np.mean(merged_scores)
    avg_c1 = np.mean(c1_scores)
    avg_c2 = np.mean(c2_scores)
    avg_const_avg = (avg_c1 + avg_c2) / 2
    best_const = max(avg_c1, avg_c2)
    macro_gain = avg_merged - avg_const_avg
    macro_og = avg_merged - best_const
    return macro_gain, macro_og
```

## Common pitfalls

- Task Arithmetic (TA) is highly sensitive to the scaling hyperparameter λ, often degrading if poorly tuned, whereas TIES (TI) is more robust.
- Merging three CPT models frequently causes performance collapse and representational interference, contrary to additive expectations.
- Emergent capabilities (positive Macro-OG) do not correlate linearly with parameter-space similarity (L2/cosine), making them hard to predict a priori.

## Evidence (verbatim from paper)

> We first observe that Macro-Gain tends to be higher when models are more similar—i.e., when L2 distance is smaller or cosine similarity is larger.

## Citation

```bibtex
@misc{ueda2025merging,
  title={Merging Continual Pretraining Models for Domain-Specialized LLMs: A Case Study in Finance},
  author={Ueda et al. (2025)},
  year={2025},
  note={arXiv:2511.02451}
}
```

- arXiv: 2511.02451

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.