---
title: "FIDESlib — paper by Agullo-Domingo et al. (2025)"
description: "FIDESlib accelerates encrypted CKKS computation on GPUs, combining OpenFHE compatibility with optimized arithmetic and bootstrapping."
canonical: "https://research.elamur.ai/free/en/papers/agullo-2025-domingo-fideslib-fully-fledged-open-source/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/agullo-2025-domingo-fideslib-fully-fledged-open-source/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / FIDESlib: A Fully-Fledged Open-Source FHE Library for Efficient CKKS on GPUs

# FIDESlib: A Fully-Fledged Open-Source FHE Library for Efficient CKKS on GPUs

Paper · 2025 · Carlos Agullo-Domingo, Oscar Vera-Lopez, Seyda Guzelhan et al.

**Authors:** [Carlos Agullo-Domingo](https://md.research.elamur.ai/free/en/authors/carlos-agullo-domingo/), [Oscar Vera-Lopez](https://md.research.elamur.ai/free/en/authors/oscar-vera-lopez/), [Seyda Guzelhan](https://md.research.elamur.ai/free/en/authors/seyda-guzelhan/), [Lohit Daksha](https://md.research.elamur.ai/free/en/authors/lohit-daksha/), [Aymane El Jerari](https://md.research.elamur.ai/free/en/authors/aymane-el-jerari/), [Kaustubh Shivdikar](https://md.research.elamur.ai/free/en/authors/kaustubh-shivdikar/), [Rashmi Agrawal](https://md.research.elamur.ai/free/en/authors/rashmi-agrawal/), [David Kaeli](https://md.research.elamur.ai/free/en/authors/david-kaeli/), [Ajay Joshi](https://md.research.elamur.ai/free/en/authors/ajay-joshi/), [Jose L. Abellan Universidad de Murcia](https://md.research.elamur.ai/free/en/authors/jose-l-abellan-universidad-de-murcia/), [Boston University](https://md.research.elamur.ai/free/en/authors/boston-university/), [Northeastern University](https://md.research.elamur.ai/free/en/authors/northeastern-university/) and [Advanced Micro Devices)](https://md.research.elamur.ai/free/en/authors/advanced-micro-devices/) · **Year:** 2025 · **Venue:** arXiv:2507.04775 · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/2507.04775)
- [arXiv 2507.04775](https://arxiv.org/abs/2507.04775)

## What it is about

FIDESlib accelerates encrypted CKKS computation on GPUs, combining OpenFHE compatibility with optimized arithmetic and bootstrapping. · about 36 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Computing on encrypted information offers an attractive promise: a remote service can process sensitive inputs without obtaining the secret key needed to read them. The obstacle is cost. The paper describes encrypted computation as taking between 2–5 orders of magnitude more time than comparable work on unencrypted values. FIDESlib tackles this performance problem for CKKS, an encryption scheme that supports approximate numerical arithmetic. Its contribution is a GPU implementation of the server operations needed to make such computation useful, including the expensive ciphertext-refreshing procedure called bootstrapping.

The authors build around a deliberate division of responsibilities. OpenFHE handles the client’s cryptographic work, including key generation, encryption, and decryption. FIDESlib receives the encrypted objects through a small compatibility layer and performs server computation on the GPU. This arrangement preserves access to OpenFHE’s established client implementation while allowing the accelerated code to use its own organization. Instead of fitting every optimization into an architecture supporting several encryption schemes and hardware backends, the authors concentrate on CKKS and the memory behavior of GPUs.

The implementation combines several changes instead of relying on a single faster algorithm. It divides work according to dependencies between polynomial coefficients and between residue components, schedules independent work through CUDA streams, and batches components when kernel-launch overhead becomes expensive. It uses specialized modular arithmetic, a hierarchical Number Theoretic Transform, and fused operations that avoid repeatedly moving intermediate values through device memory. Bootstrapping brings these pieces together through transformations between coefficient and slot representations, approximate modular evaluation, and reuse of preparation across ciphertext rotations.

The evaluation compares FIDESlib with ordinary OpenFHE, an OpenFHE configuration accelerated through Intel HEXL, and the GPU implementation Phantom. On the RTX 4090, FIDESlib records the lowest time for every operation in the main primitive comparison. Ciphertext multiplication takes 1.084 ms, compared with 1.220 ms for Phantom and 151.58 ms for the HEXL configuration. The application experiment uses encrypted logistic-regression training on 45,000 loan-eligibility examples. An iteration including bootstrapping takes 169 ms with FIDESlib, against 7,233 ms with HEXL-enabled OpenFHE and 16,233 ms with the ordinary OpenFHE baseline.

These results support a substantial engineering contribution, with boundaries that matter. The implemented backend uses a single GPU; multiple devices and AMD support belong to the roadmap. The paper describes extensive tests against OpenFHE, but its application evidence concerns one training workload rather than an entire cloud service. Its headline bootstrapping speedups also vary between sections, so the tabulated execution times are a firmer basis for comparison than a single maximum claim. Finally, although the work presents FIDESlib as an open-source contribution, a footnote says release is planned after review. The paper establishes the design and measured implementation, while that statement limits what it establishes about immediate public availability.

### Ideas worth borrowing

Separate stable responsibilities from performance-sensitive ones. FIDESlib retains an established client implementation while replacing the server execution path. A narrow adapter carries the information required by each side without forcing their internal structures to match. This approach applies whenever a trusted interface must coexist with aggressive optimization: a numerical service, a parser backend, or a storage engine can preserve its external contract while reorganizing execution internally.

Schedule from dependencies rather than object boundaries. Some CKKS operations act independently on coefficients, others require communication within a residue component, and others cross components. Recognizing these differences allows the authors to choose smaller useful working sets and run independent work concurrently. The same reasoning helps graph processing and [GPU and parallel computing](https://md.research.elamur.ai/free/en/topics/gpu-parallel-computing/): the natural unit of scheduling is often smaller than the complete application object.

Treat batching as a balance between locality and overhead. Small kernels can keep useful data close to computation, yet launching too many kernels makes the host a bottleneck. FIDESlib exposes limb batching because neither the smallest batch nor the largest batch is universally best. This is a reusable lesson for database queries, document pipelines, and worker queues, where grouping work changes both setup cost and memory behavior.

Keep intermediate results where they are consumed. The paper’s operation fusions reduce transfers to global memory by performing adjacent arithmetic inside an existing kernel. Its rotation optimization similarly shares preparation across several related outputs. The broader principle is to inspect intermediate representations and ask whether they need to be materialized at all. Compilers, statistical pipelines, and annotation systems can benefit from the same question.

Match storage ownership to object lifetime. FIDESlib combines independently managed arrays with views into a larger allocation. Long-lived objects that change size have different needs from short-lived objects of predictable shape. Instead of enforcing one layout everywhere, the implementation preserves a convenient logical interface while varying the physical allocation strategy. This idea applies to document buffers, graph snapshots, and temporary numerical workspaces.

Validate the contract and the workload separately. Unit tests examine components, integration tests compare behavior with OpenFHE, microbenchmarks expose individual costs, and an encrypted training task checks their composition. These forms of evidence answer different questions. A fast primitive does not establish a fast application, just as an application producing plausible output does not establish the correctness of every arithmetic component.

Measure speed under comparable numerical quality. The bootstrapping comparison states that the implementations achieve equal message precision. That condition matters because CKKS performs approximate arithmetic: a faster result would be less informative if it quietly accepted worse numerical quality. The transferable idea is to report performance together with the quality contract that makes the comparison meaningful, especially when exact and approximate execution paths coexist.

### How Mova uses it

Mova is a small, transparent language system written in Rust. Its native path builds dependency trees, derives frames, maintains a world, and answers with reasons. FIDESlib addresses encrypted numerical computation rather than linguistic interpretation, so its main relevance is architectural and experimental. The connections below propose transfers from the paper’s engineering choices. The status marks describe correspondence with documented Mova mechanisms; they do not establish that FIDESlib has been integrated or that its optimizations have improved Mova.

Idea: Preserve a stable boundary around an optimized backend. Where: Section III-B, OpenFHE interoperation. Area: architecture. Mova: частково є (`layers` interfaces and the declared CPU/GPU execution boundary). Mova could apply the same narrow-adapter principle when moving an expensive operation to an accelerator, preserving typed inputs, outputs, and reasons. Why Mova: an optimized execution path would remain reviewable through a stable contract rather than exposing hardware details throughout the language core.

Idea: Specialize execution without replacing the reference implementation. Where: Sections I and III-B. Area: execution design. Mova: частково є (`docs/gpu-exec.md`, where CPU execution is the reference and GPU stages declare their relationship to it). FIDESlib suggests keeping the general reference path while giving a focused backend freedom to organize its work differently. Why Mova: specialization could improve throughput while retaining a clear source of expected behavior and a measured compatibility obligation.

Idea: Classify dependencies before introducing parallelism. Where: Section III-F, Stream Handling and Limb Batching. Area: parallel processing. Mova: частково є (`retention/mice.rs`, with specialist threads sharing a document graph). Candidate Mova operations could be classified as independent per token, dependent within a sentence, or dependent across document state before scheduling changes. Why Mova: this would identify safe concurrency without assuming that every stage of a linguistic pipeline can run independently.

Idea: Choose working sets smaller than complete application objects. Where: Section III-F, Stream Handling and Limb Batching. Area: memory locality. Mova: частково є (`tools/dictindex`, with compressed posting blocks and record access). The proposed transfer is to measure whether a bounded sentence, lemma, or graph partition can complete several operations while resident in memory. Why Mova: repeated processing of an entire document or graph may waste bandwidth when only a small active portion is needed.

Idea: Tune batch size against scheduling overhead. Where: Section III-F and Figure 7. Area: performance evaluation. Mova: частково є (`tools/dictindex`, with configurable import batches). Mova could compare batch settings for native parsing, graph reads, or corpus processing while checking output identity. Why Mova: a batch that improves locality may still lose overall if task setup dominates; the paper supplies a concrete reason to measure both effects rather than choosing by intuition.

Idea: Reuse preparation across related queries. Where: Section III-F, Hoisted rotation. Area: data processing. Mova: вже є (`retention/mice.rs`, where specialists use one parse and a shared retained graph). The corresponding Mova practice is to derive observations from that common preparation rather than reparsing for every specialist. Why Mova: keeping this design explicit can prevent later extensions from duplicating expensive work and can make the cost of each additional observation easier to measure.

Idea: Fuse adjacent stages only where their contracts permit it. Where: Section III-F, Operation Fusions. Area: execution optimization. Mova: нове. A proposed experiment would combine a producer and its immediate consumer when an intermediate structure is otherwise written and reread without independent use. Why Mova: this could reduce allocation and memory traffic in corpus processing while preserving the separately testable logical operations. No corresponding FIDESlib-inspired fusion or performance effect is established.

Idea: Control the growth of optimized combinations. Where: Section III-F, Operation Fusions. Area: software maintenance. Mova: нове. FIDESlib uses templates to add fused behavior without duplicating entire transform implementations. Mova could similarly express a bounded set of composable execution options behind shared logic. Why Mova: optimization should not create many subtly different implementations of the same semantic rule, each requiring separate maintenance and risking divergent explanations.

Idea: Select allocation strategy by lifetime and size stability. Where: Section III-D, Memory management. Area: storage. Mova: нове. Temporary parse workspaces and durable graph structures could be profiled separately before choosing pooled storage, independent allocations, or views into a shared buffer. Why Mova: their lifetimes differ, so a single allocation policy may waste memory or increase setup cost. The digest does not establish an existing implementation of this specific lifetime-based policy.

Idea: Keep ownership explicit even when storage is shared. Where: Section III-D, managed and unmanaged VectorGPU objects. Area: resource management. Mova: частково є (Rust implementations across the native core and storage tools). The paper offers a concrete distinction between owning storage and referring to storage managed elsewhere. Why Mova: shared document and graph buffers need a clear owner so that parallel readers can reuse data without obscuring its lifetime or the cost of copying it.

Idea: Precompute only information that will be reused. Where: Section III-E, Precomputation. Area: symbolic computation. Mova: вже є (`global` seeds compiled through `build.rs`, together with the compiled English lexicon). Mova already moves stable knowledge into prepared representations. Why Mova: the paper reinforces the value of distinguishing reusable constants from task-specific state, while reminding implementers that precomputation also consumes memory and may constrain simultaneous configurations.

Idea: Match prepared data to access patterns. Where: Section III-E, constant and global memory. Area: memory layout. Mova: нове. A proposed Mova profiling study could distinguish tables read identically by many workers from data accessed irregularly by individual tasks before changing their layout. Why Mova: being immutable does not alone determine the best representation; how readers access the data can matter as much as its size. The expected benefit remains unknown.

Idea: Make configuration scope a declared limitation. Where: Section III-E, singleton Context design. Area: operational architecture. Mova: частково є (`docs/hybrid-system.md`, with explicit configuration identity and bounded capability interfaces). If an optimized backend supports only one active parameter configuration, that restriction should appear in its public contract. Why Mova: a fast local implementation can otherwise be mistaken for a component that safely serves unrelated concurrent tasks.

Idea: Use mathematical structure to replace expensive general operations. Where: Section III-F, Modular arithmetic. Area: mathematics. Mova: частково є (`math` exact arithmetic and compiled `global` operations). The reusable proposal is to look for repeated operations whose valid domain permits a specialized implementation, while retaining exact checks. Why Mova: a transparent symbolic system can exploit known domains without introducing a learned approximation or hiding the conditions under which the shortcut is valid.

Idea: Delay normalization when the valid range permits it. Where: Section III-F, The base conversion kernel. Area: numerical implementation. Mova: нове. FIDESlib accumulates wider intermediate values before modular reduction. An analogous Mova experiment could examine repeated exact arithmetic where canonicalization is more expensive than accumulation. Why Mova: avoiding redundant normalization might reduce cost, but it would require explicit overflow and equivalence checks. The paper does not demonstrate this transfer to rational or symbolic arithmetic.

Idea: Choose algorithms for the actual bottleneck. Where: Section III-F, the Radix-2 transform discussion. Area: algorithm selection. Mova: частково є (`tools/twin` prospective costs and measured calibration, plus the project’s benchmark practice). Mova could compare alternative execution strategies using observed memory traffic, scheduling cost, and computation time. Why Mova: an algorithm that looks more parallel or more elaborate may be slower when a different resource limits execution.

Idea: Preserve useful internal order between cooperating operations. Where: Section III-F, the inverse transform implementation. Area: representation design. Mova: нове. The transform pair avoids a separate bit-reordering pass by agreeing on internal order. Mova could inspect whether adjacent native stages repeatedly reorder equivalent records only to satisfy unnecessary local conventions. Why Mova: a shared internal representation might remove copying or sorting while retaining deterministic external output.

Idea: Treat the reference system as a differential test oracle. Where: Sections III-C and IV-A. Area: evaluation. Mova: вже є (`docs/gpu-exec.md`, where exact GPU stages must match CPU execution). The paper supports extending that discipline to adapters and optimized composite operations. Why Mova: comparing the same input across implementations can reveal mismatches that ordinary success tests miss, provided the comparison checks the intended observation rather than only successful completion.

Idea: Separate component tests from application tests. Where: Sections IV-A and IV-B. Area: evaluation design. Mova: вже є (crate tests, benchmark commands, school assessments, and reader evaluations). FIDESlib’s combination of primitive measurements and an encrypted training workload offers a useful parallel. Why Mova: improvements to parsing speed, storage, or individual rules should be checked both locally and in the complete task that depends on them.

Idea: Hold output quality constant in speed comparisons. Where: Section IV-B, bootstrapping evaluation. Area: approximation evaluation. Mova: вже є (`docs/gpu-exec.md`, distinguishing exact stages from measured approximants). For an approximate stage, Mova should accompany timing with agreement against the CPU reference and the relevant task result. Why Mova: faster execution is useful only within a declared quality contract; the paper’s equal-precision comparison makes that dependency explicit.

Idea: Benchmark the parameter space rather than a preferred case. Where: Section IV-A and Figures 6–8. Area: performance evaluation. Mova: частково є (`tools/twin`, benchmark tooling, and bounded dictionary-index measurements). Proposed dimensions include document length, graph size, active knowledge, and batch configuration. Why Mova: a change can help a large workload while harming a small one because setup costs and cache behavior change with scale.

Idea: Explain discontinuities through structural changes. Where: Section IV-B, the discussion of dropped key-switching digits and cache effects. Area: performance analysis. Mova: частково є (`tools/dictindex` documentation distinguishing cache scope and visited blocks). Mova could connect abrupt timing changes to graph activation, compressed-block boundaries, or changed working sets. Why Mova: an irregular curve should lead to an explanation that can be tested, instead of an unsupported claim of unstable performance.

Idea: Distinguish reserved architecture from delivered capability. Where: Section III-C and Section VI. Area: evidence reporting. Mova: вже є (`docs/hybrid-system.md`, separating configured execution from general composition direction). FIDESlib’s device-partition abstraction exists before its multiple-device backend. Why Mova: this is a useful reporting pattern for groupants, domain modules, and worker coordination, where a plausible interface must not be presented as evidence of a completed implementation.

Idea: Evaluate interoperability in both directions. Where: Section III-B. Area: interface validation. Mova: частково є (`tools/roundtrip` and the documented interfaces between language layers). An accelerator or storage adapter should be checked when importing native objects and when returning results with required metadata. Why Mova: preserving values alone may be insufficient if provenance, uncertainty, or reasons are lost during the return path.

Idea: Separate privacy mechanisms from general acceleration. Where: Sections II-A and III-A. Area: optional domain capabilities. Mova: нове. A future numerical domain could investigate encrypted arithmetic through an explicit external interface, without treating it as a property of native parsing or knowledge storage. Why Mova: this could support a narrowly defined privacy-sensitive numerical task, but the digest establishes no FHE integration, no CKKS workload, and no measured need for one.

Idea: Record publication and availability as different claims. Where: the release footnote in Section II and the open-source discussion in Section V. Area: research evidence. Mova: частково є (`tools/sources` manifests, version evidence, and source verification). A research card can distinguish what a paper reports from which implementation artifact is actually available. Why Mova: reproducibility depends on obtainable, identifiable artifacts, while a publication’s stated release intention is a different kind of evidence.

### The problem and its context

#### Computing without revealing the input

The motivating setting is a remote numerical service. A client wants useful computation but does not want the server to read the underlying data. Homomorphic encryption changes the usual relationship between secrecy and processing: operations on ciphertexts correspond to operations on the values they contain. The server can therefore work without receiving the secret key.

The paper places this problem in machine-learning services delivered through cloud infrastructure. Its concern is that useful remote computation and the protection of sensitive information are difficult to combine when conventional processing requires readable inputs. It also discusses lattice-based cryptography in relation to post-quantum security. These considerations explain the choice of cryptographic family, but they do not remove the practical burden of encrypted arithmetic.

The authors distinguish several encryption approaches by the kind of computation they support. BGV and BFV serve integer arithmetic, while CKKS supports approximate numerical arithmetic. TFHE and FHEW are described in terms of Boolean operations. FIDESlib selects CKKS because approximate numerical processing matches the intended cloud applications. The work is consequently not a universal accelerator for every homomorphic-encryption scheme.

Approximation is part of the computation instead of an incidental implementation defect. CKKS treats the error introduced by encryption together with numerical error from fixed-point operations. Its arithmetic therefore has to manage both useful precision and the evolution of ciphertext state. This is why the evaluation cannot be understood as a comparison of execution time alone.

#### Why the arithmetic becomes so large

A ciphertext is not simply an ordinary number with an encryption label attached. The paper describes large polynomials whose parameters support both security and a usable computation budget. Maintaining these polynomials requires extensive arithmetic and movement of data. The cost appears even when the corresponding operation on an unencrypted input would be elementary.

For an example associated with 128-bit security, the authors discuss polynomial degree reaching 2¹⁷ and coefficients reaching 2200 bits. These quantities explain why ordinary machine-word arithmetic is insufficient as the whole representation. The implementation instead breaks a large modulus into smaller prime factors and computes with residues.

This decomposition creates opportunities for parallelism, because many residue computations can proceed separately. It also produces substantial memory traffic. Ciphertexts and switching keys occupy enough space that retaining all relevant data near the arithmetic units is difficult. An implementation can spend much of its time moving values rather than performing the mathematical operation that defines the result.

The authors describe this as a recurring finding of prior work on homomorphic-encryption acceleration. Their own approach follows that diagnosis, but does not assume every kernel is limited by memory. Some components, particularly base conversion, remain computationally demanding. Effective acceleration therefore requires identifying the bottleneck of each operation rather than applying one explanation to the entire system.

#### Why GPUs, and why a separate implementation?

The paper argues that GPUs offer a practical route because they already occur in high-performance computing infrastructure and provide high memory bandwidth. It contrasts that position with dedicated FPGA and ASIC accelerators, whose integration into established service environments can be difficult. This is a deployment argument made by the authors, instead of a direct experimental comparison with those devices.

The hardware discussion also emphasizes on-chip storage. A large cache can allow consecutive operations to reuse ciphertext data without returning to device memory. Yet cache capacity helps only when software schedules computation to make that reuse possible. Merely moving existing code onto a GPU would not automatically produce the reported behavior.

OpenFHE presents both an opportunity and a constraint. It supplies established cryptographic operations and a broad software framework. Its support for different schemes and execution backends, however, introduces abstractions that the authors regard as an obstacle to the strongest GPU specialization. Their answer is not to replace OpenFHE everywhere, but to define a narrower boundary around the accelerated server work.

The paper also describes an openness gap in earlier GPU implementations. Some systems support complete CKKS computation but do not make the relevant source publicly available. Others expose code without the complete operation set needed for the authors’ experiments. Phantom is selected as the principal GPU baseline because the paper identifies it as the strongest available open-source comparison, while noting that it lacks bootstrapping.

That context explains why completeness matters alongside speed. An implementation that accelerates addition and multiplication but omits refreshing cannot support the same depth of computation as one that includes bootstrapping. FIDESlib aims to provide both a complete server operation set and the tests needed to compare those operations against an established implementation.

### The method, step by step

#### Begin with the client–server boundary

A newcomer can understand the architecture by following an encrypted object. The client creates keys and prepares encrypted data through OpenFHE. The server imports that data into FIDESlib, which constructs GPU-resident representations and executes supported CKKS operations. When a result must be decrypted, the ciphertext is transferred back into an OpenFHE-compatible object.

The FIDESlib computation path The steps in order.

The adapter carries both values and essential metadata. In the return direction, the paper explicitly mentions static information used to estimate noise. This detail matters because a ciphertext’s state includes more than its coefficient arrays. A conversion that preserved the arrays but lost necessary interpretation would not provide the intended interoperability.

Loose coupling also gives the GPU implementation a distinct development path. The authors describe a small patch applied when building a compatible OpenFHE version, rather than a large replacement of OpenFHE internals. Inside FIDESlib, classes for parameters, ciphertexts, plaintexts, and switching keys can then follow the requirements of GPU execution.

The paper attributes the inherited security guarantees to the correctness of OpenFHE’s client operations. Its testing focuses on whether server computation behaves compatibly. These are related but different claims: delegating key generation and encryption avoids reimplementing those operations, while numerical and integration tests examine the accelerated computation that follows.

#### Represent a large polynomial through residues

The core numerical object is a polynomial represented under a large modulus. The residue-number approach replaces that large modulus with a collection of smaller prime moduli. Each component stores the polynomial’s coefficients reduced under one prime. The paper calls such a component a limb.

The notation for the residue base is:

```
B = {q₀, q₁, …, qℓ}
```

Here B is the current residue base, and each qᵢ is one of its prime moduli. The index ℓ identifies the final member of the current base. Each limb therefore contains a version of the same polynomial under a different modulus.

The paper distinguishes the original depth budget L from the current state represented through ℓ. It also uses N for the polynomial degree bound, Δ for the encoding scale, and dnum for the number of chunks used in hybrid key switching. These settings affect not only the meaning and capacity of the encrypted computation but also the amount of work and storage required.

A message can pack several numerical values into one encrypted object. The notation table writes the message-length constraint as:

```
n ≤ N/2
```

The symbol n denotes the number of message values, and N is the polynomial degree bound. This packing is important when interpreting throughput: a single ciphertext operation can act on several encoded values, so ciphertext latency and cost per useful value are different measurements.

At the software level, ciphertexts and keys contain RNSPoly objects. An RNSPoly can contain device-specific partitions, which in turn contain stacks of limbs. The current implementation assigns these partitions to a single GPU. The partition abstraction anticipates a wider backend, but the hierarchy itself is not evidence of multiple-device execution.

#### Manage storage according to its use

FIDESlib does not require every residue polynomial to be stored as one flat rectangular allocation. A stack of arrays allows individual limbs to be managed separately. The authors argue that this reduces wasted internal space and simplifies handling objects whose sizes change.

VectorGPU supplies ownership for an allocated device array. Its lifetime controls allocation and release through the RAII pattern: creating the owning object acquires storage, and destroying it releases that storage. The allocation mechanism is asynchronous and follows CUDA stream ordering.

There is also a non-owning form that refers to a device pointer supplied by a higher-level owner. This allows a large allocation to appear logically as several separate arrays. The authors use that option when temporary objects or fixed sizes make a flat allocation preferable.

The resulting design separates logical organization from physical allocation. A programmer can work with limb-like objects without requiring every limb to own a distinct allocation. That flexibility is useful because memory management itself can become part of the cost of a short GPU operation.

#### Prepare constants before server execution

Many repeated arithmetic steps use values derived from the chosen cryptographic parameters. FIDESlib calculates much of this information when constructing its Context. Moving that work out of the repeated execution path reduces the amount of arithmetic required by individual operations.

The design treats the Context and its prepared values as a singleton. The authors connect this choice to device-memory constraints and the restrictions of CUDA constant memory, whose aggregate size they give as 64 KB. One active parameter configuration permits globally accessible prepared information and simpler kernel interfaces.

This is a practical tradeoff, not an unrestricted configuration system. The paper notes that separate processes can manage separate parameter sets, but doing so does not eliminate their combined demand for device memory. An application that needs simultaneous configurations therefore faces a limitation that is absent from the simple picture of a reusable mathematical context.

Prepared values are placed according to their expected access pattern. When all threads in a warp need the same value together, constant memory can broadcast it efficiently. Other reusable values are kept in global memory. The criterion is thus not merely whether a value can be calculated in advance, but how the execution will consume it.

#### Schedule work from its dependencies

The authors divide kernels into categories. Elementwise operations, such as modular addition, do not require communication between coefficients. Transformations such as NTT require cooperation among values inside a limb. Base changes and rescaling require access to corresponding coefficient positions across limbs.

These distinctions determine what can safely run independently. A complete ciphertext and its switching key may form a very large working set; the paper gives 120 MB as an example. Processing every operation over the whole object can lose useful cache contents before a later operation needs them.

FIDESlib instead performs consecutive work on smaller limb groups when dependencies allow it. CUDA streams let independent kernels progress asynchronously. This arrangement seeks both temporal locality, by using values again soon, and sufficient concurrent work to occupy the GPU.

The smallest possible group is not always the best. A fast GPU can finish kernels sooner than the CPU can issue enough new launches. Limb batching therefore groups several limbs into a launch, reducing scheduling overhead at the cost of a larger working set. The setting is configurable because hardware throughput and memory behavior alter the balance.

#### Replace expensive remainder operations

Most arithmetic must reduce values under a prime modulus. A direct use of the remainder operator is costly when the modulus is selected at runtime, because the generated GPU instruction sequence can be complex. The paper therefore uses specialized reduction methods with prepared auxiliary values.

Its comparison distinguishes Montgomery, Shoup, and improved Barrett techniques. Montgomery arithmetic requires a special representation of inputs. Shoup multiplication uses preparation tied to one operand as well as to the modulus. Improved Barrett reduction avoids the representation requirement while providing the multiplication cost the authors seek.

FIDESlib consequently uses improved Barrett reduction as a general tool and Shoup multiplication where an operand is suitable for preparation. Transform twiddle factors are an important example, because they are reused and can carry corresponding Shoup constants.

The broader method is to select arithmetic from the information already available. A prepared constant permits a different implementation from a completely variable operand. The paper’s speedups arise partly from exploiting such distinctions repeatedly inside larger kernels.

#### Convert between residue bases

ModUp and ModDown change the residue base used to represent a polynomial. Rescale also changes the base, but its particular structure permits a separate optimization. The common base-conversion work can be understood as scaling the input residues and multiplying by a matrix of prepared constants.

A componentwise reading of the paper’s matrix equation is:

```
xout⁽ʲ⁾ = Σᵢ [q̂ᵢ]pⱼ · (q̂ᵢ⁻¹ · xin⁽ⁱ⁾)
```

The symbols xin⁽ⁱ⁾ and xout⁽ʲ⁾ denote the polynomial represented in an input limb and an output limb. The index i ranges over input limbs, while j selects an output prime pⱼ. The term q̂ᵢ is the CRT factor associated with input modulus qᵢ, and q̂ᵢ⁻¹ is the corresponding inverse used to scale that input residue. Brackets with subscript pⱼ indicate reduction under the output modulus.

The equation describes the same conversion separately for every coefficient position. Processing many positions turns the work into a matrix-style computation with repeated use of the conversion constants. This is why shared memory can help: the kernel retains scaled input values while several output dot products consume them.

Digit decomposition makes the input base for an individual conversion smaller than the full output base. The implementation exploits this shape rather than treating conversion as an arbitrary dense operation. It uses cooperating threads and reuses the shared values across the remaining output limbs.

Another optimization changes when modular reduction happens. Partial dot products accumulate in a 128-bit integer, and the kernel reduces the accumulated result before storing it. This avoids reducing every partial contribution separately. Even with these measures, the authors identify base conversion as compute-bound, particularly for larger settings.

#### Transform between coefficient and evaluation forms

The Number Theoretic Transform, or NTT, moves a polynomial from its coefficient representation into an evaluation representation over an integer ring. The inverse transform reverses the process. Polynomial multiplication becomes efficient in evaluation form, whereas base conversion requires coefficients.

These representations therefore alternate during composite CKKS operations. A fast multiplication kernel is insufficient if the transitions around it remain expensive. The paper treats the transform implementation as a central determinant of overall performance.

FIDESlib uses a Radix-2 algorithm organized hierarchically. Under the typical configurations discussed, the shared memory available to a streaming multiprocessor cannot hold an entire limb. A simple approach would repeatedly communicate through global memory as the transform progresses.

The hierarchical organization divides the transform into smaller subtransforms and reduces the required movement of each element. Several subtransforms share a block, amortizing the preparation loaded into shared memory. The authors also calculate some scaling factors during execution from values already available, reducing additional loads.

The forward and inverse implementations agree on a useful internal ordering. The inverse uses Gentleman–Sande butterflies to accept bit-reversed evaluation data and produce normally ordered coefficients. This avoids an explicit reordering pass between compatible operations.

#### Fuse arithmetic around the transforms

Kernel fusion performs several adjacent steps during one visit to the data. FIDESlib particularly attaches elementwise operations to the more substantial transform kernels. Templates provide these combinations without requiring a separately duplicated implementation for every case.

For rescaling, the paper gives the following fused expression:

```
qℓ⁻¹ · (x⁽ⁱ⁾ − NTT(SwitchModulo(x⁽ℓ⁾)))
```

Here x⁽ⁱ⁾ is the current limb being updated, and x⁽ℓ⁾ is the limb associated with the modulus being removed. SwitchModulo converts the relevant values to the required modulus, NTT transforms them, and qℓ⁻¹ supplies the inverse scaling factor under the target arithmetic. Combining these steps avoids storing and retrieving each intermediate result separately.

The analogous ModDown expression is:

```
P⁻¹ · (x⁽ⁱ⁾ − NTT(x′⁽ⁱ⁾))
```

P is the product of the extension moduli. The primed value x′⁽ⁱ⁾ is the converted contribution used in the reduction, while x⁽ⁱ⁾ is the limb being updated. The expression combines subtraction and inverse scaling with a transform that the larger procedure already needs.

Ciphertext multiplication receives similar treatment around its inverse and forward transforms. Products of ciphertext components, key-related arithmetic, and transformed converted values are produced within the relevant kernels. The important point is their placement: arithmetic that would otherwise require extra array passes is attached to a pass already underway.

The paper also gives a general dot-product pattern:

```
Σᵢ₌₀ⁿ⁻¹ aᵢ ⊙ bᵢ
```

The vectors aᵢ and bᵢ supply corresponding inputs, ⊙ denotes elementwise multiplication, and n is the number of terms. A fused implementation multiplies and accumulates without materializing every product and partial sum as a separate array.

Its stated memory-operation counts are:

```
6n − 3 → 2n + 1
```

Here n again counts dot-product terms. The expression compares the per-output-element memory operations before and after fusion in the paper’s accounting. For a weighted sum, the corresponding expression is:

```
4n − 2 → n + 1
```

In this case n counts the weighted contributions. These are analytical operation counts, not measured execution-time ratios. They explain why the implementation should move less data, while the benchmarks determine how that reduction translates into runtime.

#### Share rotation preparation and refresh ciphertexts

A ciphertext rotation rearranges encoded values and requires key-switching work. When several rotations begin from the same ciphertext, performing all preparation independently is wasteful. Hoisted rotation computes ModUp once, then reuses its output with different switching keys.

Bootstrapping makes extensive use of these rotations. Its role is to refresh a ciphertext so that further computation remains possible. FIDESlib adapts the OpenFHE procedure instead of introducing a different cryptographic scheme.

The procedure has three principal routines: CoeffToSlot, ApproxModEval, and SlotToCoeff. The first and last apply homomorphic transformations related to encoding and decoding. The middle routine approximates the modular behavior required during refresh.

For ApproxModEval, the paper describes a Chebyshev approximation of cosine, evaluated with Baby-Step Giant-Step and Paterson–Stockmeyer techniques. Repeated use of a double-angle relationship extends the effective approximation range, while consuming additional levels. The paper names this relationship but does not print its equation.

For the surrounding linear transformations, FIDESlib uses a shared implementation. It splits the Fourier-transform matrix into sparser block matrices, trading additional multiplicative levels for more efficient execution. Baby-Step Giant-Step reduces rotation requirements, and hoisted rotation shares their preparation.

One deliberate departure from OpenFHE is the omission of ModDown hoisting. The authors make that choice to reduce the size of prepared plaintext data and limit GPU-memory use. This illustrates the overall method: retain the mathematical procedure while adapting its organization to the accelerator’s resource constraints.

### Experiments and results

#### What is compared

The evaluation uses component tests and performance benchmarks for different purposes. Google Test supports unit checks and comparisons with OpenFHE. Google Benchmark supplies parameterized timing measurements. The paper reports successful test-suite execution on the RTX 4060 Ti, RTX A4500, V100, and RTX 4090.

The main primitive table uses a single ciphertext at its maximum level. The stated settings are N = 2¹⁶, L = 29, Δ = 59, and dnum = 4, with the current level given as ℓ = 29. This shared configuration matters because the number of active limbs and the structure of key switching change the work performed.

The CPU platform is an AMD Ryzen 9 7900. The authors describe 12 cores, enabled simultaneous multithreading, enabled AVX-512, and DDR5 memory operating at 5200 MT/s. The accelerated CPU comparison uses Intel HEXL with 24 threads. The GPU columns in the main operation table use the RTX 4090.

The baselines have different roles. Ordinary OpenFHE supplies a single-threaded reference. The HEXL configuration asks how much an optimized, multithreaded CPU path changes that result. Phantom supplies the relevant open-source GPU comparison where it implements the same operation. Missing operations are not assigned a timing or treated as slower measurements.

#### Primitive execution time

For ciphertext multiplication, the tabulated GPU times favor FIDESlib. This comparison is especially useful because both GPU implementations run on the same stated platform and support the operation being measured.

Ciphertext multiplication at maximum level on RTX 4090 FIDESlib completes the shared multiplication operation sooner than Phantom.

**The numbers**

| System or setting | time ms |
| --- | --- |
| Phantom | 1.220 |
| FIDESlib (this paper) | 1.084 |

The ordinary OpenFHE multiplication time is 406.24 ms, while the HEXL configuration records 151.58 ms. These CPU results establish the much larger separation between the accelerated GPU path and the CPU implementations for this setting. They should not be generalized to every workload or parameter configuration.

The same table reports FIDESlib times of 16.63 µs for ScalarAdd and 44.15 µs for ScalarMult. Phantom does not supply those specialized operations in the comparison. The useful conclusion is that FIDESlib exposes dedicated paths for them, not that an absent timing demonstrates a measured speed advantage over an equivalent Phantom routine.

For shared addition operations, FIDESlib records 17.79 µs for plaintext addition and 50.70 µs for ciphertext addition. Phantom records 20.64 µs and 82.66 µs respectively. These results show that the implementation’s advantage is present outside the most complicated composite operations, although the relative behavior differs by primitive.

The paper reports 21.74 µs for FIDESlib plaintext multiplication, compared with 31.91 µs for Phantom. Rescaling provides another same-device comparison:

Rescaling at maximum level on RTX 4090 FIDESlib also reduces execution time for the shared rescaling primitive.

**The numbers**

| System or setting | time µs |
| --- | --- |
| Phantom | 224.58 |
| FIDESlib (this paper) | 156.11 |

Rotation is closer: FIDESlib takes 1.107 ms and Phantom takes 1.139 ms. The table notes that conjugation uses the same implementation as rotation. This is an important qualification to a broad statement that one implementation wins every row: the size and likely practical importance of the advantage are not identical across operations.

#### Behavior across workload sizes and devices

The figures examine more than the main table’s fixed setting. Transform measurements vary the number of processed limbs and compare time per limb. The authors report that their implementation maintains stronger bandwidth efficiency as the working set becomes larger.

A separate experiment measures plaintext multiplication followed by rescaling. This is a common composition, so it checks more than either primitive in isolation. Runtime is described as approximately linear in the number of limbs, with a cache-related departure for the RTX 4060 Ti when the working set becomes smaller.

The ciphertext-multiplication figures vary the remaining levels, the limb batch, and the parameter set. Those changes affect both how much arithmetic remains and how much key material must be accessed. The paper connects some observed improvements to the removal of a hybrid-key-switching digit as levels are consumed.

Hardware rankings also depend on workload size. For smaller settings, kernel latency makes higher-frequency devices competitive with a throughput-oriented GPU. Larger settings expose different pressures, including key storage and cache capacity. These observations make the multi-device study more informative than a single headline timing.

#### Bootstrapping

Bootstrapping is compared with OpenFHE and its HEXL configuration, since Phantom does not implement it in the paper’s comparison. The authors state that message precision is equal across these implementations. That gives the timing comparison a necessary quality condition.

Across the rows in Table VI, FIDESlib’s reported times are 73.5 ms, 93.3 ms, 112 ms, and 146 ms. The corresponding HEXL times are 5,204 ms, 7,781 ms, 9,281 ms, and 12,185 ms. The ordinary OpenFHE entries are 18,224 ms, 18,268 ms, 20,079 ms, and 28,635 ms.

The table also reports amortized cost in relation to slots and remaining levels. Its purpose is to distinguish the latency of refreshing a ciphertext from the useful capacity delivered by that refresh. The discussion says that more slots increase total execution time but improve amortization. A larger absolute time can therefore coexist with a more favorable cost per encoded value and available level.

The paper gives inconsistent maximum speedup statements. Its contribution list says up to 74× against the optimized CPU implementation, while the conclusion gives 74.4×. The conclusion also states 227.8× against ordinary OpenFHE, whereas Table VI includes a 248× entry. These are reported claims with different numerical values; the paper does not reconcile them. The direct execution times and their stated settings are the clearest evidence to retain.

#### Encrypted logistic-regression training

The application experiment uses 45,000 loan-eligibility samples. Training follows a modified version of an earlier encrypted logistic-regression approach, using mini-batch gradient descent. Each ciphertext contains 1,024 samples.

After encoding, a sample has 25 parameters. The implementation places these in a layout aligned to 32, which the authors say simplifies the rotations required during an iteration. This is a workload-level optimization: the arrangement of useful data changes the cost of the encrypted operations that implement the algorithm.

The experiment bootstraps on every iteration and uses N = 2¹⁶, L = 26, Δ = 59, and dnum = 4. Those settings differ from the main primitive table, so the application timings should not be read as a direct aggregation of its rows.

Encrypted logistic-regression iteration including bootstrapping FIDESlib retains a substantial advantage when the operations are composed into the training workload.

**The numbers**

| System or setting | time ms |
| --- | --- |
| OpenFHE | 16,233 |
| OpenFHE with HEXL | 7,233 |
| FIDESlib on RTX 4090 (this paper) | 169 |

Without bootstrapping, the iteration takes 1,555 ms with ordinary OpenFHE, 448 ms with HEXL, and 23 ms with FIDESlib. The table reports speedups alongside those timings, but the application evidence is fundamentally about execution cost. It does not present a predictive-accuracy comparison, a complete service benchmark, or a broad collection of encrypted learning tasks.

### What the ablations show

The paper does not present a conventional ablation study that removes each optimization from an otherwise fixed FIDESlib implementation; instead, it offers parameter sweeps, hardware comparisons, analytical memory-operation counts, and a composed application benchmark.

#### Batching exposes a scheduling trade-off

Figure 7 varies limb batch size for ciphertext multiplication at maximum levels. The authors report that faster GPUs favor larger batches. Their explanation is that small batches expose CPU launch overhead once device computation becomes fast enough.

This supports the need for a configurable batching mechanism. It does not establish that the same setting is best for every operation, every parameter set, or every application. The figures for other operations use the best-performing batch for each device, which is appropriate for measuring achievable performance but differs from evaluating one untuned default.

The distinction matters when interpreting portability. A library can perform well on several devices because it permits tuning, even if no universal configuration performs equally well everywhere. The paper’s evidence favors the tunable design, rather than a claim that hardware differences disappear.

#### Remaining levels change the structure of the work

The level sweep in Figure 6 shows how multiplication changes as a ciphertext consumes its computation budget. Fewer active limbs reduce work, but the behavior is not simply a smooth proportional decline. Hybrid key switching introduces structural changes when a digit is no longer required.

This analysis explains why timing should be associated with ciphertext state. Two invocations of the same public operation can have different costs because their internal representations differ. Reporting only the operation name would conceal a meaningful part of the workload.

The analysis is diagnostic rather than an isolated measurement of hybrid key switching’s benefit. The paper does not show a matched alternative with that mechanism disabled. It instead connects changes along the level sweep to the work implied by the implementation.

#### Parameter size reveals different bottlenecks

Figure 8 compares multiplication under several parameter sets. The authors discuss switching-key sizes of 2.3MB, 7.7MB, 20MB, 152MB, and 360MB. These changes alter whether useful data can benefit from the cache and how much computation each launch contains.

For smaller workloads, launch latency can outweigh the advantages of greater aggregate throughput. For larger workloads, memory behavior and available computation become more important. The resulting device differences support the paper’s broader argument that GPU optimization requires attention to both arithmetic and data movement.

Again, this does not isolate one optimization. It shows robustness across changing problem sizes and gives plausible architectural explanations for the observed curves. A complete causal accounting would require additional controlled variants.

#### Fusion has an analytical explanation

The operation-fusion section counts memory accesses avoided by combining steps. These counts identify a mechanism: fewer intermediate reads and writes should reduce pressure on global memory. They make the implementation choices more interpretable than a timing table alone.

However, saved memory operations are not equivalent to a measured contribution to total runtime. A fused kernel can also change register demand, occupancy, and scheduling. The paper’s overall results demonstrate the performance of the combined implementation, while its analytical counts explain why particular changes are reasonable.

The logistic-regression experiment supplies a complementary check. It shows that the collection of optimizations remains useful when primitives are composed into an iterative task. It does not determine how much of that result comes from fusion, transforms, batching, or the layout of the application data.

### Limitations

#### Limits the authors state

The implemented backend operates on a single GPU. Multiple-device execution is under development, even though the class hierarchy already represents device-specific polynomial partitions. The authors’ discussion of future scalability must therefore be read as an architectural intention supported by a single-device baseline, instead of a measured multi-GPU result.

AMD support through HIP is also future work. The evaluation uses NVIDIA devices and CUDA mechanisms, including streams, the ordered memory allocator, and the chosen memory spaces. The paper does not demonstrate that the same kernels, tuning decisions, or performance relationships carry over to a different GPU software stack.

The Context design supports one parameter configuration through a singleton arrangement. Separate processes can provide separation between configurations, but the authors explicitly acknowledge that this does not solve device-memory pressure. This limits the flexibility of the backend relative to a system designed for many simultaneous cryptographic contexts.

The Limb class is templated for both 64-bit and 32-bit integers, but the paper says only the 64-bit path is used and verified. The existence of a template option should therefore not be treated as experimental evidence for a second validated arithmetic configuration.

Finally, the authors identify additional real-world cloud workloads as future work. Their logistic-regression experiment demonstrates an application beyond synthetic primitives, but it does not complete the broader evaluation they envision.

#### Limits visible in the experimental setup

The main operation comparison uses one stated parameter set and one GPU platform. Other figures broaden the study through parameter and hardware sweeps, but they do not turn every claim in the main table into a universal result. Practical performance remains conditional on ciphertext state, batch selection, and device characteristics.

The application experiment evaluates training runtime, not the quality of the learned decision rule. The paper does not supply classification accuracy or a comparison with unencrypted training quality. As a consequence, the reported timing advantage supports faster execution of the chosen encrypted procedure, while leaving its predictive usefulness outside the presented evidence.

The bootstrapping comparison states equal achieved precision, but the paper does not develop a detailed numerical-error study in the results discussion. That leaves less evidence about how precision behaves across different computation chains or parameter choices. Equal precision for the compared runs is a valuable condition, but it is narrower than a general characterization of numerical behavior.

The reported timings also do not constitute a complete cloud-service measurement. The paper explains data transfer through its adapter, yet does not separately report a full client-to-server cycle including network communication, client encryption, and final decryption. A server arithmetic speedup can be important without determining the latency of every surrounding service component.

There is no reported energy evaluation, cost comparison, or sustained multi-user workload. These omissions do not undermine the kernel timings. They limit claims about deployment economics and shared-service behavior, which depend on conditions beyond the measured operation runtimes.

#### Correctness, security, and reproducibility

Integration tests compare FIDESlib results with OpenFHE, giving evidence that the accelerated path implements the intended functionality. Such comparisons are valuable, but they are not a formal proof covering every legal input and execution state. The paper describes an extensive testing strategy without presenting a complete formal verification of the GPU implementation.

Similarly, using OpenFHE for client operations explains the authors’ security argument at that boundary. It does not make the performance study an independent analysis of every possible implementation-level security property. Readers should distinguish the choice of cryptographic scheme, reuse of established client code, and validation of the new server computation.

The availability claim needs similar care. The paper’s central framing emphasizes open source, but its release footnote describes a plan to publish the implementation after review. The paper therefore documents an intended reproducible contribution while leaving the timing of artifact availability conditional.

The inconsistent maximum bootstrapping speedups are another reporting limitation. The discrepancy does not erase the large timing separation in Table VI, but it makes a single headline ratio unsuitable as the sole description of the result. Keeping the underlying times visible preserves the useful evidence without inventing a reconciliation.

#### What the work does not establish

FIDESlib does not demonstrate that all CKKS applications become practical merely by moving to a GPU. Applications differ in rotation patterns, refresh frequency, precision needs, and available parallel work. The paper shows a strong implementation and a successful application experiment under specified conditions.

It also does not claim to replace every component of OpenFHE. Client-side cryptographic operations remain there by design. The contribution is a specialized server execution path with interoperability, not an independently complete substitute for the broader framework.

More broadly, the work should be understood as an optimization of a particular computational representation and operation set. Its reusable lessons concern interfaces, memory behavior, specialized arithmetic, and testing. Transferring those lessons to language processing or symbolic reasoning remains a separate engineering hypothesis that requires its own evidence.

### What came after

No later citing work is identified in the available record, so there is no supported account of subsequent papers extending FIDESlib’s implementation or reproducing its results.

The paper itself outlines the next steps: support for AMD devices through HIP, backends spanning multiple NVIDIA or AMD GPUs, and a broader set of cloud-oriented applications. These are proposals by the authors, not completed follow-up findings.

Its architecture makes the intended continuation understandable. Device-specific polynomial partitions provide a place to represent distributed storage, while the existing tests and benchmarks could support comparisons as new backends are introduced. Whether those extensions preserve the single-device performance advantages, manage communication efficiently, and remain compatible with OpenFHE requires later measurement.

## Cite

Cite as Carlos Agullo-Domingo, Oscar Vera-Lopez, Seyda Guzelhan, Lohit Daksha, Aymane El Jerari, Kaustubh Shivdikar, Rashmi Agrawal, David Kaeli, Ajay Joshi, Jose L. Abellan Universidad de Murcia, Boston University, Northeastern University and Advanced Micro Devices). 2025. FIDESlib: A Fully-Fledged Open-Source FHE Library for Efficient CKKS on GPUs. arXiv:2507.04775.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.2507.04775](https://doi.org/10.48550/arxiv.2507.04775) · [arXiv 2507.04775](https://arxiv.org/abs/2507.04775)

```bibtex
@misc{agullodomingo2025fideslib,
  title = {{FIDESlib: A Fully-Fledged Open-Source FHE Library for Efficient CKKS on GPUs}},
  author = {Carlos Agullo-Domingo, Oscar Vera-Lopez, Seyda Guzelhan, Lohit Daksha, Aymane {El Jerari}, Kaustubh Shivdikar, Rashmi Agrawal, David Kaeli, Ajay Joshi, Jose L. Abellan Universidad {de Murcia}, Boston University, Northeastern University and Advanced Micro Devices)},
  year = {2025},
  doi = {10.48550/arxiv.2507.04775},
  eprint = {2507.04775},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2507.04775}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
