arXiv Science⌕ Search

arXiv subjects

Muhammad Adam

Publications and source records attributed to Muhammad Adam.

3 recordsLinked to original sources

LesionSpeak: Segmentation-guided LoRA adaptation of a vision-language model for grounded brain MRI report generation

Brain MRI report generation requires more than fluent text. A useful model must identify the lesion, use the MRI sequence context appropriately, and describe findings that match the input image. However, vision-language models trained only on image-report pairs often produce plausible reports that still confuse lesion side, misidentify sequence type, or mention unsupported findings. We present LesionSpeak, a segmentation-guided LoRA adaptation framework that uses lesion masks as training-time supervision without requiring masks at inference. Using 1,938 training MRI-report records from the AutoRG-Brain RadGenome-Brain MRI dataset, we encode segmentation-derived laterality and lesion attributes as structured training supervision and study contour-guided training. In the auxiliary comparison, all compared models receive MRI montages and sequence metadata; the auxiliary lesion-aware vision-adapted variant additionally predicts lesion attributes before generating a report. On 580 test records, without segmentation masks for input construction or generation, the fine-tuned baseline with seed 42 achieves BLEU-1 of 27.80, while the auxiliary variant achieves BLEU-1 of 30.89 +/- 1.16, BLEU-4 of 10.46 +/- 0.74, ROUGE-L of 34.00 +/- 0.95, and BERTScore-F1 of 57.27 +/- 0.59 across three training seeds (mean +/- sample standard deviation). Reference-text laterality agreement is 70.48 +/- 2.59% across three training seeds on 402 eligible test records, compared with 56.22% for the fine-tuned baseline (seed 42). Replacing the patient MRI with another patient's image from the same cohort and MRI sequence reduces laterality agreement by 16.92-24.13 percentage points across the three auxiliary-model seeds, whereas the fine-tuned baseline (seed 42) shows a 0.00-point difference, supporting image dependence of the auxiliary model's reference-text laterality agreement.

cs.CV↗

Phoenix: Safe GitHub Issue Resolution via Multi-Agent LLMs

We present Phoenix, a multi-agent LLM system that resolves GitHub issues from triage through pull-request creation, combining seven layered safety controls with a baseline-aware test evaluation strategy. Phoenix decomposes the work across six specialized agents. Planner, reproducer, coder, tester, failure analyst and Pull Request (PR) agent, all coordinated by a label-based GitHub webhook state machine. Every change is checked against a baseline test run before a pull request is opened. On a 24-instance slice of SWE-bench Lite. run on the production webhook path, Phoenix oracle-resolves 75% of instances with no pass-to-pass regressions on successful runs; this curated slice is not directly comparable to full-split leaderboard results, and we discuss the limits of the comparison. A complementary pilot on 42 real issues across 14 repositories yields 100% correctness preservation (CP; mean 122s on the hard tier). Manual inspection shows that about half of the resulting pull requests are well-targeted fixes. The other half place code at incorrect paths, a planner localization limitation we are addressing with retrieval. We also report the deployment failure modes (WAF filtering, token expiry, permission boundaries, flaky CI) that motivated each safety mechanism.

cs.SE↗

AF-MAT: Aspect-aware Flip-and-Fuse xLSTM for Aspect-based Sentiment Analysis

Aspect-based Sentiment Analysis (ABSA) is a crucial NLP task that extracts fine-grained opinions and sentiments from text, such as product reviews and customer feedback. Existing methods often trade off efficiency for performance: traditional LSTM or RNN models struggle to capture long-range dependencies, transformer-based methods are computationally costly, and Mamba-based approaches rely on CUDA and weaken local dependency modeling. The recently proposed Extended Long Short-Term Memory (xLSTM) model offers a promising alternative by effectively capturing long-range dependencies through exponential gating and enhanced memory variants, sLSTM for modeling local dependencies, and mLSTM for scalable, parallelizable memory. However, xLSTM's application in ABSA remains unexplored. To address this, we introduce Aspect-aware Flip-and-Fuse xLSTM (AF-MAT), a framework that leverages xLSTM's strengths. AF-MAT features an Aspect-aware matrix LSTM (AA-mLSTM) mechanism that introduces a dedicated aspect gate, enabling the model to selectively emphasize tokens semantically relevant to the target aspect during memory updates. To model multi-scale context, we incorporate a FlipMix block that sequentially applies a partially flipped Conv1D (pf-Conv1D) to capture short-range dependencies in reverse order, followed by a fully flipped mLSTM (ff-mLSTM) to model long-range dependencies via full sequence reversal. Additionally, we propose MC2F, a lightweight Multihead Cross-Feature Fusion based on mLSTM gating, which dynamically fuses AA-mLSTM outputs (queries and keys) with FlipMix outputs (values) for adaptive representation integration. Experiments on three benchmark datasets demonstrate that AF-MAT outperforms state-of-the-art baselines, achieving higher accuracy in ABSA tasks.

cs.CL↗