Logo Radiology Federated Learning

Radiology Federated Learning

Cộng đồngPhổ biến
huang-sir1
radiology-federated-learning

Dùng khi nhiều trung tâm hình ảnh không thể gộp dữ liệu thô và cần thiết kế nghiên cứu học liên kết. Chọn phương thức liên kết ngang, dọc, phân tách hoặc cá nhân hóa; lập kế hoạch tổng hợp, xử lý dữ liệu không IID, trọng số theo địa điểm, tổng hợp an toàn, quyền riêng tư vi sai, mô hình hóa mối đe dọa, quản trị, truyền thông, khả năng tái lập, tính công bằng, hiệu chuẩn và các mô hình đối chứng tập trung/tại chỗ/bên ngoài. Không bao giờ coi riêng học liên kết là bằng chứng về quyền riêng tư hay tính hợp lệ bên ngoài.

Add to TypingMind

Tổng quan

Nhà phát hànhhuang-sir1
Kho mãradiology-skills
Tên kỹ năngradiology-federated-learning
Sao
1.7K
Bản fork
17
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được huang-sir1 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Radiology Federated Learning trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/huang-sir1/radiology-skills/tree/main/radiology-skills/modules/radiology-federated-learning
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Radiology Federated Learning trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Radiology Federated Learning ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Radiology Federated Learning với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Radiology Federated Learning làm được gì?

Dùng khi nhiều trung tâm hình ảnh không thể gộp dữ liệu thô và cần thiết kế nghiên cứu học liên kết. Chọn phương thức liên kết ngang, dọc, phân tách hoặc cá nhân hóa; lập kế hoạch tổng hợp, xử lý dữ liệu không IID, trọng số theo địa điểm, tổng hợp an toàn, quyền riêng tư vi sai, mô hình hóa mối đe dọa, quản trị, truyền thông, khả năng tái lập, tính công bằng, hiệu chuẩn và các mô hình đối chứng tập trung/tại chỗ/bên ngoài. Không bao giờ coi riêng học liên kết là bằng chứng về quyền riêng tư hay tính hợp lệ bên ngoài.

Vì sao nên dùng Radiology Federated Learning trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Radiology Federated Learning là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Radiology Federated Learning trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/huang-sir1/radiology-skills/tree/main/radiology-skills/modules/radiology-federated-learning. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Radiology Federated Learning?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Radiology Federated Learning với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Radiology Federated Learning với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Radiology Federated Learning có miễn phí không?

Có. Kỹ năng này được huang-sir1 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇