SearcharxivSearch

arXiv subjects

Karim Seddik

Publications and source records attributed to Karim Seddik.

4 recordsLinked to original sources

MIRA: A Method of Federated MultI-Task Learning for LaRge LAnguage Models

In this paper, we introduce a method for fine-tuning Large Language Models (LLMs), inspired by Multi-Task learning in a federated manner. Our approach leverages the structure of each client's model and enables a learning scheme that considers other clients' tasks and data distribution. To mitigate the extensive computational and communication overhead often associated with LLMs, we utilize a parameter-efficient fine-tuning method, specifically Low-Rank Adaptation (LoRA), reducing the number of trainable parameters. Experimental results, with different datasets and models, demonstrate the proposed method's effectiveness compared to existing frameworks for federated fine-tuning of LLMs in terms of average and local performances. The proposed scheme outperforms existing baselines by achieving lower local loss for each client while maintaining comparable global performance.

cs.LG

Fed-Sophia: A Communication-Efficient Second-Order Federated Learning Algorithm

Federated learning is a machine learning approach where multiple devices collaboratively learn with the help of a parameter server by sharing only their local updates. While gradient-based optimization techniques are widely adopted in this domain, the curvature information that second-order methods exhibit is crucial to guide and speed up the convergence. This paper introduces a scalable second-order method, allowing the adoption of curvature information in federated large models. Our method, coined Fed-Sophia, combines a weighted moving average of the gradient with a clipping operation to find the descent direction. In addition to that, a lightweight estimation of the Hessian's diagonal is used to incorporate the curvature information. Numerical evaluation shows the superiority, robustness, and scalability of the proposed Fed-Sophia scheme compared to first and second-order baselines.

cs.LG

Reconfigurable non-reciprocal wave growth in spatiotemporal modulated 1-D crystal

Nonreciprocity in space-time modulated photonic crystals has been investigated in the context of nonreciprocal propagation and polarization. Here, we investigate a reconfigurable nonreciprocal wave growth in space-time modulated crystals. Imposing an adaptable progressive phase shift between successive time-modulated cells results in blue and red shifts of the forward and backward momentum band gaps around the typical 0.5 growth normalized frequency. We applied this spatiotemporal scheme to engineering the dispersion relation of a loaded transmission line$-$a 1D periodic structure$-$in the microwave regime.

physics.app-ph

Signal Amplification in a Time-Modulated Transmission Line and the Loss Effect

We investigate and simulate signal amplification in a transmission line (TL) with time-modulated characteristic impedance Zo. Periodically varying $Z_o$ is achieved by loading TL with a sinusoidally time-modulated capacitor (TMC). For a detailed study, three models are considered: a lossless L-C TL lumped model loaded with shunt infinite quality factor (Q) TMC, a TL loaded with a shunt infinite Q TMC, and finite Q TMC. By solving the eigenvalue problem in all models, dispersion diagrams (DD) are plotted with a created momentum band gap (MBG) at a modulation frequency double the signal frequency. Within MBG, only imaginary frequencies are found and correlated to MBG width and signal growth level. Using Harmonics Balance (HB) and Transient Simulation (TS), signal amplification is confirmed, and the obtained results are consistent with the DD outcomes. In the second model, the effect of TL length on amplification is investigated and explained by studying the unit cell's Bloch impedance. The loss effect is considered by adding a series resistance (Rc) to the third model's TMC (finite Q). Decreasing amplification levels, confirmed by circuit modeling, due to the increase of Rc value is explained by studying real and imaginary DDs and the attenuation constant.

physics.optics