Logo van Radiology Federated Learning

Radiology Federated Learning

CommunityPopulair
huang-sir1
radiology-federated-learning

Gebruik deze skill wanneer meerdere beeldvormingscentra ruwe gegevens niet kunnen bundelen en een onderzoeksontwerp met federated learning nodig hebben. De skill kiest voor horizontale, verticale, gesplitste of gepersonaliseerde federatie en maakt plannen voor aggregatie, omgang met non-IID-gegevens, weging per locatie, veilige aggregatie, differentiële privacy, dreigingsmodellering, governance, communicatie, reproduceerbaarheid, eerlijkheid, kalibratie en gecentraliseerde, lokale en externe vergelijkingsmodellen. Presenteert federated learning nooit op zichzelf als bewijs voor privacy of externe validiteit.

Add to TypingMind

Overzicht

Uitgeverhuang-sir1
Repositoryradiology-skills
Skillnaamradiology-federated-learning
Sterren
1.7K
Forks
17
Meegeleverde bestanden
2
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 2

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door huang-sir1 op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Radiology Federated Learning in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/huang-sir1/radiology-skills/tree/main/radiology-skills/modules/radiology-federated-learning
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huang-sir1/radiology-skills.git /tmp/radiology-skills
mkdir -p .claude/skills
cp -r /tmp/radiology-skills/radiology-skills/modules/radiology-federated-learning .claude/skills/radiology-federated-learning
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Radiology Federated Learning in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Radiology Federated Learning automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Radiology Federated Learning niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Federated Learning for Multi-Center Imaging

Use this skill to design or audit a federated imaging study when raw patient data cannot be pooled. Treat federation as a distributed training architecture—not as automatic privacy, regulatory compliance, fairness, or external validation.

The approved metadata lists horizontal, vertical, split, and personalized federation together, but do not treat them as peer topology choices. Immediately decompose the design into data-ownership, computation, coordination/trust, and output-objective axes as specified below.

Core stance

  • Governance before algorithms. Confirm that each site may compute and transmit the planned updates, that controller/processor roles are assigned, and that incident and withdrawal procedures exist. If this is infeasible, stop; do not solve a governance barrier with FedAvg.
  • Specify orthogonal design axes. Describe data partition/ownership, computation architecture, coordination/trust, and output objective separately. Horizontal data can use full-model or split computation and can produce one global, clustered, or personalized model.
  • Keep a real baseline ladder. Compare local-only models, a federated FedAvg baseline, a centralized pooled-data oracle when lawful or a clearly labeled simulation when not, and the proposed federated method.
  • Apply external evaluation as a layer. After development is frozen, evaluate each eligible local, centralized, FedAvg, and proposed model on the same untouched external domain; external validation is not itself a comparator.
  • Model non-IID structure explicitly. Scanner vendor, protocol, prevalence, referral pathway, annotation practice, sample size, and outcome availability can all differ by site.
  • Define the adversary. Secure aggregation and differential privacy address different threats; neither protects against every leakage, poisoning, or governance failure.
  • Separate collaboration from transportability. A center that trained the federation is not external validation, even if it never shared raw data.

When to open extra files

FileOpen when
references/federated-design.mdSelecting federation type, FedAvg and alternatives, site weighting, non-IID handling, communication/failure policy, or site-holdout design
references/privacy-governance-evaluation.mdDefining leakage threats, secure aggregation, differential privacy, controller roles, audit trails, fairness, calibration, baseline comparisons, or external-validity claims

Workflow

1. Establish governance feasibility

Create a site-by-site feasibility table covering data-controller roles, legal basis/consent, permitted update types, cross-border restrictions, security review, model ownership, publication rights, withdrawal/deletion, incident response, and approval status. Record unresolved items as blocking decisions. Federation is not feasible until every participating site can execute the same approved protocol or an explicitly justified site-specific variant.

2. Select the federation topology

Map patient overlap, feature overlap, label location, compute capacity, network constraints, and trust boundaries. Specify four axes rather than forcing peer alternatives into one label: (1) horizontal, vertical, or hybrid data partition/ownership; (2) full-model FL, split learning, or SplitFed computation; (3) centralized/decentralized coordination and server/client trust; and (4) global, clustered/multi-task, or personalized output. Explain the selected combination—for example, horizontal data ownership + full-model synchronous coordination + honest-but-curious server + personalized heads. State entity-resolution implications for cross-site patient linkage and activation/update flows for the computation architecture.

3. Freeze the baseline ladder

Pre-specify:

  1. each site's local-only model;
  2. a pooled centralized oracle if lawful, or a clearly labeled centralized simulation;
  3. FedAvg as the primary federated baseline;
  4. the proposed heterogeneity-aware or personalized method.

Use the same eligible population, preprocessing family, architecture capacity, tuning budget, and endpoint definition wherever the comparison permits. Do not call a comparison fair when the proposed model receives more data, tuning, or compute.

4. Specify the training protocol

Lock patient-level partitions before preprocessing. Declare participating clients per round, client sampling, local epochs/steps, batch size, optimizer and learning rate, server aggregation, site weighting, number and stopping rule of communication rounds, checkpoint selection, hyperparameter-search boundary, random seeds, update compression, encryption, timeout, retry, dropout, and recovery rules. Never use the final test or held-out center to choose rounds, hyperparameters, aggregation, or personalization.

5. Write the threat model

Name protected assets, trusted components, adversaries, capabilities, attack surfaces, and acceptable residual risk. At minimum assess membership inference, gradient/update inversion, property inference, malicious-client poisoning/backdoors, model theft, collusion, and metadata leakage. Map each control—transport security, authentication, secure aggregation, clipping, differential privacy, anomaly detection, access control, and audit logging—to a named threat. For differential privacy, declare central, local, or distributed trust; clipping/noise location; who can see pre-noise individual or aggregate updates; and dropout/collusion assumptions. State whether secure aggregation prevents update-level anomaly inspection or robust aggregation and what privacy-preserving substitute is used. Report unmitigated threats rather than asserting that “data never leave the hospital.”

6. Analyze heterogeneity

Profile each site before training: population, prevalence, scanner/vendor/field strength, acquisition and reconstruction, annotation protocol, missingness, outcome ascertainment, sample size, and compute/network capability. Quantify label, feature, quantity, and concept shift. Compare FedAvg with a justified option such as FedProx, SCAFFOLD, FedBN, clustered FL, or local fine-tuning/personalization. Treat site weighting as an estimand choice, not a convenience.

7. Evaluate performance and transportability

Report patient-level metrics with uncertainty overall and by site: discrimination or task accuracy, calibration, clinically relevant thresholds/utility, failure modes, and subgroup fairness. Define whether inference is conditional on the observed sites or targets a population of new sites; name patient and site sampling units and use site-stratified, site-clustered, or hierarchical resampling accordingly. Include local-versus-federated and centralized-versus-federated paired comparisons. Use leave-one-site-out retraining or an untouched nonparticipating center to test transportability; account for dependence across leave-one-site-out folds because their training sets overlap. Label participating-site evaluation as internal, even when updates rather than raw data were shared. Treat the external set as an evaluation layer: apply it without refitting to every frozen local, centralized, FedAvg, and proposed model that can lawfully and technically be run there, and report unavailable cells rather than changing the comparator set.

8. Make the federation reproducible

Version code, containers, model initialization, preprocessing, ontology/label rules, configuration, site manifests, dependency lockfiles, seeds, and aggregation logic. Hash approved artifacts and record round-level participation, failures, update acceptance/rejection, privacy parameters, checkpoints, and deviations in a tamper-evident audit trail. Provide a rerun plan that does not require exporting patient-level data.

Output contract

  1. Governance feasibility matrix — site approvals, roles, permitted flows, unresolved blockers.
  2. Federation topology — the selected ownership, computation, coordination/trust, and output axes, including their combined data flows and linkage assumptions.
  3. Baseline ladder — local, centralized/simulated, FedAvg, and proposed models.
  4. Training protocol — partitions, clients/round, local/server optimization, weighting, communication, stopping, failure handling, and tuning boundary.
  5. Threat-control matrix — assets, adversaries, attacks, controls, and residual risks.
  6. Heterogeneity plan — site/scanner shifts, diagnostics, method choice, and sensitivity tests.
  7. Evaluation plan — overall/site/subgroup metrics, calibration, utility, target inferential population, site/patient sampling units, dependence handling, true site holdout, and the external-evaluation matrix applied across frozen models.
  8. Reproducibility record — versions, hashes, seeds, manifests, audit events, and deviations.
  9. Bounded claims — what federation, privacy controls, and validation do and do not establish.

Quality bar

A defensible study can be reconstructed from approved artifacts, compares against local and FedAvg baselines, survives client failure without changing the estimand silently, quantifies site-level heterogeneity and calibration, and tests a genuinely unseen center. It never equates federated learning with anonymization, differential privacy, fairness, or external validity.

Handoffs

  • Cohort construction, patient-level splitting, and external-validation design → radiology-design.
  • CNN/Transformer architecture, optimization, and imaging input pipelines → radiology-deep-learning.
  • Diagnostic metrics, confidence intervals, calibration, fairness, and model comparison → radiology-stats.
  • Ethics, consent, privacy language, and governance statements → radiology-ethics.
  • DICOM de-identification, data/code availability, and FAIR metadata → radiology-data.
  • CLAIM/TRIPOD+AI and protocol reporting audits → radiology-reporting.
  • Prospective deployment, reader studies, monitoring, and rollback → radiology-translation.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Radiology Federated Learning?

Gebruik deze skill wanneer meerdere beeldvormingscentra ruwe gegevens niet kunnen bundelen en een onderzoeksontwerp met federated learning nodig hebben. De skill kiest voor horizontale, verticale, gesplitste of gepersonaliseerde federatie en maakt plannen voor aggregatie, omgang met non-IID-gegevens, weging per locatie, veilige aggregatie, differentiële privacy, dreigingsmodellering, governance, communicatie, reproduceerbaarheid, eerlijkheid, kalibratie en gecentraliseerde, lokale en externe vergelijkingsmodellen. Presenteert federated learning nooit op zichzelf als bewijs voor privacy of e...

Waarom Radiology Federated Learning gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Radiology Federated Learning bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Radiology Federated Learning in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/huang-sir1/radiology-skills/tree/main/radiology-skills/modules/radiology-federated-learning. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Radiology Federated Learning gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Radiology Federated Learning gebruiken?

Zoveel als je wilt. Je kunt Radiology Federated Learning gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Radiology Federated Learning gratis?

Ja. Deze skill is door huang-sir1 op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇