Papers › HOPE: High-order Polynomial Expansion of Black-box Neural Networks

HOPE: High-order Polynomial Expansion of Black-box Neural Networks

17 Jul 2023arXiv:2307.08192archive 2025-07-28

Tingxiong Xiao, Weihang Zhang, Yuxiao Cheng, Jinli Suo

Despite their remarkable performance, deep neural networks remain mostly ``black boxes'', suggesting inexplicability and hindering their wide applications in fields requiring making rational decisions. Here we introduce HOPE (High-order Polynomial Expansion), a method for expanding a network into a high-order Taylor polynomial on a reference input. Specifically, we derive the high-order derivative rule for composite functions and extend the rule to neural networks to obtain their high-order derivatives quickly and accurately. From these derivatives, we can then derive the Taylor polynomial of the neural network, which provides an explicit expression of the network's local interpretations. Numerical analysis confirms the high accuracy, low computational complexity, and good convergence of the proposed method. Moreover, we demonstrate HOPE's wide applications built on deep learning, including function discovery, fast inference, and feature selection. The code is available at https://github.com/HarryPotterXTX/HOPE.git.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2307.08192")

Code

Syntology Ran 16 of 18 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 16 ran with no contract checked.

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

harrypotterxtx/hope officialmentioned in paperpytorch 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

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

16ran
2unverified

Licence: 18 of the 18 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 harrypotterxtx/hope. “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.

Activation harrypotterxtx/hope/utils/Network.py official repository ran no licence file found · pointer only · a6212c5c5a7f9674 · report
JudgeAct harrypotterxtx/hope/utils/Activation.py official repository ran no licence file found · pointer only · e9954d5dd966b612 · report
ModuleDict harrypotterxtx/hope/utils/Network.py official repository ran no licence file found · pointer only · 5d1cb3ffe100f152 · report
MultiFormula harrypotterxtx/hope/utils/ChainMatrix.py official repository ran no licence file found · pointer only · 147b9c268f1914b8 · report
SingleStrFormula harrypotterxtx/hope/utils/ChainMatrix.py official repository ran fingerprinted no licence file found · pointer only · 7d7cfb17f0c88bb4 · report
StrFormula harrypotterxtx/hope/utils/ChainMatrix.py official repository ran no licence file found · pointer only · c3a28942febbdd0c · report
cald harrypotterxtx/hope/auto.py official repository ran no licence file found · pointer only · 5b7715594984b84e · report
create_code harrypotterxtx/hope/utils/Global.py official repository ran no licence file found · pointer only · 285713efc578efa9 · report
create_coords harrypotterxtx/hope/utils/Global.py official repository ran no licence file found · pointer only · b10d037ab889007a · report
create_flattened_coords harrypotterxtx/hope/utils/Samplers.py official repository ran no licence file found · pointer only · 33b1630ff701ffed · report
create_lr_scheduler harrypotterxtx/hope/utils/Optimizer.py official repository ran no licence file found · pointer only · 7b0462e7cb6c3b67 · report
create_optim harrypotterxtx/hope/utils/Optimizer.py official repository ran no licence file found · pointer only · 553590ed9758f52c · report
get_taylor_coef harrypotterxtx/hope/global.py official repository ran no licence file found · pointer only · 949763c8466649d3 · report
invnormalize_data harrypotterxtx/hope/utils/Samplers.py official repository ran no licence file found · pointer only · 49307138b9a6ff3c · report
judge_exist harrypotterxtx/hope/global.py official repository ran no licence file found · pointer only · a08f4c11483ef0c6 · report
normalize_data harrypotterxtx/hope/utils/Samplers.py official repository ran no licence file found · pointer only · 42bca2074e6a5608 · report
autograd harrypotterxtx/hope/auto.py official repository unverified no licence file found · pointer only · 4ac749f921b31097 · report
taylor_output harrypotterxtx/hope/utils/Global.py official repository unverified no licence file found · pointer only · 981cd9c1fb3b7dd6 · report

Tasks

feature selection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

HOPE

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