Papers › Harmonic Convolutional Networks based on Discrete Cosine Transform

Harmonic Convolutional Networks based on Discrete Cosine Transform

18 Jan 2020arXiv:2001.06570archive 2025-07-28

Matej Ulicny, Vladimir A. Krylov, Rozenn Dahyot

Convolutional neural networks (CNNs) learn filters in order to capture local correlation patterns in feature space. We propose to learn these filters as combinations of preset spectral filters defined by the Discrete Cosine Transform (DCT). Our proposed DCT-based harmonic blocks replace conventional convolutional layers to produce partially or fully harmonic versions of new or existing CNN architectures. Using DCT energy compaction properties, we demonstrate how the harmonic networks can be efficiently compressed by truncating high-frequency information in harmonic blocks thanks to the redundancies in the spectral domain. We report extensive experimental validation demonstrating benefits of the introduction of harmonic blocks into state-of-the-art CNN models in image classification, object detection and semantic segmentation applications.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2001.06570")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

By repository: official repository: 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

matej-ulicny/harmonic-networks officialmentioned in papermentioned on GitHubpytorchBSD-3-Clause report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from matej-ulicny/harmonic-networks. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

crop matej-ulicny/harmonic-networks/bsds/models.py official repository unverified BSD-3-Clause (permissive) · d65fe0ebd97691cf · report
cross_entropy_loss matej-ulicny/harmonic-networks/bsds/functions.py official repository unverified BSD-3-Clause (permissive) · 508c627527d31817 · report
dct_filters matej-ulicny/harmonic-networks/harmonic/modules.py official repository unverified BSD-3-Clause (permissive) · ba9e5531aef0411f · report
fixed_weight_cross_entropy_loss matej-ulicny/harmonic-networks/bsds/functions.py official repository unverified BSD-3-Clause (permissive) · be2f8db848d866ac · report
interp_surgery matej-ulicny/harmonic-networks/bsds/models.py official repository unverified BSD-3-Clause (permissive) · 135486a95911e46f · report
load_pretrained matej-ulicny/harmonic-networks/bsds/utils.py official repository unverified BSD-3-Clause (permissive) · b3d81e689671b903 · report
prepare_image matej-ulicny/harmonic-networks/bsds/data_loader.py official repository unverified BSD-3-Clause (permissive) · d252c37318502755 · report
prepare_image_cv2 matej-ulicny/harmonic-networks/bsds/data_loader.py official repository unverified BSD-3-Clause (permissive) · ebdf723bf680cac4 · report
sigmoid_cross_entropy_loss matej-ulicny/harmonic-networks/bsds/functions.py official repository unverified BSD-3-Clause (permissive) · e939917d68cfb910 · report
upsample_filt matej-ulicny/harmonic-networks/bsds/models.py official repository unverified BSD-3-Clause (permissive) · c9519ae7724e4642 · report

Tasks

Edge DetectionImage ClassificationObject DetectionSemantic Segmentationimage-classificationobject-detection

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Classification ImageNet Harm-SE-RNX-101 64x4d (320x320, Mean-Max Pooling) GFLOPs 31.4 #491 of 1060 Archive leaderboard report
Image Classification ImageNet Harm-SE-RNX-101 64x4d (320x320, Mean-Max Pooling) Number of params 88.2M #491 of 1060 Archive leaderboard report
Image Classification ImageNet Harm-SE-RNX-101 64x4d (320x320, Mean-Max Pooling) Top 1 Accuracy 82.85% #491 of 1060 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: Harm-Net

1x1 ConvolutionAverage PoolingBatch NormalizationDense ConnectionsDiscrete Cosine TransformDropoutHarm-NetHarmonic BlockMax PoolingRandom Horizontal FlipRandom Resized CropReLUSGDStep DecayWeight Decay

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections