Mohammad Hamghalam, Ramtin Mojtahedi, Amber Simpson, Jacob Peoples, Richard Do
We lifted 5 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| Ramtin-Mojtahedi/PEFT-SAM-Liver-CT | canonical | 0 of 5 |
| Function | Status | Where it lives |
|---|---|---|
| create_logger | Not yet run | Ramtin-Mojtahedi/PEFT-SAM-Liver-CT/utils.py pointer only (licence: NONE) · get_code("d457684fd84f4248") |
| generate_single_point_prompt | Not yet run | Ramtin-Mojtahedi/PEFT-SAM-Liver-CT/function.py pointer only (licence: NONE) · get_code("17c1b74290197e01") |
| gram_matrix | Not yet run | Ramtin-Mojtahedi/PEFT-SAM-Liver-CT/precpt.py pointer only (licence: NONE) · get_code("615b6e1dbca7e8b6") |
| make_bnb_config | Not yet run | Ramtin-Mojtahedi/PEFT-SAM-Liver-CT/utils.py pointer only (licence: NONE) · get_code("0bdf58a747e585c4") |
| prepare_kbit | Not yet run | Ramtin-Mojtahedi/PEFT-SAM-Liver-CT/utils.py pointer only (licence: NONE) · get_code("9842c9739e5247c9") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
State-of-the-art interactive segmentation with foundation models remains constrained by compute and the need for annotations. We evaluated parameter-efficient fine-tuning (PEFT) of the Segment Anything Model (SAM) by inserting baseline adapters, Low-Rank Adaptation (LoRA), 4-bit Quantized Low-Rank Adaptation (QLoRA), and a convolutional adapter (Conv-Adapter), as well as our proposed Directional Spectral Top-K adapter (DiSCo), training only the adapters while keeping the SAM backbone frozen. DiSCo performs singular value decomposition of row-normalized weights to obtain spectral bases, then learns rankgated spectral coefficients, per-output magnitude offsets, and a spectral gain; it supports optional Top-K rank selection at inference while keeping only 0.14 M parameters trainable. We benchmarked five prompting regimes, none, single-point, multi-point, and bounding boxes at an intersection over union (IoU) of 0.50 and 0.75, applied to abdominal CT scans of colorectal liver metastases, and reported segmentation metrics (Dice and the 95th-percentile Hausdorff distance (HD95)) and compute metrics (trainable parameters, latency, memory, throughput). Conv-Adapter and LoRA achieved the highest accuracy (overall Dice 0.793 and 0.792; single-point 0.795 and 0.792; HD95 32 mm). QLoRA was close (overall 0.766; single-point 0.768; HD95 36.41 mm) while offering the most favorable compute profile (0.91 M trainable parameters, 120 ms latency, 4.9 GB peak memory). DiSCo maximized parameter efficiency, achieving the highest Dice per million trainable parameters (4.66), showing an accuracy-efficiency trade-off (overall Dice 0.653; single-point 0.698; HD95 49.53 mm). These results indicate that PEFT on foundation models enables more accurate liver tumor segmentation with reduced adaptation costs, supporting rapid scanner-specific tuning, point-or box-prompt workflows, and broader deployability for preoperative volumetrics when compute and labeled data are limited. The code supporting this study is available at: https://github.com/Ramtin-Mojtahedi/PEFT-SAM-Liver-CT.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2609.14106")
get_code_for_paper("2609.14106")
have("2609.14106")
Connect an agent — have() is free.