Skip to content
Back to skills

Homomorphic Svm Eval

ASecurity

Evaluates the accuracy, latency, and energy efficiency of a homomorphic inference accelerator performing SVM classification on encrypted data under intermittent power constraints. Use when the user wants to benchmark on MNIST, Human Activity Recognition, ADULT, or asks about evaluating this task. Reports accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpython

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill homomorphic-svm-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Homomorphic Svm Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Homomorphic Svm Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-homomorphic-svm-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-homomorphic-svm-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: homomorphic-svm-eval
description: Evaluates the accuracy, latency, and energy efficiency of a homomorphic inference accelerator performing SVM classification on encrypted data under intermittent power constraints. Use when the user wants to benchmark on MNIST, Human Activity Recognition, ADULT, or asks about evaluating this task. Reports accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2112.08943
  bibtex_key: [REDACTED]
  confidence: high
---

# homomorphic-svm-eval

> Towards Homomorphic Inference Beyond the Edge — Resch et al. (2021) (arXiv:2112.08943, 2021)

## What this evaluates

Evaluates the accuracy, latency, and energy efficiency of a homomorphic inference accelerator performing SVM classification on encrypted data under intermittent power constraints.

## Datasets

- **MNIST** — total ?; splits: test (-1)
- **Human Activity Recognition** — total ?; splits: test (-1)
- **ADULT** — total ?; splits: test (-1)

## Metrics

- `accuracy` **(primary)** — range: percent
  - Percentage of correctly classified samples after decrypting the homomorphic SVM output, compared against ground truth labels.
- `latency` — range: other
  - Total time in seconds to complete one inference, including data transmission, encoding, homomorphic computation, and decryption.
- `energy` — range: other
  - Total microjoules consumed per inference, measured via hardware simulator extrapolated from NVSIM and theoretical power models.

## Input / output format

**Input**: Fixed-length ciphertexts of 4096 elements containing normalized 3-bit integer inputs (values 0-7), padded with dummy data to fill the ciphertext. Each input element occupies a separate ciphertext slot.

**Output**: Encrypted SVM prediction, which is decrypted to a class label. Accuracy is computed by comparing decrypted labels to ground truth.

## Scoring recipe

```python
predictions = [decrypt(rodent_inference(enc_x)) for enc_x in encrypted_inputs]
accuracy = sum(p == y for p, y in zip(predictions, labels)) / len(labels)
# Latency and energy are measured directly from the in-house hardware simulator rather than computed from predictions.
```

## Common pitfalls

- Ciphertexts are always padded to 4096 elements regardless of actual input dimension, which inflates computation and energy metrics compared to the raw input size.
- Inputs are quantized to 3-bit integers (0-7) to prevent arithmetic overflow, which inherently limits maximum achievable accuracy compared to full-precision models.
- Latency and energy figures are derived from a custom simulator extrapolated from NVSIM and theoretical power models, not from physical silicon measurements.

## Evidence (verbatim from paper)

> Despite these limitations, we were still able to achieve reasonable accuracy relative to full-precision SVMs provided by libSVM [[13]], which we accessed through R [[73]] with the ‘e1071’ package [[62]]. The SVM parameters and accuracies are listed in Table I.

## Citation

```bibtex
@misc{resch2021homomorphic,
  title={Towards Homomorphic Inference Beyond the Edge},
  author={Resch et al. (2021)},
  year={2021},
  note={arXiv:2112.08943}
}
```

- arXiv: 2112.08943

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.